Find the answer to your Linux question:
Results 1 to 6 of 6
Trying to update open office from 2.1 to the latest release 2.3. This is an effort to build up my PC using Knoppix installed on a hard drive, so debian ...
  1. #1
    Just Joined!
    Join Date
    Oct 2007
    Posts
    4

    apt-get openoffice.org

    Trying to update open office from 2.1 to the latest release 2.3. This is an effort to build up my PC using Knoppix installed on a hard drive, so debian is appropriate I think. The knoppix version was5.1.1 Feb 2007.

    root@GatewayG6:~# apt-get install openoffice.org
    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-core: Depends: openoffice.org-common (> 2.2.1) but it is not going to be installed
    openoffice.org-java-common: Depends: openoffice.org-common but it is not going to be installed
    Depends: bsh (>= 2.0b4-1) but it is not going to be installed
    openoffice.org-style-andromeda: Depends: openoffice.org-common (= 2.2.1- but it is not going to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    root@GatewayG6:~#

    Running install gives :

    Do you want to continue [Y/n]? y
    (Reading database ... 111557 files and directories currently installed.)
    Unpacking openoffice.org-common (from .../openoffice.org-common_2.2.1-8_all.deb) ...
    dpkg: error processing /var/cache/apt/archives/openoffice.org-common_2.2.1-8_all.deb (--unpack):
    trying to overwrite `/usr/bin/openoffice', which is also in package openoffice-de-en
    Unpacking bsh (from .../archives/bsh_2.0b4-6_all.deb) ...
    dpkg: error processing /var/cache/apt/archives/bsh_2.0b4-6_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.2.1-8_all.deb
    /var/cache/apt/archives/bsh_2.0b4-6_all.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    root@GatewayG6:

    To fix the dependencies I've tried combinations of apt-get update, apt-get -f install, dpkg, and lately using the force-overwrite in an attempt to clear these issues. What am I missing here?
    Pat

  2. #2
    Linux Newbie chadders's Avatar
    Join Date
    Jan 2007
    Location
    Earth.
    Posts
    102
    What version are you using? (i.e. Etch, Lenny or Sid), not that this really matters, it doesn't appear that 2.3 is in any repos other than experimental... Debian -- Details of package openoffice.org in sid

    You may have to look for alternative repos that offer it. Though there's nothing wrong with 2.2 or 2.1.
    That's my two pence worth.

    Chadders.

    Use my themes... click here.

    New to Linux Forums, or Linux in general? Start here.
    Get Debian (Etch) here.
    Registered Linux user #442544.

  3. #3
    Just Joined!
    Join Date
    Oct 2007
    Posts
    4
    root@GatewayG6:~# uname -a
    Linux GatewayG6 2.6.19 #7 SMP PREEMPT Sun Dec 17 22:01:07 CET 2006 i686 GNU/Linux
    root@GatewayG6:~#

  4. #4
    Just Joined!
    Join Date
    Oct 2007
    Posts
    4
    apt-get update ends with the following. Maybe solving this issue will help with the open office upgrade.

    [snip...]

    Hit Index of / experimental/contrib Packages
    Hit Index of / experimental/non-free Packages
    Fetched 10.6MB in 1m4s (164kB/s)
    Failed to fetch http://ftp.uni-kl.de/debian-local/di...86/Packages.gz 404 Not Found [IP: 131.246.120.27 80]
    Reading package lists... Done
    W: There is no public key available for the following key IDs:
    B5D0C804ADB11277
    W: GPG error: sidux.com :: debian based live cd development sid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3916C431F80994F6
    W: You may want to run apt-get update to correct these problems
    E: Some index files failed to download, they have been ignored, or old ones used instead.
    root@GatewayG6:~#

  5. #5
    Just Joined! Sam Liu's Avatar
    Join Date
    Aug 2006
    Location
    USA baby
    Posts
    78
    I suggest trying aptitude, it fixes problems like these sometimes. I'm on ubuntu but is pretty much the same. I've had this kind of problem with other stuff before.

  6. #6
    Just Joined!
    Join Date
    Oct 2007
    Posts
    4
    I tried to install aptitude using apt-get, but never got past the same error on openoffice.org dependencies

    First advice to new users, update your sources.list!

    I ended up in an evil loop having to bypass checks every time I ran apt-get with the phrase "yes, do as I say" which is not good at all. Definately no desireable!

    Installed Ubuntu instead.
    Trying out this distribution instead.

    Thanks for the help!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •