Nach dem anlegen der ubuntu.sources haste aber schon ein sudo apt update
gemacht?
Paketsystem nach Upgrade Beschädigt
Supporter
![]() Anmeldungsdatum: Beiträge: 3858 |
|
(Themenstarter)
Anmeldungsdatum: Beiträge: 13 |
Ja, klar, und auch upgrade danach probiert. |
Supporter
![]() Anmeldungsdatum: Beiträge: 3858 |
Und mal noch ne ganz doofe Zwischenfrage - das System ist nicht voll? df -h |
(Themenstarter)
Anmeldungsdatum: Beiträge: 13 |
Nee, da ist noch genug frei: Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf tmpfs 3,2G 2,0M 3,2G 1% /run /dev/sda1 229G 192G 25G 89% / tmpfs 16G 256K 16G 1% /dev/shm tmpfs 5,0M 4,0K 5,0M 1% /run/lock tmpfs 3,2G 140K 3,2G 1% /run/user/1000 /home/reichelt/.Private 229G 192G 25G 89% /home/reichelt (Daten liegen auf einer nicht gemounteten Partition, und auch df -i sieht gut aus). |
Supporter
![]() Anmeldungsdatum: Beiträge: 3858 |
Gugg mal ob die Lösung von da funktioniert –> https://askubuntu.com/questions/1532176/reset-ubuntu-24-04-because-of-broken-packages |
Supporter
![]() Anmeldungsdatum: Beiträge: 3858 |
Und noch was gefunden → https://askubuntu.com/questions/1402456/unmet-dependencies-for-python-3-10 angepasst müsste das so gehn sudo dpkg --force-depends --purge libpython3.12-stdlib sudo apt --fix-broken install sudo apt update |
(Themenstarter)
Anmeldungsdatum: Beiträge: 13 |
Vielen Dank, das sieht auf jeden Fall viel besser aus. Der erste Link führt wieder zu denselben Fehlern, weil apt ja kein remove etc. akzeptiert. Das zweite sah aber erst gut aus: reichelt@reichelt-desktop:~$ sudo dpkg --force-depends --purge libpython3.12-stdlib dpkg: libpython3.12-stdlib:amd64: Abhängigkeitsprobleme, wird aber wie gefordert dennoch entfernt: python3.12 hängt ab von libpython3.12-stdlib (= 3.12.7-1+jammy1). libpython3-stdlib:amd64 hängt ab von libpython3.12-stdlib (>= 3.12.3-0~). (Lese Datenbank ... 459621 Dateien und Verzeichnisse sind derzeit installiert.) Entfernen von libpython3.12-stdlib:amd64 (3.12.7-1+jammy1) ... Danach fehlt aber wieder py3clean und py3compile: reichelt@reichelt-desktop:~$ sudo apt --fix-broken install Paketlisten werden gelesen… Fertig Abhängigkeitsbaum wird aufgebaut… Fertig Statusinformationen werden eingelesen… Fertig Abhängigkeiten werden korrigiert … Fertig Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt: aisleriot apache2-bin baobab brasero-common cdrdao distro-info docbook-xml five-or-more four-in-a-row gir1.2-amtk-5 gir1.2-gck-2 gir1.2-gcr-4 gir1.2-geocodeglib-2.0 gir1.2-gnomebg-4.0 gir1.2-gnomebluetooth-3.0 gir1.2-grilo-0.3 gir1.2-gst-plugins-bad-1.0 gir1.2-gtksource-300 gir1.2-gtop-2.0 gir1.2-gweather-4.0 gir1.2-javascriptcoregtk-6.0 gir1.2-mediaart-2.0 gir1.2-mutter-14 gir1.2-nma4-1.0 gir1.2-rb-3.0 gir1.2-rest-1.0 gir1.2-shumate-1.0 gir1.2-tepl-6 gir1.2-totem-1.0 gir1.2-totemplparser-1.0 gir1.2-tracker-3.0 gir1.2-webkit-6.0 gir1.2-xdp-1.0 gnome-2048 gnome-backgrounds gnome-calendar gnome-chess gnome-color-manager gnome-games gnome-klotski gnome-mahjongg gnome-maps gnome-mines gnome-nibbles gnome-online-accounts gnome-robots gnome-sound-recorder gnome-sudoku gnome-taquin gnome-tetravex gnome-text-editor gnome-user-share gnome-weather gstreamer1.0-pipewire guile-3.0-libs heif-gdk-pixbuf heif-thumbnailer hitori hoichess iagno ibus-data ibus-gtk4 ieee-data libapache2-mod-dnssd libapr1t64 libaprutil1-dbd-sqlite3 libaprutil1-ldap libaprutil1t64 libbrasero-media3-1 libburn4t64 libcolord-gtk4-1t64 libedataserverui4-1.0-0t64 libeditorconfig0 libevent-2.1-7t64 libgc1 libgedit-amtk-5-0 libgedit-amtk-5-common libgedit-gtksourceview-300-0 libgedit-gtksourceview-300-common libgnome-bluetooth-ui-3.0-13 libgnome-games-support-1-3 libgnome-games-support-2-4 libgnome-games-support-common libgnome-games-support-common2 libgnome-rr-4-2t64 libgoa-backend-1.0-2 libgsf-bin libgsound0t64 libgupnp-av-1.0-3 libgupnp-dlna-2.0-4 libisofs6t64 libminiupnpc17 libnatpmp1t64 libnetplan1 libportal-gtk3-1 libproxy1-plugin-webkit librest-1.0-0 librhythmbox-core10 librygel-core-2.8-0 librygel-db-2.8-0 librygel-renderer-2.8-0 librygel-renderer-gst-2.8-0 librygel-server-2.8-0 libshumate-1.0-1 libshumate-common libtepl-6-4 libtepl-common lightsoff netplan-generator openvpn policykit-1-gnome python3-minimal python3.12-minimal quadrapassel rhythmbox rhythmbox-data rhythmbox-plugin-cdrecorder rygel rygel-playbin rygel-tracker sgml-data shotwell shotwell-common simple-scan swell-foop switcheroo-control tali transmission-common transmission-gtk user-session-migration Verwenden Sie »sudo apt autoremove«, um sie zu entfernen. Die folgenden zusätzlichen Pakete werden installiert: libpython3.12-minimal libpython3.12-stdlib python3.12-minimal Vorgeschlagene Pakete: binfmt-support Empfohlene Pakete: python3.12 Die folgenden Pakete werden ENTFERNT: apport apport-core-dump-handler aptdaemon bpfcc-tools chrome-gnome-shell gdm3 gedit gedit-common gnome-browser-connector gnome-menus gnome-music gnome-session gnome-shell gnome-shell-extension-prefs gnome-shell-extension-ubuntu-dock gnome-shell-extensions gnome-software gnome-software-plugin-snap gnome-terminal gnome-tweaks gnome-user-docs ibus language-selector-common language-selector-gnome libpurple-bin mesa-vulkan-drivers nautilus-extension-gnome-terminal netplan.io network-manager network-manager-config-connectivity-ubuntu network-manager-gnome network-manager-openconnect network-manager-openconnect-gnome network-manager-openvpn network-manager-openvpn-gnome network-manager-pptp network-manager-pptp-gnome orca power-profiles-daemon python3 python3-apport python3-apt python3-aptdaemon python3-aptdaemon.gtk3widgets python3-blinker python3-bpfcc python3-brlapi python3-cairo python3-certifi python3-cffi-backend python3-chardet python3-click python3-colorama python3-cryptography python3-cups python3-cupshelpers python3-dateutil python3-dbus python3-defer python3-distro python3-distro-info python3-distupgrade python3-gi python3-gi-cairo python3-httplib2 python3-ibus-1.0 python3-idna python3-jwt python3-launchpadlib python3-lazr.restfulclient python3-lazr.uri python3-louis python3-mako python3-markdown-it python3-markupsafe python3-mdurl python3-netaddr python3-netplan python3-oauthlib python3-pip python3-pkg-resources python3-problem-report python3-pygments python3-pyparsing python3-requests python3-rich python3-setuptools python3-six python3-software-properties python3-speechd python3-systemd python3-update-manager python3-urllib3 python3-wadllib python3-wheel python3-xdg python3-xkit python3-yaml python3.12 rhythmbox-plugin-alternative-toolbar rhythmbox-plugins software-properties-common software-properties-gtk system-config-printer-common system-config-printer-udev totem-plugins ubuntu-advantage-desktop-daemon ubuntu-docs ubuntu-drivers-common ubuntu-pro-client ubuntu-pro-client-l10n ubuntu-release-upgrader-core ubuntu-session unattended-upgrades update-manager-core xserver-xorg yelp Die folgenden NEUEN Pakete werden installiert: libpython3.12-minimal libpython3.12-stdlib python3.12-minimal 0 aktualisiert, 3 neu installiert, 117 zu entfernen und 80 nicht aktualisiert. 2 nicht vollständig installiert oder entfernt. Es müssen 5.246 kB an Archiven heruntergeladen werden. Nach dieser Operation werden 166 MB Plattenplatz freigegeben. Möchten Sie fortfahren? [J/n] j Holen:1 http://de.archive.ubuntu.com/ubuntu noble-updates/main amd64 libpython3.12-minimal amd64 3.12.3-1ubuntu0.5 [835 kB] Holen:2 http://de.archive.ubuntu.com/ubuntu noble-updates/main amd64 python3.12-minimal amd64 3.12.3-1ubuntu0.5 [2.342 kB] Holen:3 http://de.archive.ubuntu.com/ubuntu noble-updates/main amd64 libpython3.12-stdlib amd64 3.12.3-1ubuntu0.5 [2.069 kB] Es wurden 5.246 kB in 1 s geholt (10,1 MB/s). (Lese Datenbank ... 459250 Dateien und Verzeichnisse sind derzeit installiert.) Entfernen von language-selector-gnome (0.225) ... /var/lib/dpkg/info/language-selector-gnome.prerm: 6: py3clean: not found dpkg: Fehler beim Bearbeiten des Paketes language-selector-gnome (--remove): »installiertes pre-removal-Skript des Paketes language-selector-gnome«-Unterprozess gab den Fehlerwert 127 zurück dpkg: Zu viele Fehler, Abbruch /var/lib/dpkg/info/language-selector-gnome.postinst: 6: py3compile: not found dpkg: Fehler beim Aufräumen: »installiertes post-installation-Skript des Paketes language-selector-gnome«-Unterprozess gab den Fehlerwert 127 zurück Fehler traten auf beim Bearbeiten von: language-selector-gnome Bearbeitung wurde angehalten, da zu viele Fehler auftraten. E: Sub-process /usr/bin/dpkg returned an error code (1) Nachdem ich auch python3.12-minimal mit dpkg gepurgt habe, ist es dann durchgelaufen, und hat, wie angekündigt, eine ganze Menge Pakete entfernt. Beim Reinstallieren der Pakete sah es erstmal gut aus: sudo apt install -y apport apport-core-dump-handler aptdaemon bpfcc-tools chrome-gnome-shell gdm3 gedit gedit-common gnome-browser-connector gnome-menus gnome-music gnome-session gnome-shell gnome-shell-extension-prefs gnome-shell-extension-ubuntu-dock gnome-shell-extensions gnome-software gnome-software-plugin-snap gnome-terminal gnome-tweaks gnome-user-docs ibus language-selector-common language-selector-gnome libpurple-bin mesa-vulkan-drivers nautilus-extension-gnome-terminal netplan.io network-manager network-manager-config-connectivity-ubuntu network-manager-gnome network-manager-openconnect network-manager-openconnect-gnome network-manager-openvpn network-manager-openvpn-gnome network-manager-pptp network-manager-pptp-gnome orca power-profiles-daemon python3 python3-apport python3-apt python3-aptdaemon python3-aptdaemon.gtk3widgets python3-blinker python3-bpfcc python3-brlapi python3-cairo python3-certifi python3-cffi-backend python3-chardet python3-click python3-colorama python3-cryptography python3-cups python3-cupshelpers python3-dateutil python3-dbus python3-defer python3-distro python3-distro-info python3-distupgrade python3-gi python3-gi-cairo python3-httplib2 python3-ibus-1.0 python3-idna python3-jwt python3-launchpadlib python3-lazr.restfulclient python3-lazr.uri python3-louis python3-mako python3-markdown-it python3-markupsafe python3-mdurl python3-netaddr python3-netplan python3-oauthlib python3-pip python3-pkg-resources python3-problem-report python3-pygments python3-pyparsing python3-requests python3-rich python3-setuptools python3-six python3-software-properties python3-speechd python3-systemd python3-update-manager python3-urllib3 python3-wadllib python3-wheel python3-xdg python3-xkit python3-yaml python3.12 rhythmbox-plugin-alternative-toolbar rhythmbox-plugins software-properties-common software-properties-gtk system-config-printer-common system-config-printer-udev totem-plugins ubuntu-advantage-desktop-daemon ubuntu-docs ubuntu-drivers-common ubuntu-pro-client ubuntu-pro-client-l10n ubuntu-release-upgrader-core ubuntu-session unattended-upgrades update-manager-core xserver-xorg yelp Ich starte den Rechner jetzt mal neu und steck alle Kabel vom Laptop wieder an den Desktop um, bin aber vorsichtig optimistisch ☺ |
(Themenstarter)
Anmeldungsdatum: Beiträge: 13 |
Das hat funktioniert und das System ist jetzt wieder einsatzbereit (bis auf den Drucker - aber da warte ich jetzt lieber, bis die hplib offiziell verfügbar ist). Ein paar Pakete werden nach wie vor nicht aktualisiert: reichelt@reichelt-desktop:~$ sudo apt upgrade Paketlisten werden gelesen… Fertig Abhängigkeitsbaum wird aufgebaut… Fertig Statusinformationen werden eingelesen… Fertig Paketaktualisierung (Upgrade) wird berechnet… Fertig Get more security updates through Ubuntu Pro with 'esm-apps' enabled: libavcodec-extra libmagick++-6.q16-8 libmagickwand-6.q16-6 libavcodec-extra58 libpython2.7 libavutil56 libmagickcore-6.q16-6 libswresample3 libavformat58 libpython2.7-minimal libpython2.7-stdlib Learn more about Ubuntu Pro at https://ubuntu.com/pro Folgende Aktualisierungen wurden aufgrund von gestaffelter Auslieferung vorerst zurückgehalten: dns-root-data dracut-install fonts-noto-color-emoji initramfs-tools initramfs-tools-bin initramfs-tools-core libnvme1t64 Die folgenden Pakete sind zurückgehalten worden: iptables libargon2-1 libavcodec-extra libboost-regex1.74.0 libip4tc2 libip6tc2 libjxr-tools liblouisutdml-bin libodbc2 libodbc2:i386 libodbccr2 libodbccr2:i386 libpcre3 libxtables12 libzmq5 mjpegtools nodejs ntfs-3g phonon4qt5 phonon4qt5-backend-vlc wireless-tools 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 28 nicht aktualisiert. N: Some packages may have been kept back due to phasing. Mit sowas wie sudo apt install tmux konnte ich dort einzelne Pakete aktualisieren (tmux war erst auch in der Liste, jetzt ist es aktualisiert). Vielen Dank nochmal für die ganzen Hinweise! ☺ Das hätte ich sonst nie gefunden. |
Supporter
![]() Anmeldungsdatum: Beiträge: 3858 |
Das was da noch übrig ist kannst du theoretisch alles per Hand nachinstallieren. Es wäre auch sinnvoll damits erstmal vollständig ist. Und dann könnte man nochmal komplett aufräumen. Nicht das noch irgendwo irgendwelcher Müll hängen geblieben ist. Nachtrag: diese Probs werden nicht nur mit der hplip zu tun gehabt haben. Das waren noch Fehler vom schief gelaufenen Upgrade. |
Supporter
![]() Anmeldungsdatum: Beiträge: 55215 Wohnort: Berlin |
Das wird für 24.04 am Sankt Nimmerleinstag passieren, siehe Aktualisierungen (Abschnitt „Update-Politik“). Wenn du |
(Themenstarter)
Anmeldungsdatum: Beiträge: 13 |
Danke, habe ich erledigt und läuft soweit stabil ☺
Vielen Dank für den Hinweis. Leider geht das Drucken auch mit dem Paket nicht. Ich habe folgendes ausgeführt: sudo add-apt-repository ppa:tomtomtom/hplip sudo apt update sudo apt install hplib und das sah auch alles gut aus. Danach habe ich den bestehenden Drucker entfernt und einen neuen hinzugefügt, und versucht, ein PDF zu drucken. Der sudo cat /var/log/cups/access_log localhost - - [28/Mar/2025:09:27:52 +0100] "POST / HTTP/1.1" 200 173 Create-Printer-Subscriptions successful-ok localhost - - [28/Mar/2025:09:27:53 +0100] "POST / HTTP/1.1" 200 359 Create-Printer-Subscriptions successful-ok localhost - - [28/Mar/2025:09:27:54 +0100] "POST / HTTP/1.1" 401 244 CUPS-Get-Devices successful-ok localhost - root [28/Mar/2025:09:27:54 +0100] "POST / HTTP/1.1" 200 1564 CUPS-Get-Devices - localhost - - [28/Mar/2025:09:27:56 +0100] "POST / HTTP/1.1" 200 357 Create-Printer-Subscriptions successful-ok localhost - - [28/Mar/2025:09:27:56 +0100] "POST / HTTP/1.1" 200 176 Create-Printer-Subscriptions successful-ok localhost - - [28/Mar/2025:09:29:35 +0100] "POST / HTTP/1.1" 200 364 Create-Printer-Subscriptions successful-ok localhost - - [28/Mar/2025:09:29:35 +0100] "POST / HTTP/1.1" 200 151 Cancel-Subscription successful-ok localhost - - [28/Mar/2025:09:29:35 +0100] "POST / HTTP/1.1" 200 151 Cancel-Subscription client-error-not-found localhost - - [28/Mar/2025:10:27:55 +0100] "POST / HTTP/1.1" 200 187 Renew-Subscription successful-ok localhost - - [28/Mar/2025:11:26:15 +0100] "POST / HTTP/1.1" 200 187 Renew-Subscription successful-ok localhost - - [28/Mar/2025:11:38:36 +0100] "POST /printers/HP-LaserJet-Professional-P1102 HTTP/1.1" 200 941334 Print-Job successful-ok localhost - - [28/Mar/2025:11:41:16 +0100] "POST / HTTP/1.1" 200 348 Create-Printer-Subscriptions successful-ok localhost - - [28/Mar/2025:11:41:16 +0100] "POST / HTTP/1.1" 200 2662842 CUPS-Get-PPDs - localhost - - [28/Mar/2025:11:42:15 +0100] "POST /jobs/ HTTP/1.1" 200 144 Cancel-Job successful-ok localhost - - [28/Mar/2025:11:42:16 +0100] "POST / HTTP/1.1" 200 156 Cancel-Subscription successful-ok localhost - - [28/Mar/2025:11:42:26 +0100] "POST /printers/HP-LaserJet-Professional-P1102 HTTP/1.1" 200 941334 Print-Job successful-ok Im D [28/Mar/2025:11:42:46 +0100] [Job 142] cfFilterGhostscript: Started Ghostscript (PID 32755) D [28/Mar/2025:11:42:46 +0100] [Job 142] cfFilterGhostscript: Started logging (PID 32756) D [28/Mar/2025:11:42:46 +0100] [Job 142] cfFilterGhostscript: Start rendering... D [28/Mar/2025:11:42:46 +0100] [Job 142] cfFilterGhostscript: Processing page 1... D [28/Mar/2025:11:42:46 +0100] [Job 142] cfFilterGhostscript: Input data feed completed D [28/Mar/2025:11:42:46 +0100] [Job 142] STATE: +connecting-to-device D [28/Mar/2025:11:42:46 +0100] [Job 142] STATE: +hplip.plugin-error D [28/Mar/2025:11:42:46 +0100] [Job 142] prnt/hpcups/HPCupsFilter.cpp 505: m_Job initialization failed with error = 48 D [28/Mar/2025:11:42:46 +0100] [Job 142] PID 32751 (/usr/lib/cups/filter/hpcups) stopped with status 1. D [28/Mar/2025:11:42:46 +0100] [Job 142] Hint: Try setting the LogLevel to "debug" to find out more. D [28/Mar/2025:11:42:46 +0100] [Job 142] STATE: -connecting-to-device D [28/Mar/2025:11:42:46 +0100] [Job 142] STATE: -media-empty-error,media-jam-error,hplip.plugin-error,cover-open-error,toner-empty-error,other D [28/Mar/2025:11:42:46 +0100] [Job 142] cfFilterGhostscript: Processing page 2... D [28/Mar/2025:11:42:46 +0100] [Job 142] cfFilterGhostscript: Processing page 3... D [28/Mar/2025:11:42:46 +0100] [Job 142] cfFilterGhostscript: Rendering completed D [28/Mar/2025:11:42:46 +0100] [Job 142] cfFilterGhostscript: Ghostscript (PID 32755) exited with no errors. D [28/Mar/2025:11:42:46 +0100] [Job 142] cfFilterGhostscript: Logging (PID 32756) exited with no errors. D [28/Mar/2025:11:42:46 +0100] [Job 142] cfFilterChain: ghostscript completed with status 0. D [28/Mar/2025:11:42:46 +0100] [Job 142] cfFilterChain: ghostscript (PID 32754) exited with no errors. D [28/Mar/2025:11:42:46 +0100] [Job 142] PID 32750 (/usr/lib/cups/filter/universal) exited with no errors. D [28/Mar/2025:11:42:46 +0100] [Job 142] prnt/backend/hp.c 376: read new pjl status: 10023 D [28/Mar/2025:11:42:46 +0100] [Job 142] prnt/backend/hp.c 376: read new pjl status: 10403 D [28/Mar/2025:11:42:46 +0100] [Job 142] ready to print D [28/Mar/2025:11:42:46 +0100] [Job 142] PID 32752 (/usr/lib/cups/backend/hp) exited with no errors. D [28/Mar/2025:11:42:46 +0100] [Job 142] End of messages D [28/Mar/2025:11:42:46 +0100] [Job 142] printer-state=3(idle) D [28/Mar/2025:11:42:46 +0100] [Job 142] printer-state-message="ready to print" D [28/Mar/2025:11:42:46 +0100] [Job 142] printer-state-reasons=none W [28/Mar/2025:11:46:36 +0100] [Job 143] temp file (object 3 0, offset 3067): dictionary has duplicated key /x18; last occurrence overrides earlier ones W [28/Mar/2025:11:46:36 +0100] [Job 143] temp file (object 36 0, offset 609548): dictionary has duplicated key /x48; last occurrence overrides earlier ones W [28/Mar/2025:11:46:36 +0100] [Job 143] temp file (object 36 0, offset 609548): dictionary has duplicated key /x48; last occurrence overrides earlier ones Das mit dem duplicated key kann ich mir aber nicht erklären. Hast Du vielleicht einen Hinweis, wie ich das beheben kann? |
Supporter
![]() Anmeldungsdatum: Beiträge: 55215 Wohnort: Berlin |
Nö, ich paketiere die Software, ich wende sie nicht an. Wäre mangels HP-Drucker auch gar nicht so einfach. Und dein Druckerproblem hat mit dem defekten Paketsystem nichts zu tun und passt nicht mal in das Subforum hier, also bitte einen neuen Thread im dazu passenden Unterforum erstellen (siehe auch Richtig fragen). |