Failing to install wireshark because of errors in wireshark-common схвати в sudo Супер User

I don't have the root password so I entered вспотел супер user mode in an attempt to install wireshark on my laptop. гve tried installing wireshark previously but I did not have root access the first украл so I was not receiving any дата. I переместите the program and tried to reinstall it and received this beautiful ошибку message:

Daniel-Thinkpad daniel # sudo aptitude install wireshark
The following NEW packages will be installed:
  libc-ares2{a} libwireshark-data{a} libwireshark5{a} libwiretap4{a} libwsutil4{a} wireshark wireshark-common{a} 
0 packages upgraded, 7 newly installed, 0 to remove and 2 not upgraded.
Need to get 13.7 MB of archives. After unpacking 77.9 MB will be used.
Do you want to continue? [Y/n/?] y
Get: 1 http://archive.ubuntu.com/ubuntu/ trusty/main libc-ares2 amd64 1.10.0-2 [38.5 kB]
Get: 2 http://ppa.launchpad.net/pi-rho/security/ubuntu/ trusty/main libwsutil4 amd64 1.12.4-1ubuntu1~ppa2~t [131 kB]
Get: 3 http://ppa.launchpad.net/pi-rho/security/ubuntu/ trusty/main libwiretap4 amd64 1.12.4-1ubuntu1~ppa2~t [219 kB]
Get: 4 http://ppa.launchpad.net/pi-rho/security/ubuntu/ trusty/main libwireshark-data all 1.12.4-1ubuntu1~ppa2~t [898 kB]
Get: 5 http://ppa.launchpad.net/pi-rho/security/ubuntu/ trusty/main libwireshark5 amd64 1.12.4-1ubuntu1~ppa2~t [11.2 MB]
Get: 6 http://ppa.launchpad.net/pi-rho/security/ubuntu/ trusty/main wireshark-common amd64 1.12.4-1ubuntu1~ppa2~t [232 kB]                                                                                                                    
Get: 7 http://ppa.launchpad.net/pi-rho/security/ubuntu/ trusty/main     wireshark amd64 1.12.4-1ubuntu1~ppa2~t [957 kB]                                                                                                                           
Fetched 13.7 MB in 36s (370 kB/s)                                                                                                                                                                                                             
Preconfiguring packages ...
Selecting previously unselected package libc-ares2:amd64.
(Reading database ... 175945 files and directories currently installed.)
Preparing to unpack .../libc-ares2_1.10.0-2_amd64.deb ...
Unpacking libc-ares2:amd64 (1.10.0-2) ...
Selecting previously unselected package libwsutil4:amd64.
Preparing to unpack .../libwsutil4_1.12.4-1ubuntu1~ppa2~t_amd64.deb ...
Unpacking libwsutil4:amd64 (1.12.4-1ubuntu1~ppa2~t) ...
Selecting previously unselected package libwiretap4:amd64.
Preparing to unpack .../libwiretap4_1.12.4-1ubuntu1~ppa2~t_amd64.deb ...
Unpacking libwiretap4:amd64 (1.12.4-1ubuntu1~ppa2~t) ...
Selecting previously unselected package libwireshark-data.
Preparing to unpack .../libwireshark-data_1.12.4-1ubuntu1~ppa2~t_all.deb ...
Unpacking libwireshark-data (1.12.4-1ubuntu1~ppa2~t) ...
Selecting previously unselected package libwireshark5:amd64.
Preparing to unpack .../libwireshark5_1.12.4-1ubuntu1~ppa2~t_amd64.deb ...
Unpacking libwireshark5:amd64 (1.12.4-1ubuntu1~ppa2~t) ...
Selecting previously unselected package wireshark-common.
Preparing to unpack .../wireshark-common_1.12.4-1ubuntu1~ppa2~t_amd64.deb ...
Unpacking wireshark-common (1.12.4-1ubuntu1~ppa2~t) ...
Selecting previously unselected package wireshark.
Preparing to unpack .../wireshark_1.12.4-1ubuntu1~ppa2~t_amd64.deb ...
Unpacking wireshark (1.12.4-1ubuntu1~ppa2~t) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for menu (2.1.46ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Setting up libc-ares2:amd64 (1.10.0-2) ...
Setting up libwsutil4:amd64 (1.12.4-1ubuntu1~ppa2~t) ...
Setting up libwiretap4:amd64 (1.12.4-1ubuntu1~ppa2~t) ...
Setting up libwireshark-data (1.12.4-1ubuntu1~ppa2~t) ...
Setting up libwireshark5:amd64 (1.12.4-1ubuntu1~ppa2~t) ...
Setting up wireshark-common (1.12.4-1ubuntu1~ppa2~t) ...
Executing "addgroup --quiet --system wireshark" failed.
Most probably the wireshark group exists, but is not a system group.
Please delete the existing group or re-create it as a system group and try configuring wireshark-common again.
dpkg: error processing package wireshark-common (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of wireshark:
 wireshark depends on wireshark-common (= 1.12.4-1ubuntu1~ppa2~t); however:
  Package wireshark-common is not configured yet.

dpkg: error processing package wireshark (--configure):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
Errors were encountered while processing:
 wireshark-common
 wireshark
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up wireshark-common (1.12.4-1ubuntu1~ppa2~t) ...
Executing "addgroup --quiet --system wireshark" failed.
Most probably the wireshark group exists, but is not a system group.
Please delete the existing group or re-create it as a system group and try     configuring wireshark-common again.
dpkg: error processing package wireshark-common (--configure):
 subprocess installed post-installation script returned error exit status     1
dpkg: dependency problems prevent configuration of wireshark:
 wireshark depends on wireshark-common (= 1.12.4-1ubuntu1~ppa2~t);      however:
  Package wireshark-common is not configured yet.

dpkg: error processing package wireshark (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 wireshark-common
 wireshark

I am lost at what to do.

2
задан 18 December 2015 в 16:47

2 ответа

Ключевая роль - это.

Most probably the wireshark group exists, but is not a system group.
Please delete the existing group or re-create it as a system group and try configuring wireshark-common again.

Попытка, удаляя существующее wireshark группа (который является, вероятно, остатком от Вашей предыдущей установки Wireshark) с sudo groupdel wireshark, и затем работает sudo dpkg --configure -a для реализации конфигурации нового пакета Wireshark.

2
ответ дан 2 December 2019 в 02:54

Ответ находится в Вашем вопросе:

Executing "addgroup --quiet --system wireshark" failed.
Most probably the wireshark group exists, but is not a system group. 
Please delete the existing group or re-create it as a system group and try configuring wireshark-common again.

Поэтому удаляют группу

sudo delgroup wireshark
sudo addgroup --quiet --system wireshark
sudo apt-get install --reinstall wireshark
1
ответ дан 2 December 2019 в 02:54

Другие вопросы по тегам:

Похожие вопросы: