EDIT 3 : veja a parte inferior, para a versão TL; DR-ish.
Eu quero instalar o wine1.5, do repositório ppa: ubuntu-wine / ppa. Justo o suficiente?
(Estou rodando 12.04 x64 e um kernel personalizado.)
Eu adicionei o repositório deles. Funciona bem.
Eu me atualizo. Correu bem. (Eu fiz isso com meu repositório comentado. Sources.list é basicamente o padrão menos as entradas extras, partner e deb-src)
root@e330:/home/nroach44/local/build/linux/src/3.5.7/linux-3.5.7# apt-get install wine1.5
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. --SNIP--
The following packages have unmet dependencies:
wine1.5 : Depends: wine1.5-i386 (= 1.5.20-0ubuntu1)
E: Unable to correct problems, you have held broken packages.
Ok, então ...
root@e330:/home/nroach44/local/build/linux/src/3.5.7/linux-3.5.7# apt-get install wine1.5-i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. --SNIP--
The following packages have unmet dependencies:
wine1.5-i386:i386 : Depends: libgl1-mesa-glx:i386 but it is not going to be installed or
libgl1:i386
Depends: libglu1-mesa:i386 but it is not going to be installed or
libglu1:i386
E: Unable to correct problems, you have held broken packages.
Eu sigo essa mensagem de erro um pouco.
root@e330:/home/nroach44/local/build/linux/src/3.5.7/linux-3.5.7# apt-get install libgl1:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libgl1:i386 is a virtual package provided by:
libgl1-mesa-swx11:i386 8.0.4-0ubuntu0.2
libgl1-mesa-glx:i386 8.0.4-0ubuntu0.2
You should explicitly select one to install.
E: Package 'libgl1:i386' has no installation candidate
Continuou ...
root@e330:/home/nroach44/local/build/linux/src/3.5.7/linux-3.5.7# apt-get install libgl1-mesa-glx:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. --SNIP--
The following packages have unmet dependencies:
libgl1-mesa-glx:i386 : Depends: libdrm2:i386 (>= 2.3.1) but it is not going to be installed
Recommends: libgl1-mesa-dri:i386 (>= 7.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Isso está ficando um pouco antigo ...
root@e330:/home/nroach44/local/build/linux/src/3.5.7/linux-3.5.7# apt-get install libdrm2:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. --SNIP--
The following packages have unmet dependencies:
openssh-client : Depends: adduser (>= 3.10) but it is not going to be installed
Depends: passwd
openssh-server : Depends: upstart-job
Depends: adduser (>= 3.9) but it is not going to be installed
Depends: procps
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
root@e330:/home/nroach44/local/build/linux/src/3.5.7/linux-3.5.7# apt-get install openssh-client openssh-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
openssh-client is already the newest version.
openssh-server is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Eu tenho um repositório local onde copio os arquivos em minha pasta / var / cache / apt / archives e gero um índice usando-os. Eu uso isso para atualizar essa máquina e as outras três máquinas da casa, em vez de baixar os pacotes várias vezes. Este arquivo não está assinado e resulta em "Deseja instalar esses pacotes não assinados?"
Além disso, uma quantidade razoavelmente grande de pacotes está listada na lista "Installed (Manual)" do synaptic. Isso poderia estar relacionado ao problema?
EDIT : Eu também tentei algumas técnicas "fix apt-get" bastante comuns:
root@e330:/home/nroach44/local/build/linux/src/3.5.7/linux-3.5.7# 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.
root@e330:/home/nroach44/local/build/linux/src/3.5.7/linux-3.5.7# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@e330:/home/nroach44/local/build/linux/src/3.5.7/linux-3.5.7# apt-get 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.
EDIT 2 : / var / log / dist-upgrade / estava vazio. / var / log / apt / não continha informações relevantes. Além disso, dpkg --get-selections | grep hold não retorna nada.
EDIT 3 : Após duas reinstalações, parece que o kernel-package está em conflito com o wine.
Em uma nova instalação:
root@e330:~# apt-get install wine kernel-package
--Standard apt-get loading stuff--
Some packages could not be installed blah blah
The following have unmet dependencies:
kernel-package : depends: po-debconf but it is not going to be installed
"" : gettext """"""
O que me incomoda é que tenho esses dois instalados na minha área de trabalho e tudo funciona bem.