Public bug reported:
I have a VirtualBox Version 7.2.8 r173730 (Qt6.8.0 on xcb) running on
Ubuntu MATE 24.04.4 LTS noble. One of my VMs is Ubuntu MATE 25.10 (the
one from which this bug was generated, now running 26.04 after finally
getting an upgrade to complete, which is the subject of this bug
report.)
This VM is quite old, probably about 10 years with over a dozen Ubuntu
version upgrades. So it's been modified alot (by Ubunutu, not by me.) I
had not encountered any errors in all those upgrades that required
intervention on my part.
Prior to the sequence I describe below, I had several failed attempts.
I'm including these details because they informed decisions I make
below. I'm just going to list the errors I received because the
narrative would be too long:
===
Could not install
'/var/cache/apt/archives/rust-coreutils_0.8.0-0ubuntu3_amd64.deb'
The upgrade will continue but the
'/var/cache/apt/archives/rust-coreutils_0.8.0-0ubuntu3_amd64.deb' package
may not be in a working state. Please consider submitting a bug report about it.
"package rust-coreutils is already installed and configured"
unable to make backup link of './usr/lib/cargo/bin/coreutils/sync'
before installing new version: Too many links
Could not install 'rust-coreutils'
The upgrade will continue but the 'rust-coreutils' package may not be in
a working state. Please consider submitting a bug report about it.
package rust-coreutils is already installed and configured (This message
is referring to the old version 0.2.2)
dpkg: dependency problems prevent configuration of rust-corutils:
tzdata (2026a-3ubuntu1) breaks rust-coreutils (<< 0.5.0) and is unpacked but
not configured.
Version of rust-coreutils to be configured is 0.2.2-0ubuntu2.1.
dpkg: error processing package rust-coreutils (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Got all the way through "update-initramfs: Generating
/boot/initrd.img-7.0.0-27-generic, then...
Errors were encountered while processing:
rust-coreutils
coreutils-from-uutils
build-essential
goject-introspection-bin
ubuntu 26.04 upgrade aborted rust-coretils coreutils-from-uutils
build-essential gobject-introspection-bin
The a popup: Could not install the upgrades. The upgrade has aborted. Your
system could be in an unusuable state.
A recover will run now (dpkg --configure -a)
===
We're now back in my latest upgrade attempt:
(1) I started by going into Software and Updates, and disabling all
software sources other than Questing for 25.10.
(2) I then ran Software Updater and made sure all updates were applied
for 25.10. I also ran apt autoremove to get rid of any orphaned
packages. I shut down the VM and made a copy of the VDI file. I still
have that if I need to run any more upgrade attempts or provide more
info about the environment.
(3) I started the VM again. At this point, the only installed kernels
were 6.17.0-35, 6.17.0-40. I started up Software Updater again, and this
time it asked me if I wanted to upgrade to 26.04. I told it to proceed.
The upgrade completed without error.
(4) Upon restart, 26.04 is running. However tzdata was marked as
broken. So,I opened synaptic and and instructed it to reinstall tzdata.
I also told it to upgrade rust-coreutils from 0.2.2 to 0.8.0:
E: /var/cache/apt/archives/rust-coreutils_0.8.0-0ubuntu3_amd64.deb:
unable to make backup link of './usr/lib/cargo/bin/coreutils/sync'
before installing new version: Too many links
So I manually did:
rm -rf /usr/lib/cargo/bin/coreutils/sync
This won't work. After removing this one, then it repeats the same error for
the next file in coreutils.
So, I renamed /usr/lib/cargo/bin/coreutils to /usr/lib/cargo/bin/coreutils.bak
(5) Then, apt --fix-broken install. Worked! Got a new
/usr/lib/cargo/bin/coreutils:
Unpacking rust-coreutils (0.8.0-0ubuntu3) over (0.2.2-0ubuntu2.1)…
Setting up rust-coreutils (0.8.0-0ubuntu3)…
Setting up coreutils-from-uutils (0.0.0~ubuntu25)…
Setting up build-essential (12.12ubuntu2.26.04.1)…
Setting up gobject-introspection-bin (1.86.0-6build1)…
Processing triggers for man-db (2.13.1-1build1)…
(6) Finally, I then ran apt autoremove. It's deleting about 100
packages. Spot checked, apparently just removing old versions.
(7) After all this, the 26.04 system appears to be completely upgraded
and is running stable.
(8) To see if I could get this to happen with a brand new, clean
install, I created a new VM and installed Ubuntu MATE 25.10. I verified
it was running with rust-coreutils-0.2.2-0ubuntu2.1. I then went
through the same upgrade procedure described above. This time, it
completed without issue, and when rebooted, the system was running 26.04
cleanly, no broken packages and rust-coreutils_0.8.0-0ubuntu3_amd64.deb
installed.
Conclusion: So what to conclude from this? Apparently, my long-term VM
with many version upgrades caused some configuration issues. This
system has been through so many upgrades that I'm guessing finding the
root cause will not be possible. My main motive for submitting this bug
report is if someone finds it by searching, I can hopefully provide a
solution.
ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: ubuntu-release-upgrader-gtk 1:26.04.22
ProcVersionSignature: Ubuntu 7.0.0-27.27-generic 7.0.6
Uname: Linux 7.0.0-27-generic x86_64
ApportVersion: 2.34.0-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: unknown
CrashDB: ubuntu
CrashReports: 640:0:110:550942:2026-07-08 04:40:50.018135818 -0400:2026-07-11
13:53:16.518200050 -0400:/var/crash/rust-coreutils.0.crash
CurrentDesktop: MATE
Date: Mon Jul 13 03:21:04 2026
InstallationDate: Installed on 2013-05-18 (4804 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to resolute on 2026-07-08 (5 days ago)
VarLogDistupgradeTermlog:
** Affects: ubuntu-release-upgrader (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug dist-upgrade resolute
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2160489
Title:
Upgrading VirtualBox VM Ubuntu 25.10 to 26.04 fails rust-
coreutils_0.8.0-0ubuntu3_amd64.deb
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2160489/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs