В интранете моей работы есть местный репозиторий Ubuntu и винный ppa.
sources.list:
deb http://***<myintranet>***/ubuntu/ saucy main multiverse restricted universe
deb http://***/ubuntu/ saucy-updates main multiverse restricted universe
deb http://***/ubuntu/ saucy-security main multiverse restricted universe
deb http://***/ubuntu/ saucy-backports main multiverse restricted universe
deb http://***/ubuntu-ppa/wine lucid main
deb http://***/ubuntu-ppa/wine precise main
deb http://***/ubuntu-ppa/wine quantal main
deb http://***/ubuntu-ppa/wine raring main
Теперь, когда я делаю sudo apt-get install wine
я получил эту ошибку:
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 resolve the situation:
The following packages have unmet dependencies:
wine : Depends: wine1.6 but it is not going to be installed or
wine1.7 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Я не знаю, почему это происходит, мои коллеги используют ту же конфигурацию с Ubuntu 13.10 и все в порядке. И с такой конфигурацией в linux mint 15 я смог без проблем установить wine.
Какие-либо предложения? Может быть, я должен сначала установить что-то?
Я также попробовал sudo apt-get install wine1.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 resolve the situation:
The following packages have unmet dependencies:
wine1.7 : Depends: wine1.7-amd64 (= 1:1.7.13-0ubuntu1) but it is not going to be installed
Depends: wine1.7-i386 (= 1:1.7.13-0ubuntu1)
E: Unable to correct problems, you have held broken packages.
РЕДАКТИРОВАТЬ:
Вот как у меня есть мои источники сейчас:
deb http://***/ubuntu saucy main multiverse restricted universe
deb http://***/ubuntu saucy-updates main multiverse restricted universe
deb http://***/ubuntu saucy-security main multiverse restricted universe
deb http://***/ubuntu saucy-backports main multiverse restricted universe
И это /etc/apt/
:
Вывод apt-cache madison ^wine
:
winefish | 1.3.3-0dl1ubuntu2 | http://***/ubuntu/ saucy/universe amd64 Packages
wine1.4-amd64 | 1.4.1-0ubuntu7 | http://***/ubuntu/ saucy/universe amd64 Packages
wine | 1.4.1-0ubuntu7 | http://***/ubuntu/ saucy/universe amd64 Packages
winetricks | 0.0+20130702+svn1032-1 | http://***/ubuntu/ saucy/universe amd64 Packages
wine1.4 | 1.4.1-0ubuntu7 | http://***/ubuntu/ saucy/universe amd64 Packages
wine-gecko1.4 | 1.4.0-0ubuntu2 | http://***/ubuntu/ saucy/multiverse amd64 Packages
wine1.4-dbg | 1.4.1-0ubuntu7 | http://***/ubuntu/ saucy/universe amd64 Packages
wine1.4-dev | 1.4.1-0ubuntu7 | http://***/ubuntu/ saucy/universe amd64 Packages
Обратите внимание, что теперь у меня есть доступ только к wine1.4
который находится в репозитории Ubuntu. Если я снова добавлю ppa, это будет вывод команды apt-cache madison ^wine
:
winefish | 1.3.3-0dl1ubuntu2 | http://***/ubuntu/ saucy/universe amd64 Packages
wine1.5-dbg | 1:1.6.1-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine1.5-dbg | 1:1.6.1-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine1.5-dbg | 1:1.6.1-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ raring/main amd64 Packages
wine1.5-dev | 1:1.6.1-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine1.5-dev | 1:1.6.1-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine1.5-dev | 1:1.6.1-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ raring/main amd64 Packages
wine-mono4.5.0 | 4.5.0-0ubuntu1~ppa1 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine-mono4.5.0 | 4.5.0-0ubuntu1~ppa1 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine-mono4.5.0 | 4.5.0-0ubuntu1~ppa1 | http://***/ubuntu-ppa/wine/ raring/main amd64 Packages
wine-mono4.5.2 | 4.5.2-0ubuntu1~ppa1 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine-mono4.5.2 | 4.5.2-0ubuntu1~ppa1 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine-mono4.5.2 | 4.5.2-0ubuntu1~ppa1 | http://***/ubuntu-ppa/wine/ raring/main amd64 Packages
wine1.6-dbg | 1:1.6.1-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine1.6-dbg | 1:1.6.1-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine1.6-dbg | 1:1.6.1-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ raring/main amd64 Packages
wine1.4-amd64 | 1.4.1-0ubuntu7 | http://***/ubuntu/ saucy/universe amd64 Packages
wine1.4-amd64 | 1.4.1-0ubuntu1~precise1~ppa4 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine1.4-amd64 | 1.4.1-0ubuntu1~precise1~ppa4 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine1.6-dev | 1:1.6.1-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine1.6-dev | 1:1.6.1-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine1.6-dev | 1:1.6.1-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ raring/main amd64 Packages
wine | 1:1.7.13-0ubuntu1 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine | 1:1.7.13-0ubuntu1 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine | 1:1.7.13-0ubuntu1 | http://***/ubuntu-ppa/wine/ raring/main amd64 Packages
wine | 1.4.1-0ubuntu7 | http://***/ubuntu/ saucy/universe amd64 Packages
wine | 1.2.3-0ubuntu1~ppa2~lucid1 | http://***/ubuntu-ppa/wine/ lucid/main amd64 Packages
wine1.5-amd64 | 1:1.6.1-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine1.5-amd64 | 1:1.6.1-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine1.5-amd64 | 1:1.6.1-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ raring/main amd64 Packages
wine1.3-gecko | 1.4.0+1 | http://***/ubuntu-ppa/wine/ lucid/main amd64 Packages
winetricks | 0.0+20130707~precise1~ppa1 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
winetricks | 0.0+20130707~precise1~ppa1 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
winetricks | 0.0+20130707~precise1~ppa1 | http://***/ubuntu-ppa/wine/ raring/main amd64 Packages
winetricks | 0.0+20130702+svn1032-1 | http://***/ubuntu/ saucy/universe amd64 Packages
winetricks | 0.0+20120308~ppa1 | http://***/ubuntu-ppa/wine/ lucid/main amd64 Packages
wine1.7-dbg | 1:1.7.13-0ubuntu1 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine1.7-dbg | 1:1.7.13-0ubuntu1 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine1.7-dbg | 1:1.7.13-0ubuntu1 | http://***/ubuntu-ppa/wine/ raring/main amd64 Packages
wine1.7-dev | 1:1.7.13-0ubuntu1 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine1.7-dev | 1:1.7.13-0ubuntu1 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine1.7-dev | 1:1.7.13-0ubuntu1 | http://***/ubuntu-ppa/wine/ raring/main amd64 Packages
wine-mono0.0.4 | 0.0.4-0ubuntu1~ppa1 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine-mono0.0.4 | 0.0.4-0ubuntu1~ppa1 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine-mono0.0.8 | 0.0.8-0ubuntu1~ppa2 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine-mono0.0.8 | 0.0.8-0ubuntu1~ppa2 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine-mono0.0.8 | 0.0.8-0ubuntu1~ppa2 | http://***/ubuntu-ppa/wine/ raring/main amd64 Packages
wine1.6-amd64 | 1:1.6.1-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine1.6-amd64 | 1:1.6.1-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine1.6-amd64 | 1:1.6.1-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ raring/main amd64 Packages
wine-dev | 1.2.2-1ubuntu1~lucid1 | http://***/ubuntu-ppa/wine/ lucid/main amd64 Packages
wine1.2-dbg | 1.2.3-0ubuntu1~ppa2~lucid1 | http://***/ubuntu-ppa/wine/ lucid/main amd64 Packages
wine-gecko2.21 | 2.21-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine-gecko2.21 | 2.21-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine-gecko2.21 | 2.21-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ raring/main amd64 Packages
wine-gecko2.24 | 2.24-0ubuntu1~ppa1 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine-gecko2.24 | 2.24-0ubuntu1~ppa1 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine-gecko2.24 | 2.24-0ubuntu1~ppa1 | http://***/ubuntu-ppa/wine/ raring/main amd64 Packages
wine1.7-amd64 | 1:1.7.13-0ubuntu1 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine1.7-amd64 | 1:1.7.13-0ubuntu1 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine1.7-amd64 | 1:1.7.13-0ubuntu1 | http://***/ubuntu-ppa/wine/ raring/main amd64 Packages
wine1.2-dev | 1.2.3-0ubuntu1~ppa2~lucid1 | http://***/ubuntu-ppa/wine/ lucid/main amd64 Packages
wine1.2 | 1.4.1-0ubuntu1~precise1~ppa4 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine1.2 | 1.4.1-0ubuntu1~precise1~ppa4 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine1.2 | 1.2.3-0ubuntu1~ppa2~lucid1 | http://***/ubuntu-ppa/wine/ lucid/main amd64 Packages
wine1.3 | 1.4.1-0ubuntu1~precise1~ppa4 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine1.3 | 1.4.1-0ubuntu1~precise1~ppa4 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine1.3 | 1.4-0ubuntu1~ppa1~lucid1 | http://***/ubuntu-ppa/wine/ lucid/main amd64 Packages
wine1.4 | 1.4.1-0ubuntu7 | http://***/ubuntu/ saucy/universe amd64 Packages
wine1.4 | 1.4.1-0ubuntu1~precise1~ppa4 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine1.4 | 1.4.1-0ubuntu1~precise1~ppa4 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine1.5 | 1:1.6.1-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine1.5 | 1:1.6.1-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine1.5 | 1:1.6.1-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ raring/main amd64 Packages
wine1.6 | 1:1.6.1-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine1.6 | 1:1.6.1-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine1.6 | 1:1.6.1-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ raring/main amd64 Packages
wine1.7 | 1:1.7.13-0ubuntu1 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine1.7 | 1:1.7.13-0ubuntu1 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine1.7 | 1:1.7.13-0ubuntu1 | http://***/ubuntu-ppa/wine/ raring/main amd64 Packages
wine1.3-dbg | 1.4-0ubuntu1~ppa1~lucid1 | http://***/ubuntu-ppa/wine/ lucid/main amd64 Packages
wine-gecko | 1.2.2-1ubuntu1~lucid1 | http://***/ubuntu-ppa/wine/ lucid/main amd64 Packages
wine1.3-dev | 1.4-0ubuntu1~ppa1~lucid1 | http://***/ubuntu-ppa/wine/ lucid/main amd64 Packages
wine-gecko1.4 | 1.4.0-0ubuntu2 | http://***/ubuntu/ saucy/multiverse amd64 Packages
wine-gecko1.5 | 1.5-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine-gecko1.6 | 1.6-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine-gecko1.7 | 1.7-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine-gecko1.7 | 1.7-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine-gecko1.8 | 1.8-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine-gecko1.8 | 1.8-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine-gecko1.8 | 1.8-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ raring/main amd64 Packages
wine-gecko1.9 | 1.9-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine-gecko1.9 | 1.9-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine-gecko1.9 | 1.9-0ubuntu1~ppa1~precise1 | http://***/ubuntu-ppa/wine/ raring/main amd64 Packages
wine1.4-dbg | 1.4.1-0ubuntu7 | http://***/ubuntu/ saucy/universe amd64 Packages
wine1.4-dbg | 1.4.1-0ubuntu1~precise1~ppa4 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine1.4-dbg | 1.4.1-0ubuntu1~precise1~ppa4 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine1.4-common | 1.4.1-0ubuntu1~precise1~ppa4 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine1.4-common | 1.4.1-0ubuntu1~precise1~ppa4 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
wine1.4-dev | 1.4.1-0ubuntu7 | http://***/ubuntu/ saucy/universe amd64 Packages
wine1.4-dev | 1.4.1-0ubuntu1~precise1~ppa4 | http://***/ubuntu-ppa/wine/ precise/main amd64 Packages
wine1.4-dev | 1.4.1-0ubuntu1~precise1~ppa4 | http://***/ubuntu-ppa/wine/ quantal/main amd64 Packages
РЕДАКТИРОВАТЬ 2:
После установки источников на непристойное репо:
deb http://***/ubuntu saucy main multiverse restricted universe
deb http://***/ubuntu saucy-updates main multiverse restricted universe
deb http://***/ubuntu saucy-security main multiverse restricted universe
deb http://***/ubuntu saucy-backports main multiverse restricted universe
Это результат apt-get install wine
:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
wine : Depends: wine1.4 but it is not going to be installed
wine1.4-amd64 : Depends: libgphoto2-2 (>= 2.4.10.1) but it is not installable
Depends: libgphoto2-port0 (>= 2.4.10.1) but it is not installable
wine1.4-common : Depends: wine1.4 (= 1.4.1-0ubuntu1~precise1~ppa4) but it is not going to be installed
wine1.4-i386:i386 : Depends: libgphoto2-2:i386 (>= 2.4.10.1) but it is not installable
Depends: libgphoto2-port0:i386 (>= 2.4.10.1) but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).