Results 1 to 3 of 3
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' ...
- 01-23-2006 #1Just Joined!
- Join Date
- Jan 2006
- Posts
- 5
Apt-Get Error
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
- 01-23-2006 #2
I am no expert but you could try and clear out that folder
/var/cahce/apt/archives/bsh_2.04-2_all.deb
it seems I have had corrupt stuff in there before
- 01-24-2006 #3Linux Newbie
- Join Date
- Jul 2005
- Posts
- 122
My experience with messages like that is that you don't have a file available on your computer or in your repositories that openoffice needs.
There are two solutions.
Find the package "bsh" and install it from source
OR
Add more repositories to your os. If you want to go this routes you might want to mess with some of the repositories on my list which I posted below.
To edit your repositories list log into root in the terminal and edit this file: /etc/apt/sources.list with command such as this: kwrite /etc/apt/sources.list
and copy whatever repositories that look helpful from below.
# Official Debian archives
# deb http://security.debian.org/ stable/updates main contrib non-free
deb http://secure-testing.debian.net/debian-secure-testing testing/security-updates main contrib non-free
deb http://http.us.debian.org/debian/ stable main contrib non-free
deb http://http.us.debian.org/debian/ testing main contrib non-free
deb http://http.us.debian.org/debian/ unstable main contrib non-free
# Experimental
deb http://http.us.debian.org/debian/ ../project/experimental main contrib
# KDE 3.5
deb http://pkg-kde.alioth.debian.org/kde-3.5.0/ ./
# K3B
deb http://www.planet-moll.de/debian/ sarge main
# k9copy, knmap, etc.
# http://repos.knio.it
deb http://repos.knio.it/ testing main contrib non-free
deb http://repos.knio.it/ unstable main contrib non-free
# unofficial packages by Christian Marillat:
# acroread, mplayer & friends, realplayer, others.
# see http://hpisi.nerim.net
deb ftp://ftp.nerim.net/debian-marillat/ sarge main
deb ftp://ftp.nerim.net/debian-marillat/ sid main
deb ftp://ftp.nerim.net/debian-marillat/ etch main
deb ftp://ftp.nerim.net/debian-marillat/ experimental main
# Kalyxo (http://kalyxo.mornfall.net):
# Qt themes for GTK; KDE goodies for Debian.
deb http://archive.kalyxo.org/kalyxo/ staging main
deb http://archive.kalyxo.org/kalyxo/ experimental main
deb http://62.104.23.254/kalyxo/ staging main
deb http://62.104.23.254/kalyxo/ experimental main
# bootsplash themes
deb http://debian.bootsplash.de unstable main
# Matthias Ulrich: gpgsm, brings S/MIME support to KMail
deb http://smurf.noris.de/code/debian/ experimental smurf
# Real Time custom repository: PwManager
deb ftp://ftp.real-time.com/linux/real-time unstable custom
# another mplayer source
deb http://debian.kcore.org/ ./
# backports, sideports, almost-official packages
deb http://debian.jones.dk/ sarge misc
deb http://debian.jones.dk/ sid misc
# NuFW
deb http://www.nufw.org/debian/ unstable/
# TeX Live: http://www.tug.org/texlive/debian.html
deb http://www.tug.org/texlive/Debian/ pool/
Good Luck
-FanFanThere is no problem so complicated that you cannot find a very simple answer to it if you look at it in the right way


Reply With Quote
