broken packages after installing ppa's

Forum rules
Before you post please read this

broken packages after installing ppa's

Postby dude-man on Sun Apr 22, 2012 1:42 pm

Its my own mistake, but I'd like to fix some broken packages after installing some ppa's from kxstudio.

I'm getting this error
Code: Select all
 E: /var/cache/apt/archives/ia32-libs_1%3a2.7ubuntu26.2+nojack1~lucid3_amd64.deb: trying to overwrite '/lib32/libpcre.so.3.12.1', which is also in package ia32-libs-gtk 20120102


is there a simple way to fix this...

thanks
Neil
dude-man
Level 1
Level 1
 
Posts: 1
Joined: Sun Apr 22, 2012 1:38 pm

Linux Mint is funded by ads and donations.
 

Re: broken packages after installing ppa's

Postby craigevil on Sun Apr 22, 2012 2:44 pm

yes remove all of the packages you installed from the ppa. Ubuntu and Debian are not compatible.

Sent from my MOTWX435KT using Tapatalk 2
Debian Sid KDE4.8.4 Kernel 3.4 Thinkpad R40 CPU Pentium M 1.3MHz RAM 2GB ATI Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Giant Debian sources.list | Debian upgrade script smxi | sysinfo script inxi
craigevil
Level 5
Level 5
 
Posts: 559
Joined: Wed Sep 15, 2010 6:10 am
Location: down the rabbit hole

Re: broken packages after installing ppa's

Postby craigevil on Sun Apr 22, 2012 2:45 pm

yes remove all of the packages you installed from the ppa. Ubuntu and Debian are not compatible.

Sent from my MOTWX435KT using Tapatalk 2
Debian Sid KDE4.8.4 Kernel 3.4 Thinkpad R40 CPU Pentium M 1.3MHz RAM 2GB ATI Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Giant Debian sources.list | Debian upgrade script smxi | sysinfo script inxi
craigevil
Level 5
Level 5
 
Posts: 559
Joined: Wed Sep 15, 2010 6:10 am
Location: down the rabbit hole

Re: broken packages after installing ppa's

Postby tiliqua on Sun Apr 22, 2012 10:47 pm

Use ppa-purge to remove the ppas and revert to the official packages.
From WEB UPD8 (http://www.webupd8.org/2012/02/how-to-u ... emove.html)
How to purge a PPA
Purging a PPA means not only to disable the PPA, but also to downgrade any packages you've upgraded from that PPA, to the version available in the official Ubuntu repositories.

how to purge a PPA Ubuntu

Here's an example: let's say you've added the Unity Staging PPA in Ubuntu 12.04 and upgraded to the latest Unity from trunk. Something goes wrong and you want to go back to the Unity version available in the official Ubuntu 12.04 repositories - in this case, you can use PPA Purge to purge the Unity Staging PPA and all the packages upgraded from this PPA should return to the version available in the official Ubuntu 12.04 repositories.

To be able to purge a PPA, you need to install "ppa-purge":
Code: Select all
sudo apt-get install ppa-purge

To purge a PPA, you must use the following command:
Code: Select all
sudo ppa-purge ppa:someppa/ppa

For example, to purge the Unity Staging PPA, you would use:
Code: Select all
sudo ppa-purge ppa:unity-team/staging

If the 'ppa-purge' command fails for some reason, you can't run 'ppa-purge' again unless you re-enable the PPA - see how to re-enable it above (under "How to disable a PPA").

Purging a PPA can be a bit tricky sometimes, because if a package installed from a PPA doesn't exist in the official Ubuntu repositories, it can't be downgraded and PPA Purge won't remove it either, so you'll have to remove it manually. But the PPA Purge purpose is to restore the original packages from the Ubuntu repositories in case something goes wrong when upgrading some packages from a PPA, and for this purpose, PPA Purge usually works great.
tiliqua
Level 1
Level 1
 
Posts: 5
Joined: Sat Apr 21, 2012 8:00 am


Return to Others

Who is online

Users browsing this forum: No registered users and 6 guests