pop-os / beta

Pop!_OS Beta
356 stars 19 forks source link

libzstd1 update in Pop Shop just removed many i386 packages including steam without even a warning #397

Closed keftie22 closed 2 years ago

keftie22 commented 2 years ago

How did you upgrade to 22.04? (Fresh install / Upgrade)

Fresh install

Related Application and/or Package Version (run apt policy $PACKAGE NAME):

Installed:

libzstd1:
  Installed: 1.4.8+dfsg-3build1
  Candidate: 1.4.8+dfsg-3build1
  Version table:
 *** 1.4.8+dfsg-3build1 500
        500 http://us.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
        100 /var/lib/dpkg/status

Removed:

libasound2-plugins:i386 (1.2.6-1)
pipewire:i386 (0.3.48-1ubuntu1)
libpipewire-0.3-modules:i386 (0.3.48-1ubuntu1)
libavahi-client3:i386 (0.8-5ubuntu5)
libpipewire-0.3-0:i386 (0.3.48-1ubuntu1)
libspa-0.2-modules:i386 (0.3.48-1ubuntu1)
libsdl2-2.0-0:i386 (2.0.20+dfsg-2build1)
libpulse0:i386 (1:15.99.1+dfsg1-1ubuntu1)
libdecor-0-plugin-1-cairo:i386 (0.1.0-3build1)
steam:i386 (1:1.0.0.74-1pop1\~1644936575\~22.04\~6d77918)
libnvidia-fbc1-510:i386 (510.60.02-1pop0\~1649099333\~22.04\~aedf526)
libgl1:i386 (1.4.0-1)
libglx0:i386 (1.4.0-1)
libglx-mesa0:i386 (22.0.1-1ubuntu1)
libgl1-mesa-dri:i386 (22.0.1-1ubuntu1)
va-driver-all:i386 (2.14.0-1)
mesa-va-drivers:i386 (22.0.1-1ubuntu1)
mesa-vulkan-drivers:i386 (22.0.1-1ubuntu1)
libdbus-1-3:i386 (1.12.20-2ubuntu4)
libsystemd0:i386 (249.11-0ubuntu2pop0~1648760320~22.04~7d7dd36)
libzstd1:i386 (1.4.8+dfsg-3)

Issue/Bug Description:

When trying to apt upgrade I noticed that libzstd1 was being held back. When I did an apt full-upgrade I saw that it was about to remove a bunch of i386 packages. I refrained from doing that update and a few minutes later I saw the update toggle pop up from the pop shop and absentmindedly just clicked update. There was no warning or anything and just as I initiated the upgrade i remembered that apt upgrade had held that package back.

I checked the logs and sure enough, without warning it installed libzstd1 and removed all of those packages:

Log started: 2022-04-14  14:26:57
(Reading database ... 
(Reading database ... 5%
...
(Reading database ... 100%
(Reading database ... 284671 files and directories currently installed.)
Removing libasound2-plugins:i386 (1.2.6-1) ...
Removing pipewire:i386 (0.3.48-1ubuntu1) ...
Removing libpipewire-0.3-modules:i386 (0.3.48-1ubuntu1) ...
Removing libavahi-client3:i386 (0.8-5ubuntu5) ...
Removing libpipewire-0.3-0:i386 (0.3.48-1ubuntu1) ...
Removing libspa-0.2-modules:i386 (0.3.48-1ubuntu1) ...
Removing libsdl2-2.0-0:i386 (2.0.20+dfsg-2build1) ...
Removing libpulse0:i386 (1:15.99.1+dfsg1-1ubuntu1) ...
Removing libdecor-0-plugin-1-cairo:i386 (0.1.0-3build1) ...
Removing steam:i386 (1:1.0.0.74-1pop1~1644936575~22.04~6d77918) ...
Removing libnvidia-fbc1-510:i386 (510.60.02-1pop0~1649099333~22.04~aedf526) ...
Removing libgl1:i386 (1.4.0-1) ...
Removing libglx0:i386 (1.4.0-1) ...
Removing libglx-mesa0:i386 (22.0.1-1ubuntu1) ...
Removing libgl1-mesa-dri:i386 (22.0.1-1ubuntu1) ...
Removing va-driver-all:i386 (2.14.0-1) ...
Removing mesa-va-drivers:i386 (22.0.1-1ubuntu1) ...
Removing mesa-vulkan-drivers:i386 (22.0.1-1ubuntu1) ...
Removing libdbus-1-3:i386 (1.12.20-2ubuntu4) ...
Removing libsystemd0:i386 (249.11-0ubuntu2pop0~1648760320~22.04~7d7dd36) ...
Removing libzstd1:i386 (1.4.8+dfsg-3) ...
(Reading database ... 
(Reading database ... 5%
...
(Reading database ... 100%
(Reading database ... 284480 files and directories currently installed.)
Preparing to unpack .../libzstd1_1.4.8+dfsg-3build1_amd64.deb ...
Unpacking libzstd1:amd64 (1.4.8+dfsg-3build1) over (1.4.8+dfsg-3) ...
Setting up libzstd1:amd64 (1.4.8+dfsg-3build1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...
Processing triggers for libc-bin (2.35-0ubuntu3) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...
Log ended: 2022-04-14  14:26:58

When I try to sudo apt install steam now I am unable to install it and get the message:

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:
 libgl1-mesa-dri:i386 : Depends: libzstd1:i386 (>= 1.4.0) but it is not going to be installed
                        Recommends: libgl1-amber-dri:i386 but it is not installable
E: Unable to correct problems, you have held broken packages.

Steps to reproduce (if you know):

Attempt to update through the Pop Shop while the libzstd1 update is there.

Expected behavior:

Steam and all of those other packages not be removed when I update from the Pop Shop or at least provide some warning that this was about to happen.

Other Notes:

I am unable to remove the new package to be able to install steam again. It spits out a long list of dependency errors so I am just unable to install it on 22.04 at this moment.

mmstick commented 2 years ago

What package do you have is conflicting with this zstd update from Ubuntu?

mmstick commented 2 years ago

On my system, everything upgraded fine

$ apt-cache policy libzstd1 steam
libzstd1:
  Installed: 1.4.8+dfsg-3build1
  Candidate: 1.4.8+dfsg-3build1
  Version table:
 *** 1.4.8+dfsg-3build1 500
        500 http://us.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
        100 /var/lib/dpkg/status
steam:i386:
  Installed: 1:1.0.0.74-1pop1~1644936575~22.04~6d77918
  Candidate: 1:1.0.0.74-1pop1~1644936575~22.04~6d77918
  Version table:
     1:1.0.0.74-1ubuntu2 500
        500 http://us.archive.ubuntu.com/ubuntu jammy/multiverse i386 Packages
 *** 1:1.0.0.74-1pop1~1644936575~22.04~6d77918 1002
       1001 http://apt.pop-os.org/release jammy/main i386 Packages
       1002 http://apt.pop-os.org/staging/master jammy/main i386 Packages
        100 /var/lib/dpkg/status
keftie22 commented 2 years ago

What package do you have is conflicting with this zstd update from Ubuntu?

I'm assuming its all of the ones I listed that got removed when that package updated. They were all the ones that were removed in order for the upgrade to go through. Apt was holding the zstd package back otherwise.

mmstick commented 2 years ago

Do you have pop-desktop installed?

keftie22 commented 2 years ago

Yes

$ apt policy pop-desktop
pop-desktop:
  Installed: 1.6.0~1648845429~22.04~37ca528
  Candidate: 1.6.0~1648845429~22.04~37ca528
  Version table:
 *** 1.6.0~1648845429~22.04~37ca528 1001
       1001 http://apt.pop-os.org/release jammy/main amd64 Packages
       1001 http://apt.pop-os.org/release jammy/main i386 Packages
        100 /var/lib/dpkg/status
mmstick commented 2 years ago

pipewire is a dependency of pop-desktop, so it cannot be removable without removing pop-desktop with it. You don't have pipewire installed anymore?

pipewire:
  Installed: 0.3.49-1pop1~1649334574~22.04~837f51b
keftie22 commented 2 years ago

I do have pipewire

$ apt policy pipewire
pipewire:
  Installed: 0.3.48-1ubuntu1
  Candidate: 0.3.48-1ubuntu1
  Version table:
 *** 0.3.48-1ubuntu1 500
        500 http://us.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
        100 /var/lib/dpkg/status

I don't have the i386 version of it anymore though, that's what was removed.

...
Removing pipewire:i386 (0.3.48-1ubuntu1) ...
...
keftie22 commented 2 years ago

It does seem to be working now today. After a restart my audio was broken but a sudo apt install --reinstall pipewire pipewire-pulse wireplumber was able to get the audio working again. I am also able to install steam.

No clue what was wrong or what fixed it. I still think that Pop Shop proceeding with that upgrade without warning and removing all of that stuff was a potential problem but there's no way I can recreate what happened to figure out what exactly that was.

mmstick commented 2 years ago

Ubuntu updated some packages and it was causing some conflicts. I've updated our packages to resolve them, so that's probably why it's fixed now. With the release imminent it's unlikely that Ubuntu will make more breaking changes to their packages.