Page MenuHomePureOS Tracker

Package btrfs-progs breaks package initramfs-tools (< 0.137)
Open, HighPublic



When trying to install btrfs-progs, it wants to remove the following packages: initramfs-tools pureos-minimal pureos-plasma pureos-standard, because btrfs-progs breaks initiramfs-tools (< 0.137) and triggers a chain reaction;btrfs-progs wants to remove initramfs-tools but pureos-plasma depends on pureos-standard which depends on pureos-minimal which depends on initramfs-tools.

Steps to reproduce

sudo apt install btrfs-progs
The following packages will be REMOVED:
initramfs-tools pureos-minimal pureos-plasma pureos-standard

When checking btrfs-progs dependencies, apt-cache depends btrfs-progs returns the following:

apt-cache depends btrfs-progs
  Depends: libblkid1
  Depends: libc6
  Depends: libcom-err2
  Depends: libext2fs2
  Depends: liblzo2-2
  Depends: libmount1
  Depends: libuuid1
  Depends: libzstd1
  Depends: zlib1g
  Depends: libgcc-s1
  Breaks: btrbk
  Breaks: initramfs-tools
  Breaks: libgcc-s1
  Suggests: duperemove

Suggested solution

The version of initramfs-tools from PureOS is 0.132 which breaks btrfs-progs. Sync initiramfs-tools from PureOS with initramfs-tools from Debian should fix the problem since the version of initramfs-toolsfrom Debian is 0.139, although I don't know what are the implications of that.

Event Timeline

akagusu created this task.Mar 6 2021, 09:26
jeremiah.foster triaged this task as Normal priority.Mar 8 2021, 08:25

I can confirm this;

$ sudo apt install btrfs-progs
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Suggested packages:
The following packages will be REMOVED:
  cryptsetup-initramfs initramfs-tools linux-image-5.10.0-2-amd64 linux-image-5.10.0-3-amd64 linux-image-amd64 pureos-gnome pureos-minimal pureos-standard
The following packages will be upgraded:
ChriChri added a comment.Nov 1 2021, 12:52

To add to this: if initramfs-tools is replaced by dracut the resulting initrd will not include functionality to decrypt a LUKS root filesystem using a LibremKey.

Risk is that a user cannot access the root filesytem anymore.

The priority of this issue thereby should be higher/highest.

jeremiah.foster assigned this task to mak.Nov 1 2021, 13:58
jeremiah.foster raised the priority of this task from Normal to High.