[Bug 1721626] Re: Remove obsolete versioned dependency on initramfs-tools Edit
Eric Desrochers
eric.desrochers at canonical.com
Fri Nov 10 13:46:08 UTC 2017
The retention of console-setup in xenial-proposed is causing a side-effect on ubiquity [2.21.63.5] installation which depend specifically on that 1.108ubuntu15.4 version[1].
IMHO ubiquity should have been put on hold as well to make sure console-setup and ubiquity were release at the same time.
If the hang cannot be fix soon, meaning that console-setup will stay in -proposed for a while or maybe eventually drop ?
Maybe we should consider rolling back ubiquity to use console-setup 1.108ubuntu15.3 ? to at least unblock the dependencies created by last console-setup change[2]
[1] root at xenial:~# apt-get install ubiquity
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
==> ubiquity : Depends: console-setup (>= 1.108ubuntu15.4) but 1.108ubuntu15.3 is to be installed <===
Recommends: grub-pc but it is not going to be installed or
grub but it is not going to be installed or
grub-efi but it is not going to be installed
Recommends: dmraid but it is not going to be installed
Recommends: btrfs-tools but it is not going to be installed
Recommends: ubuntu-drivers-common but it is not going to be installed
Recommends: lvm2 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
[2] debian/changelog
ubiquity (2.21.63.5) xenial; urgency=medium
* Cherry-pick support for WPA2 Enterprise. LP: #1107935
* Automatic update of included source packages: console-setup
1.108ubuntu15.4.
-- Dimitri John Ledkov <xnox at ubuntu.com> Tue, 31 Oct 2017 17:45:29
+0000
Note: If we activate xenial-proposed and then install ubiquity, it works
because the dependency is met.
Thoughts ?
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to console-setup in Ubuntu.
https://bugs.launchpad.net/bugs/1721626
Title:
Remove obsolete versioned dependency on initramfs-tools Edit
Status in console-setup package in Ubuntu:
Fix Released
Status in console-setup source package in Xenial:
Fix Committed
Bug description:
[SRU Justification]
Up until artful, console-setup declares a versioned dependency on initramfs-tools. This was an Ubuntu-specific dependency only needed for upgrades, and the version referenced is ancient (ca. 2008). In artful and later, the dependency has now been removed.
Since this is no longer relevant for upgrades and we would not
otherwise have a dependency on initramfs-tools, we should drop this
dependency to support building of images with initramfs-tools removed
for systems that we know don't require an initramfs.
[Test case]
1. On a xenial default cloud image install, try to run 'sudo apt purge initramfs-tools'.
2. Verify that this tries to remove console-setup, console-setup-linux, and kbd.
3. Cancel the removal.
4. Install console-setup from xenial-proposed.
5. Run 'sudo apt purge initramfs-tools' again.
6. Verify that console-setup, console-setup-linux, and kbd are not removed.
7. Run 'sudo apt install --reinstall console-setup' and confirm that the package can be installed successfully without initramfs-tools installed.
[Regression Potential]
If a user needs an initramfs in order to mount their root device, and console-setup is the only package on their system which depends on initramfs-tools, it is possible that the user may remove initramfs-tools and render their system unbootable.
This is unlikely because initramfs-tools is still part of the
'minimal' seed and is therefore a dependency of ubuntu-minimal; and it
remains a dependency of the generic kernel image.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/console-setup/+bug/1721626/+subscriptions
More information about the foundations-bugs
mailing list