LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Something depends on something else but something else is to be installed (https://www.linuxquestions.org/questions/linux-newbie-8/something-depends-on-something-else-but-something-else-is-to-be-installed-927656/)

javascriptninja 02-04-2012 08:19 PM

Something depends on something else but something else is to be installed
 
I am getting the following error when trying to install something with apt-get.

The following packages have unmet dependencies:
libimobiledevice-utils : Depends: libimobiledevice1 (>= 1.0.2) but 1.0.1-1ubuntu0.1 is to be installed

There are other errors, but I want to concentrate on this one, because I don't understand it.

a depends on b but c is to be installed.

Is it just badly worded? What does it mean, actually?

neonsignal 02-04-2012 08:48 PM

It means that the package libimobiledevice-utils depends on another package libimobiledevice1. The particular version of libimobiledevice-utils requires that libimobiledevice1 be of version 1.0.2 or later. However, the repository that you are using only has version 1.0.1-1ubuntu0.1. This means that you would end up with the wrong version of libimobiledevice1, so rather than potentially cause a failure, it doesn't do the installation.

This problem is typically caused by mixing packages from different sources or repositories, in this case possibly a package that is too new for your version of Ubuntu.

EDDY1 02-04-2012 08:50 PM

Usually unmet dependencies are due to your /etc/apt/sources.list, the dependencies that may be required to install maybe in another repository.
post output of "cat /etc/apt/sources.list".

javascriptninja 02-05-2012 04:22 PM

Quote:

Originally Posted by EDDY1 (Post 4594025)
Usually unmet dependencies are due to your /etc/apt/sources.list, the dependencies that may be required to install maybe in another repository.
post output of "cat /etc/apt/sources.list".

# deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release amd64 (20100429)]/ lucid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://us.archive.ubuntu.com/ubuntu/ maverick main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ maverick main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ maverick-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ maverick-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ maverick universe
deb-src http://us.archive.ubuntu.com/ubuntu/ maverick universe
deb http://us.archive.ubuntu.com/ubuntu/ maverick-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ maverick-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ maverick multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ maverick multiverse
deb http://us.archive.ubuntu.com/ubuntu/ maverick-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ maverick-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu lucid partner
# deb-src http://archive.canonical.com/ubuntu lucid partner

deb http://security.ubuntu.com/ubuntu maverick-security main restricted
deb-src http://security.ubuntu.com/ubuntu maverick-security main restricted
deb http://security.ubuntu.com/ubuntu maverick-security universe
deb-src http://security.ubuntu.com/ubuntu maverick-security universe
deb http://security.ubuntu.com/ubuntu maverick-security multiverse
deb-src http://security.ubuntu.com/ubuntu maverick-security multiverse
deb http://extras.ubuntu.com/ubuntu maverick main #Third party developers repository
deb http://us.archive.ubuntu.com/ubuntu/ maverick-proposed restricted main multiverse universe
deb http://us.archive.ubuntu.com/ubuntu/ maverick-backports restricted main multiverse universe


All times are GMT -5. The time now is 03:18 PM.