1 votes

Pourquoi XScreensaver ne s'installe-t-il pas à partir de la ligne de commande ?

Tout ce que je sais, c'est que j'obtiens la sortie suivante dans mon terminal :

supuhstar@SupuhComp-U:~$ sudo apt-get install xscreensaver xscreensaver-gl-extra xscreensaver-data-extra xscreensaver-screensaver-bsod -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
xscreensaver is already the newest version.
xscreensaver-screensaver-bsod is already the newest version.
The following NEW packages will be installed:
  xscreensaver-data-extra xscreensaver-gl-extra
0 upgraded, 2 newly installed, 0 to remove and 8 not upgraded.
1 not fully installed or removed.
Need to get 0 B/7,369 kB of archives.
After this operation, 16.5 MB of additional disk space will be used.
(Reading database ... 195814 files and directories currently installed.)
Preparing to unpack .../xscreensaver-data-extra_5.15-3ubuntu1_amd64.deb ...
Unpacking xscreensaver-data-extra (5.15-3ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/xscreensaver-data-extra_5.15-3ubuntu1_amd64.deb (--unpack):
 trying to overwrite '/usr/share/applications/screensavers/sonar.desktop', which is also in package xscreensaver-gl 5.15-3
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Preparing to unpack .../xscreensaver-gl-extra_5.15-3ubuntu1_amd64.deb ...
Unpacking xscreensaver-gl-extra (5.15-3ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/xscreensaver-gl-extra_5.15-3ubuntu1_amd64.deb (--unpack):
 trying to overwrite '/usr/share/applications/screensavers/antinspect.desktop', which is also in package xscreensaver-gl 5.15-3
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Errors were encountered while processing:
 /var/cache/apt/archives/xscreensaver-data-extra_5.15-3ubuntu1_amd64.deb
 /var/cache/apt/archives/xscreensaver-gl-extra_5.15-3ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

1voto

psusi Points 35613

Puisque le paquet ubuntu correct a une version plus récente que le paquet debian que vous avez installé, il suffit d'exécuter une commande de type apt-get upgrade devrait s'occuper de basculer ce paquet vers la version ubuntu. En général, vous ne devriez pas installer de paquets debian sur un système ubuntu.

1voto

Jack Points 11

Ces commandes dans le terminal, dans cet ordre, ont résolu le problème :

sudo apt-get upgrade -y -f
sudo apt-get install xscreensaver xscreensaver-gl-extra xscreensaver-data-extra xscreensaver-screensaver-bsod -y -f

SistemesEz.com

SystemesEZ est une communauté de sysadmins où vous pouvez résoudre vos problèmes et vos doutes. Vous pouvez consulter les questions des autres sysadmins, poser vos propres questions ou résoudre celles des autres.

Powered by:

X