# The package system is broken

**URL:** <https://discourse.ubuntubudgie.org/t/the-package-system-is-broken/7027>\
**Category:** General\
**Created:** [January 9, 2024, 10:51pm UTC](https://discourse.ubuntubudgie.org/t/the-package-system-is-broken/7027 "2024-01-09T22:51:14Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dusty](https://avatars.discourse-cdn.com/v4/letter/d/a183cd/32.png) [@Dusty](https://discourse.ubuntubudgie.org/u/Dusty)\
**Post date:** [January 9, 2024, 10:51pm UTC](https://discourse.ubuntubudgie.org/t/the-package-system-is-broken/7027/1 "2024-01-09T22:51:14Z")

</div>

Kinda at a loss for what is wrong here.

I haven’t installed any new programs in a while and it’s been updating fine. Well I take that back, my daughter installed one called SnapGene to look at some of her lab data from here over christmas and I wasn’t present at the time. I think it has updated since then but I am not sure.

Attaching a screenshot of what I’m seeing.

 ![Screenshot from 2024-01-09 17-42-18](https://canada1.discourse-cdn.com/flex035/uploads/ubuntubudgie/original/2X/5/535bf1c093545d6bc7f84009824f6ab1c16c229c.png)

---

<div class="post-metadata">

**Author:** ![fossfreedom](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/fossfreedom/32/1405_2.png) [@fossfreedom](https://discourse.ubuntubudgie.org/u/fossfreedom)\
**Post date:** [January 9, 2024, 10:56pm UTC](https://discourse.ubuntubudgie.org/t/the-package-system-is-broken/7027/2 "2024-01-09T22:56:45Z")

</div>

So as it mentioned delved into a terminal and type

```
sudo apt update
sudo apt install -f

```

Copy paste what you see here

---

<div class="post-metadata">

**Author:** ![Dusty](https://avatars.discourse-cdn.com/v4/letter/d/a183cd/32.png) [@Dusty](https://discourse.ubuntubudgie.org/u/Dusty)\
**Post date:** [January 9, 2024, 11:07pm UTC](https://discourse.ubuntubudgie.org/t/the-package-system-is-broken/7027/3 "2024-01-09T23:07:25Z")

</div>

sudo apt update

Hit:1 [Index of /ubuntu](http://us.archive.ubuntu.com/ubuntu) jammy InRelease  
Hit:2 [Index of /ubuntu](http://security.ubuntu.com/ubuntu) jammy-security InRelease  
Hit:3 [Index of /ubuntu](http://us.archive.ubuntu.com/ubuntu) jammy-updates InRelease  
Hit:4 [Index of /ubuntu](http://us.archive.ubuntu.com/ubuntu) jammy-backports InRelease  
Hit:5 [Index of /ubuntuhandbook1/apps/ubuntu](https://ppa.launchpadcontent.net/ubuntuhandbook1/apps/ubuntu) jammy InRelease  
Reading package lists… Done  
Building dependency tree… Done  
Reading state information… Done  
143 packages can be upgraded. Run ‘apt list --upgradable’ to see them.

sudo apt install -f

Reading package lists… Done  
Building dependency tree… Done  
Reading state information… Done  
Correcting dependencies… Done  
The following packages were automatically installed and are no longer required:  
gir1.2-accountsservice-1.0 gir1.2-adw-1 gir1.2-gck-1 gir1.2-gcr-3  
gir1.2-gdm-1.0 gir1.2-gnomebluetooth-3.0 gir1.2-graphene-1.0 gir1.2-gtk-4.0  
gir1.2-mutter-10 gir1.2-nm-1.0 gir1.2-nma-1.0 gir1.2-rsvg-2.0  
gir1.2-upowerglib-1.0 gnome-bluetooth-3-common gstreamer1.0-pipewire  
libadwaita-1-0 libaom2 libflashrom1 libftdi1-2 libgdm1 libgnome-autoar-0-0  
libgnome-bluetooth-3.0-13 libhwy0 libjxl libllvm13 libx265-192  
switcheroo-control ubuntu-wallpapers ubuntu-wallpapers-jammy xwayland  
yaru-theme-gnome-shell  
Use ‘sudo apt autoremove’ to remove them.  
The following additional packages will be installed:  
libjxl0.7  
The following NEW packages will be installed:  
libjxl0.7  
0 upgraded, 1 newly installed, 0 to remove and 143 not upgraded.  
1 not fully installed or removed.  
Need to get 0 B/975 kB of archives.  
After this operation, 3,046 kB of additional disk space will be used.  
Do you want to continue? [Y/n] Y  
(Reading database … 307928 files and directories currently installed.)  
Preparing to unpack …/libjxl0.7\_0.7.0-0build1~jammy\_amd64.deb …  
Unpacking libjxl0.7:amd64 (0.7.0-0build1~jammy) …  
dpkg: error processing archive /var/cache/apt/archives/libjxl0.7\_0.7.0-0build1~j  
ammy\_amd64.deb (–unpack):  
trying to overwrite ‘/usr/lib/x86\_64-linux-gnu/libjxl.so.0.7.0’, which is also  
in package libjxl:amd64 0.7.0-20220426.105500-0xiota0~ubuntu22.04  
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)  
Errors were encountered while processing:  
/var/cache/apt/archives/libjxl0.7\_0.7.0-0build1~jammy\_amd64.deb  
E: Sub-process /usr/bin/dpkg returned an error code (1)

---

<div class="post-metadata">

**Author:** ![fossfreedom](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/fossfreedom/32/1405_2.png) [@fossfreedom](https://discourse.ubuntubudgie.org/u/fossfreedom)\
**Post date:** [January 9, 2024, 11:12pm UTC](https://discourse.ubuntubudgie.org/t/the-package-system-is-broken/7027/4 "2024-01-09T23:12:46Z")

</div>

You need to ppa-purge the handbook ppa.

It contains a broken package that is conflicting with the package in the archive.

---

<div class="post-metadata">

**Author:** ![Dusty](https://avatars.discourse-cdn.com/v4/letter/d/a183cd/32.png) [@Dusty](https://discourse.ubuntubudgie.org/u/Dusty)\
**Post date:** [January 10, 2024, 3:08am UTC](https://discourse.ubuntubudgie.org/t/the-package-system-is-broken/7027/5 "2024-01-10T03:08:56Z")

</div>

OK I give. I’m typing something wrong when I purge and I have tried enough different ways I have to give up and ask you to type this purge command out as it should be typed in. Im literally gonna copy & paste lol.

Every way I have tried it, it returns

Warning: Could not find package list for PPA: thenWhateverItypedThePPAnameUpAs

EXAMPLE

Warning: Could not find package list for PPA: [Index of /ubuntuhandbook1/apps/ubuntu](https://ppa.launchpadcontent.net/ubuntuhandbook1/apps/ubuntu) jammy InRelease

EDIT

Sorry I am just noticing these make links when typed and don’t show the actual text. Ugg

---

<div class="post-metadata">

**Author:** ![Dusty](https://avatars.discourse-cdn.com/v4/letter/d/a183cd/32.png) [@Dusty](https://discourse.ubuntubudgie.org/u/Dusty)\
**Post date:** [January 10, 2024, 3:31am UTC](https://discourse.ubuntubudgie.org/t/the-package-system-is-broken/7027/6 "2024-01-10T03:31:47Z")

</div>

Solution to the textual problem… a screenshot.

That is an example of the first iteration I tried.

 ![Screenshot from 2024-01-09 22-16-00smudge](https://canada1.discourse-cdn.com/flex035/uploads/ubuntubudgie/original/2X/3/3d98383c0205a40696998ac41581625104b76334.png)

---

<div class="post-metadata">

**Author:** ![Dusty](https://avatars.discourse-cdn.com/v4/letter/d/a183cd/32.png) [@Dusty](https://discourse.ubuntubudgie.org/u/Dusty)\
**Post date:** [January 10, 2024, 4:37am UTC](https://discourse.ubuntubudgie.org/t/the-package-system-is-broken/7027/7 "2024-01-10T04:37:32Z")

</div>

OK so I am resolved but unresolved… in that I still want to know what I did wrong with running ppa purge. I even tried typing exactly as you’ll see in this screenshot where I used the GUI tool which had a little different name as seen here.

(I unchecked this one that was checked)

 ![Screenshot from 2024-01-09 22-59-16](https://canada1.discourse-cdn.com/flex035/uploads/ubuntubudgie/original/2X/a/a3474a731c7ed40b3b5023f2b4382317bdd4d363.png)

Then I reran sudo apt-get install -f

Reading package lists… Done  
Building dependency tree… Done  
Reading state information… Done  
Correcting dependencies… Done  
The following packages were automatically installed and are no longer required:  
gir1.2-accountsservice-1.0 gir1.2-adw-1 gir1.2-gck-1 gir1.2-gcr-3  
gir1.2-gdm-1.0 gir1.2-gnomebluetooth-3.0 gir1.2-graphene-1.0 gir1.2-gtk-4.0  
gir1.2-mutter-10 gir1.2-nm-1.0 gir1.2-nma-1.0 gir1.2-rsvg-2.0  
gir1.2-upowerglib-1.0 gnome-bluetooth-3-common gstreamer1.0-pipewire  
gthumb-data libadwaita-1-0 libaom2 libexiv2-27 libflashrom1 libftdi1-2  
libgdm1 libgnome-autoar-0-0 libgnome-bluetooth-3.0-13 libhwy0 libhwy1 libjxl  
libllvm13 libraw20 libx265-192 switcheroo-control ubuntu-wallpapers  
ubuntu-wallpapers-jammy xwayland yaru-theme-gnome-shell  
Use ‘sudo apt autoremove’ to remove them.  
The following packages will be REMOVED:  
gthumb  
0 upgraded, 0 newly installed, 1 to remove and 143 not upgraded.  
1 not fully installed or removed.  
After this operation, 5,794 kB disk space will be freed.  
Do you want to continue? [Y/n] Y  
(Reading database … 307927 files and directories currently installed.)  
Removing gthumb (3:3.12.4-1build1~ubuntu22.04) …  
Processing triggers for desktop-file-utils (0.26-1ubuntu3) …  
Processing triggers for gnome-menus (3.36.0-1ubuntu3) …  
Processing triggers for libc-bin (2.35-0ubuntu3.4) …  
Processing triggers for man-db (2.10.2-1) …  
Processing triggers for mailcap (3.70+nmu1ubuntu1) …  
Processing triggers for bamfdaemon (0.5.6+22.04.20220217-0ubuntu1) …  
Rebuilding /usr/share/applications/bamf-2.index…

Then I ran the GUI software updater and it ran, I just need to reboot to finish up.

I am also unresolved because I don’t know what the heck gthumb has to do with this as it was removed. It’s been on here for years and I am reasonably sure I used the GUI Software tool to install it. Really thought I did, maybe not.

Off to reboot.

---

<div class="post-metadata">

**Author:** ![fossfreedom](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/fossfreedom/32/1405_2.png) [@fossfreedom](https://discourse.ubuntubudgie.org/u/fossfreedom)\
**Post date:** [January 10, 2024, 8:50am UTC](https://discourse.ubuntubudgie.org/t/the-package-system-is-broken/7027/8 "2024-01-10T08:50:14Z")

</div>

```auto
sudo ppa-purge ppa:ubuntuhandbook1/apps

```

---

<div class="post-metadata">

**Author:** ![Dusty](https://avatars.discourse-cdn.com/v4/letter/d/a183cd/32.png) [@Dusty](https://discourse.ubuntubudgie.org/u/Dusty)\
**Post date:** [January 10, 2024, 5:21pm UTC](https://discourse.ubuntubudgie.org/t/the-package-system-is-broken/7027/9 "2024-01-10T17:21:28Z")

</div>

Very interesting.

Thank you. I ran that and this was returned.

Updating packages lists  
PPA to be removed: ubuntuhandbook1 apps  
Warning: Could not find package list for PPA: ubuntuhandbook1 apps

I did so because I didn’t really think it would be purged out just from unchecking the box in the GUI software tool.

I went into the file system and looked and this is what I see still. Glitch maybe? I mean things are working I’m not complaining. Should I manually delete the handbook ones from the file system?

Did I cause this by installing gthumb from elsewhere a long while ago since that was the application removed. I see it is in the software app provided. Reinstall from there and see if I break again?

![Screenshot from 2024-01-10 12-12-48](https://canada1.discourse-cdn.com/flex035/uploads/ubuntubudgie/original/2X/8/8bf8053dc411f7aa94370550fa1426d04bf2fd84.png)

---

<div class="post-metadata">

**Author:** ![fossfreedom](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/fossfreedom/32/1405_2.png) [@fossfreedom](https://discourse.ubuntubudgie.org/u/fossfreedom)\
**Post date:** [January 10, 2024, 6:05pm UTC](https://discourse.ubuntubudgie.org/t/the-package-system-is-broken/7027/10 "2024-01-10T18:05:14Z")

</div>

Since you have just removed the sources entry the command will not work.

You need to readd the PPA via add-apt-repository

Run an apt update

Then run the ppa-purge to make sure you downgrade the packages.

Obviously, lessons learned. Do be careful who is providing the PPA and make sure you understand what packages a PPA is providing. That PPA is particularly large updating many applications. This could have future issues when uplifting to the next LTS.

---

<div class="post-metadata">

**Author:** ![Dusty](https://avatars.discourse-cdn.com/v4/letter/d/a183cd/32.png) [@Dusty](https://discourse.ubuntubudgie.org/u/Dusty)\
**Post date:** [January 11, 2024, 2:47am UTC](https://discourse.ubuntubudgie.org/t/the-package-system-is-broken/7027/11 "2024-01-11T02:47:10Z")

</div>

Thank you.

$ sudo ppa-purge ppa:ubuntuhandbook1/apps  
Updating packages lists  
PPA to be removed: ubuntuhandbook1 apps  
Package revert list generated:  
liblcms2-2:amd64/jammy liblcms2-utils/jammy

Disabling ubuntuhandbook1 PPA from /etc/apt/sources.list.d/ubuntuhandbook1-ubuntu-apps-jammy.list  
Disabling ubuntuhandbook1 PPA from /etc/apt/sources.list.d/ubuntuhandbook1-ubuntu-apps-focal.list  
Updating packages lists  
Reading package lists… Done  
Building dependency tree… Done  
Reading state information… Done  
Selected version ‘2.12~rc1-2build2’ (Ubuntu:22.04/jammy [amd64]) for ‘liblcms2-2’  
Selected version ‘2.12~rc1-2build2’ (Ubuntu:22.04/jammy [amd64]) for ‘liblcms2-utils’  
The following packages will be DOWNGRADED:  
liblcms2-2 liblcms2-utils  
0 upgraded, 0 newly installed, 2 downgraded, 0 to remove and 12 not upgraded.  
Need to get 201 kB of archives.  
After this operation, 15.4 kB disk space will be freed.  
Do you want to continue? [Y/n] Y  
Get:1 [Index of /ubuntu](http://us.archive.ubuntu.com/ubuntu) jammy/main amd64 liblcms2-utils amd64 2.12~rc1-2build2 [42.2 kB]  
Get:2 [Index of /ubuntu](http://us.archive.ubuntu.com/ubuntu) jammy/main amd64 liblcms2-2 amd64 2.12~rc1-2build2 [159 kB]  
Fetched 201 kB in 0s (432 kB/s)  
dpkg: warning: downgrading liblcms2-utils from 2.14-0build2~jammy to 2.12~rc1-2build2  
(Reading database … 306335 files and directories currently installed.)  
Preparing to unpack …/liblcms2-utils\_2.12~rc1-2build2\_amd64.deb …  
Unpacking liblcms2-utils (2.12~rc1-2build2) over (2.14-0build2~jammy) …  
dpkg: warning: downgrading liblcms2-2:amd64 from 2.14-0build2~jammy to 2.12~rc1-2build2  
Preparing to unpack …/liblcms2-2\_2.12~rc1-2build2\_amd64.deb …  
Unpacking liblcms2-2:amd64 (2.12~rc1-2build2) over (2.14-0build2~jammy) …  
Setting up liblcms2-2:amd64 (2.12~rc1-2build2) …  
Setting up liblcms2-utils (2.12~rc1-2build2) …  
Processing triggers for man-db (2.10.2-1) …  
Processing triggers for libc-bin (2.35-0ubuntu3.5) …  
PPA purged successfully
