Broken packages - libpostproc51 - libswscale0 - libavformat52

Asked by jcglt

These three lib... are indicated by synaptic with a star, meaning un upgrade is available but they cannot be upgraded due to broken package and when hitting "edition" "repair bracken packages" it replies all dependances ok.

Here follow the result of the required testing :

jean-claude@jean-claude-laptop:~$ sudo fuser -vvv /var/lib/dpkg/lock
[sudo] password for jean-claude:
jean-claude@jean-claude-laptop:~$

jean-claude@jean-claude-laptop:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.2 LTS"
jean-claude@jean-claude-laptop:~$

jean-claude@jean-claude-laptop:~$ uname -a
Linux jean-claude-laptop 2.6.38-7-generic #39~lucid1-Ubuntu SMP Mon Mar 28 19:11:26 UTC 2011 i686 GNU/Linux
jean-claude@jean-claude-laptop:~$

jean-claude@jean-claude-laptop:~$ sudo rm /var/lib/apt/lists/lock
jean-claude@jean-claude-laptop:~$

jean-claude@jean-claude-laptop:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
jean-claude@jean-claude-laptop:~$

jean-claude@jean-claude-laptop:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
jean-claude@jean-claude-laptop:~$

jean-claude@jean-claude-laptop:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
jean-claude@jean-claude-laptop:~$

jean-claude@jean-claude-laptop:~$ sudo rm -rf /var/lib/dpkg/updates/*
jean-claude@jean-claude-laptop:~$

jean-claude@jean-claude-laptop:~$ sudo rm -rf /var/lib/apt/lists
jean-claude@jean-claude-laptop:~$

jean-claude@jean-claude-laptop:~$ sudo rm /var/cache/apt/*.bin
jean-claude@jean-claude-laptop:~$

jean-claude@jean-claude-laptop:~$ sudo mkdir /var/lib/apt/lists
jean-claude@jean-claude-laptop:~$

jean-claude@jean-claude-laptop:~$ sudo mkdir /var/lib/apt/lists/partial
jean-claude@jean-claude-laptop:~$

jean-claude@jean-claude-laptop:~$ LANG=C;sudo apt-get clean
jean-claude@jean-claude-laptop:~$

jean-claude@jean-claude-laptop:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
jean-claude@jean-claude-laptop:~$

jean-claude@jean-claude-laptop:~$ 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.
jean-claude@jean-claude-laptop:~$

jean-claude@jean-claude-laptop:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824
Get:1 http://nc.archive.ubuntu.com lucid Release.gpg [189B]
Get:2 http://nc.archive.ubuntu.com lucid-updates Release.gpg [198B]
Get:3 http://nc.archive.ubuntu.com lucid Release [57.2kB]
Get:4 http://dl.google.com stable Release.gpg [197B]
Get:5 http://nc.archive.ubuntu.com lucid-updates Release [44.7kB]
Get:6 http://dl.google.com stable Release [1347B]
Get:7 http://nc.archive.ubuntu.com lucid/main Packages [1386kB]
Get:8 http://security.ubuntu.com lucid-security Release.gpg [198B]
Get:9 http://ppa.launchpad.net lucid Release.gpg [316B]
Get:10 http://ppa.launchpad.net lucid Release.gpg [316B]
Get:11 http://ppa.launchpad.net lucid Release.gpg [316B]
Get:12 http://packages.medibuntu.org lucid Release.gpg [197B]
Get:13 http://dl.google.com stable/main Packages [1088B]
Get:14 http://security.ubuntu.com lucid-security Release [44.7kB]
Get:15 http://ppa.launchpad.net lucid Release.gpg [316B]
Get:16 http://ppa.launchpad.net lucid Release.gpg [316B]
Get:17 http://packages.medibuntu.org lucid Release [6854B]
Get:18 http://ppa.launchpad.net lucid Release.gpg [316B]
Get:19 http://ppa.launchpad.net lucid Release [14.0kB]
Get:20 http://ppa.launchpad.net lucid Release [14.0kB]
Get:21 http://ppa.launchpad.net lucid Release [14.0kB]
Get:22 http://packages.medibuntu.org lucid/free Packages [3269B]
Get:23 http://security.ubuntu.com lucid-security/main Packages [172kB]
Get:24 http://packages.medibuntu.org lucid/non-free Packages [8612B]
Get:25 http://nc.archive.ubuntu.com lucid/restricted Packages [6208B]
Get:26 http://nc.archive.ubuntu.com lucid/main Sources [659kB]
Get:27 http://ppa.launchpad.net lucid Release [14.0kB]
Get:28 http://ppa.launchpad.net lucid Release [14.0kB]
Get:29 http://security.ubuntu.com lucid-security/restricted Packages [14B]
Get:30 http://security.ubuntu.com lucid-security/main Sources [50.7kB]
Get:31 http://ppa.launchpad.net lucid Release [57.3kB]
Get:32 http://nc.archive.ubuntu.com lucid/restricted Sources [3775B]
Get:33 http://nc.archive.ubuntu.com lucid/universe Packages [5448kB]
Get:34 http://ppa.launchpad.net lucid/main Packages [1110B]
Get:35 http://ppa.launchpad.net lucid/main Packages [10.4kB]
Get:36 http://security.ubuntu.com lucid-security/restricted Sources [14B]
Get:37 http://ppa.launchpad.net lucid/main Packages [578B]
Get:38 http://ppa.launchpad.net lucid/main Packages [4391B]
Get:39 http://ppa.launchpad.net lucid/main Packages [3849B]
Get:40 http://security.ubuntu.com lucid-security/universe Packages [66.7kB]
Get:41 http://ppa.launchpad.net lucid/main Packages [3025B]
Get:42 http://security.ubuntu.com lucid-security/universe Sources [20.2kB]
Get:43 http://security.ubuntu.com lucid-security/multiverse Packages [1990B]
Get:44 http://security.ubuntu.com lucid-security/multiverse Sources [653B]
Get:45 http://nc.archive.ubuntu.com lucid/universe Sources [3165kB]
Get:46 http://nc.archive.ubuntu.com lucid/multiverse Packages [180kB]
Get:47 http://nc.archive.ubuntu.com lucid/multiverse Sources [119kB]
Get:48 http://nc.archive.ubuntu.com lucid-updates/main Packages [465kB]
Get:49 http://nc.archive.ubuntu.com lucid-updates/restricted Packages [3240B]
Get:50 http://nc.archive.ubuntu.com lucid-updates/main Sources [183kB]
Get:51 http://nc.archive.ubuntu.com lucid-updates/restricted Sources [1443B]
Get:52 http://nc.archive.ubuntu.com lucid-updates/universe Packages [193kB]
Get:53 http://nc.archive.ubuntu.com lucid-updates/universe Sources [71.9kB]
Get:54 http://nc.archive.ubuntu.com lucid-updates/multiverse Packages [8426B]
Get:55 http://nc.archive.ubuntu.com lucid-updates/multiverse Sources [4364B]
Fetched 12.5MB in 53s (234kB/s)
Reading package lists... Done
jean-claude@jean-claude-laptop:~$

jean-claude@jean-claude-laptop:~$ sudo dpkg --clear-avail
jean-claude@jean-claude-laptop:~$

jean-claude@jean-claude-laptop:~$ sudo dpkg --configure -a
jean-claude@jean-claude-laptop:~$

jean-claude@jean-claude-laptop:~$ 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 3 not upgraded.
jean-claude@jean-claude-laptop:~$

jean-claude@jean-claude-laptop:~$ 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 3 not upgraded.
jean-claude@jean-claude-laptop:~$

jean-claude@jean-claude-laptop:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824 && sudo apt-get dist-upgrade
Hit http://nc.archive.ubuntu.com lucid Release.gpg
Hit http://nc.archive.ubuntu.com lucid-updates Release.gpg
Hit http://nc.archive.ubuntu.com lucid Release
Hit http://nc.archive.ubuntu.com lucid-updates Release
Hit http://nc.archive.ubuntu.com lucid/main Packages
Get:1 http://dl.google.com stable Release.gpg [197B]
Hit http://nc.archive.ubuntu.com lucid/restricted Packages
Hit http://nc.archive.ubuntu.com lucid/main Sources
Hit http://nc.archive.ubuntu.com lucid/restricted Sources
Get:2 http://dl.google.com stable Release [1347B]
Hit http://nc.archive.ubuntu.com lucid/universe Packages
Hit http://nc.archive.ubuntu.com lucid/universe Sources
Hit http://nc.archive.ubuntu.com lucid/multiverse Packages
Hit http://nc.archive.ubuntu.com lucid/multiverse Sources
Hit http://ppa.launchpad.net lucid Release.gpg
Hit http://ppa.launchpad.net lucid Release.gpg
Hit http://ppa.launchpad.net lucid Release.gpg
Hit http://nc.archive.ubuntu.com lucid-updates/main Packages
Hit http://nc.archive.ubuntu.com lucid-updates/restricted Packages
Hit http://nc.archive.ubuntu.com lucid-updates/main Sources
Hit http://nc.archive.ubuntu.com lucid-updates/restricted Sources
Get:3 http://dl.google.com stable/main Packages [1088B]
Hit http://nc.archive.ubuntu.com lucid-updates/universe Packages
Hit http://nc.archive.ubuntu.com lucid-updates/universe Sources
Hit http://ppa.launchpad.net lucid Release.gpg
Hit http://ppa.launchpad.net lucid Release.gpg
Hit http://ppa.launchpad.net lucid Release.gpg
Hit http://ppa.launchpad.net lucid Release
Hit http://nc.archive.ubuntu.com lucid-updates/multiverse Packages
Hit http://nc.archive.ubuntu.com lucid-updates/multiverse Sources
Hit http://ppa.launchpad.net lucid Release
Hit http://ppa.launchpad.net lucid Release
Hit http://ppa.launchpad.net lucid Release
Hit http://ppa.launchpad.net lucid Release
Hit http://ppa.launchpad.net lucid Release
Hit http://ppa.launchpad.net lucid/main Packages
Hit http://ppa.launchpad.net lucid/main Packages
Hit http://ppa.launchpad.net lucid/main Packages
Hit http://ppa.launchpad.net lucid/main Packages
Hit http://ppa.launchpad.net lucid/main Packages
Hit http://ppa.launchpad.net lucid/main Packages
Hit http://packages.medibuntu.org lucid Release.gpg
Hit http://packages.medibuntu.org lucid Release
Hit http://packages.medibuntu.org lucid/free Packages
Hit http://packages.medibuntu.org lucid/non-free Packages
Hit http://security.ubuntu.com lucid-security Release.gpg
Hit http://security.ubuntu.com lucid-security Release
Hit http://security.ubuntu.com lucid-security/main Packages
Hit http://security.ubuntu.com lucid-security/restricted Packages
Hit http://security.ubuntu.com lucid-security/main Sources
Hit http://security.ubuntu.com lucid-security/restricted Sources
Hit http://security.ubuntu.com lucid-security/universe Packages
Hit http://security.ubuntu.com lucid-security/universe Sources
Hit http://security.ubuntu.com lucid-security/multiverse Packages
Hit http://security.ubuntu.com lucid-security/multiverse Sources
Fetched 2632B in 27s (96B/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  libavformat52 libpostproc51 libswscale0
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
jean-claude@jean-claude-laptop:~$

Question information

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

What is the output of:

sudo apt-get -y upgrade

Thanks

Revision history for this message
jcglt (jcjglt) said :
#2

jean-claude@jean-claude-laptop:~$ sudo apt-get -y upgrade
[sudo] password for jean-claude:
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Les paquets suivants ont été conservés :
  libavformat52 libpostproc51 libswscale0
0 mis à jour, 0 nouvellement installés, 0 à enlever et 3 non mis à jour.
jean-claude@jean-claude-laptop:~$

translation of answer :
Reading of packages listing...Done
Construction of dependancies tree
Reading of state informations...Done
The following packages have been kept :
 libavformat52 libpostproc51 libswscale0
0 updated, 0 newly installed, 0 to remove and 3 non-updated.

Revision history for this message
ssulaco (jhptro) said :
#3

I'm having the same issue........output of sudo apt-get -y upgrade:

john@john-desktop:~$ sudo apt-get -y upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
  libavformat52 libpostproc51 libswscale0
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
john@john-desktop:~$

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#4

This is fine. The packages are held back due to the following situation:

Package A depends on version 2 of package B
Package B is in the repos but is version 1

The updates WILL install. The package just cannot satisfy dependancies. When the dependancies are met it will be installed. Just be patient. There is zero issue.

Revision history for this message
ssulaco (jhptro) said :
#5

Thanks actionparsnip for the heads up.

Revision history for this message
jcglt (jcjglt) said :
#6

Thanks actionparsnip, that solved my question.