web-dev-qa-db-fra.com

impossible d'installer gnome et wine package cassé dans ubuntu 12.4

J'ai un ordinateur portable Dell Vostro 3443. Il a une pré-installation certifiée buntu 12.04.2 LTS 64 bits par le fabricant. J'ai pas mal de logiciels dessus, mis à jour à l'aide du gestionnaire de mise à jour. Maintenant, lorsque j'essaie d'installer wine et gnome, il est dit que les packages sont cassés, ci-dessous montre les journaux générés par l'installation en ligne de commande.

$ Sudo apt-get install gnome
[Sudo] password for mithun: 
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:
 gnome : Depends: gnome-core (= 1:3.0+6ubuntu3) but it is not going to be installed
         Depends: alacarte (>= 0.13.2) but it is not going to be installed
         Depends: cheese (>= 3.0) but it is not going to be installed
         Depends: evolution (>= 3.0) but it is not installable
         Depends: evolution-plugins (>= 3.0) but it is not installable
         Depends: hamster-applet (>= 2.91.2) but it is not going to be installed
         Depends: tomboy (>= 1.6) but it is not going to be installed or
                  gnote but it is not going to be installed
         Depends: vinagre (>= 3.0) but it is not going to be installed
         Depends: gimp (>= 2.6) but it is not going to be installed
         Depends: inkscape (>= 0.48) but it is not going to be installed
         Depends: simple-scan but it is not going to be installed
         Depends: epiphany-extensions (>= 3.0) but it is not going to be installed
         Depends: gedit-plugins (>= 3.0) but it is not going to be installed
         Depends: gnome-applets (>= 2.91) but it is not going to be installed
         Recommends: browser-plugin-gnash but it is not going to be installed
         Recommends: gdebi but it is not going to be installed
         Recommends: gnome-games-extra-data (>= 3.0) but it is not going to be installed
         Recommends: liferea but it is not installable or
                     evolution-rss but it is not going to be installed or
                     blam but it is not going to be installed
         Recommends: menu-xdg but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

et pour le vin, il donnera

$ 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 to resolve the situation:

The following packages have unmet dependencies:
 openssh-client : Depends: adduser (>= 3.10) but it is not going to be installed
                  Depends: passwd
 ssh : Depends: openssh-server
 wine : Depends: wine1.6 but it is not going to be installed or
                 wine1.7 but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

et j'ai essayé d'installer les dépendances par moi-même. Et suivi ce source.

Plus la commande:

$ dpkg --get-selections | grep deinstall

donnez la liste suivante:

colord                      deinstall
cups                        deinstall
Dell-eula                   deinstall
Dell-recovery-bootloader            deinstall
deluge                      deinstall
deluge-gtk                  deinstall
dmraid                      deinstall
firstboot-video2                deinstall
hplip                       deinstall
indicator-printers              deinstall
kpartx-boot                 deinstall
libblas3gf                  deinstall
libboost-filesystem1.46.1           deinstall
libboost-python1.46.1               deinstall
libboost-system1.46.1               deinstall
libboost-thread1.46.1               deinstall
libdebconfclient0               deinstall
libdebian-installer4                deinstall
libdmraid1.0.0.rc16             deinstall
libevent-core-2.0-5             deinstall
libevent-openssl-2.0-5              deinstall
libgfortran3                    deinstall
libgl1-mesa-glx                 deinstall
libglapi-mesa                   deinstall
liblapack3gf                    deinstall
libmikmod2                  deinstall
libopts25                   deinstall
libportmidi0                    deinstall
libsane                     deinstall
libsdl-mixer1.2                 deinstall
libsdl-ttf2.0-0                 deinstall
libsmpeg0                   deinstall
libtorrent-rasterbar6               deinstall
libxatracker1                   deinstall
oem-config                  deinstall
oem-config-gtk                  deinstall
oobe-dim-disable                deinstall
printer-driver-gutenprint           deinstall
quilt                       deinstall
sane-utils                  deinstall
shotwell                    deinstall
user-setup                  deinstall
xserver-xorg                    deinstall
xserver-xorg-core               deinstall
xserver-xorg-video-intel            deinstall
xserver-xorg-video-openchrome           deinstall
xserver-xorg-video-vmware           deinstall

Je les ai supprimés en utilisant:

$ dpkg --purge `dpkg --get-selections | grep deinstall | cut -f1`

et essayé de faire la mise à jour à nouveau toujours pas utile. Le problème demeure, est-ce que je manque quelque chose.

Modifier: 2

Plus tard, il se termine par un crash complet du système d'exploitation - impossible d'obtenir également la page de journal

Les éléments suivants sont désormais clairs:

  1. Le fabricant a donné la version Ubuntu en tant que telle - c'est-à-dire, aucune modification. Mais avec quelques packages supplémentaires.

  2. L'option de réinitialisation d'usine est disponible (que j'ai utilisée plus tard), mais uniquement après le test du système pour le matériel effectué. Je ne connais toujours pas la raison d'un tel comportement.

  3. Même après une réinitialisation d'usine, vous ne pouvez pas installer Wine.

2
Mithun B

essayez Sudo apt-get update && Sudo apt-get upgrade

et essayez maintenant ce qui suit:

Sudo apt-get install -f packagename

# Veuillez modifier le nom du package en conséquence.

J'espère que cela vous aidera comme -f option corrige les paquets cassés pour vous. Bonne chance!

1
heavyguidence