Author Topic: Kali dependency issues  (Read 4831 times)

ZimbiX

  • Jr. Member
  • **
  • Posts: 86
    • View Profile
    • https://twitter.com/ZimbiX
Kali dependency issues
« on: December 24, 2018, 09:52:03 am »
Hey guys, I'm having some trouble with Kali. Running `sudo apt install kali-linux-full` or `sudo apt upgrade` now results in it being unbootable. iirc I'd had success with both these commands before, but started having trouble a few days ago.
The former, I think is because it removes `libhardware2 libhybris libhybris-common1 libmedia1 pulseaudio-module-droid repowerd xserver-xorg-video-hwcomposer` due to an incompatible dependency on a slightly older version of `libc6`. I know hybris is required for graphics, given it's using that as a compatibility later to use the Android driver, so that makes sense.
The latter might be due to an upgrade of `lxc` (that's used for hybris, right?), but I don't know.
I think the fix would be for the packages Re4son supplies to be updated to support the new versions of their dependencies in the Kali repos, or provide compatible versions of them.
After letting the hybris removal go through once, I tried to reinstall the original package versions, but they were not available. Do the Kali repos drop older package versions?
Cheers! =)
apt plans for the commands: https://gist.github.com/ZimbiX/2ea188095de1...88f43913df937b4
I am impressed with the graphics performance in Kali, so well done for that! It is very usable; way better than when I briefly tried TP1

This is a repost from IRC on Saturday. I haven't tried it again since, as I'm using TP2 now with great success! :D

btw, it seems `kali-linux-full` depends on `vim`, which conflicts with the preinstalled `vim-tiny`; best to uninstall `vim-tiny` first thing.

Re4son

  • Newbie
  • *
  • Posts: 2
    • View Profile
Kali dependency issues
« Reply #1 on: December 24, 2018, 06:12:01 pm »
Hi ZimbiX,



Quote from: ZimbiX
Hey guys, I'm having some trouble with Kali. Running `sudo apt install kali-linux-full` or `sudo apt upgrade` now results in it being unbootable. iirc I'd had success with both these commands before, but started having trouble a few days ago.

Sorry for that and thanks for letting us know. The latest builds were slighty out of sync for a day or two but it's fixed again.
I'm going to set up a watch job to prevent that from happening again.

Quote
The former, I think is because it removes `libhardware2 libhybris libhybris-common1 libmedia1 pulseaudio-module-droid repowerd xserver-xorg-video-hwcomposer` due to an incompatible dependency on a slightly older version of `libc6`. I know hybris is required for graphics, given it's using that as a compatibility later to use the Android driver, so that makes sense.
The latter might be due to an upgrade of `lxc` (that's used for hybris, right?), but I don't know.
I think the fix would be for the packages Re4son supplies to be updated to support the new versions of their dependencies in the Kali repos, or provide compatible versions of them.
After letting the hybris removal go through once, I tried to reinstall the original package versions, but they were not available. Do the Kali repos drop older package versions?
Cheers! =)
apt plans for the commands: https://gist.github.com/ZimbiX/2ea188095de1...88f43913df937b4

That's exactly what happened. A rebuild of libhybris fixed it.


Many thanks,
Re4son

ZimbiX

  • Jr. Member
  • **
  • Posts: 86
    • View Profile
    • https://twitter.com/ZimbiX
Kali dependency issues
« Reply #2 on: December 25, 2018, 07:13:50 pm »
Great! Thanks, Re4son =)

jovpov

  • Newbie
  • *
  • Posts: 21
    • View Profile
Kali dependency issues
« Reply #3 on: December 26, 2018, 04:12:10 pm »
Is it possible to have Sailfish beside Android&Kali ? How to make Scatter file that support triple boot?

gemini2k

  • Newbie
  • *
  • Posts: 6
    • View Profile
Kali dependency issues
« Reply #4 on: January 05, 2019, 09:49:54 am »
Quote from: Re4son
Hi ZimbiX,



Quote from: ZimbiX
Hey guys, I'm having some trouble with Kali. Running `sudo apt install kali-linux-full` or `sudo apt upgrade` now results in it being unbootable. iirc I'd had success with both these commands before, but started having trouble a few days ago.

Sorry for that and thanks for letting us know. The latest builds were slighty out of sync for a day or two but it's fixed again.
I'm going to set up a watch job to prevent that from happening again.

Quote
The former, I think is because it removes `libhardware2 libhybris libhybris-common1 libmedia1 pulseaudio-module-droid repowerd xserver-xorg-video-hwcomposer` due to an incompatible dependency on a slightly older version of `libc6`. I know hybris is required for graphics, given it's using that as a compatibility later to use the Android driver, so that makes sense.
The latter might be due to an upgrade of `lxc` (that's used for hybris, right?), but I don't know.
I think the fix would be for the packages Re4son supplies to be updated to support the new versions of their dependencies in the Kali repos, or provide compatible versions of them.
After letting the hybris removal go through once, I tried to reinstall the original package versions, but they were not available. Do the Kali repos drop older package versions?
Cheers! =)
apt plans for the commands: https://gist.github.com/ZimbiX/2ea188095de1...88f43913df937b4

That's exactly what happened. A rebuild of libhybris fixed it.


Many thanks,
Re4son

Hi @Re4son im having the same issue with unmet dependencies with VIM.

Here is the error message I am getting
Quote
vim : Depends: vim-runtime (= 2:8.1.0549-1) but 2:8.1.0320-1 is to be installed
 vim-tiny : Depends: vim-common (= 2:8.1.0320-1) but 2:8.1.0549-1 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
 What do I need to do to fix this? All the cmds I have tried do not fix it and I cannot remove Vim-Tiny now that I have attempted to upgrade. If I reboot, it will not boot so a fix would be great. Thanks

ZimbiX

  • Jr. Member
  • **
  • Posts: 86
    • View Profile
    • https://twitter.com/ZimbiX
Kali dependency issues
« Reply #5 on: January 06, 2019, 09:29:04 am »
Hey @gemini2k, I had that issue once too. You can remove it at that point with `dpkg -r vim-tiny` =)

gemini2k

  • Newbie
  • *
  • Posts: 6
    • View Profile
Kali dependency issues
« Reply #6 on: January 10, 2019, 03:07:10 am »
Thanks for the tips. I think the update was interrupted for some reason and now Im getting this error.

Quote
kali@kali:~$ sudo apt upgrade
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
kali@kali:~$ sudo dpkg --configure -a
dpkg: error: parsing file '/var/lib/dpkg/updates/0061' near line 0:
 field name '-----BEGIN' cannot start with hyphen

I have tried a few solutions from forums but none are working. Any help appreciated!