LinHES Forums http://forum.linhes.org/ |
|
apt-get failure when installing openoffice on R5E50 http://forum.linhes.org/viewtopic.php?f=14&t=13346 |
Page 1 of 1 |
Author: | jeffwight [ Sun Jan 07, 2007 1:01 am ] |
Post subject: | apt-get failure when installing openoffice on R5E50 |
I'm hoping someone can help me out with this one. I hit a dependency snag when trying to install openoffice.org using apt-get. I am using Knoppmyth R5E50 with only a couple of other packages installed (ddclient, firefox). I'm not an apt-get expert and I've never encountered a dependency error before. I don't want to get careless and trash my system which is working very well. I can see the conflict that is happening, but I don't know how to fix it without risking bigger problems. TIA, -Jeff Here is what I get from apt-get: root@mythtv2:/usr/share/fonts/truetype/msttcorefonts# apt-get check 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: Depends: openoffice.org-java-common but it is not installed openoffice.org-base: Depends: openoffice.org-java-common but it is not installed E: Unmet dependencies. Try using -f. When I run apt-get -f install, I get this: root@mythtv2:/usr/share/fonts/truetype/msttcorefonts# apt-get -f install Reading package lists... Done Building dependency tree... Done Correcting dependencies... Done The following extra packages will be installed: bsh openoffice.org-java-common Suggested packages: bsh-doc Recommended packages: xlibs The following NEW packages will be installed: bsh openoffice.org-java-common 0 upgraded, 2 newly installed, 0 to remove and 240 not upgraded. 38 not fully installed or removed. Need to get 3179kB of archives. After unpacking 4047kB of additional disk space will be used. Do you want to continue [Y/n]? Y Get:1 http://ftp.debian.org sid/main bsh 2.0b4-4 [270kB] Get:2 http://ftp.debian.org sid/main openoffice.org-java-common 2.0.4.dfsg.2-2 [2909kB] Fetched 3179kB in 8s (396kB/s) (Reading database ... 90344 files and directories currently installed.) Unpacking bsh (from .../archives/bsh_2.0b4-4_all.deb) ... dpkg: error processing /var/cache/apt/archives/bsh_2.0b4-4_all.deb (--unpack): trying to overwrite `/usr/share/man/man1/bsh.1.gz', which is also in package ash-knoppix-26 Selecting previously deselected package openoffice.org-java-common. Unpacking openoffice.org-java-common (from .../openoffice.org-java-common_2.0.4.dfsg.2-2_all.deb) ... Errors were encountered while processing: /var/cache/apt/archives/bsh_2.0b4-4_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1) |
Author: | cecil [ Sun Jan 07, 2007 4:23 am ] |
Post subject: | |
Code: dpkg --force-overwrite -i /var/cache/apt/archives/bsh_2.0b4-4_all.deb
|
Author: | mjl [ Sun Jan 07, 2007 12:40 pm ] |
Post subject: | |
Hi, Thanks as I was about to add oo also so with Cecil's tip we both can be good to go ![]() Quote: 0 upgraded, 2 newly installed, 0 to remove and 240 not upgraded. As long as it is only newly installed I have not had any breakages, it is the other two that are the KM killers.
Mike |
Author: | jeffwight [ Sun Jan 07, 2007 1:30 pm ] |
Post subject: | |
Thanks for the help. I ran the command you suggested, followed again by 'apt-get -f install' and all is good. R5E50 is working great for me, thanks for all of the hard work. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |