View Issue Details

IDProjectCategoryView StatusLast Update
0008666Kali LinuxKali Package Bugpublic2024-03-23 12:51
Reporterjabrahamjohns Assigned Toarnaudr  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionnot fixable 
Summary0008666: package libgl1-mesa-glx is not installable
Description

I have been trying to install packet tracer from cisco after installing kali Linux in a new machine and this is what has been happening with same consistent error.

Sudo apt install CiscoPacketTracer_821_Ubuntu_64bit.deb
[Sudo] password for aj:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package CiscoPacketTracer_821_Ubuntu_64bit.deb

Sudo dpkg -i Packet_Tracer821_amd64_signed.deb
Selecting previously unselected package packettracer.
(Reading database ... 476781 files and directories currently installed.)
Preparing to unpack Packet_Tracer821_amd64_signed.deb ...
Unpacking packettracer (8.2.1) ...
dpkg: dependency problems prevent configuration of packettracer:
packettracer depends on libgl1-mesa-glx; however:
Package libgl1-mesa-glx is not installed.
packettracer depends on libxcb-xinerama0-dev; however:
Package libxcb-xinerama0-dev is not installed.

dpkg: error processing package packettracer (--install):
dependency problems - leaving unconfigured
Processing triggers for gnome-icon-theme (3.12.0-5) ...
Processing triggers for shared-mime-info (2.4-1) ...
Errors were encountered while processing:
packettracer

Sudo apt install libgl1-mesa-glx libxcb-xinerama0-dev

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package libgl1-mesa-glx is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libgl1-mesa-glx' has no installation candidate

sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
packettracer
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 483261 files and directories currently installed.)
Removing packettracer (8.2.1) ...
gtk-update-icon-cache: Cache file created successfully.
Processing triggers for shared-mime-info (2.4-1) ...
Processing triggers for gnome-icon-theme (3.12.0-5) ...

sudo dpkg -i Packet_Tracer821_amd64_signed.deb
Selecting previously unselected package packettracer.
(Reading database ... 476781 files and directories currently installed.)
Preparing to unpack Packet_Tracer821_amd64_signed.deb ...
Unpacking packettracer (8.2.1) ...
dpkg: dependency problems prevent configuration of packettracer:
packettracer depends on libgl1-mesa-glx; however:
Package libgl1-mesa-glx is not installed.
packettracer depends on libxcb-xinerama0-dev; however:
Package libxcb-xinerama0-dev is not installed.

dpkg: error processing package packettracer (--install):
dependency problems - leaving unconfigured
Processing triggers for gnome-icon-theme (3.12.0-5) ...
Processing triggers for shared-mime-info (2.4-1) ...
Errors were encountered while processing:
packettracer

Attached Files

Activities

Arszilla

Arszilla

2024-03-12 19:43

reporter   ~0019011

Not a Kali issue. Cisco has to fix their package.

arnaudr

arnaudr

2024-03-13 10:58

manager   ~0019015

You are trying to install a package that comes from another distro (CiscoPacketTracer_821_Ubuntu_64bit.deb) or from a third-party (Packet_Tracer821_amd64_signed.deb). This is generally not a good idea, and if you do, things might not work, and you're on your own to fix it.

Understand that packages have dependencies, so it's expected that if you pick a package from another distro, it might have dependencies that are not be available in Kali. Or, dependencies are in Kali, but not the same version as the distro from where you picked the package, and you're now running an untested combination that might not work as expected, or be completely broken (despite the package being installable). Or work great if you're lucky, but might break after an update.

Now, in this particular case: libgl1-mesa-glx is a binary package that was produced by the source package mesa. In mesa version 23.1.3-1, there used to be a binary package libgl1-mesa-glx. However starting 23.2.1-1, this binary package is not built anymore. I don't know why, either it was dropped temporarily due to some issues that are hard to resolve, or it was removed forever because it's deprecated? I don't know.

Kali is a rolling distro based in Debian testing, so basically it tracks closely the latest changes that come from Debian. At the moment in Kali there is mesa 23.3.5-1, and therefore there's no binary package libgl1-mesa-glx.

If you really need to install this third-party package, you will have to wait until the vendor that produces it (Ubuntu or whoever, I don't know) update it, so that the dependency on libgl1-mesa-glx is dropped.

Closing, as this not a bug in Kali, and not fixable on our side. Sorry!

Issue History

Date Modified Username Field Change
2024-03-12 12:51 jabrahamjohns New Issue
2024-03-12 12:51 jabrahamjohns File Added: Screenshot_2024-03-06_12_49_10.png
2024-03-12 12:51 jabrahamjohns File Added: Screenshot_2024-03-12_15_35_41.png
2024-03-12 12:51 jabrahamjohns File Added: Screenshot_2024-03-12_15_48_25.png
2024-03-12 19:43 Arszilla Note Added: 0019011
2024-03-13 10:58 arnaudr Note Added: 0019015
2024-03-13 11:00 arnaudr Assigned To => arnaudr
2024-03-13 11:00 arnaudr Status new => closed
2024-03-13 11:00 arnaudr Resolution open => not fixable