Banshee установка, неудовлетворенные зависимости

Я использую Ubuntu 15.04 на Lenovo Yoga 3 Pro. У меня проблемы с установкой медиаплеера Banshee. При попытке установки через Центр программного обеспечения я получаю следующее уведомление:

The following packages have unmet dependencies:
banshee: Depends: libglib2.0-0 (>= 2.44.1) but 2.44.0-1ubuntu3 is to be installed
     Depends: libgtk2.0-0 (>= 2.24.0) but 2.24.27-0ubuntu1 is to be installed
     Depends: libsoup-gnome2.4-1 (>= 2.27.4) but 2.49.92-1 is to be installed
     Depends: libsoup2.4-1 (>= 2.26.1) but 2.49.92-1 is to be installed
     Depends: libx11-6 (>= 2:1.6.0) but 2:1.6.2-2ubuntu2 is to be installed
     Depends: mono-runtime (>= 3.0~) but 3.2.8+dfsg-4ubuntu4 is to be installed
     Depends: libc0.1 (>= 2.21) but it is not going to be installed
     Depends: libgconf2.0-cil (>= 2.24.0) but 2.24.2-3 is to be installed
     Depends: libgdk-pixbuf2.0-0 (>= 2.31.3) but 2.31.3-1 is to be installed
     Depends: libglib2.0-cil (>= 2.12.10-1ubuntu1) but 2.12.10-5.1 is to be installed
     Depends: libgtk2.0-cil (>= 2.12.10-1ubuntu1) but 2.12.10-5.1 is to be installed
     Depends: libmono-cairo4.0-cil (>= 3.2.1) but 3.2.8+dfsg-4ubuntu4 is to be installed
     Depends: libmono-corlib4.5-cil (>= 3.2.8) but 3.2.8+dfsg-4ubuntu4 is to be installed
     Depends: libmono-posix4.0-cil (>= 3.2.3) but 3.2.8+dfsg-4ubuntu4 is to be installed
     Depends: libmono-system-core4.0-cil (>= 3.2.8) but 3.2.8+dfsg-4ubuntu4 is to be installed
     Depends: libmono-system-xml4.0-cil (>= 3.2.1) but 3.2.8+dfsg-4ubuntu4 is to be installed
     Depends: libmono-system4.0-cil (>= 3.2.8) but 3.2.8+dfsg-4ubuntu4 is to be installed
     Depends: gnome-icon-theme (>= 2.16) but 3.12.0-1ubuntu1 is to be installed

Поэтому я попытался установить через терминал, с помощью этой команды:

sudo apt-get -f install banshee

который дал мне следующий вывод:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
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:
 banshee : Depends: libglib2.0-0 (>= 2.44.1) but 2.44.0-1ubuntu3 is to be installed
       Recommends: banshee-extension-soundmenu (= 2.9.0+really2.6.2-2ubuntu5) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Я все еще довольно новичок в Ubuntu, поэтому я буду признателен за объяснения в простом стиле... спасибо!

Мне было предложено ответить на этот вопрос: как разрешить неудовлетворенные зависимости после добавления PPA? что я не думаю, что было эффективным - я, возможно, не следую указаниям должным образом, это кажется немного не связанным со мной. вот моя история терминала устранения неполадок, которые я попытался из вопроса:

will@will-Lenovo-YOGA-3-Pro-1370:~$ sudo apt-get autoclean
[sudo] password for will: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
will@will-Lenovo-YOGA-3-Pro-1370:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
will@will-Lenovo-YOGA-3-Pro-1370:~$ sudo apt-get -f install banshee
Reading package lists... Done
Building dependency tree       
Reading state information... Done
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:
 banshee : Depends: libglib2.0-0 (>= 2.44.1) but 2.44.0-1ubuntu3 is to be installed
           Recommends: banshee-extension-soundmenu (= 2.9.0+really2.6.2-2ubuntu5) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
will@will-Lenovo-YOGA-3-Pro-1370:~$ sudo dpkg --configure -a
will@will-Lenovo-YOGA-3-Pro-1370:~$ sudo dpkg --configure -a banshee
dpkg: error: --configure --pending does not take any non-option arguments

>Type dpkg --help for help about installing and deinstalling packages [*];
Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !
will@will-Lenovo-YOGA-3-Pro-1370:~$ sudo apt-get -f install banshee
Reading package lists... Done
Building dependency tree       
Reading state information... Done
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:
 banshee : Depends: libglib2.0-0 (>= 2.44.1) but 2.44.0-1ubuntu3 is to be installed
           Recommends: banshee-extension-soundmenu (= 2.9.0+really2.6.2-2ubuntu5) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
will@will-Lenovo-YOGA-3-Pro-1370:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
will@will-Lenovo-YOGA-3-Pro-1370:~$ sudo apt-get -u dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
will@will-Lenovo-YOGA-3-Pro-1370:~$ sudo apt-get clean
will@will-Lenovo-YOGA-3-Pro-1370:~$ sudo apt-get -f install banshee
Reading package lists... 7%
Reading package lists... Done
Building dependency tree       
Reading state information... Done
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:
 banshee : Depends: libglib2.0-0 (>= 2.44.1) but 2.44.0-1ubuntu3 is to be installed
           Recommends: banshee-extension-soundmenu (= 2.9.0+really2.6.2-2ubuntu5) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Запрашиваемая информация:

will@will-Lenovo-YOGA-3-Pro-1370:~$ apt-cache policy libglib2.0-0
libglib2.0-0:
  Installed: 2.44.0-1ubuntu3
  Candidate: 2.44.0-1ubuntu3
  Version table:
 *** 2.44.0-1ubuntu3 0
        500 http://us.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
        100 /var/lib/dpkg/status
will@will-Lenovo-YOGA-3-Pro-1370:~$ apt-cache policy banshee
banshee:
  Installed: (none)
  Candidate: 2.9.0+really2.6.2-2ubuntu5
  Version table:
     2.9.0+really2.6.2-2ubuntu5 0
        500 http://us.archive.ubuntu.com/ubuntu/ vivid-updates/universe amd64 Packages
     2.9.0+really2.6.2-2ubuntu4 0
        500 http://us.archive.ubuntu.com/ubuntu/ vivid/universe amd64 Packages
will@will-Lenovo-YOGA-3-Pro-1370:~$ 

1 ответ

У меня была такая же проблема с банши (зависимость от libglib2.0 2.44.1). Похоже, что банши вышел из предложенного репозитория раньше, чем libglib, от которого он зависит.

Я смог обойти это следующим образом:

  1. Включить живо-предложено
  2. Обновление libglib

    sudo apt-get install libglib2.0-0/vivid-proposed libglib2.0-bin/vivid-proposed
    
  3. Отключить предложенный
  4. Установить / обновить банши

Вероятно, не самый чистый путь (по-видимому, ждет 2.44.1), но у меня это сработало.

Другие вопросы по тегам