Problems rolling back to stable state after Jon Severinsson's mpeg ppa

Asked by Peter De Maeyer

Yesterday I 'upgraded' my ffmpeg installation to the version in Jon Severinson's ppa. My system became unstable, I regretted my decision, and now I want to roll back to the 'normal' version but I can't.
* After I disable the problematic ppa, I tried to 'Force version' in synaptic to roll back to a previous version. Pretty quickly, nothing would install because of broken dependencies.
* I've tried purge-ppa, but it wants to delete about 300 packages on my system, among which ubuntu-desktop and a whole lot of other which I'm pretty sure don't need the ffmpeg stuff, so I turned down that option.
* I've tried removing ffmpeg and reinstall it again (the 'normal' version that is), but it won't reinstall because of conflicting dependencies which are still at the wrong version.
* Since it's only a handful of conflicting dependencies, I tried to 'force version' them, but the system won't let me because it claims there are 'broken packages', and also some of them suggest to uninstall pretty much my whole system, which is not what I had in mind.
* I tried fixing the broken packages using janitor, ubuntu tweak etc. This helped me clean up a couple of things here and there, but not the broken packages: they don't find anything wrong with my system at this point.
* Ultimately I tried the procedure described here: https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure, which is why I now post this question here. This is the console output:

[code]
peter@cheetah:~$ sudo fuser -vvv /var/lib/dpkg/lock
peter@cheetah:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.10
DISTRIB_CODENAME=oneiric
DISTRIB_DESCRIPTION="Ubuntu 11.10"
peter@cheetah:~$ uname -a
Linux cheetah 3.0.0-15-generic #26-Ubuntu SMP Fri Jan 20 17:23:00 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
peter@cheetah:~$ sudo rm /var/lib/apt/lists/lock
peter@cheetah:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
peter@cheetah:~$
peter@cheetah:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
peter@cheetah:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
peter@cheetah:~$ sudo rm -rf /var/lib/dpkg/updates/*
peter@cheetah:~$ sudo rm -rf /var/lib/apt/lists
peter@cheetah:~$ sudo rm /var/cache/apt/*.bin
peter@cheetah:~$ sudo mkdir /var/lib/apt/lists
peter@cheetah:~$ sudo mkdir /var/lib/apt/lists/partial
peter@cheetah:~$ LANG=C;sudo apt-get clean
peter@cheetah:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
peter@cheetah:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
peter@cheetah:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824
Ign http://archive.canonical.com oneiric InRelease
Ign http://extras.ubuntu.com oneiric InRelease
Get:1 http://archive.canonical.com oneiric Release.gpg [198 B]
Get:2 http://extras.ubuntu.com oneiric Release.gpg [72 B]
Get:3 http://archive.canonical.com oneiric Release [5922 B]
Get:4 http://extras.ubuntu.com oneiric Release [9759 B]
Ign http://archive.ubuntu.com oneiric InRelease
Ign http://archive.ubuntu.com oneiric-updates InRelease
Ign http://archive.ubuntu.com oneiric-security InRelease
Get:5 http://archive.ubuntu.com oneiric Release.gpg [198 B]
Get:6 http://archive.ubuntu.com oneiric-updates Release.gpg [198 B]
Get:7 http://archive.ubuntu.com oneiric-security Release.gpg [198 B]
Get:8 http://archive.canonical.com oneiric/partner Sources [2253 B]
Get:9 http://archive.ubuntu.com oneiric Release [40.8 kB]
Get:10 http://extras.ubuntu.com oneiric/main amd64 Packages [1818 B]
Get:11 http://extras.ubuntu.com oneiric/main i386 Packages [1818 B]
Ign http://extras.ubuntu.com oneiric/main TranslationIndex
Get:12 http://archive.canonical.com oneiric/partner amd64 Packages [3079 B]
Get:13 http://archive.canonical.com oneiric/partner i386 Packages [3932 B]
Ign http://archive.canonical.com oneiric/partner TranslationIndex
Get:14 http://archive.ubuntu.com oneiric-updates Release [40.8 kB]
Get:15 http://archive.ubuntu.com oneiric-security Release [40.8 kB]
Ign http://extras.ubuntu.com oneiric/main Translation-en
Get:16 http://archive.ubuntu.com oneiric/main amd64 Packages [1226 kB]
Ign http://archive.canonical.com oneiric/partner Translation-en
Get:17 http://archive.ubuntu.com oneiric/restricted amd64 Packages [8261 B]
Get:18 http://archive.ubuntu.com oneiric/multiverse amd64 Packages [117 kB]
Get:19 http://archive.ubuntu.com oneiric/universe amd64 Packages [4460 kB]
Get:20 http://archive.ubuntu.com oneiric/main i386 Packages [1226 kB]
Get:21 http://archive.ubuntu.com oneiric/restricted i386 Packages [8216 B]
Get:22 http://archive.ubuntu.com oneiric/multiverse i386 Packages [119 kB]
Get:23 http://archive.ubuntu.com oneiric/universe i386 Packages [4468 kB]
Get:24 http://archive.ubuntu.com oneiric/main TranslationIndex [3289 B]
Get:25 http://archive.ubuntu.com oneiric/multiverse TranslationIndex [2265 B]
Get:26 http://archive.ubuntu.com oneiric/restricted TranslationIndex [2263 B]
Get:27 http://archive.ubuntu.com oneiric/universe TranslationIndex [2640 B]
Get:28 http://archive.ubuntu.com oneiric-updates/main amd64 Packages [282 kB]
Get:29 http://archive.ubuntu.com oneiric-updates/restricted amd64 Packages [2982 B]
Get:30 http://archive.ubuntu.com oneiric-updates/multiverse amd64 Packages [5746 B]
Get:31 http://archive.ubuntu.com oneiric-updates/universe amd64 Packages [94.5 kB]
Get:32 http://archive.ubuntu.com oneiric-updates/main i386 Packages [282 kB]
Get:33 http://archive.ubuntu.com oneiric-updates/restricted i386 Packages [2968 B]
Get:34 http://archive.ubuntu.com oneiric-updates/multiverse i386 Packages [6336 B]
Get:35 http://archive.ubuntu.com oneiric-updates/universe i386 Packages [94.8 kB]
Get:36 http://archive.ubuntu.com oneiric-updates/main TranslationIndex [74 B]
Get:37 http://archive.ubuntu.com oneiric-updates/multiverse TranslationIndex [72 B]
Get:38 http://archive.ubuntu.com oneiric-updates/restricted TranslationIndex [71 B]
Get:39 http://archive.ubuntu.com oneiric-updates/universe TranslationIndex [73 B]
Get:40 http://archive.ubuntu.com oneiric-security/main amd64 Packages [77.2 kB]
Get:41 http://archive.ubuntu.com oneiric-security/restricted amd64 Packages [14 B]
Get:42 http://archive.ubuntu.com oneiric-security/multiverse amd64 Packages [2715 B]
Get:43 http://archive.ubuntu.com oneiric-security/universe amd64 Packages [27.4 kB]
Get:44 http://archive.ubuntu.com oneiric-security/main i386 Packages [77.2 kB]
Get:45 http://archive.ubuntu.com oneiric-security/restricted i386 Packages [14 B]
Get:46 http://archive.ubuntu.com oneiric-security/multiverse i386 Packages [3345 B]
Get:47 http://archive.ubuntu.com oneiric-security/universe i386 Packages [27.3 kB]
Get:48 http://archive.ubuntu.com oneiric-security/main TranslationIndex [73 B]
Get:49 http://archive.ubuntu.com oneiric-security/multiverse TranslationIndex [72 B]
Get:50 http://archive.ubuntu.com oneiric-security/restricted TranslationIndex [70 B]
Get:51 http://archive.ubuntu.com oneiric-security/universe TranslationIndex [73 B]
Get:52 http://archive.ubuntu.com oneiric/main Translation-en [701 kB]
Get:53 http://archive.ubuntu.com oneiric/multiverse Translation-en [92.6 kB]
Get:54 http://archive.ubuntu.com oneiric/restricted Translation-en [2229 B]
Get:55 http://archive.ubuntu.com oneiric/universe Translation-en [3165 kB]
Get:56 http://archive.ubuntu.com oneiric-updates/main Translation-en [131 kB]
Get:57 http://archive.ubuntu.com oneiric-updates/multiverse Translation-en [3530 B]
Get:58 http://archive.ubuntu.com oneiric-updates/restricted Translation-en [508 B]
Get:59 http://archive.ubuntu.com oneiric-updates/universe Translation-en [56.3 kB]
Get:60 http://archive.ubuntu.com oneiric-security/main Translation-en [40.2 kB]
Get:61 http://archive.ubuntu.com oneiric-security/multiverse Translation-en [1503 B]
Get:62 http://archive.ubuntu.com oneiric-security/restricted Translation-en [14 B]
Get:63 http://archive.ubuntu.com oneiric-security/universe Translation-en [18.9 kB]
Fetched 17.0 MB in 11s (1490 kB/s)
E: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Limit. Current value: 25165824. (man 5 apt.conf)
Reading package lists... Error!
E: Unable to increase the size of the MMap as the limit of 25165824 bytes is already reached.
E: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Limit. Current value: 25165824. (man 5 apt.conf)
E: Error occurred while processing libghc-gtksourceview2-dev (NewVersion2)
E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_oneiric_universe_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.
peter@cheetah:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=55165824
Ign http://archive.canonical.com oneiric InRelease
Ign http://extras.ubuntu.com oneiric InRelease
Hit http://archive.canonical.com oneiric Release.gpg
Hit http://extras.ubuntu.com oneiric Release.gpg
Hit http://archive.canonical.com oneiric Release
Hit http://extras.ubuntu.com oneiric Release
Ign http://archive.ubuntu.com oneiric InRelease
Ign http://archive.ubuntu.com oneiric-updates InRelease
Ign http://archive.ubuntu.com oneiric-security InRelease
Hit http://archive.canonical.com oneiric/partner Sources
Hit http://extras.ubuntu.com oneiric/main amd64 Packages
Hit http://archive.ubuntu.com oneiric Release.gpg
Hit http://archive.canonical.com oneiric/partner amd64 Packages
Hit http://extras.ubuntu.com oneiric/main i386 Packages
Ign http://extras.ubuntu.com oneiric/main TranslationIndex
Hit http://archive.ubuntu.com oneiric-updates Release.gpg
Hit http://archive.ubuntu.com oneiric-security Release.gpg
Hit http://archive.ubuntu.com oneiric Release
Hit http://archive.ubuntu.com oneiric-updates Release
Hit http://archive.ubuntu.com oneiric-security Release
Hit http://archive.ubuntu.com oneiric/main amd64 Packages
Hit http://archive.ubuntu.com oneiric/restricted amd64 Packages
Hit http://archive.ubuntu.com oneiric/multiverse amd64 Packages
Hit http://archive.ubuntu.com oneiric/universe amd64 Packages
Hit http://archive.ubuntu.com oneiric/main i386 Packages
Ign http://extras.ubuntu.com oneiric/main Translation-en
Hit http://archive.ubuntu.com oneiric/restricted i386 Packages
Hit http://archive.ubuntu.com oneiric/multiverse i386 Packages
Hit http://archive.ubuntu.com oneiric/universe i386 Packages
Hit http://archive.ubuntu.com oneiric/main TranslationIndex
Hit http://archive.ubuntu.com oneiric/multiverse TranslationIndex
Hit http://archive.ubuntu.com oneiric/restricted TranslationIndex
Hit http://archive.ubuntu.com oneiric/universe TranslationIndex
Hit http://archive.ubuntu.com oneiric-updates/main amd64 Packages
Hit http://archive.ubuntu.com oneiric-updates/restricted amd64 Packages
Hit http://archive.ubuntu.com oneiric-updates/multiverse amd64 Packages
Hit http://archive.ubuntu.com oneiric-updates/universe amd64 Packages
Hit http://archive.ubuntu.com oneiric-updates/main i386 Packages
Hit http://archive.ubuntu.com oneiric-updates/restricted i386 Packages
Hit http://archive.ubuntu.com oneiric-updates/multiverse i386 Packages
Hit http://archive.ubuntu.com oneiric-updates/universe i386 Packages
Hit http://archive.ubuntu.com oneiric-updates/main TranslationIndex
Hit http://archive.ubuntu.com oneiric-updates/multiverse TranslationIndex
Hit http://archive.ubuntu.com oneiric-updates/restricted TranslationIndex
Hit http://archive.ubuntu.com oneiric-updates/universe TranslationIndex
Hit http://archive.ubuntu.com oneiric-security/main amd64 Packages
Hit http://archive.ubuntu.com oneiric-security/restricted amd64 Packages
Hit http://archive.ubuntu.com oneiric-security/multiverse amd64 Packages
Hit http://archive.ubuntu.com oneiric-security/universe amd64 Packages
Hit http://archive.ubuntu.com oneiric-security/main i386 Packages
Hit http://archive.ubuntu.com oneiric-security/restricted i386 Packages
Hit http://archive.ubuntu.com oneiric-security/multiverse i386 Packages
Hit http://archive.ubuntu.com oneiric-security/universe i386 Packages
Hit http://archive.ubuntu.com oneiric-security/main TranslationIndex
Hit http://archive.ubuntu.com oneiric-security/multiverse TranslationIndex
Hit http://archive.ubuntu.com oneiric-security/restricted TranslationIndex
Hit http://archive.ubuntu.com oneiric-security/universe TranslationIndex
Hit http://archive.ubuntu.com oneiric/main Translation-en
Hit http://archive.ubuntu.com oneiric/multiverse Translation-en
Hit http://archive.ubuntu.com oneiric/restricted Translation-en
Hit http://archive.ubuntu.com oneiric/universe Translation-en
Hit http://archive.ubuntu.com oneiric-updates/main Translation-en
Hit http://archive.ubuntu.com oneiric-updates/multiverse Translation-en
Hit http://archive.ubuntu.com oneiric-updates/restricted Translation-en
Hit http://archive.ubuntu.com oneiric-updates/universe Translation-en
Hit http://archive.ubuntu.com oneiric-security/main Translation-en
Hit http://archive.ubuntu.com oneiric-security/multiverse Translation-en
Hit http://archive.ubuntu.com oneiric-security/restricted Translation-en
Hit http://archive.ubuntu.com oneiric-security/universe Translation-en
Hit http://archive.canonical.com oneiric/partner i386 Packages
Ign http://archive.canonical.com oneiric/partner TranslationIndex
Ign http://archive.canonical.com oneiric/partner Translation-en
Reading package lists... Done
peter@cheetah:~$ sudo dpkg --configure -a
peter@cheetah:~$ sudo dpkg --clear-avail
peter@cheetah:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
peter@cheetah:~$ LANG=C;sudo apt-get --fix-missing install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
peter@cheetah:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=55165824 && sudo apt-get dist-upgrade
Ign http://archive.canonical.com oneiric InRelease
Ign http://extras.ubuntu.com oneiric InRelease
Hit http://archive.canonical.com oneiric Release.gpg
Hit http://extras.ubuntu.com oneiric Release.gpg
Hit http://archive.canonical.com oneiric Release
Hit http://extras.ubuntu.com oneiric Release
Ign http://archive.ubuntu.com oneiric InRelease
Ign http://archive.ubuntu.com oneiric-updates InRelease
Ign http://archive.ubuntu.com oneiric-security InRelease
Hit http://archive.canonical.com oneiric/partner Sources
Hit http://archive.canonical.com oneiric/partner amd64 Packages
Hit http://archive.canonical.com oneiric/partner i386 Packages
Ign http://archive.canonical.com oneiric/partner TranslationIndex
Hit http://archive.ubuntu.com oneiric Release.gpg
Hit http://archive.ubuntu.com oneiric-updates Release.gpg
Hit http://extras.ubuntu.com oneiric/main amd64 Packages
Hit http://extras.ubuntu.com oneiric/main i386 Packages
Ign http://extras.ubuntu.com oneiric/main TranslationIndex
Hit http://archive.ubuntu.com oneiric-security Release.gpg
Hit http://archive.ubuntu.com oneiric Release
Hit http://archive.ubuntu.com oneiric-updates Release
Hit http://archive.ubuntu.com oneiric-security Release
Hit http://archive.ubuntu.com oneiric/main amd64 Packages
Hit http://archive.ubuntu.com oneiric/restricted amd64 Packages
Hit http://archive.ubuntu.com oneiric/multiverse amd64 Packages
Hit http://archive.ubuntu.com oneiric/universe amd64 Packages
Hit http://archive.ubuntu.com oneiric/main i386 Packages
Ign http://archive.canonical.com oneiric/partner Translation-en
Hit http://archive.ubuntu.com oneiric/restricted i386 Packages
Hit http://archive.ubuntu.com oneiric/multiverse i386 Packages
Hit http://archive.ubuntu.com oneiric/universe i386 Packages
Hit http://archive.ubuntu.com oneiric/main TranslationIndex
Hit http://archive.ubuntu.com oneiric/multiverse TranslationIndex
Hit http://archive.ubuntu.com oneiric/restricted TranslationIndex
Hit http://archive.ubuntu.com oneiric/universe TranslationIndex
Hit http://archive.ubuntu.com oneiric-updates/main amd64 Packages
Hit http://archive.ubuntu.com oneiric-updates/restricted amd64 Packages
Hit http://archive.ubuntu.com oneiric-updates/multiverse amd64 Packages
Ign http://extras.ubuntu.com oneiric/main Translation-en
Hit http://archive.ubuntu.com oneiric-updates/universe amd64 Packages
Hit http://archive.ubuntu.com oneiric-updates/main i386 Packages
Hit http://archive.ubuntu.com oneiric-updates/restricted i386 Packages
Hit http://archive.ubuntu.com oneiric-updates/multiverse i386 Packages
Hit http://archive.ubuntu.com oneiric-updates/universe i386 Packages
Hit http://archive.ubuntu.com oneiric-updates/main TranslationIndex
Hit http://archive.ubuntu.com oneiric-updates/multiverse TranslationIndex
Hit http://archive.ubuntu.com oneiric-updates/restricted TranslationIndex
Hit http://archive.ubuntu.com oneiric-updates/universe TranslationIndex
Hit http://archive.ubuntu.com oneiric-security/main amd64 Packages
Hit http://archive.ubuntu.com oneiric-security/restricted amd64 Packages
Hit http://archive.ubuntu.com oneiric-security/multiverse amd64 Packages
Hit http://archive.ubuntu.com oneiric-security/universe amd64 Packages
Hit http://archive.ubuntu.com oneiric-security/main i386 Packages
Hit http://archive.ubuntu.com oneiric-security/restricted i386 Packages
Hit http://archive.ubuntu.com oneiric-security/multiverse i386 Packages
Hit http://archive.ubuntu.com oneiric-security/universe i386 Packages
Hit http://archive.ubuntu.com oneiric-security/main TranslationIndex
Hit http://archive.ubuntu.com oneiric-security/multiverse TranslationIndex
Hit http://archive.ubuntu.com oneiric-security/restricted TranslationIndex
Hit http://archive.ubuntu.com oneiric-security/universe TranslationIndex
Hit http://archive.ubuntu.com oneiric/main Translation-en
Hit http://archive.ubuntu.com oneiric/multiverse Translation-en
Hit http://archive.ubuntu.com oneiric/restricted Translation-en
Hit http://archive.ubuntu.com oneiric/universe Translation-en
Hit http://archive.ubuntu.com oneiric-updates/main Translation-en
Hit http://archive.ubuntu.com oneiric-updates/multiverse Translation-en
Hit http://archive.ubuntu.com oneiric-updates/restricted Translation-en
Hit http://archive.ubuntu.com oneiric-updates/universe Translation-en
Hit http://archive.ubuntu.com oneiric-security/main Translation-en
Hit http://archive.ubuntu.com oneiric-security/multiverse Translation-en
Hit http://archive.ubuntu.com oneiric-security/restricted Translation-en
Hit http://archive.ubuntu.com oneiric-security/universe Translation-en
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[code]

Not sure what to do next, all I want is to be able to reinstall ffmpeg... But I can't because of this:

[code]
The following packages have unmet dependencies:
 ffmpeg : Depends: libavcodec53 (< 4:0.7.3-99) but it is not going to be installed or
                   libavcodec-extra-53 (< 4:0.7.3.99) but 4:0.9.1ubuntu1~jon1 is to be installed
          Depends: libavdevice53 (< 4:0.7.3-99) but 4:0.9.1-0ubuntu1~jon1 is to be installed or
                   libavdevice-extra-53 (< 4:0.7.3.99) but it is not going to be installed
          Depends: libavfilter2 (< 4:0.7.3-99) but 4:0.9.1-0ubuntu1~jon1 is to be installed or
                   libavfilter-extra-2 (< 4:0.7.3.99) but it is not going to be installed
          Depends: libavformat53 (< 4:0.7.3-99) but 4:0.9.1-0ubuntu1~jon1 is to be installed or
                   libavformat-extra-53 (< 4:0.7.3.99) but it is not going to be installed
          Depends: libavutil51 (< 4:0.7.3-99) but it is not going to be installed or
                   libavutil-extra-51 (< 4:0.7.3.99) but 4:0.9.1ubuntu1~jon1 is to be installed
          Depends: libpostproc52 (< 4:0.7.3-99) but 4:0.9.1-0ubuntu1~jon1 is to be installed or
                   libpostproc-extra-52 (< 4:0.7.3.99) but it is not going to be installed
          Depends: libswscale2 (< 4:0.7.3-99) but 4:0.9.1-0ubuntu1~jon1 is to be installed or
                   libswscale-extra-2 (< 4:0.7.3.99) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
[code]

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
Sam_
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Remove the PPA if you want your packages to behave.I suggest you conatct the PPA maintainer too

Revision history for this message
Best Sam_ (and-sam) said :
#2

I'd try to clean up first then purge ffmpeg and in case also each single lib manually.
http://packages.ubuntu.com/oneiric-updates/ffmpeg

sudo apt-get clean
sudo apt-get autoclean
sudo apt-get autoremove
sudo dpkg --configure -a

sudo apt-get purge ffmpeg
sudo apt-get autoremove

sudo apt-get update
sudo apt-get install ffmpeg

Disable or remove non-function ppa in software sources.
https://help.ubuntu.com/community/Repositories/Ubuntu#Third-Party_Software_Tab

Revision history for this message
Peter De Maeyer (peter-de-maeyer) said :
#3

I was able to solve the problem a different way (before I had read your solution). I forcefully removed one of the packages which was blocking the installation:

sudo dpkg -r --force-depends libavcodec-extra-53

That got things moving again. I could install ffmpeg again after that, I had to uninstall and reinstall some other packages a couple of times, but now everything is back to normal (or so it seems).

Revision history for this message
Sam_ (and-sam) said :
#4

> forcefully removed one of the packages

Well done.