upgrade from kubuntu 12.04 to 12.10

Asked by Andreas Beder

i tried to upgrade from kubuntu 12.04 to 12.10 and ended up with this:

root@desktop:/etc# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
 libc6 : Depends: libc-bin (= 2.15-0ubuntu10.1)
 libc6:i386 : Depends: libc-bin:i386 (= 2.15-0ubuntu10.1)
 libc6-dev : Depends: libc6 (= 2.15-0ubuntu18) but 2.15-0ubuntu10.1 is installed
 libc6-i386 : Depends: libc6 (= 2.15-0ubuntu18) but 2.15-0ubuntu10.1 is installed
 libpoppler28 : Depends: libfontconfig1 (>= 2.9.0) but 2.8.0-3ubuntu9.1 is installed
 texlive-base : Depends: texlive-doc-base (>= 2012.20120516) but 2009-2 is installed
                Depends: texlive-common (>= 2012.20120516) but 2009-15 is installed
                Depends: tex-common (>= 3) but 2.10 is installed
 texlive-binaries : Depends: libfontconfig1 (>= 2.9.0) but 2.8.0-3ubuntu9.1 is installed
                    Depends: texlive-common (>= 2011) but 2009-15 is installed
                    Depends: tex-common (>= 3) but 2.10 is installed
                    Recommends: ruby
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies

root@desktop:/etc# dpkg-reconfigure -a
/usr/sbin/dpkg-reconfigure: libcapi20-3 is broken or not fully installed

root@desktop:/etc# uname -a
Linux desktop 3.2.0-32-generic #51-Ubuntu SMP Wed Sep 26 21:33:09 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

source.list

deb http://de.archive.ubuntu.com/ubuntu precise main restricted universe multiverse
#deb-src http://de.archive.ubuntu.com/ubuntu precise main restricted universe multiverse

deb http://de.archive.ubuntu.com/ubuntu precise-updates main restricted universe multiverse
#deb-src http://de.archive.ubuntu.com/ubuntu precise-updates main restricted universe multiverse

deb http://de.archive.ubuntu.com/ubuntu precise-security main restricted universe multiverse
#deb-src http://de.archive.ubuntu.com/ubuntu precise-security main restricted universe multiverse

deb http://de.archive.ubuntu.com/ubuntu precise-backports main restricted universe multiverse
#deb-src http://de.archive.ubuntu.com/ubuntu precise-backports main restricted universe multiverse

root@desktop:~# apt-get update
Ign http://archive.canonical.com quantal InRelease
Get:1 http://archive.canonical.com quantal Release.gpg [933 B]
Get:2 http://archive.canonical.com quantal Release [7078 B]
Ign http://de.archive.ubuntu.com precise InRelease
Ign http://de.archive.ubuntu.com precise-updates InRelease
Ign http://de.archive.ubuntu.com precise-security InRelease
Ign http://de.archive.ubuntu.com precise-backports InRelease
Get:3 http://archive.canonical.com quantal/partner amd64 Packages [631 B]
Hit http://de.archive.ubuntu.com precise Release.gpg
Hit http://de.archive.ubuntu.com precise-updates Release.gpg
Hit http://de.archive.ubuntu.com precise-security Release.gpg
Get:4 http://archive.canonical.com quantal/partner i386 Packages [1667 B]
Ign http://archive.canonical.com quantal/partner TranslationIndex
Hit http://de.archive.ubuntu.com precise-backports Release.gpg
Hit http://de.archive.ubuntu.com precise Release
Hit http://de.archive.ubuntu.com precise-updates Release
Hit http://de.archive.ubuntu.com precise-security Release
Hit http://de.archive.ubuntu.com precise-backports Release
Hit http://de.archive.ubuntu.com precise/main amd64 Packages
Hit http://de.archive.ubuntu.com precise/restricted amd64 Packages
Hit http://de.archive.ubuntu.com precise/universe amd64 Packages
Hit http://de.archive.ubuntu.com precise/multiverse amd64 Packages
Hit http://de.archive.ubuntu.com precise/main i386 Packages
Hit http://de.archive.ubuntu.com precise/restricted i386 Packages
Hit http://de.archive.ubuntu.com precise/universe i386 Packages
Hit http://de.archive.ubuntu.com precise/multiverse i386 Packages
Hit http://de.archive.ubuntu.com precise/main TranslationIndex
Hit http://de.archive.ubuntu.com precise/multiverse TranslationIndex
Hit http://de.archive.ubuntu.com precise/restricted TranslationIndex
Hit http://de.archive.ubuntu.com precise/universe TranslationIndex
Hit http://de.archive.ubuntu.com precise-updates/main amd64 Packages
Hit http://de.archive.ubuntu.com precise-updates/restricted amd64 Packages
Hit http://de.archive.ubuntu.com precise-updates/universe amd64 Packages
Ign http://archive.canonical.com quantal/partner Translation-en
Hit http://de.archive.ubuntu.com precise-updates/multiverse amd64 Packages
Hit http://de.archive.ubuntu.com precise-updates/main i386 Packages
Hit http://de.archive.ubuntu.com precise-updates/restricted i386 Packages
Hit http://de.archive.ubuntu.com precise-updates/universe i386 Packages
Hit http://de.archive.ubuntu.com precise-updates/multiverse i386 Packages
Hit http://de.archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://de.archive.ubuntu.com precise-updates/multiverse TranslationIndex
Hit http://de.archive.ubuntu.com precise-updates/restricted TranslationIndex
Hit http://de.archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://de.archive.ubuntu.com precise-security/main amd64 Packages
Hit http://de.archive.ubuntu.com precise-security/restricted amd64 Packages
Hit http://de.archive.ubuntu.com precise-security/universe amd64 Packages
Hit http://de.archive.ubuntu.com precise-security/multiverse amd64 Packages
Hit http://de.archive.ubuntu.com precise-security/main i386 Packages
Hit http://de.archive.ubuntu.com precise-security/restricted i386 Packages
Hit http://de.archive.ubuntu.com precise-security/universe i386 Packages
Hit http://de.archive.ubuntu.com precise-security/multiverse i386 Packages
Hit http://de.archive.ubuntu.com precise-security/main TranslationIndex
Hit http://de.archive.ubuntu.com precise-security/multiverse TranslationIndex
Hit http://de.archive.ubuntu.com precise-security/restricted TranslationIndex
Hit http://de.archive.ubuntu.com precise-security/universe TranslationIndex
Hit http://de.archive.ubuntu.com precise-backports/main amd64 Packages
Hit http://de.archive.ubuntu.com precise-backports/restricted amd64 Packages
Hit http://de.archive.ubuntu.com precise-backports/universe amd64 Packages
Hit http://de.archive.ubuntu.com precise-backports/multiverse amd64 Packages
Hit http://de.archive.ubuntu.com precise-backports/main i386 Packages
Hit http://de.archive.ubuntu.com precise-backports/restricted i386 Packages
Hit http://de.archive.ubuntu.com precise-backports/universe i386 Packages
Hit http://de.archive.ubuntu.com precise-backports/multiverse i386 Packages
Hit http://de.archive.ubuntu.com precise-backports/main TranslationIndex
Hit http://de.archive.ubuntu.com precise-backports/multiverse TranslationIndex
Hit http://de.archive.ubuntu.com precise-backports/restricted TranslationIndex
Hit http://de.archive.ubuntu.com precise-backports/universe TranslationIndex
Hit http://de.archive.ubuntu.com precise/main Translation-en
Hit http://de.archive.ubuntu.com precise/multiverse Translation-en
Hit http://de.archive.ubuntu.com precise/restricted Translation-en
Hit http://de.archive.ubuntu.com precise/universe Translation-en
Hit http://de.archive.ubuntu.com precise-updates/main Translation-en
Hit http://de.archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://de.archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://de.archive.ubuntu.com precise-updates/universe Translation-en
Hit http://de.archive.ubuntu.com precise-security/main Translation-en
Hit http://de.archive.ubuntu.com precise-security/multiverse Translation-en
Hit http://de.archive.ubuntu.com precise-security/restricted Translation-en
Hit http://de.archive.ubuntu.com precise-security/universe Translation-en
Hit http://de.archive.ubuntu.com precise-backports/main Translation-en
Hit http://de.archive.ubuntu.com precise-backports/multiverse Translation-en
Hit http://de.archive.ubuntu.com precise-backports/restricted Translation-en
Hit http://de.archive.ubuntu.com precise-backports/universe Translation-en
Fetched 10.3 kB in 0s (12.9 kB/s)
Reading package lists... Done

Question information

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

Can you give the output of:

lsb_release -a; uname -a; ls /etc/apt/sources.list.d/*

Thanks

Revision history for this message
Andreas Beder (andreas-beder) said :
#2

uname -a was already provided, lsb_release -a was 12.10 but i changed it back to 12.04 manualy (dont ask why) and /etc/apt/sources.list.d/* i uncomment everything there

root@desktop:/home/lissi# lsb_release -a; uname -a; ls /etc/apt/sources.list.d/*
LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch
Distributor ID: Ubuntu
Description: Ubuntu Precise
Release: 12.04
Codename: precise
Linux desktop 3.2.0-32-generic #51-Ubuntu SMP Wed Sep 26 21:33:09 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
/etc/apt/sources.list.d/gwibber-daily-ppa-oneiric.list /etc/apt/sources.list.d/oneiric-partner.list.save
/etc/apt/sources.list.d/gwibber-daily-ppa-oneiric.list.distUpgrade /etc/apt/sources.list.d/pmjdebruijn-darktable-release-plus-oneiric.list
/etc/apt/sources.list.d/gwibber-daily-ppa-oneiric.list.save /etc/apt/sources.list.d/pmjdebruijn-darktable-release-plus-oneiric.list.distUpgrade
/etc/apt/sources.list.d/jon-hedgerows-get-iplayer-precise.list /etc/apt/sources.list.d/pmjdebruijn-darktable-release-plus-oneiric.list.save
/etc/apt/sources.list.d/jon-hedgerows-get-iplayer-precise.list.distUpgrade /etc/apt/sources.list.d/racb-extra-oneiric.list
/etc/apt/sources.list.d/jon-hedgerows-get-iplayer-precise.list.save /etc/apt/sources.list.d/racb-extra-oneiric.list.distUpgrade
/etc/apt/sources.list.d/oneiric-partner.list /etc/apt/sources.list.d/racb-extra-oneiric.list.save
/etc/apt/sources.list.d/oneiric-partner.list.distUpgrade

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

Try disabling the PPAs you added, they can cause issues.

Revision history for this message
Andreas Beder (andreas-beder) said :
#4

As I mentioned, i uncomment everything from /etc/apt/sources.list.d/* ,

Revision history for this message
zvacet (ivicakolic) said :
#5

Try with

sudo apt-get install --reinstall libcapi20-3

Revision history for this message
Andreas Beder (andreas-beder) said :
#6

lissi@desktop:~$ sudo apt-get install --reinstall libcapi20-3
[sudo] password for lissi:
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Statusinformationen werden eingelesen... Fertig
Probieren Sie »apt-get -f install«, um dies zu korrigieren:
Die folgenden Pakete haben unerfüllte Abhängigkeiten:
 libc6 : Hängt ab von: libc-bin (= 2.15-0ubuntu10.1)
 libc6:i386 : Hängt ab von: libc-bin:i386 (= 2.15-0ubuntu10.1)
 libc6-dev : Hängt ab von: libc6 (= 2.15-0ubuntu18) aber 2.15-0ubuntu10.1 soll installiert werden
 libc6-i386 : Hängt ab von: libc6 (= 2.15-0ubuntu18) aber 2.15-0ubuntu10.1 soll installiert werden
 libpoppler28 : Hängt ab von: libfontconfig1 (>= 2.9.0) aber 2.8.0-3ubuntu9.1 soll installiert werden
 texlive-base : Hängt ab von: texlive-doc-base (>= 2012.20120516) aber 2009-2 soll installiert werden
                Hängt ab von: texlive-common (>= 2012.20120516) aber 2009-15 soll installiert werden
                Hängt ab von: tex-common (>= 3) aber 2.10 soll installiert werden
 texlive-binaries : Hängt ab von: libfontconfig1 (>= 2.9.0) aber 2.8.0-3ubuntu9.1 soll installiert werden
                    Hängt ab von: texlive-common (>= 2011) aber 2009-15 soll installiert werden
                    Hängt ab von: tex-common (>= 3) aber 2.10 soll installiert werden
                    Empfiehlt: ruby
E: Unerfüllte Abhängigkeiten. Versuchen Sie »apt-get -f install« ohne Angabe eines Pakets (oder geben Sie eine Lösung an).

Revision history for this message
Manfred Hampl (m-hampl) said :
#7

I guess the problem is caused by having a system that is partly precise and partly quantal.

The following commands might provide some more information:

sudo apt-get update
apt-cache policy
apt-cache policy libc6 libc6:i386 libc6-bin libc6-dev libc6-i386
apt-cache policy libpoppler28 libfontconfig1
apt-cache texlive-base texlive-doc-base texlive-common tex-common texlive-binaries
sudo dpkg --audit
sudo apt-get install -f

Please execute these commands and copy/paste all output

Revision history for this message
Andreas Beder (andreas-beder) said :
#8

It true the problem was that my system was partly precise and partly quantal.

do-release-upgrade -d fixed my problem

thx
andreas