如何解决未满足的依赖关系?

如何解决未满足的依赖关系?

我正在尝试使用以下命令安装 Nitro:

sudo apt-get install nitro

然后我得到了这个:

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 nitro : Depends: gir1.2-launchpad-integration-3.0 but it is not installable
E: Unable to correct problems, you have held broken packages.

我该如何解决这个问题?

更新

cat /etc/apt/sources.list 的输出是:

# deb cdrom:[Ubuntu 13.04 _Raring Ringtail_ - Release i386 (20130424)]/ raring main restricted
deb-src http://archive.ubuntu.com/ubuntu raring main restricted #Added by software-properties

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://kambing.ui.ac.id/ubuntu/ raring main restricted
deb-src http://kambing.ui.ac.id/ubuntu/ raring multiverse main universe restricted #Added by software-properties

## Major bug fix updates produced after the final release of the
## distribution.
deb http://kambing.ui.ac.id/ubuntu/ raring-updates main restricted
deb-src http://kambing.ui.ac.id/ubuntu/ raring-updates multiverse main universe restricted #Added by software-properties

## 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://kambing.ui.ac.id/ubuntu/ raring universe
deb http://kambing.ui.ac.id/ubuntu/ raring-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://kambing.ui.ac.id/ubuntu/ raring multiverse
deb http://kambing.ui.ac.id/ubuntu/ raring-updates multiverse

## 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 http://kambing.ui.ac.id/ubuntu/ raring-backports main restricted universe multiverse
deb-src http://kambing.ui.ac.id/ubuntu/ raring-backports main restricted universe multiverse #Added by software-properties

deb http://kambing.ui.ac.id/ubuntu/ raring-security main restricted
deb-src http://kambing.ui.ac.id/ubuntu/ raring-security multiverse main universe restricted #Added by software-properties
deb http://kambing.ui.ac.id/ubuntu/ raring-security universe
deb http://kambing.ui.ac.id/ubuntu/ raring-security 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 raring partner
deb-src http://archive.canonical.com/ubuntu raring partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu raring main
deb-src http://extras.ubuntu.com/ubuntu raring main
deb http://repository.spotify.com stable non-free
deb-src http://repository.spotify.com stable non-free

cat /etc/apt/sources.list.d/* 的输出是:

deb http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu raring main
deb-src http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu raring main
deb http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu raring main
deb-src http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu raring main
deb http://ppa.launchpad.net/linrunner/tlp/ubuntu raring main
deb-src http://ppa.launchpad.net/linrunner/tlp/ubuntu raring main
deb http://ppa.launchpad.net/linrunner/tlp/ubuntu raring main
deb-src http://ppa.launchpad.net/linrunner/tlp/ubuntu raring main
deb https://private-ppa.launchpad.net/commercial-ppa-uploaders/nitro/ubuntu raring main #Added by software-center; credentials stored in /etc/apt/auth.conf
deb https://private-ppa.launchpad.net/commercial-ppa-uploaders/nitro/ubuntu raring main #Added by software-center; credentials stored in /etc/apt/auth.conf
deb http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu raring main
deb-src http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu raring main

答案1

我也遇到了同样的问题,但这对我有用:

http://www.noobslab.com/2012/12/nitro-task-manager-for-ubuntu.html

    sudo add-apt-repository ppa:cooperjona/nitrotasks
    sudo apt-get update
    sudo apt-get install nitrotasks

答案2

首先尝试sudo apt-get -f install,然后重试获取 nitro。如果不行,请运行sudo apt-get clean,然后sudo apt-get update

相关内容