Try ' dpkg -i --force-overwrite /var/cache/apt/archives/bsh*.deb '
then ' apt-get -f install '
then ' dpkg --configure -a '
Originally Posted by slush1000
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
Try ' dpkg -i --force-overwrite /var/cache/apt/archives/bsh*.deb '
then ' apt-get -f install '
then ' dpkg --configure -a '
Originally Posted by slush1000
Hey, thanks greatly, Dave!
This is great advice. It fixed some serious problems where my system was practically unusable.

TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch
$19.99
Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch
$46.99
5 Port Gigabit Unmanaged Ethernet Switch, Home Network Hub, Office Ethernet S...
$9.64
10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W
$39.99
Arista DCS-7010T-48-R 48P 1GbE 4P 10GbE SFP+ RA Switch with rack mounts
$69.00
TP-Link TL-SG2210P 10-Port Gigabit Smart Switch w/ 8-Port PoE+ NO AC SKU 25597
$36.98
TP-Link TL-SG105, 5 Port Gigabit Unmanaged Ethernet Switch, Network Hub, Ethern
$15.25
Cisco Catalyst WS-C2960X-48FPD-L 48-Port Gigabit Managed PoE+ Ethernet Switch
$69.99
TP-Link TL-SG1048 48-Port Gigabit Rackmount Switch New Factory Sealed
$199.99
NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch
$49.99