LINUX.ORG.RU

Поломался apt-get/aptitude

 


0

1
apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  lsb-core
The following NEW packages will be installed:
  lsb-core
0 upgraded, 1 newly installed, 0 to remove and 64 not upgraded.
1 not fully installed or removed.
Need to get 0 B/44.3 kB of archives.
After this operation, 155 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
Selecting previously unselected package lsb-core.
(Reading database ... 33263 files and directories currently installed.)
Unpacking lsb-core (from .../lsb-core_4.1+Debian8+deb7u1_i386.deb) ...
Processing triggers for man-db ...
Setting up lsb-core (4.1+Debian8+deb7u1) ...
Setting up google-earth-stable (7.1.1.1888-r0) ...
Error: Could not find xdg-icon-resource
dpkg: error processing google-earth-stable (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 google-earth-stable
E: Sub-process /usr/bin/dpkg returned an error code (1)
# apt-get purge google-earth-stable
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  google-earth-stable*
0 upgraded, 0 newly installed, 1 to remove and 64 not upgraded.
1 not fully installed or removed.
After this operation, 187 MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 33279 files and directories currently installed.)
Removing google-earth-stable ...
Error: Could not find xdg-icon-resource
dpkg: error processing google-earth-stable (--purge):
 subprocess installed pre-removal script returned error exit status 1
Error: Could not find xdg-icon-resource
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 google-earth-stable
E: Sub-process /usr/bin/dpkg returned an error code (1)

что делать, кому молиться?

★★☆☆

Попробуй удалить google-earth полностью.

dpkg -P --force-remove-reinstreq google-earth-stable

bkarm ()

установить пакет xdg-utils, затем удалить google-earth-stable

anonymous ()
Ответ на: комментарий от bkarm

пробовал, разумеется

dpkg -P --force-remove-reinstreq google-earth-stable
(Reading database ... 33279 files and directories currently installed.)
Removing google-earth-stable ...
Error: Could not find xdg-icon-resource
dpkg: error processing google-earth-stable (--purge):
 subprocess installed pre-removal script returned error exit status 1
Error: Could not find xdg-icon-resource
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 google-earth-stable

xtraeft ★★☆☆ ()
Ответ на: комментарий от xtraeft
mv /var/lib/dpkg/info/PACKAGE_NAME.* /tmp/
dpkg --remove --force-remove-reinstreq PACKAGE_NAME

?

bkarm ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.