Results 1 to 10 of 13

Thread: Upgrade Dependancies fail

Hybrid View

  1. #1
    Join Date
    Dec 2009
    Beans
    1

    Unhappy Upgrade Dependancies fail

    Hi i didn't know where to post this so here seemed the best place:
    I'm having a problem with upgrading my ubuntu dependancies which i need to do to install .debs and to use apt-get commands here is the text from terminal:
    jack@home:~$ sudo apt-get -f install
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Correcting dependencies...Done
    The following packages were automatically installed and are no longer required:
    libplist0 libusbmux0
    Use 'apt-get autoremove' to remove them.
    The following extra packages will be installed:
    libusbmuxd1 usbmuxd
    The following NEW packages will be installed
    libusbmuxd1 usbmuxd
    0 upgraded, 2 newly installed, 0 to remove and 24 not upgraded.
    86 not fully installed or removed.
    Need to get 0B/36.9kB of archives.
    After this operation, 205kB of additional disk space will be used.
    Do you want to continue [Y/n]? y
    (Reading database ... 206115 files and directories currently installed.)
    Unpacking libusbmuxd1 (from .../libusbmuxd1_1.0.1-0ubuntu1~k_i386.deb) ...
    dpkg: error processing /var/cache/apt/archives/libusbmuxd1_1.0.1-0ubuntu1~k_i386.deb (--unpack):
    trying to overwrite '/usr/lib/libusbmuxd.so.1.0.0', which is also in package libusbmux0 0:1.0.0-rc1-1ubuntu3~k
    Unpacking usbmuxd (from .../usbmuxd_1.0.1-0ubuntu1~k_i386.deb) ...
    dpkg: error processing /var/cache/apt/archives/usbmuxd_1.0.1-0ubuntu1~k_i386.deb (--unpack):
    trying to overwrite '/usr/sbin/usbmuxd', which is also in package libusbmux0 0:1.0.0-rc1-1ubuntu3~k
    Errors were encountered while processing:
    /var/cache/apt/archives/libusbmuxd1_1.0.1-0ubuntu1~k_i386.deb
    /var/cache/apt/archives/usbmuxd_1.0.1-0ubuntu1~k_i386.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    does anyone know how to fix this if so can you post it please,
    i'm a bit of a n00b when working out what terminal language means but im alright with some thanks
    Jack


    EDIT: I fixed this, turns out i had a lot of ipod touch/iphone things that i needed but i used Ubuntu Tweak to clean up packages and now it is fixed
    Last edited by jakr; December 22nd, 2009 at 05:23 PM. Reason: Fixed

  2. #2
    Join Date
    Jun 2009
    Location
    California, US
    Beans
    864
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Upgrade Dependancies fail

    Code:
    The following packages were automatically installed and are no longer required: libplist0 libusbmux0
    Use 'apt-get autoremove' to remove them.
    The following extra packages will be installed:
      libusbmuxd1 usbmuxd
    .

  3. #3
    Join Date
    Jul 2007
    Beans
    88

    Re: Upgrade Dependancies fail

    hello i too am having this issue.. if i fix it removes rhythmbox.. if i go to install rhythmbox i get the broken packages again
    shak@shak-laptop:~$ sudo apt-get install usbmuxd
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following extra packages will be installed:
    libusbmuxd1
    The following NEW packages will be installed:
    libusbmuxd1 usbmuxd
    0 upgraded, 2 newly installed, 0 to remove and 4 not upgraded.
    Need to get 0B/36.9kB of archives.
    After this operation, 205kB of additional disk space will be used.
    Do you want to continue [Y/n]? y
    (Reading database ... 153522 files and directories currently installed.)
    Unpacking libusbmuxd1 (from .../libusbmuxd1_1.0.1-0ubuntu1~k_i386.deb) ...
    dpkg: error processing /var/cache/apt/archives/libusbmuxd1_1.0.1-0ubuntu1~k_i386.deb (--unpack):
    trying to overwrite '/usr/lib/libusbmuxd.so.1.0.0', which is also in package libusbmux0 0:1.0.0-rc1-1ubuntu3~k
    Unpacking usbmuxd (from .../usbmuxd_1.0.1-0ubuntu1~k_i386.deb) ...
    dpkg: error processing /var/cache/apt/archives/usbmuxd_1.0.1-0ubuntu1~k_i386.deb (--unpack):
    trying to overwrite '/usr/sbin/usbmuxd', which is also in package libusbmux0 0:1.0.0-rc1-1ubuntu3~k
    Errors were encountered while processing:
    /var/cache/apt/archives/libusbmuxd1_1.0.1-0ubuntu1~k_i386.deb
    /var/cache/apt/archives/usbmuxd_1.0.1-0ubuntu1~k_i386.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    shak@shak-laptop:~$

    can someone please help.. im stuck in this loop
    HP DV6622CA AMD 1.9 GHz Turion 64 X2 / 2Gb RAM / 160Gb SATA HDD / NVIDIA GeForce Go 7150M / 15.4" WXGA / BCM94311MCG wlan/ dual mics built in / webcam built in / compiz fusion and all maxed out and looking good / way less then a min boot time!

  4. #4
    Join Date
    Oct 2008
    Beans
    255
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Upgrade Dependancies fail

    Ok this looks like an ugly problem. Try this first:

    Code:
    sudo dpkg -l libusbmux0
    You should get some output indicating that some version of libusbmux0 is installed.

    Remove that first.

    Code:
    sudo apt-get remove libusbmux0
    But be careful here, this may try to remove other packages too, and if that happens, note down all the packages that it removes. You will want to install them later again.

    Then try the install commands and see if it works now.

    Post any error output you see. Good luck!
    The answer to life, the universe and everything...
    vim -c help42

  5. #5
    Join Date
    Aug 2009
    Location
    Detroit Metro Area, MI
    Beans
    87
    Distro
    Ubuntu 19.04 Disco Dingo

    Re: Upgrade Dependancies fail

    Quote Originally Posted by raktarok View Post
    Ok this looks like an ugly problem. Try this first:
    Having the exact same issue as SHAK however running the commands recommended did NOT help.

  6. #6
    Join Date
    Oct 2008
    Beans
    255
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Upgrade Dependancies fail

    When you try to install usbmuxd after removing libusbmux0 (there is a package of that name right?), does it again try to install libusbmux0? or does it only want to install libusbmuxd1?

    Post the exact error you see.
    The answer to life, the universe and everything...
    vim -c help42

  7. #7
    Join Date
    Dec 2008
    Beans
    7

    Re: Upgrade Dependancies fail

    I tried the fix you suggest, then I get a "2 broken packages" message. Running the fix in Synaptic produces:

    E: /var/cache/apt/archives/libusbmuxd1_1.0.1-0ubuntu1~k_i386.deb: trying to overwrite '/usr/lib/libusbmuxd.so.1.0.0', which is also in package libusbmux0 0

    Trying to remove libusbmuxd.so.1.0.0 manually (as root) from /usr/lib is not possible either......

  8. #8
    Join Date
    Oct 2008
    Beans
    255
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Upgrade Dependancies fail

    Hi,

    Try these first.

    Code:
    sudo dpkg -r libusbmux0 libusbmuxd
    If you get the broken dependenceies error during this, try these:

    Code:
    sudo dpkg --configure --a
    sudo apt-get -f install
    Then try to install libusbmuxd
    Code:
    sudo apt-get install libusbmuxd1
    These steps may not serve the problem, so if you see any errors, please post them here. Good luck!
    The answer to life, the universe and everything...
    vim -c help42

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
  •