can't upgrade from 9.04 to 9.10: Could not calculate the upgrade

Asked by doron rotem

* this is the error message i get:

Could not calculate the upgrade

An unresolvable problem occurred while calculating the upgrade:
E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

 This can be caused by:
 * Upgrading to a pre-release version of Ubuntu
 * Running the current pre-release version of Ubuntu
 * Unofficial software packages not provided by Ubuntu

If none of this applies, then please report this bug against the 'update-manager' package and include the files in /var/log/dist-upgrade/ in the bug report.

* i tried uninstalling openoffice but it didn't help.
* this is my sources.list:
# deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090420.1)]/ jaunty main restricted
deb-src http://mirror.isoc.org.il/pub/ubuntu/ jaunty main restricted #Added by software-properties
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://mirror.isoc.org.il/pub/ubuntu/ jaunty main restricted universe
deb-src http://mirror.isoc.org.il/pub/ubuntu/ jaunty multiverse #Added by software-properties

## Major bug fix updates produced after the final release of the
## distribution.
deb http://mirror.isoc.org.il/pub/ubuntu/ jaunty-updates main restricted universe
deb-src http://mirror.isoc.org.il/pub/ubuntu/ jaunty-updates restricted main multiverse #Added by software-properties

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://mirror.isoc.org.il/pub/ubuntu/ jaunty multiverse
deb http://mirror.isoc.org.il/pub/ubuntu/ jaunty-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://il.archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse
deb-src http://il.archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu jaunty partner
deb-src http://archive.canonical.com/ubuntu jaunty partner

deb http://mirror.isoc.org.il/pub/ubuntu/ jaunty-security main restricted universe
deb-src http://mirror.isoc.org.il/pub/ubuntu/ jaunty-security restricted main multiverse #Added by software-properties
deb http://mirror.isoc.org.il/pub/ubuntu/ jaunty-security multiverse
deb http://download.virtualbox.org/virtualbox/debian jaunty non-free

anyone has an idea?

Question information

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

Can you give the output of:

sudo apt-get clean; sudo apt-get update; sudo apt-get upgrade; sudo apt-get dist-upgrade; sudo apt-get --reinstall install nano

Thanks

Revision history for this message
doron rotem (doronrotem) said :
#2

* sudo apt-get clean
no output

* sudo apt-get update:
Hit http://il.archive.ubuntu.com jaunty-backports Release.gpg
Hit http://mirror.isoc.org.il jaunty Release.gpg
Ign http://mirror.isoc.org.il jaunty/main Translation-en_US
Hit http://il.archive.ubuntu.com jaunty-backports Release
Ign http://mirror.isoc.org.il jaunty/restricted Translation-en_US
Ign http://mirror.isoc.org.il jaunty/universe Translation-en_US
Ign http://mirror.isoc.org.il jaunty/multiverse Translation-en_US
Hit http://mirror.isoc.org.il jaunty-updates Release.gpg
Ign http://mirror.isoc.org.il jaunty-updates/main Translation-en_US
Ign http://mirror.isoc.org.il jaunty-updates/restricted Translation-en_US
Ign http://mirror.isoc.org.il jaunty-updates/universe Translation-en_US
Ign http://mirror.isoc.org.il jaunty-updates/multiverse Translation-en_US
Hit http://mirror.isoc.org.il jaunty-security Release.gpg
Ign http://mirror.isoc.org.il jaunty-security/main Translation-en_US
Ign http://mirror.isoc.org.il jaunty-security/restricted Translation-en_US
Hit http://il.archive.ubuntu.com jaunty-backports/main Sources
Ign http://mirror.isoc.org.il jaunty-security/universe Translation-en_US
Ign http://mirror.isoc.org.il jaunty-security/multiverse Translation-en_US
Hit http://mirror.isoc.org.il jaunty Release
Hit http://mirror.isoc.org.il jaunty-updates Release
Hit http://il.archive.ubuntu.com jaunty-backports/restricted Sources
Hit http://il.archive.ubuntu.com jaunty-backports/universe Sources
Hit http://il.archive.ubuntu.com jaunty-backports/multiverse Sources
Hit http://mirror.isoc.org.il jaunty-security Release
Hit http://mirror.isoc.org.il jaunty/main Sources
Hit http://mirror.isoc.org.il jaunty/restricted Sources
Hit http://mirror.isoc.org.il jaunty/main Packages
Hit http://mirror.isoc.org.il jaunty/restricted Packages
Hit http://mirror.isoc.org.il jaunty/universe Packages
Hit http://mirror.isoc.org.il jaunty/multiverse Sources
Hit http://mirror.isoc.org.il jaunty/multiverse Packages
Hit http://archive.canonical.com jaunty Release.gpg
Ign http://archive.canonical.com jaunty/partner Translation-en_US
Hit http://mirror.isoc.org.il jaunty-updates/main Packages
Hit http://mirror.isoc.org.il jaunty-updates/restricted Packages
Hit http://mirror.isoc.org.il jaunty-updates/universe Packages
Hit http://mirror.isoc.org.il jaunty-updates/restricted Sources
Hit http://mirror.isoc.org.il jaunty-updates/main Sources
Hit http://mirror.isoc.org.il jaunty-updates/multiverse Sources
Hit http://mirror.isoc.org.il jaunty-updates/multiverse Packages
Hit http://mirror.isoc.org.il jaunty-security/main Packages
Hit http://mirror.isoc.org.il jaunty-security/restricted Packages
Hit http://mirror.isoc.org.il jaunty-security/universe Packages
Hit http://mirror.isoc.org.il jaunty-security/restricted Sources
Hit http://mirror.isoc.org.il jaunty-security/main Sources
Hit http://mirror.isoc.org.il jaunty-security/multiverse Sources
Hit http://mirror.isoc.org.il jaunty-security/multiverse Packages
Hit http://archive.canonical.com jaunty Release
Hit http://archive.canonical.com jaunty/partner Packages
Hit http://archive.canonical.com jaunty/partner Sources
Get:1 http://packages.medibuntu.org jaunty Release.gpg [197B]
Ign http://packages.medibuntu.org jaunty/free Translation-en_US
Ign http://packages.medibuntu.org jaunty/non-free Translation-en_US
Get:2 http://download.virtualbox.org jaunty Release.gpg [197B]
Get:3 http://packages.medibuntu.org jaunty Release [11.7kB]
Ign http://download.virtualbox.org jaunty/non-free Translation-en_US
Get:4 http://download.virtualbox.org jaunty Release [3446B]
Ign http://download.virtualbox.org jaunty Release
Hit http://packages.medibuntu.org jaunty/free Packages
Hit http://download.virtualbox.org jaunty/non-free Packages
Hit http://packages.medibuntu.org jaunty/non-free Packages
Hit http://packages.medibuntu.org jaunty/free Sources
Hit http://packages.medibuntu.org jaunty/non-free Sources
Fetched 12.1kB in 1s (6728B/s)
Reading package lists... Done
W: GPG error: http://download.virtualbox.org jaunty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 54422A4B98AB5139
W: You may want to run apt-get update to correct these problems

* sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  virtualbox-3.2
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 49.5MB of archives.
After this operation, 119kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
WARNING: The following packages cannot be authenticated!
  virtualbox-3.2
Install these packages without verification [y/N]? y
Get:1 http://download.virtualbox.org jaunty/non-free virtualbox-3.2 3.2.6-63112~Ubuntu~jaunty [49.5MB]
Fetched 49.5MB in 12min 18s (67.0kB/s)
Preconfiguring packages ...
(Reading database ... 254444 files and directories currently installed.)
Preparing to replace virtualbox-3.2 3.2.4-62467~Ubuntu~jaunty (using .../virtualbox-3.2_3.2.6-63112~Ubuntu~jaunty_i386.deb) ...
 * Stopping VirtualBox kernel module
 * done.
Unpacking replacement virtualbox-3.2 ...
Setting up virtualbox-3.2 (3.2.6-63112~Ubuntu~jaunty) ...
addgroup: The group `vboxusers' already exists as a system group. Exiting.
 * Starting VirtualBox kernel module
 * done.

Revision history for this message
doron rotem (doronrotem) said :
#3

* sudo apt-get dist-upgrade
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.

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

gpg --keyserver keyserver.ubuntu.com --recv-keys 98AB5139 && gpg --export --armor 98AB5139 | sudo apt-key add -

Will get the packages authenticated, the upgrade should then be possible.

Revision history for this message
doron rotem (doronrotem) said :
#5

* getting the key didn't help.

* apt-get --reinstall install nano
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 299kB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://mirror.isoc.org.il jaunty/main nano 2.0.9-2 [299kB]
Fetched 299kB in 0s (437kB/s)
(Reading database ... 254444 files and directories currently installed.)
Preparing to replace nano 2.0.9-2 (using .../archives/nano_2.0.9-2_i386.deb) ...
Unpacking replacement nano ...
Processing triggers for man-db ...
Processing triggers for doc-base ...
Processing 2 changed doc-base file(s)...
Registering documents with scrollkeeper...
Setting up nano (2.0.9-2) ...

still get the same error when trying to upgrade to 9.10

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

What was the oputput of the command I gave to import the key?

Revision history for this message
doron rotem (doronrotem) said :
#7

gpg --keyserver keyserver.ubuntu.com --recv-keys 98AB5139 && gpg --export --armor 98AB5139 | sudo apt-key add -
gpg: requesting key 98AB5139 from hkp server keyserver.ubuntu.com
gpg: key 98AB5139: public key "Oracle Corporation (VirtualBox archive signing key) <email address hidden>" imported
gpg: Total number processed: 1
gpg: imported: 1
OK

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

Cool, ok try:

sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get --fix-missing install
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get clean
sudo apt-get autoremove
sudo apt-get update

Then try the upgrade method.

Revision history for this message
doron rotem (doronrotem) said :
#9

thanks for your help, but there is no change.

* sudo dpkg --configure -a
no output.

* 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.

* 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.

* sudo apt-get update
Hit http://mirror.isoc.org.il jaunty Release.gpg
Ign http://mirror.isoc.org.il jaunty/main Translation-en_US
Ign http://mirror.isoc.org.il jaunty/restricted Translation-en_US
Ign http://mirror.isoc.org.il jaunty/universe Translation-en_US
Hit http://il.archive.ubuntu.com jaunty-backports Release.gpg
Ign http://mirror.isoc.org.il jaunty/multiverse Translation-en_US
Hit http://mirror.isoc.org.il jaunty-updates Release.gpg
Ign http://mirror.isoc.org.il jaunty-updates/main Translation-en_US
Ign http://mirror.isoc.org.il jaunty-updates/restricted Translation-en_US
Ign http://mirror.isoc.org.il jaunty-updates/universe Translation-en_US
Ign http://mirror.isoc.org.il jaunty-updates/multiverse Translation-en_US
Hit http://mirror.isoc.org.il jaunty-security Release.gpg
Ign http://mirror.isoc.org.il jaunty-security/main Translation-en_US
Ign http://mirror.isoc.org.il jaunty-security/restricted Translation-en_US
Ign http://mirror.isoc.org.il jaunty-security/universe Translation-en_US
Ign http://mirror.isoc.org.il jaunty-security/multiverse Translation-en_US
Hit http://il.archive.ubuntu.com jaunty-backports Release
Hit http://mirror.isoc.org.il jaunty Release
Hit http://mirror.isoc.org.il jaunty-updates Release
Hit http://mirror.isoc.org.il jaunty-security Release
Hit http://mirror.isoc.org.il jaunty/main Sources
Hit http://mirror.isoc.org.il jaunty/restricted Sources
Hit http://il.archive.ubuntu.com jaunty-backports/main Sources
Hit http://mirror.isoc.org.il jaunty/main Packages
Hit http://mirror.isoc.org.il jaunty/restricted Packages
Hit http://mirror.isoc.org.il jaunty/universe Packages
Hit http://mirror.isoc.org.il jaunty/multiverse Sources
Hit http://mirror.isoc.org.il jaunty/multiverse Packages
Hit http://mirror.isoc.org.il jaunty-updates/main Packages
Hit http://mirror.isoc.org.il jaunty-updates/restricted Packages
Hit http://mirror.isoc.org.il jaunty-updates/universe Packages
Hit http://archive.canonical.com jaunty Release.gpg
Ign http://archive.canonical.com jaunty/partner Translation-en_US
Hit http://mirror.isoc.org.il jaunty-updates/restricted Sources
Hit http://il.archive.ubuntu.com jaunty-backports/restricted Sources
Hit http://il.archive.ubuntu.com jaunty-backports/universe Sources
Hit http://mirror.isoc.org.il jaunty-updates/main Sources
Hit http://mirror.isoc.org.il jaunty-updates/multiverse Sources
Hit http://il.archive.ubuntu.com jaunty-backports/multiverse Sources
Hit http://mirror.isoc.org.il jaunty-updates/multiverse Packages
Hit http://mirror.isoc.org.il jaunty-security/main Packages
Hit http://mirror.isoc.org.il jaunty-security/restricted Packages
Hit http://mirror.isoc.org.il jaunty-security/universe Packages
Hit http://mirror.isoc.org.il jaunty-security/restricted Sources
Hit http://mirror.isoc.org.il jaunty-security/main Sources
Hit http://mirror.isoc.org.il jaunty-security/multiverse Sources
Hit http://mirror.isoc.org.il jaunty-security/multiverse Packages
Hit http://archive.canonical.com jaunty Release
Get:1 http://packages.medibuntu.org jaunty Release.gpg [197B]
Ign http://packages.medibuntu.org jaunty/free Translation-en_US
Hit http://archive.canonical.com jaunty/partner Packages
Ign http://packages.medibuntu.org jaunty/non-free Translation-en_US
Get:2 http://packages.medibuntu.org jaunty Release [11.7kB]
Hit http://archive.canonical.com jaunty/partner Sources
Get:3 http://download.virtualbox.org jaunty Release.gpg [197B]
Ign http://download.virtualbox.org jaunty/non-free Translation-en_US
Hit http://packages.medibuntu.org jaunty/free Packages
Get:4 http://download.virtualbox.org jaunty Release [3446B]
Ign http://download.virtualbox.org jaunty Release
Hit http://packages.medibuntu.org jaunty/non-free Packages
Hit http://download.virtualbox.org jaunty/non-free Packages
Hit http://packages.medibuntu.org jaunty/free Sources
Hit http://packages.medibuntu.org jaunty/non-free Sources
Fetched 12.1kB in 1s (7235B/s)
Reading package lists... Done
W: GPG error: http://download.virtualbox.org jaunty Release: The following signatures were invalid: BADSIG 54422A4B98AB5139 Oracle Corporation (VirtualBox archive signing key) <email address hidden>
W: You may want to run apt-get update to correct these problems

* sudo apt-get dist-upgrade
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.

* sudo apt-get clean
no output.

* sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

* sudo apt-get update
Hit http://mirror.isoc.org.il jaunty Release.gpg
Ign http://mirror.isoc.org.il jaunty/main Translation-en_US
Ign http://mirror.isoc.org.il jaunty/restricted Translation-en_US
Hit http://il.archive.ubuntu.com jaunty-backports Release.gpg
Ign http://mirror.isoc.org.il jaunty/universe Translation-en_US
Ign http://mirror.isoc.org.il jaunty/multiverse Translation-en_US
Hit http://mirror.isoc.org.il jaunty-updates Release.gpg
Ign http://mirror.isoc.org.il jaunty-updates/main Translation-en_US
Ign http://mirror.isoc.org.il jaunty-updates/restricted Translation-en_US
Ign http://mirror.isoc.org.il jaunty-updates/universe Translation-en_US
Ign http://mirror.isoc.org.il jaunty-updates/multiverse Translation-en_US
Hit http://mirror.isoc.org.il jaunty-security Release.gpg
Hit http://il.archive.ubuntu.com jaunty-backports Release
Ign http://mirror.isoc.org.il jaunty-security/main Translation-en_US
Ign http://mirror.isoc.org.il jaunty-security/restricted Translation-en_US
Ign http://mirror.isoc.org.il jaunty-security/universe Translation-en_US
Ign http://mirror.isoc.org.il jaunty-security/multiverse Translation-en_US
Hit http://mirror.isoc.org.il jaunty Release
Hit http://il.archive.ubuntu.com jaunty-backports/main Sources
Hit http://mirror.isoc.org.il jaunty-updates Release
Hit http://mirror.isoc.org.il jaunty-security Release
Hit http://il.archive.ubuntu.com jaunty-backports/restricted Sources
Hit http://il.archive.ubuntu.com jaunty-backports/universe Sources
Hit http://il.archive.ubuntu.com jaunty-backports/multiverse Sources
Hit http://mirror.isoc.org.il jaunty/main Sources
Hit http://mirror.isoc.org.il jaunty/restricted Sources
Hit http://mirror.isoc.org.il jaunty/main Packages
Hit http://mirror.isoc.org.il jaunty/restricted Packages
Hit http://mirror.isoc.org.il jaunty/universe Packages
Hit http://mirror.isoc.org.il jaunty/multiverse Sources
Hit http://mirror.isoc.org.il jaunty/multiverse Packages
Hit http://mirror.isoc.org.il jaunty-updates/main Packages
Hit http://mirror.isoc.org.il jaunty-updates/restricted Packages
Hit http://mirror.isoc.org.il jaunty-updates/universe Packages
Hit http://mirror.isoc.org.il jaunty-updates/restricted Sources
Hit http://mirror.isoc.org.il jaunty-updates/main Sources
Hit http://mirror.isoc.org.il jaunty-updates/multiverse Sources
Hit http://mirror.isoc.org.il jaunty-updates/multiverse Packages
Hit http://mirror.isoc.org.il jaunty-security/main Packages
Hit http://mirror.isoc.org.il jaunty-security/restricted Packages
Hit http://mirror.isoc.org.il jaunty-security/universe Packages
Hit http://mirror.isoc.org.il jaunty-security/restricted Sources
Hit http://mirror.isoc.org.il jaunty-security/main Sources
Hit http://mirror.isoc.org.il jaunty-security/multiverse Sources
Hit http://mirror.isoc.org.il jaunty-security/multiverse Packages
Get:1 http://packages.medibuntu.org jaunty Release.gpg [197B]
Ign http://packages.medibuntu.org jaunty/free Translation-en_US
Ign http://packages.medibuntu.org jaunty/non-free Translation-en_US
Hit http://archive.canonical.com jaunty Release.gpg
Ign http://archive.canonical.com jaunty/partner Translation-en_US
Get:2 http://packages.medibuntu.org jaunty Release [11.7kB]
Get:3 http://download.virtualbox.org jaunty Release.gpg [197B]
Hit http://archive.canonical.com jaunty Release
Hit http://archive.canonical.com jaunty/partner Packages
Hit http://packages.medibuntu.org jaunty/free Packages
Hit http://archive.canonical.com jaunty/partner Sources
Ign http://download.virtualbox.org jaunty/non-free Translation-en_US
Hit http://packages.medibuntu.org jaunty/non-free Packages
Get:4 http://download.virtualbox.org jaunty Release [3446B]
Ign http://download.virtualbox.org jaunty Release
Hit http://download.virtualbox.org jaunty/non-free Packages
Hit http://packages.medibuntu.org jaunty/free Sources
Hit http://packages.medibuntu.org jaunty/non-free Sources
Fetched 12.1kB in 1s (6621B/s)
Reading package lists... Done
W: GPG error: http://download.virtualbox.org jaunty Release: The following signatures were invalid: BADSIG 54422A4B98AB5139 Oracle Corporation (VirtualBox archive signing key) <email address hidden>
W: You may want to run apt-get update to correct these problems

and then still can't upgrade to 9.10 with the same error.

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

wget -q http://download.virtualbox.org/virtu...racle_vbox.asc -O- | sudo apt-key add -

Should be ok, retry the command after running that

Revision history for this message
Baruch Steinberg (baruch-steinberg) said :
#11

The link above was truncated, replace the link above with this one:

http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc

Can you help with this problem?

Provide an answer of your own, or ask doron rotem for more information if necessary.

To post a message you must log in.