[Bug 2063981] Re: Noble Numbat distribution upgrade failure too many errors
SRIKANTA PAL
2063981 at bugs.launchpad.net
Mon Jun 3 18:34:49 UTC 2024
I have also faced the same issue after upgrading from Ubuntu 23.10 to
Ubuntu 24.04. In my case, the issue is resolved after using the
following commands.
1. To remove the problematic package and its dependencies
$ sudo apt-get remove --purge libeccodes-data
$ sudo apt-get autoremove
2. Update the package list
$ sudo apt-get update
3. Install the package manually
$ sudo apt-get install libeccodes-data
4. Install the dependencies of that package
$ sudo apt-get install gnudatalanguage libeccodes0
libgnudatalanguage0
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/2063981
Title:
Noble Numbat distribution upgrade failure too many errors
Status in ubuntu-release-upgrader package in Ubuntu:
Incomplete
Bug description:
Environment: Ubuntu 23.10 mantic LTS, wayland, macpro 2013 trashcan,
luks2 encrypted lvm, gnome 45, kernel Linux 6.5.0-28-generic,
Upgrading from 23.10, April 27th 2024, via terminal using do-
distribution-upgrade -d results in too many errors and upgrades fail:
running "do-distribution-upgrade -d" will fail:
dpkg: error processing package gnome-keyring (--configure):
dependency problems - leaving unconfigured
dpkg: too many errors, stopping
Processing triggers for dictionaries-common (1.29.7) ...
Processing triggers for libc-bin (2.39-0ubuntu8) ...
Errors were encountered while processing:
libcairo-script-interpreter2:amd64
libucx0:amd64
libice-dev:amd64
libsm-dev:amd64
sfftw2
libfftw3-mpi3:amd64
dbus-daemon
dbus-user-session
fftw2
libdbus-1-dev:amd64
dbus
sfftw-dev
avahi-daemon
dbus-x11
gdm3
libgtk-4-1:amd64
libpam-systemd:amd64
language-selector-common
libcairo2-dev:amd64
libgtk2.0-dev:amd64
libgoa-backend-1.0-2:amd64
fftw-dev
nautilus
libpolkit-qt5-1-1:amd64
dbus-bin
polkitd
accountsservice
libportal-gtk4-1:amd64
budgie-control-center
gnome-clocks
libcanberra-gtk-dev:amd64
systemd-resolved
libgtkmm-2.4-dev:amd64
budgie-session
gir1.2-gtk-4.0:amd64
gnome-terminal
libkf5authcore5:amd64
xdg-desktop-portal-gtk
libatspi2.0-dev:amd64
language-selector-gnome
libgtk-3-dev:amd64
tracker
udisks2
gir1.2-gnomebg-4.0:amd64
gnome-control-center
xdg-desktop-portal
libapache2-mod-dnssd
libnma-gtk4-0:amd64
libkf5configwidgets5:amd64
gnome-keyring
Processing was halted because there were too many errors.
after "apt --fix-broken-install" another failure is encountered:
Unpacking usb-modeswitch (2.6.1-3ubuntu3) over (2.6.1-3ubuntu2) ...
Errors were encountered while processing:
/tmp/apt-dpkg-install-RPCtCO/388-libeccodes-data_2.34.1-1build2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
after "apt full-upgrade" another failure is encountered:
Preparing to unpack .../5-libeccodes-data_2.34.1-1build2_all.deb ...
Unpacking libeccodes-data (2.34.1-1build2) over (2.31.1-1) ...
dpkg: error processing archive /tmp/apt-dpkg-install-JUWoUK/5-libeccodes-data_2.34.1-1build2_all.deb (--unpack):
unable to open '/usr/share/eccodes/definitions/bufr/tables/0/local/8/78/1/codetables/11199.table.dpkg-new': No such file or directory
No apport report written because the error message indicates an issue on the local system
Preparing to unpack .../6-libodc-0d_1.5.0-2_amd64.deb ...
Unpacking libodc-0d:amd64 (1.5.0-2) over (1.4.6-5) ...
Errors were encountered while processing:
/tmp/apt-dpkg-install-JUWoUK/5-libeccodes-data_2.34.1-1build2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
and after again running "apt --fix-broken-install" it succeeds:
a splash appears and it states that grub-efi-amd64 grub boot loader
was previously installed to a disk that is no longer present, which is
odd since it is the disk lvm I am installing ubuntu on, I continue by
selecting /dev/nvme0n1p1
and after running "apt update/full-upgrade" again it fails:
(Reading database ... 393989 files and directories currently installed.)
Preparing to unpack .../libeccodes-data_2.34.1-1build2_all.deb ...
Unpacking libeccodes-data (2.34.1-1build2) over (2.31.1-1) ...
dpkg: error processing archive /var/cache/apt/archives/libeccodes-data_2.34.1-1build2_all.deb (--unpack):
unable to open '/usr/share/eccodes/definitions/bufr/tables/0/local/8/78/1/codetables/11199.table.dpkg-new': No such file or directory
No apport report written because the error message indicates an issue on the local system
Errors were encountered while processing:
/var/cache/apt/archives/libeccodes-data_2.34.1-1build2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
and after running "apt --fix-broken-install" and "apt autoremove -y" and "sudo dpkg -i --force-overwrite /var/cache/apt/archives/libeccodes-data_2.34.1-1build2_all.deb" still fails:
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
(Reading database ... 386053 files and directories currently installed.)
Preparing to unpack .../libeccodes-data_2.34.1-1build2_all.deb ...
Unpacking libeccodes-data (2.34.1-1build2) over (2.31.1-1) ...
dpkg: error processing archive /var/cache/apt/archives/libeccodes-data_2.34.1-1build2_all.deb (--install):
unable to open '/usr/share/eccodes/definitions/bufr/tables/0/local/8/78/1/codetables/11199.table.dpkg-new': No such file or directory
Errors were encountered while processing:
/var/cache/apt/archives/libeccodes-data_2.34.1-1build2_all.deb
The following cannot be upgraded:
sudo apt list --upgradable
Listing... Done
libeccodes-data/noble,noble 2.34.1-1build2 all [upgradable from: 2.31.1-1]
mesa-opencl-icd/noble 24.0.5-1ubuntu1 amd64 [upgradable from: 24.0.3+git2403140111.90dcd95c0e7~m~mesarc5]
after purging mesa-opencl* and re-installing it and purging libcc* and
re-installing it these packages install.
Also reinstalled and enabled gdm3 service since it got stuck at boot
last three times I tried, prior to reboot.
With the failed upgrade restarting the computer will result in a hang and fail to load the gdm.service and system will be unusable.
ProblemType: Bug
DistroRelease: Ubuntu 23.10
Package: ubuntu-release-upgrader-core 1:24.04.16
ProcVersionSignature: Ubuntu 6.5.0-28.29-generic 6.5.13
Uname: Linux 6.5.0-28-generic x86_64
NonfreeKernelModules: vboxnetadp vboxnetflt vboxdrv wl
ApportVersion: 2.27.0-0ubuntu5
Architecture: amd64
CasperMD5CheckResult: unknown
CrashDB: ubuntu
CrashReports: 644:0:0:1389891:2024-04-27 21:11:23.978236133 -0700:2024-04-27 21:11:23.922238433 -0700:/var/crash/libeccodes-data.0.crash
CurrentDesktop: ubuntu:GNOME
Date: Sat Apr 27 21:14:12 2024
PackageArchitecture: all
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
XDG_RUNTIME_DIR=<set>
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: ubuntu-release-upgrader
Symptom: dist-upgrade
UpgradeStatus: Upgraded to mantic on 2024-04-28 (0 days ago)
VarLogDistupgradeAptclonesystemstate.tar.gz: Error: command ['pkexec', 'cat', '/var/log/dist-upgrade/apt-clone_system_state.tar.gz'] failed with exit code 127: pkexec must be setuid root
VarLogDistupgradeXorgFixuplog:
INFO:root:/usr/bin/do-release-upgrade running
INFO:root:No xorg.conf, exiting
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2063981/+subscriptions
More information about the foundations-bugs
mailing list