Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Ubuntu will not fix broken packages

  1. #1
    Join Date
    Jul 2009
    Beans
    21
    Distro
    Ubuntu 9.10 Karmic Koala

    Ubuntu will not fix broken packages

    Hi, I recently tried to install "Spashy" and the install failed. It said that I needed to fix broken packages. So I ran the "sudo apt-get -f install" command and I get this output:

    Code:
    austin@Bartz-PC0:~$ sudo apt-get -f install
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Correcting dependencies... Done
    The following extra packages will be installed:
      splashy
    Suggested packages:
      console-common
    The following NEW packages will be installed:
      splashy
    0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    1 not fully installed or removed.
    Need to get 0B/1180kB of archives.
    After this operation, 1831kB of additional disk space will be used.
    Do you want to continue [Y/n]? Y
    (Reading database ... 164860 files and directories currently installed.)
    Unpacking splashy (from .../splashy_0.3.13-3ubuntu1_i386.deb) ...
    dpkg: error processing /var/cache/apt/archives/splashy_0.3.13-3ubuntu1_i386.deb (--unpack):
     trying to overwrite `/etc/lsb-base-logging.sh', which is also in package lsb-base
    Processing triggers for man-db ...
    Errors were encountered while processing:
     /var/cache/apt/archives/splashy_0.3.13-3ubuntu1_i386.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    I have tried every thing that I could think of, but still no luck.

    Thanks in advance,
    Austin

  2. #2
    Join Date
    Apr 2009
    Beans
    Hidden!
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Ubuntu will not fix broken packages

    Have you tried
    Code:
    sudo dpkg --configure -a

  3. #3
    Join Date
    Jul 2009
    Beans
    21
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Ubuntu will not fix broken packages

    Just did, and still no luck this is the output:

    Code:
    austin@Bartz-PC0:~$ sudo dpkg --configure -a
    dpkg: dependency problems prevent configuration of splashy-themes:
     splashy-themes depends on splashy (>= 0.3.12-1); however:
      Package splashy is not installed.
    dpkg: error processing splashy-themes (--configure):
     dependency problems - leaving unconfigured
    Errors were encountered while processing:
     splashy-themes

  4. #4
    Join Date
    Aug 2007
    Location
    Karma BC
    Beans
    1,215
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Ubuntu will not fix broken packages

    Try reinstalling splashy
    Kipling - "if"

  5. #5
    Join Date
    Jul 2009
    Beans
    21
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Ubuntu will not fix broken packages

    Tried that, and it wont let me because of the broken package.

  6. #6
    Join Date
    Apr 2009
    Beans
    Hidden!
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Ubuntu will not fix broken packages

    Another try:
    Code:
    sudo rm /var/cache/apt/archives/splashy_0.3.13-3ubuntu1_i386.deb
    sudo apt-get update

  7. #7
    Join Date
    Jul 2009
    Beans
    21
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Ubuntu will not fix broken packages

    Still nothing, I just get the same output.

  8. #8
    Join Date
    Apr 2009
    Beans
    Hidden!
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Ubuntu will not fix broken packages

    What do you get for
    Code:
    ls -la /var/lib/apt

  9. #9
    Join Date
    Jul 2009
    Beans
    21
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Ubuntu will not fix broken packages

    Code:
    austin@Bartz-PC0:~$ ls -la /var/lib/apt
    total 48
    drwxr-xr-x  6 root root  4096 2009-07-18 09:56 .
    drwxr-xr-x 57 root root  4096 2009-07-16 18:41 ..
    -rw-r--r--  1 root root   209 2009-07-15 09:28 cdroms.list
    -rw-r--r--  1 root root  8772 2009-07-18 09:56 extended_states
    drwxr-xr-x  2 root root  4096 2009-04-20 09:00 keyrings
    drwxr-xr-x  3 root root 12288 2009-07-20 21:03 lists
    drwxr-xr-x  3 root root  4096 2009-04-20 08:59 mirrors
    drwxr-xr-x  2 root root  4096 2009-07-15 19:10 periodic

  10. #10
    Join Date
    Apr 2009
    Beans
    Hidden!
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Ubuntu will not fix broken packages

    How about this
    Code:
    sudo mv /var/lib/dpkg/status /var/lib/dpkg/status.backup
    sudo apt-get update

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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