[SOLVED] PPA-Purge wants to purge half my system...

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
El Zoido

[SOLVED] PPA-Purge wants to purge half my system...

Post by El Zoido »

Several weeks ago I have installed the xorg-edgers ppa in the hope of fixing some issues I had in connection with my Intel HD4000 iGPU.
While one got indeed resolved, another turned up and finaly one update to the ppa ~4 weeks ago has completely broken OpenGL support in 32bit WIne.
I have filed a bug report for it, but not received any help with it, unfortunately.

Yesterday I had decided to remove the ppa, using ppa-purge (they provide it themselves and give advice for it on their Launchpad site).
Unfortunately

Code: Select all

sudo ppa-purge ppa:xorg-edgers/ppa 
- or alternatively -
sudo ppa-purge xorg-edgers
give me a ton of errors due to unresolved dependencies, resulting in suggestions that would uninstall half my system (and consequently unrelated packages).
I then tried to downgrade the provided packages manually, by overriding the installed versions in Synaptic, but again I get eventually a similar problem - Synaptic says that certain packages are no longer needed and will be de-installed. However, yet again that would affect a ton of completely unrelated (and needed) packages.
As is it seems impossible to get rid of xorg-edgers...
Last edited by El Zoido on Mon Jan 20, 2014 6:38 pm, edited 1 time in total.
User avatar
xenopeek
Level 25
Level 25
Posts: 29597
Joined: Wed Jul 06, 2011 3:58 am

Re: PPA-Purge wants to purge half my system...

Post by xenopeek »

We discussed this on chat. Can you run the following command from the terminal on your problem computer? (It's one command, though wrapped across multiple lines here.)

Code: Select all

apt-cache policy bumblebee drm-dkms fglrx-installer fglrx-installer-12 fglrx-installer-13 glamor-egl libdrm libtxc-dxtn libxcb libxshmfence llvm-toolchain-3.4 mesa nvidia-graphics-drivers-304 nvidia-graphics-drivers-331 nvidia-persistenced nvidia-settings ppa-purge wayland x11proto-dri3 x11proto-present xcb-proto xorg-server xserver-xorg-video-ati xserver-xorg-video-intel xserver-xorg-video-nouveau
This queries some information about all packages provided by xorg-edgers. With that I might have a way to revert using it.

Copy the output from the command and put it here or on http://dpaste.com. See the terminal's Edit menu for copying all text.
Image
El Zoido

Re: PPA-Purge wants to purge half my system...

Post by El Zoido »

Hey, I'm finally back, so here's the output:

Code: Select all

bumblebee:
  Installiert:           (keine)
  Installationskandidat: 3.2.1-5~xedgers~saucy1
  Versionstabelle:
     3.2.1-5~xedgers~saucy1 0
        500 http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu/ saucy/main amd64 Packages
     3.2.1-3 0
        500 http://archive.ubuntu.com/ubuntu/ saucy/universe amd64 Packages
drm-dkms:
  Installiert:           (keine)
  Installationskandidat: 3.13.0~rc2~sarvatt1
  Versionstabelle:
     3.13.0~rc2~sarvatt1 0
        500 http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu/ saucy/main amd64 Packages
nvidia-persistenced:
  Installiert:           (keine)
  Installationskandidat: 331.20-0ubuntu1~xedgers~saucy1
  Versionstabelle:
     331.20-0ubuntu1~xedgers~saucy1 0
        500 http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu/ saucy/main amd64 Packages
nvidia-settings:
  Installiert:           (keine)
  Installationskandidat: 331.38-0ubuntu1~xedgers~saucy1
  Versionstabelle:
     331.38-0ubuntu1~xedgers~saucy1 0
        500 http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu/ saucy/main amd64 Packages
     304.88-0ubuntu2 0
        500 http://archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages
ppa-purge:
  Installiert:           0.2.8+bzr57+edgers1
  Installationskandidat: 0.2.8+bzr57+edgers1
  Versionstabelle:
 *** 0.2.8+bzr57+edgers1 0
        500 http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu/ saucy/main amd64 Packages
        100 /var/lib/dpkg/status
     0.2.8+bzr57 0
        500 http://archive.ubuntu.com/ubuntu/ saucy/universe amd64 Packages
xcb-proto:
  Installiert:           (keine)
  Installationskandidat: 1.10-1~xedgers~saucy1
  Versionstabelle:
     1.10-1~xedgers~saucy1 0
        500 http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu/ saucy/main amd64 Packages
     1.8-1 0
        500 http://archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages
xserver-xorg-video-ati:
  Installiert:           1:7.2.99+git20140117.3213df16-0ubuntu0sarvatt~saucy
  Installationskandidat: 1:7.2.99+git20140117.3213df16-0ubuntu0sarvatt~saucy
  Versionstabelle:
 *** 1:7.2.99+git20140117.3213df16-0ubuntu0sarvatt~saucy 0
        500 http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu/ saucy/main amd64 Packages
        100 /var/lib/dpkg/status
     1:7.2.0-0ubuntu10 0
        500 http://archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages
xserver-xorg-video-intel:
  Installiert:           2:2.99.907+git20140117.f23ab963-0ubuntu0sarvatt~saucy
  Installationskandidat: 2:2.99.907+git20140117.f23ab963-0ubuntu0sarvatt~saucy
  Versionstabelle:
 *** 2:2.99.907+git20140117.f23ab963-0ubuntu0sarvatt~saucy 0
        500 http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu/ saucy/main amd64 Packages
        100 /var/lib/dpkg/status
     2:2.99.904-0ubuntu2 0
        500 http://archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages
xserver-xorg-video-nouveau:
  Installiert:           1:1.0.9+git20130730.300c5a32-0ubuntu0sarvatt
  Installationskandidat: 1:1.0.9+git20130730.300c5a32-0ubuntu0sarvatt
  Versionstabelle:
 *** 1:1.0.9+git20130730.300c5a32-0ubuntu0sarvatt 0
        500 http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu/ saucy/main amd64 Packages
        100 /var/lib/dpkg/status
     1:1.0.9-2ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages
N: Paket fglrx-installer kann nicht gefunden werden. (meaning ...could not be found)
N: Paket fglrx-installer-12 kann nicht gefunden werden.
N: Paket fglrx-installer-13 kann nicht gefunden werden.
N: Paket glamor-egl kann nicht gefunden werden.
N: Paket libdrm kann nicht gefunden werden.
N: Paket libtxc-dxtn kann nicht gefunden werden.
N: Paket libxcb kann nicht gefunden werden.
N: Paket libxshmfence kann nicht gefunden werden.
N: Paket llvm-toolchain-3.4 kann nicht gefunden werden.
N: Mittels regulärem Ausdruck »llvm-toolchain-3.4« konnte kein Paket gefunden werden.
N: Paket mesa kann nicht gefunden werden.
N: Paket nvidia-graphics-drivers-304 kann nicht gefunden werden.
N: Paket nvidia-graphics-drivers-331 kann nicht gefunden werden.
N: Paket wayland kann nicht gefunden werden.
N: Paket x11proto-dri3 kann nicht gefunden werden.
N: Paket x11proto-present kann nicht gefunden werden.
N: Paket xorg-server kann nicht gefunden werden.
User avatar
xenopeek
Level 25
Level 25
Posts: 29597
Joined: Wed Jul 06, 2011 3:58 am

Re: PPA-Purge wants to purge half my system...

Post by xenopeek »

Ah. I come to the conclusion that there are a lot more packages in xorg-edgers than the list I shared... So, let's go another route. Run this command and collect the output:

Code: Select all

LC_ALL=C aptitude search '~O LP-PPA-xorg-edgers ~i' | cut -c5- | cut -d' ' -f1 | xargs apt-cache policy
This will find all packages installed from xorg-edgers and list the available version information.

Taking one example:

Code: Select all

xserver-xorg-video-intel:
  Installed: 2:2.99.907+git20140117.f23ab963-0ubuntu0sarvatt~saucy
  Candidate: 2:2.99.907+git20140117.f23ab963-0ubuntu0sarvatt~saucy
  Version table:
 *** 2:2.99.907+git20140117.f23ab963-0ubuntu0sarvatt~saucy 0
        500 http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu/ saucy/main amd64 Packages
     2:2.99.904-0ubuntu2 0
        500 http://archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages
        100 /var/lib/dpkg/status
This is the part of one package, and you'll need to do this for all packages in the list. You have to manually downgrade it to the version from the Ubuntu package base repository. You do that, for this example, with this command:

Code: Select all

apt install xserver-xorg-video-intel=2:2.99.904-0ubuntu2
I think you can figure out from that how to do it for all packages. Take the package name, add the = symbol, and put the version available from the Ubuntu package base repository after it. You can run the first command again to check if you downgraded all packages. After downgrading all packages, you should be able to do the ppa-purge.
Image
User avatar
xenopeek
Level 25
Level 25
Posts: 29597
Joined: Wed Jul 06, 2011 3:58 am

Re: PPA-Purge wants to purge half my system...

Post by xenopeek »

You probably have to downgrade all packages from xorg-edgers at the same time, I overlooked that I think. Like:

Code: Select all

apt install package1=downgradeversion package2=downgradeversion package3=downgradeversion ...
Else share the output the command I shared:
xenopeek wrote:

Code: Select all

LC_ALL=C aptitude search '~O LP-PPA-xorg-edgers ~i' | cut -c5- | cut -d' ' -f1 | xargs apt-cache policy
And then of output of what the apt install command you ran to downgrade suggested to do.
Image
El Zoido

Re: PPA-Purge wants to purge half my system...

Post by El Zoido »

I'm afraid that doesn't fix my issues - allready the first attempt at downgrading to an older package resulted in apt wanting to remove 40+ packages, amongst them stuff like Totem and Cinnamon...

Code: Select all

sudo apt install libdrm-intel1=2.4.46-1ubuntu1

[sudo] password for ***: 
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
Die folgenden Pakete werden ENTFERNT:
  caribou cinnamon cinnamon-screensaver gir1.2-clutter-1.0 gir1.2-cogl-1.0 gir1.2-coglpango-1.0 gir1.2-gtkclutter-1.0 gir1.2-muffin-3.0 gir1.2-totem-1.0
  gstreamer1.0-clutter gstreamer1.0-plugins-bad libclutter-1.0-0 libclutter-gst-2.0-0 libclutter-gtk-1.0-0 libcogl-pango12 libcogl12 libdrm-intel1:i386 libegl1-mesa
  libegl1-mesa-drivers libgbm1 libgl1-mesa-dri:i386 libgl1-mesa-dri libgstreamer-plugins-bad1.0-0 libmuffin0 libtotem0 libxatracker1 mint-meta-cinnamon
  mint-meta-codecs nemo nemo-fileroller nemo-share totem totem-mozilla totem-plugins totem-plugins-extra xorg xserver-xorg-glamoregl xserver-xorg-video-all
  xserver-xorg-video-ati xserver-xorg-video-vmware
Die folgenden Pakete werden durch eine ÄLTERE VERSION ERSETZT (Downgrade):
  libdrm-intel1
0 aktualisiert, 0 neu installiert, 1 durch eine ältere Version ersetzt, 40 zu entfernen und 0 nicht aktualisiert.
Es müssen 63,0 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 94,7 MB Plattenplatz freigegeben.
El Zoido

Re: PPA-Purge wants to purge half my system...

Post by El Zoido »

Forget the previous post, I had not read your last one.
Here's what I came up with:

Code: Select all

sudo apt install libdrm-intel1=2.4.46-1ubuntu1 libdrm-intel1:i386=2.4.46-1ubuntu1 libdrm-nouveau2=2.4.46-1ubuntu1 libdrm-nouveau2:i386=2.4.46-1ubuntu1 libdrm-radeon1=2.4.46-1ubuntu1 libdrm-radeon1:i386=2.4.46-1ubuntu1 libdrm2=2.4.46-1ubuntu1 libdrm2:i386=2.4.46-1ubuntu1 libegl1-mesa=9.2.1-1ubuntu3 libgbm1=9.2.1-1ubuntu3 libgl1-mesa-dri=9.2.1-1ubuntu3 libgl1-mesa-dri:i386=9.2.1-1ubuntu3 libgl1-mesa-glx=9.2.1-1ubuntu3 libgl1-mesa-glx:i386=9.2.1-1ubuntu3 libglamor0=0.5.1-0ubuntu4.2 libglapi-mesa=9.2.1-1ubuntu3 libglapi-mesa:i386=9.2.1-1ubuntu3 libgles1-mesa=9.2.1-1ubuntu3 libllvm3.4=1:3.4~svn183914-1ubuntu1 libllvm3.4:i386=1:3.4~svn183914-1ubuntu1 libopenvg1-mesa=9.2.1-1ubuntu3 libwayland-client0=1.1.0-2ubuntu3 libwayland-cursor0=1.1.0-2ubuntu3 libwayland-server0=1.1.0-2ubuntu3 libxcb-composite0=1.9.1-3ubuntu1 libxcb-dri2-0=1.9.1-3ubuntu1 libxcb-dri2-0:i386=1.9.1-3ubuntu1 libxcb-glx0=1.9.1-3ubuntu1 libxcb-glx0:i386=1.9.1-3ubuntu1 libxcb-randr0=1.9.1-3ubuntu1 libxcb-render0=1.9.1-3ubuntu1 libxcb-render0:i386=1.9.1-3ubuntu1 libxcb-shape0=1.9.1-3ubuntu1 libxcb-shm0=1.9.1-3ubuntu1 libxcb-shm0:i386=1.9.1-3ubuntu1 libxcb-xfixes0=1.9.1-3ubuntu1 libxcb-xv0=1.9.1-3ubuntu1 libxcb1=1.9.1-3ubuntu1 libxcb1:i386=1.9.1-3ubuntu1 xserver-common=2:1.14.3-3ubuntu2 xserver-xorg-glamoregl=0.5.1-0ubuntu4.2 xserver-xorg-glamoregl=0.5.1-0ubuntu4.2 xserver-xorg-video-ati=1:7.2.0-0ubuntu10 xserver-xorg-video-intel=2:2.99.904-0ubuntu2 xserver-xorg-video-nouveau=1:1.0.9-2ubuntu1 xserver-xorg-video-radeon=1:7.2.0-0ubuntu10 xserver-xorg-core=2:1.14.3-3ubuntu2 xserver-xephyr=2:1.14.3-3ubuntu2

After a lot of hair-pulling because I had missed one package, it seems to have downgraded the packages...
Now let's see what ppa-purge does.
El Zoido

Re: PPA-Purge wants to purge half my system...

Post by El Zoido »

Ok, one restart later, it seems to have worked!

Thanks a lot!
User avatar
xenopeek
Level 25
Level 25
Posts: 29597
Joined: Wed Jul 06, 2011 3:58 am

Re: [SOLVED] PPA-Purge wants to purge half my system...

Post by xenopeek »

Glad it worked, though it tested your perseverance a bit :wink:
Image
impz

Re: [SOLVED] PPA-Purge wants to purge half my system...

Post by impz »

thanks for the solution!

had the same problem and it worked splendidly....after a lot of copying and pasting everything together that is. :wink:
Paper Bag

Re: [SOLVED] PPA-Purge wants to purge half my system...

Post by Paper Bag »

Had the same issue (17.2). Ended up downgrading most of the packages in Synaptic first (Origin > edgers ppa) to avoid excessive copy-pasting. I downgraded the packages mostly one by one (Ctrl+E) to the oldest possible Trusty version and then locking the version afterwards. If there was a dep warning, marked those too and if the package wanted to remove too much stuff, I left it unmarked and moved to the next one. With the final few packages Synaptic complained about broken deps even if I marked all of them to be downgraded, so then I did this:

Code: Select all

sudo apt install libegl1-mesa=10.1.0-4ubuntu5 libllvm3.4=1:3.4-1ubuntu3 libgl1-mesa-dri=10.1.0-4ubuntu5 libglapi-mesa:i386=10.1.0-4ubuntu5 libglapi-mesa=10.1.0-4ubuntu5 libwayland-cursor0=1.4.0-1ubuntu1 libwayland-cursor0:i386=1.4.0-1ubuntu1 libgles2-mesa=10.1.0-4ubuntu5 libgl1-mesa-glx=10.1.0-4ubuntu5 libgles1-mesa=10.1.0-4ubuntu5 libosmesa6=10.1.0-4ubuntu5 libosmesa6:i386=10.1.0-4ubuntu5 libwayland-egl1-mesa=10.1.0-4ubuntu5 libwayland-client0=1.4.0-1ubuntu1 libwayland-client0:i386=1.4.0-1ubuntu1 libva-wayland1=1.3.0-2 libva-x11-1=1.3.0-2 libvdpau1=0.7-1 libvdpau1:i386=0.7-1 libva-glx1=1.3.0-2
No errors. That left libegl1-mesa as the final remaining one, and that one I then downgraded in Synaptic. Then I removed the edgers PPA (just via Software Sources), unlocked the locked packages and did dist-upgrade. Now everything is back to normal.

Why the ppa-purge command fails? On the edgers PPA page it is the recommended way to uninstall. Is this a Mint thing?

Note to self: never install that edgers PPA again. At least in my case I did try to fix something that was broken, but turned out the edgers version was even more broken.
Last edited by Paper Bag on Mon Sep 14, 2015 1:30 pm, edited 1 time in total.
User avatar
Pjotr
Level 24
Level 24
Posts: 20086
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: [SOLVED] PPA-Purge wants to purge half my system...

Post by Pjotr »

Paper Bag wrote:Note to self: never install that edgers PPA again.
Good decision..... When you need newer Nvidia video drivers, use the safe graphics-drivers PPA instead:
https://sites.google.com/site/easylinux ... -mamarley-
(item 1, left column)

The xorg-edgers PPA puts your entire system "on the edge", as it wants to install much more than just the Nvidia video driver you want. That makes the xorg-edgers PPA totally unfit for people who need a stable system.
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
User avatar
vishgaur
Level 3
Level 3
Posts: 172
Joined: Thu Jul 26, 2018 4:59 pm
Location: India
Contact:

Re: [SOLVED] PPA-Purge wants to purge half my system...

Post by vishgaur »

I wish I had seen this post earlier. Just broke my mint. It removed everything even my terminal. Reinstalling.
Since 2003 on computers, since 2014 on Linux.

Blog: https://www.inksup.wordpress.com
Image
Locked

Return to “Beginner Questions”