pop-os / gtk-theme

System76 Pop GTK+ Theme
GNU General Public License v3.0
779 stars 80 forks source link

Error running `apt dist-upgrade` and cannot remove popos theme in ubuntu 20.04 #544

Closed opensas closed 2 years ago

opensas commented 2 years ago

Describe the problem:

I get this error when running sudo apt dist-upgrade

dpkg: error processing archive /var/cache/apt/archives/pop-gnome-initial-setup_3.36.1~1627068401~20.04~d4f
e56a_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/gnome-initial-setup/vendor.conf', which is also in package gnome-initial-se
tup 3.36.2-0ubuntu2
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/pop-gnome-initial-setup_3.36.1~1627068401~20.04~d4fe56a_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

And if I try to completely remove popos I get this waning when trying to remove pop-upgrade

$ sudo apt purge pop-upgrade 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  gnome-control-center* libpop-upgrade-gtk* pop-upgrade* ubuntu-desktop* ubuntu-desktop-minimal*
0 upgraded, 0 newly installed, 5 to remove and 17 not upgraded.
After this operation, 13,3 MB disk space will be freed.
Do you want to continue? [Y/n] n

I don't want to remove ubuntu-desktop!!!

Steps to reproduce:

  1. I installed popos following these steps https://github.com/pop-os/gtk-theme#installation
  2. then ran sudo apt update and sudo apt dist-upgade

Distribution:

$ cat /etc/os-release | grep -i pretty_name
PRETTY_NAME="Ubuntu 20.04.3 LTS"

Pop version:

$ apt policy pop-gtk-theme | grep -i installed

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

  Installed: 5.2.0~1620141353~20.04~2f38cad
mmstick commented 2 years ago

Use the source instructions. The Pop PPA is only for Pop.

jacobgkau commented 2 years ago

Closing because the instructions for non-Pop distros does not include using the PPA: https://github.com/pop-os/gtk-theme#installation-from-git-source

See also this comment.