PDA

View Full Version : Apt-Get Error



slush1000
01-23-2006, 10:04 PM
Every time I try to install or upgrade a package I get this error:

Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
openoffice.org-java-common: Depends: bsh (>= 2.0b4-1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
RESULT=100

So I try 'apt-get -f install' and get the following errors

dpkg: error processing /var/cahe/apt/archives/bsh_2.0b4-2_all.deb (--unpack):
trying to ovewrite /usr/share/man/man1/bsh.1.gz , which is also in package as h-knoppix
Errors were encountered while processing:
/var/cahce/apt/archives/bsh_2.04-2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I dont know where to go from here, any advise apreciated.

Thanks
Linux-newbie

Dave_Bechtel
01-24-2006, 12:45 AM
Try ' dpkg -i --force-overwrite /var/cache/apt/archives/bsh*.deb '
then ' apt-get -f install '
then ' dpkg --configure -a '


Every time I try to install or upgrade a package I get this error:

Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
openoffice.org-java-common: Depends: bsh (>= 2.0b4-1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
RESULT=100

So I try 'apt-get -f install' and get the following errors

dpkg: error processing /var/cahe/apt/archives/bsh_2.0b4-2_all.deb (--unpack):
trying to ovewrite /usr/share/man/man1/bsh.1.gz , which is also in package as h-knoppix
Errors were encountered while processing:
/var/cahce/apt/archives/bsh_2.04-2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I dont know where to go from here, any advise apreciated.

Thanks
Linux-newbie

pterandon
11-15-2006, 03:58 AM
Hey, thanks greatly, Dave!

This is great advice. It fixed some serious problems where my system was practically unusable.