Menu

How can I update Dragon OS without reinstalling it?

2022-10-03
2022-12-03
  • Paul Bruner

    Paul Bruner - 2022-10-03

    Sorry for yhe stupid and noob question. I have installed Dragon OS 25 on VMware. Now, I have seen there is a nee update. How can I update it? Do I have to reinstall the OS with the new iso file?

     
  • Cemaxecuter

    Cemaxecuter - 2022-10-04

    Hi Paul! Normally it's a backup of the user folder/reinstall... however, I think this time I should have enough time during the week to script out an upgrade. So basically I'll take all the packages that were updated and the small custom things I did, attempt to put it into a zip file with one file that'll run and put everything in place. That's the goal anyways. I'll come back and update this post one way or another, hopefully with a positive outcome.

     
  • Paul Bruner

    Paul Bruner - 2022-10-04

    Hi, thank you for your prompt answer. I have another question: I've seen tnat dragon os includes kalibrate-hackrf, but I can't make it to work with rtl-sdr. Is there a way to fix this? Thank you again.

     
  • Cemaxecuter

    Cemaxecuter - 2022-10-04

    That is only for the hackrf, you can follow the steps here to generate a binary/program that when ran as shown will work on the rtlsdr.

    https://github.com/steve-m/kalibrate-rtl

     
  • Paul Bruner

    Paul Bruner - 2022-10-04

    Thank you for your answer. Are these command I have to run?

    sudo apt install build-essential libtool automake autoconf librtlsdr-dev libfftw3-dev
    git clone https://github.com/steve-m/kalibrate-rtl
    cd kalibrate-rtl
    ./bootstrap && CXXFLAGS='-W -Wall -O3'
    ./configure
    make
    sudo make install
    

    If I do this, a directory will be created in my home folder, and not in
    SRC. Should I avoid running the command "sudo make install", right? Therefore a file will be created and I need to run it in binary mode?

    Thank you again for your prompt answer. I will also expect news from you concerning the new way to update dragon os without reinstalling it.

     

    Last edit: Paul Bruner 2022-10-04
  • John T Davis

    John T Davis - 2022-11-21

    Hello! As a followup to this, what should we do when the package manager wants to update actual parts of the Lubuntu install (not necessarily the SDR add-ons, but things like kernel headers)?

    It's nagging me to do a full update. ;)

     
  • Cemaxecuter

    Cemaxecuter - 2022-11-22

    Hi John. So here is my take, as long as you're not taking say DragonOS Focal (20.04) based and trying to do a dist upgrade to 22.04 you should be fine. Now that I've made DragonOS Focal (22.04) based, it would be best to install that and do any upgrades (mostly safe) from that point forward. I've tried to be better about installing source builds using checkinstall which is reconized with the apt package manager in the hopes that a system update will not override it.

    Hope that makes sense.

     
    • Paul Bruner

      Paul Bruner - 2022-11-22

      Hello! Thank you for your prompt response. I have downloaded and installed
      the latest version of Dragon OS through VMware. I'm talking about the
      release 27.1, unless you have released a new update. After installing the
      OS, I have noticed that the open vm tools and open vm desktop tools weren't
      installed, so I had installed both through the terminal: everything was
      fine, and I was able to use full screen. After doing this step, I ran this
      command: "sudo apt upgrade", and I have got the last packages updates. I
      don't know if I did something wrong.

      As I understood, I will not have reinstall it again if there will be a new
      release of Dragon? Let me know. Thank you again, and sorry for my poor
      English.

      Il mar 22 nov 2022, 04:08 Cemaxecuter cemaxecuter@users.sourceforge.net
      ha scritto:

      Hi John. So here is my take, as long as you're not taking say DragonOS
      Focal (20.04) based and trying to do a dist upgrade to 22.04 you should be
      fine. Now that I've made DragonOS Focal (22.04) based, it would be best to
      install that and do any upgrades (mostly safe) from that point forward.
      I've tried to be better about installing source builds using checkinstall
      which is reconized with the apt package manager in the hopes that a system
      update will not override it.

      Hope that makes sense.

      How can I update Dragon OS without reinstalling it?
      https://sourceforge.net/p/dragonos-focal/discussion/general/thread/850e8be330/?limit=25#92b2


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/dragonos-focal/discussion/general/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       
  • Cemaxecuter

    Cemaxecuter - 2022-11-22

    Paul you should be good with your setup now... but I'd be lying if I said all the changes I apply to the next ISO will allow a simple apt update to get to. I'm trying to make my own PPA, not there yet.

    I've also noticed some small changes that I need to go in and manaully apply. This time though I'm trying to document the changes and plan to have a script for someone to apply them (so hopefully no full reinstall needed).

    For example, if you go here you'll see I'm starting to aquire the changes that I put into 27.1 and also things I'm working on adding to a new ISO.

    https://drive.google.com/drive/folders/1C3bdv-vuzfEBAO_jtDkHI5K_tIpBI9SI

     
  • John T Davis

    John T Davis - 2022-11-22

    Thanks for your thoughtful response on this, @cemaxecuter. :)

    I'm running the Focal X/22.04 version (Release 27.1), so I think I should be good. I'm avoiding the Full Upgrade/Distro Upgrade and just looking at package updates for bugfixes.

    Here's what it told me was available after a fresh install. Most of these look pretty harmless, but it's updating the kernel headers, so I didn't know if that could be an issue since some things are compiled from source? (Or, does it not matter since I shouldn't have to compile anything myself?)

    Listing...
    apache2-bin/jammy-updates 2.4.52-1ubuntu4.2 amd64 [upgradable from: 2.4.52-1ubuntu4.1]
    apache2-data/jammy-updates,jammy-updates 2.4.52-1ubuntu4.2 all [upgradable from: 2.4.52-1ubuntu4.1]
    apache2-utils/jammy-updates 2.4.52-1ubuntu4.2 amd64 [upgradable from: 2.4.52-1ubuntu4.1]
    apache2/jammy-updates 2.4.52-1ubuntu4.2 amd64 [upgradable from: 2.4.52-1ubuntu4.1]
    bluedevil/jammy-updates 4:5.24.7-0ubuntu0.1 amd64 [upgradable from: 4:5.24.6-0ubuntu0.1]
    breeze-cursor-theme/jammy-updates,jammy-updates 4:5.24.7-0ubuntu0.1 all [upgradable from: 4:5.24.6-0ubuntu0.1]
    casper/jammy-updates 1.470.1 amd64 [upgradable from: 1.470]
    dkms/jammy-updates,jammy-updates 2.8.7-2ubuntu2.1 all [upgradable from: 2.8.7-2ubuntu2]
    firmware-sof-signed/jammy-updates,jammy-updates 2.0-1ubuntu4 all [upgradable from: 2.0-1ubuntu3]
    fonts-opensymbol/jammy-updates,jammy-updates 2:102.12+LibO7.3.7-0ubuntu0.22.04.1 all [upgradable from: 2:102.12+LibO7.3.6-0ubuntu0.22.04.2]
    gir1.2-gdkpixbuf-2.0/jammy-updates 2.42.8+dfsg-1ubuntu0.2 amd64 [upgradable from: 2.42.8+dfsg-1ubuntu0.1]
    gir1.2-javascriptcoregtk-4.0/jammy-security,jammy-updates 2.38.2-0ubuntu0.22.04.2 amd64 [upgradable from: 2.36.8-0ubuntu0.22.04.1]
    gir1.2-webkit2-4.0/jammy-security,jammy-updates 2.38.2-0ubuntu0.22.04.2 amd64 [upgradable from: 2.36.8-0ubuntu0.22.04.1]
    kde-config-updates/jammy-updates 5.24.7-0ubuntu0.1 amd64 [upgradable from: 5.24.6-0ubuntu0.1]
    kde-style-breeze/jammy-updates 4:5.24.7-0ubuntu0.1 amd64 [upgradable from: 4:5.24.6-0ubuntu0.1]
    kismet-adsb-icao-data/jammy 9999+git2022-11-22r638ee79d-1 amd64 [upgradable from: 9999+git2022-11-14r638ee79d-1]
    kismet-capture-bladerf-wiphy/jammy 9999+git2022-11-22r638ee79d-1 amd64 [upgradable from: 9999+git2022-11-14r638ee79d-1]
    kismet-capture-hak5-wifi-coconut/jammy 9999+git2022-11-22r638ee79d-1 amd64 [upgradable from: 9999+git2022-11-14r638ee79d-1]
    kismet-capture-linux-bluetooth/jammy 9999+git2022-11-22r638ee79d-1 amd64 [upgradable from: 9999+git2022-11-14r638ee79d-1]
    kismet-capture-linux-wifi/jammy 9999+git2022-11-22r638ee79d-1 amd64 [upgradable from: 9999+git2022-11-14r638ee79d-1]
    kismet-capture-nrf-51822/jammy 9999+git2022-11-22r638ee79d-1 amd64 [upgradable from: 9999+git2022-11-14r638ee79d-1]
    kismet-capture-nrf-52840/jammy 9999+git2022-11-22r638ee79d-1 amd64 [upgradable from: 9999+git2022-11-14r638ee79d-1]
    kismet-capture-nrf-mousejack/jammy 9999+git2022-11-22r638ee79d-1 amd64 [upgradable from: 9999+git2022-11-14r638ee79d-1]
    kismet-capture-nxp-kw41z/jammy 9999+git2022-11-22r638ee79d-1 amd64 [upgradable from: 9999+git2022-11-14r638ee79d-1]
    kismet-capture-rz-killerbee/jammy 9999+git2022-11-22r638ee79d-1 amd64 [upgradable from: 9999+git2022-11-14r638ee79d-1]
    kismet-capture-ti-cc-2531/jammy 9999+git2022-11-22r638ee79d-1 amd64 [upgradable from: 9999+git2022-11-14r638ee79d-1]
    kismet-capture-ti-cc-2540/jammy 9999+git2022-11-22r638ee79d-1 amd64 [upgradable from: 9999+git2022-11-14r638ee79d-1]
    kismet-capture-ubertooth-one/jammy 9999+git2022-11-22r638ee79d-1 amd64 [upgradable from: 9999+git2022-11-14r638ee79d-1]
    kismet-core/jammy 9999+git2022-11-22r638ee79d-1 amd64 [upgradable from: 9999+git2022-11-14r638ee79d-1]
    kismet-logtools/jammy 9999+git2022-11-22r638ee79d-1 amd64 [upgradable from: 9999+git2022-11-14r638ee79d-1]
    kismet/jammy 9999+git2022-11-22r638ee79d-1 amd64 [upgradable from: 9999+git2022-11-14r638ee79d-1]
    kpartx-boot/jammy-security,jammy-security,jammy-updates,jammy-updates 0.8.8-1ubuntu1.22.04.1 all [upgradable from: 0.8.8-1ubuntu1]
    kpartx/jammy-security,jammy-updates 0.8.8-1ubuntu1.22.04.1 amd64 [upgradable from: 0.8.8-1ubuntu1]
    libexpat1-dev/jammy-security,jammy-updates 2.4.7-1ubuntu0.1 amd64 [upgradable from: 2.4.7-1]
    libexpat1/jammy-security,jammy-updates 2.4.7-1ubuntu0.1 amd64 [upgradable from: 2.4.7-1]
    libflac-dev/jammy-security,jammy-updates 1.3.3-2ubuntu0.1 amd64 [upgradable from: 1.3.3-2build2]
    libflac8/jammy-security,jammy-updates 1.3.3-2ubuntu0.1 amd64 [upgradable from: 1.3.3-2build2]
    libgdk-pixbuf-2.0-0/jammy-updates 2.42.8+dfsg-1ubuntu0.2 amd64 [upgradable from: 2.42.8+dfsg-1ubuntu0.1]
    libgdk-pixbuf2.0-bin/jammy-updates 2.42.8+dfsg-1ubuntu0.2 amd64 [upgradable from: 2.42.8+dfsg-1ubuntu0.1]
    libgdk-pixbuf2.0-common/jammy-updates,jammy-updates 2.42.8+dfsg-1ubuntu0.2 all [upgradable from: 2.42.8+dfsg-1ubuntu0.1]
    libjavascriptcoregtk-4.0-18/jammy-security,jammy-updates 2.38.2-0ubuntu0.22.04.2 amd64 [upgradable from: 2.36.8-0ubuntu0.22.04.1]
    libkworkspace5-5/jammy-updates 4:5.24.7-0ubuntu0.1 amd64 [upgradable from: 4:5.24.6-0ubuntu0.1]
    libnetplan0/jammy-updates 0.105-0ubuntu2~22.04.1 amd64 [upgradable from: 0.104-0ubuntu2.1]
    libreoffice-base-core/jammy-updates 1:7.3.7-0ubuntu0.22.04.1 amd64 [upgradable from: 1:7.3.6-0ubuntu0.22.04.2]
    libreoffice-calc/jammy-updates 1:7.3.7-0ubuntu0.22.04.1 amd64 [upgradable from: 1:7.3.6-0ubuntu0.22.04.2]
    libreoffice-common/jammy-updates,jammy-updates 1:7.3.7-0ubuntu0.22.04.1 all [upgradable from: 1:7.3.6-0ubuntu0.22.04.2]
    libreoffice-core/jammy-updates 1:7.3.7-0ubuntu0.22.04.1 amd64 [upgradable from: 1:7.3.6-0ubuntu0.22.04.2]
    libreoffice-math/jammy-updates 1:7.3.7-0ubuntu0.22.04.1 amd64 [upgradable from: 1:7.3.6-0ubuntu0.22.04.2]
    libreoffice-style-colibre/jammy-updates,jammy-updates 1:7.3.7-0ubuntu0.22.04.1 all [upgradable from: 1:7.3.6-0ubuntu0.22.04.2]
    libreoffice-writer/jammy-updates 1:7.3.7-0ubuntu0.22.04.1 amd64 [upgradable from: 1:7.3.6-0ubuntu0.22.04.2]
    libunbound8/jammy-security,jammy-updates 1.13.1-1ubuntu5.3 amd64 [upgradable from: 1.13.1-1ubuntu5.2]
    libuno-cppu3/jammy-updates 1:7.3.7-0ubuntu0.22.04.1 amd64 [upgradable from: 1:7.3.6-0ubuntu0.22.04.2]
    libuno-cppuhelpergcc3-3/jammy-updates 1:7.3.7-0ubuntu0.22.04.1 amd64 [upgradable from: 1:7.3.6-0ubuntu0.22.04.2]
    libuno-purpenvhelpergcc3-3/jammy-updates 1:7.3.7-0ubuntu0.22.04.1 amd64 [upgradable from: 1:7.3.6-0ubuntu0.22.04.2]
    libuno-sal3/jammy-updates 1:7.3.7-0ubuntu0.22.04.1 amd64 [upgradable from: 1:7.3.6-0ubuntu0.22.04.2]
    libuno-salhelpergcc3-3/jammy-updates 1:7.3.7-0ubuntu0.22.04.1 amd64 [upgradable from: 1:7.3.6-0ubuntu0.22.04.2]
    libwebkit2gtk-4.0-37/jammy-security,jammy-updates 2.38.2-0ubuntu0.22.04.2 amd64 [upgradable from: 2.36.8-0ubuntu0.22.04.1]
    linux-generic-hwe-22.04/jammy-security,jammy-updates 5.15.0.53.53 amd64 [upgradable from: 5.15.0.52.52]
    linux-headers-generic-hwe-22.04/jammy-security,jammy-updates 5.15.0.53.53 amd64 [upgradable from: 5.15.0.52.52]
    linux-image-generic-hwe-22.04/jammy-security,jammy-updates 5.15.0.53.53 amd64 [upgradable from: 5.15.0.52.52]
    linux-libc-dev/jammy-security,jammy-updates 5.15.0-53.59 amd64 [upgradable from: 5.15.0-52.58]
    netplan.io/jammy-updates 0.105-0ubuntu2~22.04.1 amd64 [upgradable from: 0.104-0ubuntu2.1]
    plasma-discover-backend-fwupd/jammy-updates 5.24.7-0ubuntu0.1 amd64 [upgradable from: 5.24.6-0ubuntu0.1]
    plasma-discover-common/jammy-updates,jammy-updates 5.24.7-0ubuntu0.1 all [upgradable from: 5.24.6-0ubuntu0.1]
    plasma-discover/jammy-updates 5.24.7-0ubuntu0.1 amd64 [upgradable from: 5.24.6-0ubuntu0.1]
    python3-kismetcapturefreaklabszigbee/jammy,jammy 9999+git2022-11-22r638ee79d-1 all [upgradable from: 9999+git2022-11-14r638ee79d-1]
    python3-kismetcapturertl433/jammy,jammy 9999+git2022-11-22r638ee79d-1 all [upgradable from: 9999+git2022-11-14r638ee79d-1]
    python3-kismetcapturertladsb/jammy,jammy 9999+git2022-11-22r638ee79d-1 all [upgradable from: 9999+git2022-11-14r638ee79d-1]
    python3-kismetcapturertlamr/jammy,jammy 9999+git2022-11-22r638ee79d-1 all [upgradable from: 9999+git2022-11-14r638ee79d-1]
    python3-uno/jammy-updates 1:7.3.7-0ubuntu0.22.04.1 amd64 [upgradable from: 1:7.3.6-0ubuntu0.22.04.2]
    rsync/jammy-updates 3.2.3-8ubuntu3.1 amd64 [upgradable from: 3.2.3-8ubuntu3]
    tzdata/jammy-security,jammy-security,jammy-updates,jammy-updates 2022f-0ubuntu0.22.04.1 all [upgradable from: 2022f-0ubuntu0.22.04.0]
    ubiquity-casper/jammy-updates,jammy-updates 1.470.1 all [upgradable from: 1.470]
    uno-libs-private/jammy-updates 1:7.3.7-0ubuntu0.22.04.1 amd64 [upgradable from: 1:7.3.6-0ubuntu0.22.04.2]
    ure/jammy-updates 1:7.3.7-0ubuntu0.22.04.1 amd64 [upgradable from: 1:7.3.6-0ubuntu0.22.04.2]
    
     
  • Cemaxecuter

    Cemaxecuter - 2022-11-22

    The only issue you'll have with the kernel upgrade is the bladerf wiphy mac80211 sim piece will not work. It'll have to be rebuilt against the kernel headers.

    What is concerning and actually happened to me though is that I had installed Nvidia drivers which behind the scenes also upgraded my kernel, but to my suprise after reboot I had no wifi/ethernet. Turns out the upgrade didn't install the following, so double check you pull it down before a reboot!

    linux-modules-extra-5.15.0.53-generic (or your kernel number)
    linux-modules-5.15.0-53-generic

     
    • John T Davis

      John T Davis - 2022-12-03

      Thanks for the warning. :)

      I don't even know what a BladeRF is, so I'm probably fine there. ;)

      I abused the snapshot feature in Proxmox and upgraded groups of packages at a go, saving the kernel for last and doing everything it would let me do before that (so, e.g., all the Xorg/GTK stuff in one go, take a snapshot, LibreOffice, snapshot, etc.).

      MariaDB's update won't install until the kernel's been updated, so it needs to be last.

      When I tried to install the kernel updates, it told me it had to install new packages that include the two modules packages you mentioned above, so I'm guessing that was a bug that was fixed the Lubuntu/Ubuntu upstream side of things.

      I rebooted with ethernet working, and I don't have a wifi adapter in this VM, so I think I'm good. :)

       
  • Cemaxecuter

    Cemaxecuter - 2022-11-22

    Worse case you can select the old kernel during boot, go back in, and grab any missing items I mention above. It's what I had to do. Not sure why it did that.

     

Log in to post a comment.