Can't purge wireshark (" $ sudo aptitude --purge-unused purge wireshark ")

Bug #530443 reported by Mandx
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
wireshark (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: wireshark

$ sudo aptitude --purge-unused purge wireshark-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following packages will be REMOVED:
  wireshark-common{p}
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Do you want to continue? [Y/n/?]
Writing extended state information... Done
(Reading database ... 235350 files and directories currently installed.)
Removing wireshark-common ...
Purging configuration files for wireshark-common ...
The group `wireshark' is not a system group. Exiting.
dpkg: error processing wireshark-common (--purge):
 subprocess installed post-removal script returned error exit status 3
Errors were encountered while processing:
 wireshark-common
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done

$ lsb_release -rd
Description: Ubuntu 9.10
Release: 9.10

$ apt-cache policy wireshark
wireshark:
  Installed: (none)
  Candidate: 1.2.2-2
  Version table:
     1.2.2-2 0
        500 file: karmic/universe Packages

$ apt-cache policy wireshark-common
wireshark-common:
  Installed: (none)
  Candidate: 1.2.2-2
  Version table:
     1.2.2-2 0
        500 file: karmic/universe Packages
        100 /var/lib/dpkg/status

"wireshark" package gets purged, but "wireshark-common" keeps throwing errors

ProblemType: Package
AptOrdering:
 wireshark: Purge
 wireshark-common: Purge
 libc-ares2: Purge
 libsmi2-common: Purge
 libsmi2ldbl: Purge
Architecture: i386
Date: Mon Mar 1 20:56:07 2010
DistroRelease: Ubuntu 9.10
ErrorMessage: subprocess installed post-removal script returned error exit status 3
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
NonfreeKernelModules: hsfengine wl
Package: wireshark-common (not installed)
ProcVersionSignature: Ubuntu 2.6.31-17.54-generic
SourcePackage: wireshark
Title: package wireshark-common (not installed) failed to install/upgrade: subprocess installed post-removal script returned error exit status 3
Uname: Linux 2.6.31-17-generic i686

Revision history for this message
Mandx (mandx) wrote :
Revision history for this message
Balint Reczey (rbalint) wrote :

Fixed by 1.2.7-1 in Debian.

Changed in wireshark (Ubuntu):
status: New → Confirmed
Revision history for this message
Evan Huus (eapache) wrote :

Since 1.2.7-1 has now been in the Ubuntu archives for a while, setting to fixed based on Balint Reczey's comment.

Changed in wireshark (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Evan Huus (eapache) wrote :

Reopening since this was recently re-reported as bug #831778

Revision history for this message
Evan Huus (eapache) wrote :

Launchpad isn't letting me re-open the bug for some reason. WIll investigate.

Revision history for this message
Russian redneck (otaku-8) wrote :

redneck@pylesos:~$ sudo apt-get purge wireshark-common
Чтение списков пакетов… Готово
Построение дерева зависимостей
Чтение информации о состоянии… Готово
Пакеты, которые будут УДАЛЕНЫ:
  wireshark-common*
обновлено 0, установлено 0 новых пакетов, для удаления отмечено 1 пакетов, и 1 пакетов не обновлено.
После данной операции, объём занятого дискового пространства возрастёт на 0 B.
Хотите продолжить [Д/н]? y
(Чтение базы данных … на данный момент установлено 236700 файлов и каталогов.)
Удаляется пакет wireshark-common …
Вычищаются файлы настройки пакета wireshark-common …
Removing wireshark group...
Группа «wireshark» не является системной. Завершение работы.
Could not remove wireshark group.
dpkg: ошибка при обработке параметра wireshark-common (--purge):
 подпроцесс установлен сценарий post-removal возвратил код ошибки 128
Отчёты apport не записаны, так достигнут MaxReports
                                                   При обработке следующих пакетов произошли ошибки:
 wireshark-common
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Balint Reczey (rbalint) wrote :

Это было исправлено в 1.2.7-1 :-)

Revision history for this message
Russian redneck (otaku-8) wrote :

It happens while "wireshark" group exists. I removed the group and now i erased "wireshark-common" package. Xubuntu 13.10.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.