[Bug 2111462] [NEW] No such file or directory: '/tmp/ubuntu-release-upgrader-xe0p645x/removal_denylist.cfg' during Ubuntu Upgrade
nomike
2111462 at bugs.launchpad.net
Thu May 22 00:19:30 UTC 2025
Public bug reported:
I ran `update-manager -c` to upgrade Ubuntu from 24.10 to 25.04.
After installing/upgrading packages, before asking about whether old
unused packages should be uninstalled, the updater vanished. This was
it's output on the terminal:
```plaintext
$ update-manager -c
Checking for a new Ubuntu release
localuser:root being added to access control list
Checking for a new Ubuntu release
/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeFetcherCore.py:237: Warning: W:Download is performed unsandboxed as root as file 'plucky.tar.gz.gpg' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
result = fetcher.run()
authenticate 'plucky.tar.gz' against 'plucky.tar.gz.gpg'
extracting 'plucky.tar.gz'
/usr/bin/diff: /etc/emacs/site-start.d/50dictionaries-common.el.dpkg-dist: No such file or directory
/usr/bin/diff: /etc/emacs/site-start.d/00debian.el.dpkg-dist: No such file or directory
Traceback (most recent call last):
File "/tmp/ubuntu-release-upgrader-xe0p645x/plucky", line 8, in <module>
File "/tmp/ubuntu-release-upgrader-xe0p645x/DistUpgrade/DistUpgradeMain.py", line 235, in main
File "/tmp/ubuntu-release-upgrader-xe0p645x/DistUpgrade/DistUpgradeController.py", line 1965, in run
File "/tmp/ubuntu-release-upgrader-xe0p645x/DistUpgrade/DistUpgradeController.py", line 1941, in fullUpgrade
File "/tmp/ubuntu-release-upgrader-xe0p645x/DistUpgrade/DistUpgradeController.py", line 1489, in doPostUpgrade
File "/tmp/ubuntu-release-upgrader-xe0p645x/DistUpgrade/DistUpgradeController.py", line 260, in openCache
File "/tmp/ubuntu-release-upgrader-xe0p645x/DistUpgrade/DistUpgradeController.py", line 284, in _openCache
File "/tmp/ubuntu-release-upgrader-xe0p645x/DistUpgrade/DistUpgradeCache.py", line 173, in __init__
File "/tmp/ubuntu-release-upgrader-xe0p645x/DistUpgrade/DistUpgradeConfigParser.py", line 89, in getListFromFile
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/ubuntu-release-upgrader-xe0p645x/removal_denylist.cfg'
```
Unfortunately I can no longer reproduce this, as I now have upgraded my
system.
ProblemType: Bug
DistroRelease: Ubuntu 25.04
Package: ubuntu-release-upgrader-core 1:25.04.16
ProcVersionSignature: Ubuntu 6.14.0-15.15-generic 6.14.0
Uname: Linux 6.14.0-15-generic x86_64
ApportVersion: 2.32.0-0ubuntu5
Architecture: amd64
CasperMD5CheckResult: pass
CrashDB: ubuntu
CurrentDesktop: ubuntu:GNOME
Date: Thu May 22 02:14:43 2025
InstallationDate: Installed on 2023-07-14 (678 days ago)
InstallationMedia: Ubuntu 23.04 "Lunar Lobster" - Release amd64 (20230414.1)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
Symptom: ubuntu-release-upgrader
UpgradeStatus: Upgraded to plucky on 2025-05-21 (0 days ago)
VarLogDistupgradeTermlog:
** Affects: ubuntu-release-upgrader (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug dist-upgrade plucky wayland-session
--
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/2111462
Title:
No such file or directory: '/tmp/ubuntu-release-upgrader-
xe0p645x/removal_denylist.cfg' during Ubuntu Upgrade
Status in ubuntu-release-upgrader package in Ubuntu:
New
Bug description:
I ran `update-manager -c` to upgrade Ubuntu from 24.10 to 25.04.
After installing/upgrading packages, before asking about whether old
unused packages should be uninstalled, the updater vanished. This was
it's output on the terminal:
```plaintext
$ update-manager -c
Checking for a new Ubuntu release
localuser:root being added to access control list
Checking for a new Ubuntu release
/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeFetcherCore.py:237: Warning: W:Download is performed unsandboxed as root as file 'plucky.tar.gz.gpg' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
result = fetcher.run()
authenticate 'plucky.tar.gz' against 'plucky.tar.gz.gpg'
extracting 'plucky.tar.gz'
/usr/bin/diff: /etc/emacs/site-start.d/50dictionaries-common.el.dpkg-dist: No such file or directory
/usr/bin/diff: /etc/emacs/site-start.d/00debian.el.dpkg-dist: No such file or directory
Traceback (most recent call last):
File "/tmp/ubuntu-release-upgrader-xe0p645x/plucky", line 8, in <module>
File "/tmp/ubuntu-release-upgrader-xe0p645x/DistUpgrade/DistUpgradeMain.py", line 235, in main
File "/tmp/ubuntu-release-upgrader-xe0p645x/DistUpgrade/DistUpgradeController.py", line 1965, in run
File "/tmp/ubuntu-release-upgrader-xe0p645x/DistUpgrade/DistUpgradeController.py", line 1941, in fullUpgrade
File "/tmp/ubuntu-release-upgrader-xe0p645x/DistUpgrade/DistUpgradeController.py", line 1489, in doPostUpgrade
File "/tmp/ubuntu-release-upgrader-xe0p645x/DistUpgrade/DistUpgradeController.py", line 260, in openCache
File "/tmp/ubuntu-release-upgrader-xe0p645x/DistUpgrade/DistUpgradeController.py", line 284, in _openCache
File "/tmp/ubuntu-release-upgrader-xe0p645x/DistUpgrade/DistUpgradeCache.py", line 173, in __init__
File "/tmp/ubuntu-release-upgrader-xe0p645x/DistUpgrade/DistUpgradeConfigParser.py", line 89, in getListFromFile
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/ubuntu-release-upgrader-xe0p645x/removal_denylist.cfg'
```
Unfortunately I can no longer reproduce this, as I now have upgraded
my system.
ProblemType: Bug
DistroRelease: Ubuntu 25.04
Package: ubuntu-release-upgrader-core 1:25.04.16
ProcVersionSignature: Ubuntu 6.14.0-15.15-generic 6.14.0
Uname: Linux 6.14.0-15-generic x86_64
ApportVersion: 2.32.0-0ubuntu5
Architecture: amd64
CasperMD5CheckResult: pass
CrashDB: ubuntu
CurrentDesktop: ubuntu:GNOME
Date: Thu May 22 02:14:43 2025
InstallationDate: Installed on 2023-07-14 (678 days ago)
InstallationMedia: Ubuntu 23.04 "Lunar Lobster" - Release amd64 (20230414.1)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
Symptom: ubuntu-release-upgrader
UpgradeStatus: Upgraded to plucky on 2025-05-21 (0 days ago)
VarLogDistupgradeTermlog:
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2111462/+subscriptions
More information about the foundations-bugs
mailing list