I can click Update 50,000 times, and I’ll still have 2 “components with updates” in the Pop!_OS store.
This output of sudo apt-get full-upgrade
is:
...
Fetched 2,961 B in 2s (1,437 B/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
libgd3 libgd3:i386
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
I don’t get why libgd3
and libgd3:i386
are kept back.
What do you get back from
apt-cache policy libgd3
? And what happens if you try to manually install them withsudo apt install libgd3 libgd3:i386
?So I guess I should uninstall one of the two packages, right?
❯ sudo apt-cache policy libgd3 libgd3: Installed: 2.3.0-2ubuntu2 Candidate: 2.3.3-9+ubuntu22.04.1+deb.sury.org+1 Version table: 2.3.3-9+ubuntu22.04.1+deb.sury.org+1 500 500 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy/main amd64 Packages *** 2.3.0-2ubuntu2 500 500 http://apt.pop-os.org/ubuntu jammy/main amd64 Packages 100 /var/lib/dpkg/status
❯ sudo apt install libgd3 libgd3:i386 Reading package lists... Done Building dependency tree... Done 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: libgd3 : Breaks: libgd3:i386 (!= 2.3.3-9+ubuntu22.04.1+deb.sury.org+1) but 2.3.3-6+ubuntu22.04.1+deb.sury.org+1 is to be installed libgd3:i386 : Breaks: libgd3 (!= 2.3.3-6+ubuntu22.04.1+deb.sury.org+1) but 2.3.3-9+ubuntu22.04.1+deb.sury.org+1 is to be installed E: Unable to correct problems, you have held broken packages.
Then there’s an issue with this deb.sury.org PPA rather than Pop!_OS. I’d recommend purging and avoiding PPAs that replace system packages like this.
I use deb.sury.org for php, removed
libgd3:i386
and this solved the issue, thanks