Hallo zusammen,
ich hatte diverse Probleme beim Upgrade von Ubuntu 22.04 auf 24.04. Natürlich habe ich vorher ein Backup der wichtigsten Daten gemacht. Dazu muss ich sagen, dass ich dieses System ursprünglich mit Ubuntu 8.04 aufgesetzt habe und seitdem sagen wir mal "meist fehlerfreie" Upgrades durchgeführt habe. Dieser Fall ist also nicht einmal der schlimmste. Ich wundere mich manchmal warum die Kiste überhaupt noch läuft.
Nun zu dem, was mir bisher bei diesem Upgrade passiert ist und dann direkt zu meiner Frage.
1. Problem: Beim do-release-upgrade funktionierte die Namensauflösung nicht mehr richtig, der Upgradeprozess stoppte und machte die Änderungen rückgängig.
> Um das Problem schnell zu lösen, habe ich einen statischen DNS-Server in resolv.conf eingetragen ⇒ hat funktioniert
2. Problem: Während des do-release-upgrades wurde der Netzwerkmanager scheinbar beendet (Grund noch unklar), der Upgradeprozess wurde abgebrochen, die Desktopoberfläche war danach unbrauchbar.
> Neustart Ich kannte die Konsequenzen
3. Problem: System war in unbrauchbarem Zustand, einige Pakete wurden nicht aktualisiert. Das System wurde in den Wiederherstellungsmodus versetzt.
> In ein Live-System booten und dann chrooten. Dann habe ich versucht das ganze mit apt-update, dkpg --configure -a, apt dist-upgrade und apt autoremove zu reparieren. Leider fand ich in der sources.list immer noch jammy statt noble. Ich hatte gelesen, dass Ubuntu 24.04 nur noch das neue Format in der sources.list.d verwenden will. Um hier trotzdem weiterzukommen, habe ich zunächst die sources.list von jammy auf noble geändert. Anschließend noch snap packges als on hold markieren. Der snap Daemon läuft ja nicht in der chroot Umgebung. Danach konnte ich die Installation teilweise reparieren. Neustart endete auf meiner bash, Yaeh Fortschritt.
4. Problem: Plasma Desktop ist verschwunden.
> Okay, nichts einfacher als das. Also Netzwerkschnittstelle eingerichtet und kubuntu-desktop installiert. Und siehe da eine Oberfläche. Natürlich sind jetzt einige Pakete verloren gegangen, aber das kann man ja alles nachinstallieren.
Meine Frage bezieht sich nun hauptsächlich auf die sources.list. Bei mir ist diese Datei nun immer noch vorhanden, da der Upgrade Prozess ja nie ordnungsgemäß abschlossen wurde. Muss ich hier noch etwas verändern ?
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://de.archive.ubuntu.com/ubuntu noble main restricted #Addedby software-properties deb-src http://de.archive.ubuntu.com/ubuntu noble restricted main multiverse universe ## Major bug fix updates produced after the final release of the ## distribution. deb http://de.archive.ubuntu.com/ubuntu noble-updates main restricted #Addedby software-properties deb-src http://de.archive.ubuntu.com/ubuntu noble-updates restricted main multiverse universe ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team. Also, please note that software in universe WILL NOT receive any ## review or updates from the Ubuntu security team. deb http://de.archive.ubuntu.com/ubuntu noble universe deb http://de.archive.ubuntu.com/ubuntu noble-updates universe ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## multiverse WILL NOT receive any review or updates from the Ubuntu ## security team. deb http://de.archive.ubuntu.com/ubuntu noble multiverse deb http://de.archive.ubuntu.com/ubuntu noble-updates multiverse |
Außerdem erhalte ich vermutlich aufgrund fehlender Pakete jede Menge Fehler dieser Art:
1 2 3 4 | 2024-08-30T18:59:18.324270+02:00 linux systemd-xdg-autostart-generator[2290]: Exec binary '/usr/lib/gnome-settings-daemon/gsd-power' does not exist: No such file or directory 2024-08-30T18:59:18.324296+02:00 linux systemd-xdg-autostart-generator[2290]: /etc/xdg/autostart/org.gnome.SettingsDaemon.Power.desktop: not generating unit, executable specified in Exec= does not exist. 2024-08-30T18:59:18.324370+02:00 linux systemd-xdg-autostart-generator[2290]: Exec binary '/usr/bin/gnome-keyring-daemon' does not exist: No such file or directory 2024-08-30T18:59:18.324390+02:00 linux systemd-xdg-autostart-generator[2290]: /etc/xdg/autostart/gnome-keyring-pkcs11.desktop: not generating unit, executable specified in Exec= does not exist. |
Hier noch weitere Informationen wie gefordert:
100 /var/lib/dpkg/status release a=now 500 http://packages.microsoft.com/repos/code stable/main armhf Packages release o=code stable,a=stable,n=stable,l=code stable,c=main,b=armhf origin packages.microsoft.com 500 http://packages.microsoft.com/repos/code stable/main arm64 Packages release o=code stable,a=stable,n=stable,l=code stable,c=main,b=arm64 origin packages.microsoft.com 500 http://packages.microsoft.com/repos/code stable/main amd64 Packages release o=code stable,a=stable,n=stable,l=code stable,c=main,b=amd64 origin packages.microsoft.com 500 https://updates.signal.org/desktop/apt xenial/main amd64 Packages release o=. xenial,a=xenial,n=xenial,l=. xenial,c=main,b=amd64 origin updates.signal.org 500 http://de.archive.ubuntu.com/ubuntu noble-security/multiverse i386 Packages release v=24.04,o=Ubuntu,a=noble-security,n=noble,l=Ubuntu,c=multiverse,b=i386 origin de.archive.ubuntu.com 500 http://de.archive.ubuntu.com/ubuntu noble-security/multiverse amd64 Packages release v=24.04,o=Ubuntu,a=noble-security,n=noble,l=Ubuntu,c=multiverse,b=amd64 origin de.archive.ubuntu.com 500 http://de.archive.ubuntu.com/ubuntu noble-security/universe i386 Packages release v=24.04,o=Ubuntu,a=noble-security,n=noble,l=Ubuntu,c=universe,b=i386 origin de.archive.ubuntu.com 500 http://de.archive.ubuntu.com/ubuntu noble-security/universe amd64 Packages release v=24.04,o=Ubuntu,a=noble-security,n=noble,l=Ubuntu,c=universe,b=amd64 origin de.archive.ubuntu.com 500 http://de.archive.ubuntu.com/ubuntu noble-security/restricted i386 Packages release v=24.04,o=Ubuntu,a=noble-security,n=noble,l=Ubuntu,c=restricted,b=i386 origin de.archive.ubuntu.com 500 http://de.archive.ubuntu.com/ubuntu noble-security/restricted amd64 Packages release v=24.04,o=Ubuntu,a=noble-security,n=noble,l=Ubuntu,c=restricted,b=amd64 origin de.archive.ubuntu.com 500 http://de.archive.ubuntu.com/ubuntu noble-security/main i386 Packages release v=24.04,o=Ubuntu,a=noble-security,n=noble,l=Ubuntu,c=main,b=i386 origin de.archive.ubuntu.com 500 http://de.archive.ubuntu.com/ubuntu noble-security/main amd64 Packages release v=24.04,o=Ubuntu,a=noble-security,n=noble,l=Ubuntu,c=main,b=amd64 origin de.archive.ubuntu.com 500 http://de.archive.ubuntu.com/ubuntu noble-updates/multiverse i386 Packages release v=24.04,o=Ubuntu,a=noble-updates,n=noble,l=Ubuntu,c=multiverse,b=i386 origin de.archive.ubuntu.com 500 http://de.archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Packages release v=24.04,o=Ubuntu,a=noble-updates,n=noble,l=Ubuntu,c=multiverse,b=amd64 origin de.archive.ubuntu.com 500 http://de.archive.ubuntu.com/ubuntu noble-updates/universe i386 Packages release v=24.04,o=Ubuntu,a=noble-updates,n=noble,l=Ubuntu,c=universe,b=i386 origin de.archive.ubuntu.com 500 http://de.archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages release v=24.04,o=Ubuntu,a=noble-updates,n=noble,l=Ubuntu,c=universe,b=amd64 origin de.archive.ubuntu.com 500 http://de.archive.ubuntu.com/ubuntu noble-updates/restricted i386 Packages release v=24.04,o=Ubuntu,a=noble-updates,n=noble,l=Ubuntu,c=restricted,b=i386 origin de.archive.ubuntu.com 500 http://de.archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages release v=24.04,o=Ubuntu,a=noble-updates,n=noble,l=Ubuntu,c=restricted,b=amd64 origin de.archive.ubuntu.com 500 http://de.archive.ubuntu.com/ubuntu noble-updates/main i386 Packages release v=24.04,o=Ubuntu,a=noble-updates,n=noble,l=Ubuntu,c=main,b=i386 origin de.archive.ubuntu.com 500 http://de.archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages release v=24.04,o=Ubuntu,a=noble-updates,n=noble,l=Ubuntu,c=main,b=amd64 origin de.archive.ubuntu.com 500 http://de.archive.ubuntu.com/ubuntu noble/multiverse i386 Packages release v=24.04,o=Ubuntu,a=noble,n=noble,l=Ubuntu,c=multiverse,b=i386 origin de.archive.ubuntu.com 500 http://de.archive.ubuntu.com/ubuntu noble/multiverse amd64 Packages release v=24.04,o=Ubuntu,a=noble,n=noble,l=Ubuntu,c=multiverse,b=amd64 origin de.archive.ubuntu.com 500 http://de.archive.ubuntu.com/ubuntu noble/universe i386 Packages release v=24.04,o=Ubuntu,a=noble,n=noble,l=Ubuntu,c=universe,b=i386 origin de.archive.ubuntu.com 500 http://de.archive.ubuntu.com/ubuntu noble/universe amd64 Packages release v=24.04,o=Ubuntu,a=noble,n=noble,l=Ubuntu,c=universe,b=amd64 origin de.archive.ubuntu.com 500 http://de.archive.ubuntu.com/ubuntu noble/restricted i386 Packages release v=24.04,o=Ubuntu,a=noble,n=noble,l=Ubuntu,c=restricted,b=i386 origin de.archive.ubuntu.com 500 http://de.archive.ubuntu.com/ubuntu noble/restricted amd64 Packages release v=24.04,o=Ubuntu,a=noble,n=noble,l=Ubuntu,c=restricted,b=amd64 origin de.archive.ubuntu.com 500 http://de.archive.ubuntu.com/ubuntu noble/main i386 Packages release v=24.04,o=Ubuntu,a=noble,n=noble,l=Ubuntu,c=main,b=i386 origin de.archive.ubuntu.com 500 http://de.archive.ubuntu.com/ubuntu noble/main amd64 Packages release v=24.04,o=Ubuntu,a=noble,n=noble,l=Ubuntu,c=main,b=amd64 origin de.archive.ubuntu.co
Linux linux 6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 2 20:41:06 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 24.04.1 LTS Release: 24.04 Codename: noble