LINUX.ORG.RU

Нужно удалить avast

 , ,


0

1

Последствия команд sudo aptitude update && sudo aptitude upgrade && aptitude install -f && aptitude purge ~c && aptitude autoclean и sudo aptitude purge avast4workstation

stallArchives() failed: Selecting previously unselected package eboard.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 249194 files and directories currently installed.)
Unpacking eboard (from .../eboard_1.1.1-5ubuntu1_i386.deb) ...
Selecting previously unselected package xfonts-75dpi.
Unpacking xfonts-75dpi (from .../xfonts-75dpi_1%3a1.0.3_all.deb) ...
Processing triggers for man-db ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Can't open /usr/share/applications/avast.desktop: No such file or directory at -e line 1, <> line 86.
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for menu ...
Processing triggers for fontconfig ...
Setting up avast4workstation (1.3.0) ...
/var/lib/dpkg/info/avast4workstation.postinst: 4: /var/lib/dpkg/info/avast4workstation.postinst: /usr/lib/avast4workstation/share/avast/desktop/install-desktop-entries.sh: not found
dpkg: error processing avast4workstation (--configure):
 subprocess installed post-installation script returned error exit status 127
Setting up eboard (1.1.1-5ubuntu1) ...
No apport report written because MaxReports is reached already
Setting up xfonts-75dpi (1:1.0.3) ...
Processing triggers for menu ...
Errors were encountered while processing:
 avast4workstation
Error in function: 
W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ precise/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_precise_partner_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
Get: 1 http://tm.archive.ubuntu.com/ubuntu/ precise-updates/main libpoppler19 i386 0.18.4-1ubuntu3 [753 kB]
Get: 2 http://tm.archive.ubuntu.com/ubuntu/ precise-updates/main libpoppler-glib8 i386 0.18.4-1ubuntu3 [89.7 kB]
Get: 3 http://tm.archive.ubuntu.com/ubuntu/ precise-updates/main poppler-utils i386 0.18.4-1ubuntu3 [137 kB]
Fetched 979 kB in 8s (112 kB/s)                                                                     
(Reading database ... 249604 files and directories currently installed.)
Preparing to replace libpoppler19 0.18.4-1ubuntu2 (using .../libpoppler19_0.18.4-1ubuntu3_i386.deb) ...
Unpacking replacement libpoppler19 ...
Preparing to replace libpoppler-glib8 0.18.4-1ubuntu2 (using .../libpoppler-glib8_0.18.4-1ubuntu3_i386.deb) ...
Unpacking replacement libpoppler-glib8 ...
Preparing to replace poppler-utils 0.18.4-1ubuntu2 (using .../poppler-utils_0.18.4-1ubuntu3_i386.deb) ...
Unpacking replacement poppler-utils ...
Processing triggers for man-db ...
Setting up avast4workstation (1.3.0) ...
/var/lib/dpkg/info/avast4workstation.postinst: 4: /var/lib/dpkg/info/avast4workstation.postinst: /usr/lib/avast4workstation/share/avast/desktop/install-desktop-entries.sh: not found
dpkg: error processing avast4workstation (--configure):
 subprocess installed post-installation script returned error exit status 127
No apport report written because MaxReports is reached already
                                                              Setting up libpoppler19 (0.18.4-1ubuntu3) ...
Setting up libpoppler-glib8 (0.18.4-1ubuntu3) ...
Setting up poppler-utils (0.18.4-1ubuntu3) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
 avast4workstation
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
                                         
Current status: 0 updates [-3].
lilhack@lilhackies:~$ sudo aptitude purge avast4workstation
The following packages will be REMOVED:  
  avast4workstation{p} 
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Do you want to continue? [Y/n/?] 
(Reading database ... 249603 files and directories currently installed.)
Removing avast4workstation ...
/var/lib/dpkg/info/avast4workstation.prerm: 4: /var/lib/dpkg/info/avast4workstation.prerm: /usr/lib/avast4workstation/share/avast/desktop/install-desktop-entries.sh: not found
dpkg: error processing avast4workstation (--purge):
 subprocess installed pre-removal script returned error exit status 127
No apport report written because MaxReports is reached already
                                                              /var/lib/dpkg/info/avast4workstation.postinst: 4: /var/lib/dpkg/info/avast4workstation.postinst: /usr/lib/avast4workstation/share/avast/desktop/install-desktop-entries.sh: not found
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
 avast4workstation
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Человек зачем-то поставил аваст, и не зная как удалить часть файлов снёс вручную через rm. И как видим что-то там сломал.

★★★★★

Почему бы не попробовать

# apt-get -f purge avast4workstation

Или, если не получится, установить заново с force и удалить.

Lighting ★★★★★ ()

/var/lib/dpkg/info/avast4workstation.prerm

добавь где-нибуль в начале ( но не первой строкой )

exit 0

и повтори

router ★★★★★ ()
Ответ на: комментарий от cinyflo

С force это откуда?

Это не откуда, это как.

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