-
Senior Member
registered user
Apt-Get Dependency Problem
Fresh install of Knoppix 5.0 , I used apt-get update to update source lists then
apt-get install kde and also
apt-get install openoffice.org
which failed to install.
If I use apt-get -f install (output is below)
root@orac:/home/anc# 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-common
Suggested packages:
bsh-doc
Recommended packages:
xlibs openoffice.org-style-industrial openoffice.org-style-crystal
openoffice.org-style-hicontrast
The following NEW packages will be installed:
bsh openoffice.org-common
0 upgraded, 2 newly installed, 0 to remove and 745 not upgraded.
58 not fully installed or removed.
Need to get 0B/27.4MB of archives.
After unpacking 55.0MB of additional disk space will be used.
Do you want to continue [Y/n]?
(Reading database ... 127676 files and directories currently installed.)
Unpacking openoffice.org-common (from .../openoffice.org-common_2.0.4.dfsg.2-2_all.deb) ...
dpkg: error processing /var/cache/apt/archives/openoffice.org-common_2.0.4.dfsg.2-2_all.deb (--unpack):
trying to overwrite `/usr/bin/openoffice', which is also in package openoffice-de-en
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
Errors were encountered while processing:
/var/cache/apt/archives/openoffice.org-common_2.0.4.dfsg.2-2_all.deb
/var/cache/apt/archives/bsh_2.0b4-4_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
How can I resolve this? Thanks in advance.
-
Senior Member
registered user
" trying to overwrite `/usr/share/man/man1/bsh.1.gz', which is also in package ash-knoppix-26 "
There is your clue
... and for this situation the only one apt is going to give ya ..
resolve by removing the package ash-knoppix-26.. It isnt needed in a HD install anyway.
with:
[code]
dpkg -r ash-knoppix-26
[code]
Then you can finish your upgrade. ... If your goes like mine last couple there will be another package or 2 youll have to get around this way. Even if it ends up being something you need... go ahead and remove it - You can always reinstall it once your upgrade is done.
Take Care,
-Justin
One Mynds Eye
-
Senior Member
registered user

Originally Posted by
onemyndseye
" trying to overwrite `/usr/share/man/man1/bsh.1.gz', which is also in package ash-knoppix-26 "
There is your clue

... and for this situation the only one apt is going to give ya ..
resolve by removing the package ash-knoppix-26.. It isnt needed in a HD install anyway.
with:
[code]
dpkg -r ash-knoppix-26
[code]
Then you can finish your upgrade. ... If your goes like mine last couple there will be another package or 2 youll have to get around this way. Even if it ends up being something you need... go ahead and remove it - You can always reinstall it once your upgrade is done.
Take Care,
-Justin
One Mynds Eye
Thanks Justin, that took care of it.
I also had to remove dpkg -r openoffice-de-en
and then run apt-get -f install which has took acre of things for me. Thanks a lot.
-
Senior Member
registered user
Most welcome
Similar Threads
-
By nobodie in forum General Support
Replies: 6
Last Post: 03-15-2010, 09:04 PM
-
By tophat in forum General Support
Replies: 0
Last Post: 07-20-2007, 12:07 AM
-
By dobell in forum General Support
Replies: 0
Last Post: 06-16-2004, 12:35 PM
-
By triveditej in forum Customising & Remastering
Replies: 0
Last Post: 01-22-2004, 05:51 PM
-
By stefan741 in forum General Support
Replies: 6
Last Post: 12-06-2003, 04:01 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Apple Mac Pro 2019 1TB OEM SSD Kit-768GB +384GB - 656-0119/ 656-0120
$69.99

Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot
$155.00

Dell Latitude 15.6” FHD Core i5 Laptop PC Up To 32GB RAM 1TB SSD Windows 11
$489.92

Western Digital 1TB 3.5" SATA III 7200RPM Desktop Hard Drive
$34.99

1TB Kingston DataTraveler Max DTMAX/1TB USB Type-C Flash Drive
$86.95

SAMSUNG T7 Portable SSD 1TB Indigo Blue USB 3.2 Gen2 External MU-PC1T0H/AM
$159.99

Netac 2TB 1TB 500GB Internal SSD M.2 NVMe PCIe3.0 Solid State Drive lot
$129.99

Acer Predator Helios Neo 16S AI 16" i9 275HX 2S RTX 5070 Ti 32GB 1TB SSD Refurb
$1746.47

Dell Latitude 14" Laptop Computer Intel i5 Up To 32GB RAM 1TB SSD Windows 11 Pro
$545.25

External SSD 1TB 2TB 4TB Portable Hard Drive USB 3.0 Type-C High Speed PC Mac
$19.99