upstart doesnt upgrade

Asked by Martin Kaffanke on 2011-02-01

I tried to upgrade my system by "sudo apt-get upgrade" but upstart wasn't upgraded so I tried:

martin@martin-desktop:~$ sudo LC_ALL=C apt-get install upstart
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 upstart : Breaks: libc6 (< 2.12.1-0ubuntu10.2) but 2.12.1-0ubuntu10.1 is to be installed
E: Broken packages

But what exactly isn't working here? I think that 2.12.1-0ubuntu10.1 is lower then 2.12.1-0ubuntu10.2

What can I do?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
al.cadd9
Solved:
2011-02-02
Last query:
2011-02-02
Last reply:
2011-02-02

Can you give the output of:

lsb_release -a;uname -a

Thanks

martin@martin-desktop:~$ LC_ALL=C lsb_release -a;uname -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.10
Release: 10.10
Codename: maverick
Linux martin-desktop 2.6.35-25-generic #44-Ubuntu SMP Fri Jan 21 17:40:48 UTC 2011 i686 GNU/Linux

Thanks for that fast answer.

Then you will need a deb or ppa for the newer version but I don't recommend you mess with libc6 as you can REALLY mess your OS

But why will it then be marked for upgrade? Or do I have done anything with my os, and a normal installation would upgrade that?

It seems that something probably is wrong on your system. Follow the procedure at https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure, and then, if the problem is not fixed, post the results (i.e. all the text from the Terminal) here.

al.cadd9 (al.cadd9) said : #6

you're not the only one http://ubuntuforums.org/showthread.php?t=1679717 . I am experiencing this too.

Ok, it seems not to work:

martin@martin-desktop:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.10
DISTRIB_CODENAME=maverick
DISTRIB_DESCRIPTION="Ubuntu 10.10"
martin@martin-desktop:~$
martin@martin-desktop:~$ uname -a
Linux martin-desktop 2.6.35-25-generic #44-Ubuntu SMP Fri Jan 21 17:40:48 UTC 2011 i686 GNU/Linux
martin@martin-desktop:~$
martin@martin-desktop:~$ sudo rm /var/lib/apt/lists/lock
[sudo] password for martin:
martin@martin-desktop:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.10
DISTRIB_CODENAME=maverick
DISTRIB_DESCRIPTION="Ubuntu 10.10"
martin@martin-desktop:~$
martin@martin-desktop:~$ uname -a
Linux martin-desktop 2.6.35-25-generic #44-Ubuntu SMP Fri Jan 21 17:40:48 UTC 2011 i686 GNU/Linux
martin@martin-desktop:~$
martin@martin-desktop:~$ sudo rm /var/lib/apt/lists/lock
rm: Entfernen von „/var/lib/apt/lists/lock“ nicht möglich: Datei oder Verzeichnis nicht gefunden
martin@martin-desktop:~$
martin@martin-desktop:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
martin@martin-desktop:~$
martin@martin-desktop:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
martin@martin-desktop:~$
martin@martin-desktop:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
martin@martin-desktop:~$
martin@martin-desktop:~$ sudo rm -rf /var/lib/dpkg/updates/*
martin@martin-desktop:~$
martin@martin-desktop:~$ sudo rm -rf /var/lib/apt/lists
martin@martin-desktop:~$
martin@martin-desktop:~$ sudo rm /var/cache/apt/*.bin
martin@martin-desktop:~$
martin@martin-desktop:~$ sudo mkdir /var/lib/apt/lists
martin@martin-desktop:~$
martin@martin-desktop:~$ sudo mkdir /var/lib/apt/lists/partial
martin@martin-desktop:~$
martin@martin-desktop:~$ LANG=C;sudo apt-get clean
martin@martin-desktop:~$
martin@martin-desktop:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
martin@martin-desktop:~$
martin@martin-desktop:~$ 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.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
warning, in file '/var/lib/dpkg/status' near line 67777 package 'virtualbox-3.1':
 error in Version string '3.1.6-59338_Ubuntu_karmic': invalid character in revision number
warning, in file '/var/lib/dpkg/status' near line 67778 package 'virtualbox-3.1':
 error in Config-Version string '3.1.6-59338_Ubuntu_karmic': invalid character in revision number
warning, in file '/var/lib/dpkg/available' near line 79063 package 'virtualbox-3.1':
 error in Version string '3.1.6-59338_Ubuntu_karmic': invalid character in revision number
warning, in file '/var/lib/dpkg/available' near line 79142 package 'virtualbox-3.0':
 error in Version string '3.0.12-54655_Ubuntu_karmic': invalid character in revision number
Setting up jobs-admin (0.8.0-0ubuntu1) ...
Processing triggers for python-support ...
martin@martin-desktop:~$ 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.
martin@martin-desktop:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824Get:1 http://ppa.launchpad.net maverick Release.gpg [316B]
Ign http://ppa.launchpad.net/pmcenery/ppa/ubuntu/ maverick/main Translation-en
Get:2 http://extras.ubuntu.com maverick Release.gpg [72B]
Ign http://extras.ubuntu.com/ubuntu/ maverick/main Translation-en
Get:3 http://archive.canonical.com maverick Release.gpg [198B]
Ign http://archive.canonical.com/ubuntu/ maverick/partner Translation-en
Get:4 http://ppa.launchpad.net maverick Release [9746B]
Get:5 http://archive.ubuntu.com maverick Release.gpg [198B]
Ign http://archive.ubuntu.com/ubuntu/ maverick/main Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick/multiverse Translation-en
Get:6 http://extras.ubuntu.com maverick Release [9762B]
Ign http://archive.ubuntu.com/ubuntu/ maverick/restricted Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick/universe Translation-en
Get:7 http://archive.ubuntu.com maverick-updates Release.gpg [198B]
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/main Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/multiverse Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/restricted Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/universe Translation-en
Get:8 http://archive.canonical.com maverick Release [5925B]
Get:9 http://packages.medibuntu.org maverick Release.gpg [197B]
Get:10 http://archive.ubuntu.com maverick-backports Release.gpg [198B]
Ign http://archive.ubuntu.com/ubuntu/ maverick-backports/main Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-backports/multiverse Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-backports/restricted Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-backports/universe Translation-en
Get:11 http://archive.ubuntu.com maverick-security Release.gpg [198B]
Ign http://archive.ubuntu.com/ubuntu/ maverick-security/main Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-security/multiverse Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-security/restricted Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-security/universe Translation-en
Ign http://packages.medibuntu.org/ maverick/free Translation-en
Get:12 http://archive.ubuntu.com maverick Release [39.8kB]
Get:13 http://ppa.launchpad.net maverick/main i386 Packages [7898B]
Get:14 http://archive.canonical.com maverick/partner Sources [3799B]
Get:15 http://download.virtualbox.org maverick Release.gpg [197B]
Get:16 http://extras.ubuntu.com maverick/main i386 Packages [700B]
Get:17 http://archive.ubuntu.com maverick-updates Release [31.4kB]
Ign http://packages.medibuntu.org/ maverick/non-free Translation-en
Get:18 http://archive.canonical.com maverick/partner i386 Packages [7452B]
Get:19 http://archive.ubuntu.com maverick-backports Release [23.2kB]
Ign http://download.virtualbox.org/virtualbox/debian/ maverick/non-free Translation-en
Get:20 http://archive.ubuntu.com maverick-security Release [31.4kB]
Get:21 http://archive.ubuntu.com maverick/main i386 Packages [1492kB]
Get:22 http://packages.medibuntu.org maverick Release [6857B]
Get:23 http://download.virtualbox.org maverick Release [5417B]
Get:24 http://packages.medibuntu.org maverick/free i386 Packages [3262B]
Get:25 http://download.virtualbox.org maverick/non-free i386 Packages [986B]
Get:26 http://packages.medibuntu.org maverick/non-free i386 Packages [7104B]
Get:27 http://archive.ubuntu.com maverick/restricted i386 Packages [5992B]
Get:28 http://archive.ubuntu.com maverick/universe i386 Packages [5791kB]
Get:29 http://archive.ubuntu.com maverick/multiverse i386 Packages [183kB]
Get:30 http://archive.ubuntu.com maverick-updates/main i386 Packages [218kB]
Get:31 http://archive.ubuntu.com maverick-updates/restricted i386 Packages [1797B]
Get:32 http://archive.ubuntu.com maverick-updates/universe i386 Packages [88.5kB]
Get:33 http://archive.ubuntu.com maverick-updates/multiverse i386 Packages [2836B]
Get:34 http://archive.ubuntu.com maverick-backports/main i386 Packages [1894B]
Get:35 http://archive.ubuntu.com maverick-backports/restricted i386 Packages [14B]
Get:36 http://archive.ubuntu.com maverick-backports/multiverse i386 Packages [14B]
Get:37 http://archive.ubuntu.com maverick-backports/universe i386 Packages [6684B]
Get:38 http://archive.ubuntu.com maverick-security/main i386 Packages [79.3kB]
Get:39 http://archive.ubuntu.com maverick-security/restricted i386 Packages [14B]
Get:40 http://archive.ubuntu.com maverick-security/universe i386 Packages [39.3kB]
Get:41 http://archive.ubuntu.com maverick-security/multiverse i386 Packages [1655B]
Fetched 8108kB in 21s (383kB/s)
Reading package lists... Done
martin@martin-desktop:~$ sudo dpkg --clear-avail
martin@martin-desktop:~$ sudo dpkg --configure -a
warning, in file '/var/lib/dpkg/status' near line 67776 package 'virtualbox-3.1':
 error in Version string '3.1.6-59338_Ubuntu_karmic': invalid character in revision number
warning, in file '/var/lib/dpkg/status' near line 67777 package 'virtualbox-3.1':
 error in Config-Version string '3.1.6-59338_Ubuntu_karmic': invalid character in revision number
martin@martin-desktop:~$ 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 7 not upgraded.
martin@martin-desktop:~$ 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 7 not upgraded.
martin@martin-desktop:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824 && sudo apt-get dist-upgrade
Hit http://archive.ubuntu.com maverick Release.gpg
Ign http://archive.ubuntu.com/ubuntu/ maverick/main Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick/multiverse Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick/restricted Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick/universe Translation-en
Hit http://archive.ubuntu.com maverick-updates Release.gpg
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/main Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/multiverse Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/restricted Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/universe Translation-en
Hit http://archive.canonical.com maverick Release.gpg
Ign http://archive.canonical.com/ubuntu/ maverick/partner Translation-en
Hit http://archive.ubuntu.com maverick-backports Release.gpg
Ign http://archive.ubuntu.com/ubuntu/ maverick-backports/main Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-backports/multiverse Translation-en
Hit http://archive.canonical.com maverick Release
Hit http://packages.medibuntu.org maverick Release.gpg
Hit http://extras.ubuntu.com maverick Release.gpg
Ign http://extras.ubuntu.com/ubuntu/ maverick/main Translation-en
Hit http://ppa.launchpad.net maverick Release.gpg
Ign http://ppa.launchpad.net/pmcenery/ppa/ubuntu/ maverick/main Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-backports/restricted Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-backports/universe Translation-en
Hit http://archive.ubuntu.com maverick-security Release.gpg
Ign http://archive.ubuntu.com/ubuntu/ maverick-security/main Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-security/multiverse Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-security/restricted Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-security/universe Translation-en
Hit http://extras.ubuntu.com maverick Release
Hit http://ppa.launchpad.net maverick Release
Hit http://archive.canonical.com maverick/partner Sources
Hit http://archive.ubuntu.com maverick Release
Hit http://archive.ubuntu.com maverick-updates Release
Hit http://archive.ubuntu.com maverick-backports Release
Hit http://archive.canonical.com maverick/partner i386 Packages
Ign http://packages.medibuntu.org/ maverick/free Translation-en
Hit http://extras.ubuntu.com maverick/main i386 Packages
Hit http://ppa.launchpad.net maverick/main i386 Packages
Hit http://archive.ubuntu.com maverick-security Release
Hit http://archive.ubuntu.com maverick/main i386 Packages
Hit http://archive.ubuntu.com maverick/restricted i386 Packages
Hit http://archive.ubuntu.com maverick/universe i386 Packages
Hit http://archive.ubuntu.com maverick/multiverse i386 Packages
Hit http://archive.ubuntu.com maverick-updates/main i386 Packages
Hit http://archive.ubuntu.com maverick-updates/restricted i386 Packages
Hit http://archive.ubuntu.com maverick-updates/universe i386 Packages
Hit http://archive.ubuntu.com maverick-updates/multiverse i386 Packages
Hit http://archive.ubuntu.com maverick-backports/main i386 Packages
Hit http://archive.ubuntu.com maverick-backports/restricted i386 Packages
Ign http://packages.medibuntu.org/ maverick/non-free Translation-en
Hit http://archive.ubuntu.com maverick-backports/multiverse i386 Packages
Hit http://archive.ubuntu.com maverick-backports/universe i386 Packages
Hit http://archive.ubuntu.com maverick-security/main i386 Packages
Hit http://archive.ubuntu.com maverick-security/restricted i386 Packages
Hit http://archive.ubuntu.com maverick-security/universe i386 Packages
Hit http://archive.ubuntu.com maverick-security/multiverse i386 Packages
Hit http://packages.medibuntu.org maverick Release
Hit http://download.virtualbox.org maverick Release.gpg
Hit http://packages.medibuntu.org maverick/free i386 Packages
Ign http://download.virtualbox.org/virtualbox/debian/ maverick/non-free Translation-en
Hit http://packages.medibuntu.org maverick/non-free i386 Packages
Hit http://download.virtualbox.org maverick Release
Hit http://download.virtualbox.org maverick/non-free i386 Packages
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:
  upstart
The following packages will be upgraded:
  icedtea-6-jre-cacao icedtea6-plugin openjdk-6-jre openjdk-6-jre-headless
  openjdk-6-jre-lib ubuntu-docs
6 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 34.7MB of archives.
After this operation, 32.8kB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://archive.ubuntu.com/ubuntu/ maverick-updates/main ubuntu-docs all 10.10.4ubuntu0.1 [385kB]
Get:2 http://archive.ubuntu.com/ubuntu/ maverick-updates/main icedtea6-plugin i386 6b20-1.9.5-0ubuntu1 [78.7kB]
Get:3 http://archive.ubuntu.com/ubuntu/ maverick-updates/main icedtea-6-jre-cacao i386 6b20-1.9.5-0ubuntu1 [416kB]
Get:4 http://archive.ubuntu.com/ubuntu/ maverick-updates/main openjdk-6-jre-lib all 6b20-1.9.5-0ubuntu1 [6156kB]
Get:5 http://archive.ubuntu.com/ubuntu/ maverick-updates/main openjdk-6-jre-headless i386 6b20-1.9.5-0ubuntu1 [27.4MB]
Get:6 http://archive.ubuntu.com/ubuntu/ maverick-updates/main openjdk-6-jre i386 6b20-1.9.5-0ubuntu1 [251kB]
Fetched 34.7MB in 1min 20s (429kB/s)
warning, in file '/var/lib/dpkg/status' near line 67776 package 'virtualbox-3.1':
 error in Version string '3.1.6-59338_Ubuntu_karmic': invalid character in revision number
warning, in file '/var/lib/dpkg/status' near line 67777 package 'virtualbox-3.1':
 error in Config-Version string '3.1.6-59338_Ubuntu_karmic': invalid character in revision number
(Reading database ... 470873 files and directories currently installed.)
Preparing to replace ubuntu-docs 10.10.4 (using .../ubuntu-docs_10.10.4ubuntu0.1_all.deb) ...
Unpacking replacement ubuntu-docs ...
Preparing to replace icedtea6-plugin 6b20-1.9.4-0ubuntu1 (using .../icedtea6-plugin_6b20-1.9.5-0ubuntu1_i386.deb) ...
Unpacking replacement icedtea6-plugin ...
Preparing to replace icedtea-6-jre-cacao 6b20-1.9.4-0ubuntu1 (using .../icedtea-6-jre-cacao_6b20-1.9.5-0ubuntu1_i386.deb) ...
Unpacking replacement icedtea-6-jre-cacao ...
Preparing to replace openjdk-6-jre-lib 6b20-1.9.4-0ubuntu1 (using .../openjdk-6-jre-lib_6b20-1.9.5-0ubuntu1_all.deb) ...
Unpacking replacement openjdk-6-jre-lib ...
Preparing to replace openjdk-6-jre-headless 6b20-1.9.4-0ubuntu1 (using .../openjdk-6-jre-headless_6b20-1.9.5-0ubuntu1_i386.deb) ...
Unpacking replacement openjdk-6-jre-headless ...
Preparing to replace openjdk-6-jre 6b20-1.9.4-0ubuntu1 (using .../openjdk-6-jre_6b20-1.9.5-0ubuntu1_i386.deb) ...
Unpacking replacement openjdk-6-jre ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.C.cache...
Processing triggers for desktop-file-utils ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for menu ...
warning, in file '/var/lib/dpkg/status' near line 67776 package 'virtualbox-3.1':
 error in Version string '3.1.6-59338_Ubuntu_karmic': invalid character in revision number
warning, in file '/var/lib/dpkg/status' near line 67777 package 'virtualbox-3.1':
 error in Config-Version string '3.1.6-59338_Ubuntu_karmic': invalid character in revision number
Processing triggers for python-support ...
warning, in file '/var/lib/dpkg/status' near line 67781 package 'virtualbox-3.1':
 error in Version string '3.1.6-59338_Ubuntu_karmic': invalid character in revision number
warning, in file '/var/lib/dpkg/status' near line 67782 package 'virtualbox-3.1':
 error in Config-Version string '3.1.6-59338_Ubuntu_karmic': invalid character in revision number
Setting up ubuntu-docs (10.10.4ubuntu0.1) ...
Setting up openjdk-6-jre-headless (6b20-1.9.5-0ubuntu1) ...
update-binfmts: warning: current package is openjdk-6, but binary format
already installed by sun-java6
Setting up openjdk-6-jre (6b20-1.9.5-0ubuntu1) ...
Setting up icedtea6-plugin (6b20-1.9.5-0ubuntu1) ...
Setting up icedtea-6-jre-cacao (6b20-1.9.5-0ubuntu1) ...
Setting up openjdk-6-jre-lib (6b20-1.9.5-0ubuntu1) ...
Processing triggers for menu ...
warning, in file '/var/lib/dpkg/status' near line 67781 package 'virtualbox-3.1':
 error in Version string '3.1.6-59338_Ubuntu_karmic': invalid character in revision number
warning, in file '/var/lib/dpkg/status' near line 67782 package 'virtualbox-3.1':
 error in Config-Version string '3.1.6-59338_Ubuntu_karmic': invalid character in revision number
martin@martin-desktop:~$ sudo apt-get install upstart
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 upstart : Breaks: libc6 (< 2.12.1-0ubuntu10.2) but 2.12.1-0ubuntu10.1 is to be installed
E: Broken packages
martin@martin-desktop:~$

Best al.cadd9 (al.cadd9) said : #8

The bug report is being closed because the issue was resolved https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/711601/comments/7 . If the update isn't available to you atm just wait until your mirror catches on.

Thanks al.cadd9, that solved my question.