Update manager fails when trying to update.

Bug #2012109 reported by James Lewis
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I was not going to report this, since my system is a little mangled, but I saw someone else reporting the same issue here:-

https://ubuntuforums.org/showthread.php?t=2484916&p=14134928

And it seems they did not log the bug, so I felt I should.

I'm running the development release, 23.04, and "apt update&&apt full-upgrade" updates the system fine, but the GUI update-manager doesn't seem to be working... it shows what needs to be updated, but cannot apply the changes... it generates the following error, which matches the one in the forum posts above:-

```
root@trinity:/var/lib# update-manager
required_download could not be calculated: E:Can't find a source to download version '1.47.0-1ubuntu1' of 'e2fsprogs-l10n:amd64', E:Can't find a source to download version '1.47.0-1ubuntu1' of 'logsave:amd64', E:Can't find a source to download version '1.47.0-1ubuntu1' of 'libext2fs2:amd64', E:Can't find a source to download version '1.47.0-1ubuntu1' of 'e2fsprogs:amd64', E:Can't find a source to download version '3.11.2-1' of 'libpython3-dev:amd64', E:Can't find a source to download version '3.11.2-1' of 'python3-dev:amd64', E:Can't find a source to download version '3.11.2-1' of 'python3-minimal:amd64', E:Can't find a source to download version '3.11.2-1' of 'python3:amd64', E:Can't find a source to download version '3.11.2-1' of 'libpython3-stdlib:amd64', E:Can't find a source to download version '5.4.1-0.2' of 'liblzma-dev:amd64', E:Can't find a source to download version '5.4.1-0.2' of 'liblzma5:i386', E:Can't find a source to download version '5.4.1-0.2' of 'liblzma5:amd64', E:Can't find a source to download version '1.47.0-1ubuntu1' of 'libcom-err2:i386', E:Can't find a source to download version '1.47.0-1ubuntu1' of 'libcom-err2:amd64', E:Can't find a source to download version '1.47.0-1ubuntu1' of 'libss2:amd64', E:Can't find a source to download version '5.4.1-0.2' of 'xz-utils:amd64'
required_download could not be calculated: E:Can't find a source to download version '1.47.0-1ubuntu1' of 'e2fsprogs-l10n:amd64', E:Can't find a source to download version '1.47.0-1ubuntu1' of 'logsave:amd64', E:Can't find a source to download version '1.47.0-1ubuntu1' of 'libext2fs2:amd64', E:Can't find a source to download version '1.47.0-1ubuntu1' of 'e2fsprogs:amd64', E:Can't find a source to download version '3.11.2-1' of 'libpython3-dev:amd64', E:Can't find a source to download version '3.11.2-1' of 'python3-dev:amd64', E:Can't find a source to download version '3.11.2-1' of 'python3-minimal:amd64', E:Can't find a source to download version '3.11.2-1' of 'python3:amd64', E:Can't find a source to download version '3.11.2-1' of 'libpython3-stdlib:amd64', E:Can't find a source to download version '5.4.1-0.2' of 'liblzma-dev:amd64', E:Can't find a source to download version '5.4.1-0.2' of 'liblzma5:i386', E:Can't find a source to download version '5.4.1-0.2' of 'liblzma5:amd64', E:Can't find a source to download version '1.47.0-1ubuntu1' of 'libcom-err2:i386', E:Can't find a source to download version '1.47.0-1ubuntu1' of 'libcom-err2:amd64', E:Can't find a source to download version '1.47.0-1ubuntu1' of 'libss2:amd64', E:Can't find a source to download version '5.4.1-0.2' of 'xz-utils:amd64'
required_download could not be calculated: E:Can't find a source to download version '1.47.0-1ubuntu1' of 'e2fsprogs-l10n:amd64', E:Can't find a source to download version '1.47.0-1ubuntu1' of 'logsave:amd64', E:Can't find a source to download version '1.47.0-1ubuntu1' of 'libext2fs2:amd64', E:Can't find a source to download version '1.47.0-1ubuntu1' of 'e2fsprogs:amd64', E:Can't find a source to download version '3.11.2-1' of 'libpython3-dev:amd64', E:Can't find a source to download version '3.11.2-1' of 'python3-dev:amd64', E:Can't find a source to download version '3.11.2-1' of 'python3-minimal:amd64', E:Can't find a source to download version '3.11.2-1' of 'python3:amd64', E:Can't find a source to download version '3.11.2-1' of 'libpython3-stdlib:amd64', E:Can't find a source to download version '5.4.1-0.2' of 'liblzma-dev:amd64', E:Can't find a source to download version '5.4.1-0.2' of 'liblzma5:i386', E:Can't find a source to download version '5.4.1-0.2' of 'liblzma5:amd64', E:Can't find a source to download version '1.47.0-1ubuntu1' of 'libcom-err2:i386', E:Can't find a source to download version '1.47.0-1ubuntu1' of 'libcom-err2:amd64', E:Can't find a source to download version '1.47.0-1ubuntu1' of 'libss2:amd64', E:Can't find a source to download version '5.4.1-0.2' of 'xz-utils:amd64'
ERROR:root:free space check failed
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/UpdateManager/UpdatesAvailable.py", line 921, in on_button_install_clicked
    self.cache.checkFreeSpace()
  File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeCache.py", line 1192, in checkFreeSpace
    for (dir, size) in [(archivedir, self.required_download),
                                     ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/UpdateManager/Core/MyCache.py", line 146, in required_download
    pm.get_archives(fetcher, self._list, self._records)
apt_pkg.Error: E:Can't find a source to download version '1.47.0-1ubuntu1' of 'e2fsprogs-l10n:amd64', E:Can't find a source to download version '1.47.0-1ubuntu1' of 'logsave:amd64', E:Can't find a source to download version '1.47.0-1ubuntu1' of 'libext2fs2:amd64', E:Can't find a source to download version '1.47.0-1ubuntu1' of 'e2fsprogs:amd64', E:Can't find a source to download version '3.11.2-1' of 'libpython3-dev:amd64', E:Can't find a source to download version '3.11.2-1' of 'python3-dev:amd64', E:Can't find a source to download version '3.11.2-1' of 'python3-minimal:amd64', E:Can't find a source to download version '3.11.2-1' of 'python3:amd64', E:Can't find a source to download version '3.11.2-1' of 'libpython3-stdlib:amd64', E:Can't find a source to download version '5.4.1-0.2' of 'liblzma-dev:amd64', E:Can't find a source to download version '5.4.1-0.2' of 'liblzma5:i386', E:Can't find a source to download version '5.4.1-0.2' of 'liblzma5:amd64', E:Can't find a source to download version '1.47.0-1ubuntu1' of 'libcom-err2:i386', E:Can't find a source to download version '1.47.0-1ubuntu1' of 'libcom-err2:amd64', E:Can't find a source to download version '1.47.0-1ubuntu1' of 'libss2:amd64', E:Can't find a source to download version '5.4.1-0.2' of 'xz-utils:amd64'
root@trinity:/var/lib#
```

ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: update-manager 1:23.04.1
ProcVersionSignature: Ubuntu 6.1.0-16.16-generic 6.1.6
Uname: Linux 6.1.0-16-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.26.0-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Fri Mar 17 22:13:20 2023
InstallationDate: Installed on 2018-06-30 (1721 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
PackageArchitecture: all
ProcEnviron:
 LANG=en_GB.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
SourcePackage: update-manager
UpgradeStatus: Upgraded to lunar on 2020-10-05 (893 days ago)
modified.conffile..etc.default.apport:
 # set this to 0 to disable apport, or to 1 to enable it
 # you can temporarily override this with
 # sudo service apport start force_start=1
 enabled=0
mtime.conffile..etc.default.apport: 2018-08-07T23:59:52.831755

Revision history for this message
James Lewis (james-fsck) wrote :
Revision history for this message
James Lewis (james-fsck) wrote :

Note:- I see the message "ERROR:root:free space check failed", but I absolutely do have space.

```
root@trinity:/var/lib# df -h
Filesystem Size Used Avail Use% Mounted on
tmpfs 3.2G 4.0M 3.2G 1% /run
/dev/nvme0n1p2 916G 836G 71G 93% /
tmpfs 16G 1.1M 16G 1% /dev/shm
tmpfs 5.0M 20K 5.0M 1% /run/lock
tmpfs 16G 0 16G 0% /run/qemu
/dev/nvme0n1p1 511M 23M 489M 5% /boot/efi
/dev/md51 28T 23T 4.4T 84% /srv
tmpfs 3.2G 484K 3.2G 1% /run/user/1000
root@trinity:/var/lib# free -h
               total used free shared buff/cache available
Mem: 31Gi 16Gi 521Mi 666Mi 15Gi 14Gi
Swap: 13Gi 171Mi 13Gi
```

Revision history for this message
James Lewis (james-fsck) wrote :

Exactly the same issue on my other machine which was installed much more recently, so I think there's something to it.. perhaps a bad version of update-manager, or some other problem... Hopefully it gets fixed before 23.04 releases, as it's looking really nice.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in update-manager (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.