Results 1 to 8 of 8
Hi,
i'm trying to install some packages on fedora fc4 using apt / yum , and keep running into dependency errors. This one i can't figure out though because it ...
- 10-16-2005 #1
problems with dependencies?
Hi,
i'm trying to install some packages on fedora fc4 using apt / yum, and keep running into dependency errors. This one i can't figure out though because it won't let me remove the bad package..
when i try to install something using apt, i get the error message:
so i go to shell and try apt-get --fix-broken installYou might want to run `apt-get --fix-broken install' to correct these:
The following packages have unmet dependencies:
xml-commons-apis#0:1.0-0.b2.6jpp_12fc: Depends: xml-commons (= 0:1.0-0.b2.6jpp_12fc) but 0:1.3.02-1jpp is to be installed
The following packages will be REMOVED:
xml-commons-apis#0:1.0-0.b2.6jpp_12fc (0:1.0-0.b2.6jpp_12fc)
0 upgraded, 0 newly installed, 1 removed and 59 not upgraded.
Need to get 0B of archives.
After unpacking 3980kB disk space will be freed.
Do you want to continue? [Y/n] Y
Committing changes...
Preparing... ########################################### [100%]
/var/tmp/rpm-tmp.33524: line 1: rebuild-gcj-db: command not found
error: %postun(xml-commons-apis-1.0-0.b2.6jpp_12fc.i386) scriptlet failed, exit status 127
W: Some errors occurred while running transaction
Last, i decide to try rpm:
[root@resnet-10-9-4-86 ~]# rpm -e xml-commons-apis-1.0-0.b2.6jpp_12fc.i386
/var/tmp/rpm-tmp.24182: line 1: rebuild-gcj-db: command not found
error: %postun(xml-commons-apis-1.0-0.b2.6jpp_12fc.i386) scriptlet failed, exit status 127
I'm stumped
Anyone have any suggestions, or run into similar problems? Any help would be greatly appreciated.
Thanks,
Keith
- 10-16-2005 #2Linux Engineer
- Join Date
- Apr 2005
- Location
- Belgium
- Posts
- 1,429
The problem is you're trying to replace a version that is already on your system by another one needed by the program you just installed. I think you installed something that needed to downgrade the xml-commons package, which it did, with as a result broken dependencies. You should find out what program install caused that. Downgrading can give a hell of a dependency problem, trust me
.
** Registered Linux User # 393717 and proud of it
** Check out www.zenwalk.org
** Zenwalk 2.8 - Xfce 4.4 beta 2- 2.6.17.6 kernel = Slack on steroids! **
- 10-16-2005 #3Linux Engineer
- Join Date
- Jan 2005
- Location
- Chicago (USA)
- Posts
- 1,028
Sounds like you mixed the RPMForge repositories with extras/Livna. The easiest fix for this is reinstallation then going with one set of repositories.
- 10-17-2005 #4
is there any easy way to reinstall problematic programs without having to wipe the entire system and start fresh?
- 10-17-2005 #5Linux Engineer
- Join Date
- Jan 2005
- Location
- Chicago (USA)
- Posts
- 1,028
I doubt it.
- 10-17-2005 #6Linux Enthusiast
- Join Date
- Aug 2005
- Location
- Hell
- Posts
- 514
Re: problems with dependencies?
Try "rpm -e --nopostun ..." to not run the postuninstall script.
Originally Posted by hughitt1
- 10-18-2005 #7
Thanks spoon,
I tried that and it worked fine. I still have about 4930223 other dependency problems, but now at least there is one less, and i was able to install kdegeography
- 02-26-2007 #8Just Joined!
- Join Date
- Feb 2007
- Posts
- 2
Good tip
The nopostun comment was the start of me investigating the --noscripts options, which helped me greatly to get a package uninstalled.
Originally Posted by spoon!
BTW...my first post here.


Reply With Quote
