LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-14-2006, 10:20 PM   #1
mbman
LQ Newbie
 
Registered: Dec 2005
Distribution: mandriva 2006
Posts: 4

Rep: Reputation: 0
synaptic package manager forcing me to delete a broken package


I recently installed a version of mozilla sunbird on my system that
despite being flagged for missing dependacies on install has worked fine, but now everytime I use the package manager it gives me a error detecting a broken package and will not let me install anything else unless I remove the broken sunbird package. Is there a way to get the synaptic package manager to ignore broken packages?

Using the 0.57.4 version with ubuntu 5.10

Thanks
mike
 
Old 04-15-2006, 08:26 AM   #2
TuxSurfer
Member
 
Registered: May 2004
Location: NC USA
Distribution: Linux Mint "Nadia" - Cinnamon Flavored
Posts: 267

Rep: Reputation: 32
Post Check this...

"As APT is quite strict about the consistency of the system broken packages are not allowed (as well as broken rpm database entries).
In order to avoid such situations operations involving the RPM flags --force and --nodeps should be avoided. If however the system state is already inconsistent executing:

/usr/bin/apt-get check

will suggest a repair solution. One of most common problems is related to interrupted apt-get or rpm transaction (when the process was killed for example): such transcations may result in some duplicated packages. In order to fix the system duplicates shall be removed manually running

/usr/bin/apt-get remove packagename"

This is a quote from http://linux.web.cern.ch/linux/scien...waremgmt.shtml
Lots of useful info here, hope this helps.
 
Old 04-15-2006, 08:33 AM   #3
berbae
Member
 
Registered: Jul 2005
Location: France
Distribution: Arch Linux
Posts: 540

Rep: Reputation: Disabled
Hello
What package(s) did you miss when you installed Mozilla Sunbird?
Can't you install those, to resolve the broken package which prevent you from using apt/synaptic?
 
Old 04-15-2006, 09:22 AM   #4
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 50
you can remove it and try :
Code:
apt-get install mozilla-calendar
 
Old 04-15-2006, 10:52 AM   #5
mbman
LQ Newbie
 
Registered: Dec 2005
Distribution: mandriva 2006
Posts: 4

Original Poster
Rep: Reputation: 0
missing packages

An apt-get check shows the following missing dependancies:

The following packages have unmet dependencies:
sunbird: Depends: libcairo2 (>= 1.0.2-2) but 1.0.2-0ubuntu1 is installed
Depends: libgcc1 (>= 1:4.0.2) but 1:4.0.1-4ubuntu9 is installed
Depends: libglib2.0-0 (>= 2.8.5) but 2.8.3-0ubuntu1 is installed
Depends: libpango1.0-0 (>= 1.10.2) but 1.10.1-0ubuntu1 is installed
Depends: libstdc++6 (>= 4.0.2-4) but 4.0.1-4ubuntu9 is installed
Depends: libxrender1 (>= 1:0.9.0.2) but 1:0.9.0-1 is installed
E: Unmet dependencies. Try using -f.

Any place I could pick up these supposedly needed packages as none of the repositories seem to have such up to date versions.

Or failing that a simple hack to keep apt-get quiet would be nice

Thanks
 
Old 04-16-2006, 12:08 PM   #6
berbae
Member
 
Registered: Jul 2005
Location: France
Distribution: Arch Linux
Posts: 540

Rep: Reputation: Disabled
From what you say, I deduce that you didn't use a Ubuntu rpm package to install Mozilla Sunbird, and you installed it outside apt/synaptic.
If that means that there doesn't exist a package for your distribution, it is generally not recommended to use packages for other Linux distributions.
So either you update the packages of your current distribution, but you say that it is not possible,
or you uninstall Mozilla Sunbird rpm package and you reinstall it, but with a compressed tar file instead (even compiling it yourself, if binary tar files are not available). So your rpm database will not be affected.
And generally it is preferable to follow the dependencies mentioned in README or INSTALL files.
These are general counsels because I don't use Ubuntu myself.
You may also write to Ubuntu forums to find more specific help for your distribution.
I hope you will find a solution to your problem.

Edit: You may also try the Smart package manager which seems to tolerate broken relations in installed packages. see Smart site

Last edited by berbae; 04-17-2006 at 04:12 AM.
 
Old 04-25-2006, 09:30 AM   #7
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 231Reputation: 231Reputation: 231
Am I missing something, since when is there such a thing as a "Ubuntu rpm package"?
 
  


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
synaptic package manager for FC5 aditya1 Fedora 1 04-01-2006 08:23 AM
Synaptic Package Manager bignester Linux - Software 1 09-08-2005 04:50 AM
Errors in Synaptic Package Manager Cinematography Ubuntu 6 06-10-2005 07:04 AM
Synaptic package manager on Fedora Core 3 joao_foscarini Linux - Newbie 7 04-20-2005 11:13 AM
something like getapt or Synaptic Package Manager 2782d4 Mandriva 1 04-25-2004 11:38 AM


All times are GMT -5. The time now is 10:50 AM.

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