View Issue Details

IDProjectCategoryView StatusLast Update
0007866Kali LinuxKali Package Bugpublic2022-08-24 16:25
Reportersamaritan Assigned Tosteev  
PriorityurgentSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version2022.3 
Fixed in Version2022.4 
Summary0007866: Kali-Linux-Everything update prevention
Description

updating kali-linux-everything is impossible, due to wmis and wmi-client conflicting

Steps To Reproduce

Install kali-linux-everything

Additional Information

$ sudo apt install kali-linux-everything
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
wmis
The following NEW packages will be installed:
kali-linux-everything wmis
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/1,835 kB of archives.
After this operation, 1,909 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 657136 files and directories currently installed.)
Preparing to unpack .../wmis_4.0.0tp4-1kali1_all.deb ...
Unpacking wmis (4.0.0tp4-1kali1) ...
dpkg: error processing archive /var/cache/apt/archives/wmis_4.0.0tp4-1kali1_all.deb (--unpack):
trying to overwrite '/usr/bin/wmis', which is also in package wmi-client 1.3.16-0kali6
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Selecting previously unselected package kali-linux-everything.
Preparing to unpack .../kali-linux-everything_2022.4.1_amd64.deb ...
Unpacking kali-linux-everything (2022.4.1) ...
Errors were encountered while processing:
/var/cache/apt/archives/wmis_4.0.0tp4-1kali1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Activities

SomeBelgianDude

SomeBelgianDude

2022-08-15 14:33

reporter   ~0016578

Same here:
$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following package was automatically installed and is no longer required:
libwebsockets16
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
wmis
The following NEW packages will be installed:
wmis
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/1,819 kB of archives.
After this operation, 1,887 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 746523 files and directories currently installed.)
Preparing to unpack .../wmis_4.0.0tp4-1kali1_all.deb ...
Unpacking wmis (4.0.0tp4-1kali1) ...
dpkg: error processing archive /var/cache/apt/archives/wmis_4.0.0tp4-1kali1_all.deb (--unpack):
trying to overwrite '/usr/bin/wmis', which is also in package wmi-client 1.3.16-0kali6
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/wmis_4.0.0tp4-1kali1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

j_jito

j_jito

2022-08-15 16:01

reporter   ~0016579

wmi-client and wmis share "/usr/bin/wmis" and they both depend on kali-linux-everything

So if you delete wmi-client, you'll delete kali-linux-everything metapackage!

Kali team, can you fix this please ?

j_jito

j_jito

2022-08-15 16:05

reporter   ~0016580

The wmis package is deprecated, doesn't work anymore. It has been replaced by wmi-client, which include both /usr/bin/wmis and /usr/bin/wmic

Either you drop wmis or you patch it with a different binary name like /usr/bin/wmis-client

SomeBelgianDude

SomeBelgianDude

2022-08-18 19:18

reporter   ~0016591

I can report now that this works with:
sudo apt --fix-broken install
if the package was already installed.

Should also work when installing.

steev

steev

2022-08-24 16:25

manager   ~0016644

This issue is fixed, so closing the bug, thank you for the report!

Issue History

Date Modified Username Field Change
2022-08-15 13:56 samaritan New Issue
2022-08-15 14:33 SomeBelgianDude Note Added: 0016578
2022-08-15 16:01 j_jito Note Added: 0016579
2022-08-15 16:05 j_jito Note Added: 0016580
2022-08-18 19:18 SomeBelgianDude Note Added: 0016591
2022-08-24 16:25 steev Assigned To => steev
2022-08-24 16:25 steev Status new => resolved
2022-08-24 16:25 steev Resolution open => fixed
2022-08-24 16:25 steev Fixed in Version => 2022.4
2022-08-24 16:25 steev Note Added: 0016644