LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 02-16-2011, 11:19 AM   #1
Yangbo Du
LQ Newbie
 
Registered: Feb 2011
Distribution: Debian GNU, Ubuntu
Posts: 1

Rep: Reputation: 0
Recurring failure to resolve openoffice dependencies, possibly due to held packages


Distro: Ubuntu 9.10 (partially upgraded to 10.04)
Terminal log below:

yangbodu@NIC:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run ‘apt-get -f install’ to correct these.
The following packages have unmet dependencies.
openoffice.org-base: Depends: openoffice.org-core (= 1:3.2.0-7ubuntu4.2) but 1:3.1.1-5ubuntu1.3 is installed
Depends: openoffice.org-java-common (>= 1:3.2.0~) but 1:3.1.1-5ubuntu1.3 is installed
openoffice.org-base-core: Depends: openoffice.org-core (= 1:3.2.0-7ubuntu4.2) but 1:3.1.1-5ubuntu1.3 is installed
openoffice.org-calc: Depends: openoffice.org-core (= 1:3.2.0-7ubuntu4.2) but 1:3.1.1-5ubuntu1.3 is installed
openoffice.org-draw: Depends: openoffice.org-core (= 1:3.2.0-7ubuntu4.2) but 1:3.1.1-5ubuntu1.3 is installed
openoffice.org-gnome: Depends: openoffice.org-core (= 1:3.2.0-7ubuntu4.2) but 1:3.1.1-5ubuntu1.3 is installed
openoffice.org-gtk: Depends: openoffice.org-core (= 1:3.2.0-7ubuntu4.2) but 1:3.1.1-5ubuntu1.3 is installed
openoffice.org-impress: Depends: openoffice.org-core (= 1:3.2.0-7ubuntu4.2) but 1:3.1.1-5ubuntu1.3 is installed
openoffice.org-math: Depends: openoffice.org-core (= 1:3.2.0-7ubuntu4.2) but 1:3.1.1-5ubuntu1.3 is installed
openoffice.org-writer: Depends: openoffice.org-core (= 1:3.2.0-7ubuntu4.2) but 1:3.1.1-5ubuntu1.3 is installed
E: Unmet dependencies. Try using -f.
yangbodu@NIC:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run ‘apt-get -f install’ to correct these.
The following packages have unmet dependencies.
openoffice.org-base: Depends: openoffice.org-core (= 1:3.2.0-7ubuntu4.2) but 1:3.1.1-5ubuntu1.3 is installed
Depends: openoffice.org-java-common (>= 1:3.2.0~) but 1:3.1.1-5ubuntu1.3 is installed
openoffice.org-base-core: Depends: openoffice.org-core (= 1:3.2.0-7ubuntu4.2) but 1:3.1.1-5ubuntu1.3 is installed
openoffice.org-calc: Depends: openoffice.org-core (= 1:3.2.0-7ubuntu4.2) but 1:3.1.1-5ubuntu1.3 is installed
openoffice.org-draw: Depends: openoffice.org-core (= 1:3.2.0-7ubuntu4.2) but 1:3.1.1-5ubuntu1.3 is installed
openoffice.org-gnome: Depends: openoffice.org-core (= 1:3.2.0-7ubuntu4.2) but 1:3.1.1-5ubuntu1.3 is installed
openoffice.org-gtk: Depends: openoffice.org-core (= 1:3.2.0-7ubuntu4.2) but 1:3.1.1-5ubuntu1.3 is installed
openoffice.org-impress: Depends: openoffice.org-core (= 1:3.2.0-7ubuntu4.2) but 1:3.1.1-5ubuntu1.3 is installed
openoffice.org-math: Depends: openoffice.org-core (= 1:3.2.0-7ubuntu4.2) but 1:3.1.1-5ubuntu1.3 is installed
openoffice.org-writer: Depends: openoffice.org-core (= 1:3.2.0-7ubuntu4.2) but 1:3.1.1-5ubuntu1.3 is installed
E: Unmet dependencies. Try using -f.
yangbodu@NIC:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies.
openoffice.org-base: Depends: openoffice.org-core (= 1:3.2.0-7ubuntu4.2) but 1:3.1.1-5ubuntu1.3 is installed
Depends: openoffice.org-java-common (>= 1:3.2.0~) but 1:3.1.1-5ubuntu1.3 is installed
openoffice.org-base-core: Depends: openoffice.org-core (= 1:3.2.0-7ubuntu4.2) but 1:3.1.1-5ubuntu1.3 is installed
openoffice.org-calc: Depends: openoffice.org-core (= 1:3.2.0-7ubuntu4.2) but 1:3.1.1-5ubuntu1.3 is installed
openoffice.org-draw: Depends: openoffice.org-core (= 1:3.2.0-7ubuntu4.2) but 1:3.1.1-5ubuntu1.3 is installed
openoffice.org-gnome: Depends: openoffice.org-core (= 1:3.2.0-7ubuntu4.2) but 1:3.1.1-5ubuntu1.3 is installed
openoffice.org-gtk: Depends: openoffice.org-core (= 1:3.2.0-7ubuntu4.2) but 1:3.1.1-5ubuntu1.3 is installed
openoffice.org-impress: Depends: openoffice.org-core (= 1:3.2.0-7ubuntu4.2) but 1:3.1.1-5ubuntu1.3 is installed
openoffice.org-math: Depends: openoffice.org-core (= 1:3.2.0-7ubuntu4.2) but 1:3.1.1-5ubuntu1.3 is installed
openoffice.org-writer: Depends: openoffice.org-core (= 1:3.2.0-7ubuntu4.2) but 1:3.1.1-5ubuntu1.3 is installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies

In addition, I was unable to uninstall libreadline5 (since I already have libreadline6 installed). It appears that libreadline5 may be the source of this problem with dependencies.
 
Old 02-16-2011, 08:42 PM   #2
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 307Reputation: 307Reputation: 307Reputation: 307
How about trying
Code:
sudo apt-get update && sudo apt-get dist-upgrade
after changing your sources.list from karmic to lucid.
 
Old 02-16-2011, 09:49 PM   #3
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 287Reputation: 287Reputation: 287
Quote:
Originally Posted by Yangbo Du View Post
Distro: Ubuntu 9.10 (partially upgraded to 10.04)
See these on upgrading from 9.10 to 10.04:
http://www.ubuntugeek.com/how-to-upg...x-desktop.html
http://www.ubuntu.com/desktop/get-ubuntu/upgrade
http://ubuntuguide.net/how-to-upgrad...u-9-108-04-lts
Ubuntu 9.10 will reach end of life in April of this year. So it is good you are upgrading now: http://www.ubuntugeek.com/ubuntu-ver...e-details.html
And welcome to the LQ forums!

Last edited by tommcd; 02-16-2011 at 09:51 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: IBM bid reportedly held up by due diligence LXer Syndicated Linux News 0 03-21-2009 09:51 PM
Trying to install Wine, getting error possibly due to Moblock. DemonKyoto Linux - Newbie 2 10-04-2008 11:53 AM
Upgrade failed due to 'held packages' amrtuti Debian 3 07-26-2008 10:21 AM
Aptitude -- Packages being held back snuffy115 Debian 2 02-19-2007 12:18 AM
Reason for packages being held back Whitman Debian 7 07-23-2004 06:54 PM


All times are GMT -5. The time now is 09:20 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration