[Bug 1922401] Re: do-release-upgrade fails because it marks e2fsprogs for removal
Jamie Flournoy
1922401 at bugs.launchpad.net
Sat Apr 3 04:54:41 UTC 2021
I found the problem. Documenting here for posterity.
I had a file in /etc/apt/preferences.d/ containing this:
Package: *
Pin: Release v=18.04, -l=Ubuntu
Pin-Priority: 10
I had added this a while ago to upgrade smartmontools to the version
from Bionic, but forgot about it. Removing this (commenting out these 3
lines) made the do-release-upgrade succeed.
** Changed in: ubuntu-release-upgrader (Ubuntu)
Status: New => Invalid
--
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/1922401
Title:
do-release-upgrade fails because it marks e2fsprogs for removal
Status in ubuntu-release-upgrader package in Ubuntu:
Invalid
Bug description:
Here's the error that I think describes the problem in /var/log/dist-
upgrade/main.log :
2021-04-02 21:21:20,082 DEBUG The package 'e2fsprogs' is marked for removal but it's an ESSENTIAL package
2021-04-02 21:21:20,129 ERROR Dist-upgrade failed: 'The essential package 'e2fsprogs' is marked for removal.'
I've already removed all PPAs, purged uninstalled packages, fixed
broken packages, and done "apt upgrade" and "apt dist-upgrade".
My guess is that I installed somethingorother that is preventing the
upgrade, but I've disabled all non-ubuntu sources from
/etc/apt/sources.list, so I'm not sure why this is happening.
# uname -a
Linux merlin 4.4.0-206-generic #238-Ubuntu SMP Tue Mar 16 07:52:37 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
# lsb_release -rd
Description: Ubuntu 16.04.7 LTS
Release: 16.04
# apt-cache policy e2fsprogs
e2fsprogs:
Installed: 1.42.13-1ubuntu1.2
Candidate: 1.42.13-1ubuntu1.2
Version table:
1.44.1-1 10
10 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
*** 1.42.13-1ubuntu1.2 500
500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
100 /var/lib/dpkg/status
1.42.13-1ubuntu1 500
500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: ubuntu-release-upgrader-core 1:16.04.32
ProcVersionSignature: Ubuntu 4.4.0-206.238-generic 4.4.254
Uname: Linux 4.4.0-206-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.30
Architecture: amd64
CrashDB: ubuntu
Date: Fri Apr 2 21:24:33 2021
InstallationDate: Installed on 2010-05-16 (3974 days ago)
InstallationMedia: Ubuntu-Server 10.04 LTS "Lucid Lynx" - Release amd64 (20100427)
PackageArchitecture: all
ProcEnviron:
TERM=dtterm
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to xenial on 2021-04-03 (0 days ago)
mtime.conffile..etc.update-manager.release-upgrades: 2017-10-10T23:01:47.418404
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1922401/+subscriptions
More information about the foundations-bugs
mailing list