I was able to install kali template on a Dell 5520 with no special adjustments. The kali tools I tried ran fine. The only problem I had was that it would not update. It starts the update process but halts after only a few seconds. I tried it via Qubes update and CLI with same result.
on edit; I did not see that @rasta was having the update error. I will try his solution and see if it works.
I am still having update issues with Kali. I have tried the above suggestions.
I ran Qubes update and it aborts after about 30 seconds
then I run terminal commands
These are the errors I’m getting from CLI
user@kali:~$ sudo apt-get update
The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <devel@kali.org>
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://kali.download/kali kali-rolling InRelease: The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <devel@kali.org>
W: Failed to fetch http://http.kali.org/kali/dists/kali-rolling/InRelease The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <devel@kali.org>
W: Some index files failed to download. They have been ignored, or old ones used instead.
.................
user@kali:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
...................
Err:1 http://http.kali.org/kali kali-rolling/main amd64 bash amd64 5.0-7
404 Not Found [IP: 127.0.0.1 8082]
Err:2 http://http.kali.org/kali kali-rolling/main amd64 rsyslog amd64 8.2008.0-1
404 Not Found [IP: 127.0.0.1 8082]
Err:3 http://http.kali.org/kali kali-rolling/main amd64 keepassxc amd64 2.6.1+dfsg.1-1
404 Not Found [IP: 127.0.0.1 8082]
Err:4 http://http.kali.org/kali kali-rolling/main amd64 libfreetype6 amd64 2.10.2+dfsg-3
404 Not Found [IP: 127.0.0.1 8082]
.................
Err:1 http://http.kali.org/kali kali-rolling/main amd64 bash amd64 5.0-7
404 Not Found [IP: 127.0.0.1 8082]
Err:2 http://http.kali.org/kali kali-rolling/main amd64 rsyslog amd64 8.2008.0-1
404 Not Found [IP: 127.0.0.1 8082]
Err:3 http://http.kali.org/kali kali-rolling/main amd64 keepassxc amd64 2.6.1+dfsg.1-1
404 Not Found [IP: 127.0.0.1 8082]
Err:4 http://http.kali.org/kali kali-rolling/main amd64 libfreetype6 amd64 2.10.2+dfsg-3
404 Not Found [IP: 127.0.0.1 8082]
You have two separate issues:
You have an invalid GPG key - wget -q -O - https://archive.kali.org/archive-key.asc | apt-key add
This will download the archive key and add it to the apt keyring, so you
can properly update.
Because you haven’t been able to update the package lists, you are still
referencing versions that have been dropped from kali-rolling.
Once you run a successful apt update then you will have the 8right*
versions.
I use Zenmap (nmap gui) on an older stand-alone Kali install. This new Kali distro does not have it but it was easy enough to add following this guide. Zenmap -- Easy GUI version of Nmap
on edit: the guide is incomplete for Kali 2021.
After install, the template appmenu is populated witih Zenmap, but clicking them only gives you a flash of a window and then nothing.
I tried to launch Zenmap from terminal and this produced many dependency errors. Zenmap was not starting.
SOLVED- Kali dropped Python 2 in favor of Python 3 and Zenmap in its current incarnation depends on Python gtk2 module. I had to install Python gtk2 and its dependencies . Now Zenmap works like a charm.
BTW, Qubes 4.1 is really much more compatible (and stable) with my Dell 5520 with Xeon e3-1505, than any of the previous Qubes versions. I’ve used Qubes on this machine since Q3.1
Thanks to the Qubes team and the community for this excellent OS
I tried the frist time to copy a file to the kali template appvm and template, but then I have got a fatal error of qfileagent and that don’t work. Just the folder of the incoming qube appears but not the file. Can I fix that anyway?
thank you again for ur great help and enjoy your weekend everybody
Update: Some file type .doc for example ,but to copy .deb file works not.
Btw: to set fedora-33 as default-mgmt is working and solves the problem with updating over the qubes updater
And that fix is working for the fed-33 template, kali ,deb-11 and the xfce templates.too. So I don’t have to update these vm’s from their terminals anymore.
Unfortunately for me that doesn’t work and I need to use these commands:
1.gpg --keyserver pgpkeys.mit.edu --recv-key ED444FF07D8D0BF6
2. gpg -a --export ED444FF07D8D0BF6 | sudo apt-key add -
Then everything is fine
Can you at least say why it didn’t work? That would be helpful to other
users.
If you don’t pipe to apt-key, what is the output? wget -O - https://archive.kali.org/archive-key.asc
With the current rolling kali, qubes-qube-manager can’t update with error:
Failed to apply DSA-4371 fix: dpkg-query: package ‘libapt-pkg5.0’ is not installed and no information is available Use dpkg --info (= dpkg-deb --info) to examine archive files. Error: Failed to get apt version
The issue is, python on the fully updated kali-rolling stdout appends the following to the output of the dsa-4371 script:
┏━(Message from Kali developers)
┃
┃ We have kept /usr/bin/python pointing to Python 2 for backwards
┃ compatibility. Learn how to change this and avoid this message:
┃ ⇒ https://www.kali.org/docs/general-use/python3-transition/
┃
┗━(Run “touch ~/.hushlogin” to hide this message)
So, to fix, on the kali template:
sudo touch ~root/.hushlogin
Then qubes-qube-manager should be able to update the template normally.
Also, after extending the root partition using kde’s partition manager, the install of the kali template still failed because the root-pool ran out of space and killed all vm’s (no vm could boot).
I think the fix was:
sudo lvextend -L 100GB qubes_dom0/root-pool
100GB is quite large, so adjust that to suite your needs.
Is it also possible to open Kali VM like a whole as I did with Kali images on virtual box? Now I have a seperate menu item for terminal and Firefox. For a training I use an openvpn tunnel to network with servers. On my previous image I could open a webserver on a server that was accessible via the openvpn tunnel. Now with a separate instance of Firefox, this isn’t possible and the browser doesn’t run on top of the tunnel.
When I’m trying to install the Kali template this is the error I am getting. What should I do?
[MIRROR] qubes-template-kali-4.0.6-202106171816.noarch.rpm: Curl error (23): Failed writing received data to disk/application for https://mirrors.edge.kernel.org/qubes/repo/yum/r4.1/templates-community-testing/rpm/qubes-template-kali-4.0.6-202106171816.noarch.rpm [Failure writing output to destination]
[FAILED] qubes-template-kali-4.0.6-202106171816.noarch.rpm: Curl error (23): Failed writing received data to disk/application for https://mirrors.edge.kernel.org/qubes/repo/yum/r4.1/templates-community-testing/rpm/qubes-template-kali-4.0.6-202106171816.noarch.rpm [Failure writing output to destination]
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Error downloading packages:
Curl error (23): Failed writing received data to disk/application for https://mirrors.edge.kernel.org/qubes/repo/yum/r4.1/templates-community-testing/rpm/qubes-template-kali-4.0.6-202106171816.noarch.rpm [Failure writing output to destination]
Hi, I’m trying to update a kali template in the Qube Manager. I’m getting the error message about libapt-pkg5.0 is not installed.
I’m not sure if you meant
sudo touch ~root/.hushlogin
or
sudo touch ~/.hushlogin
I tried both and I still can’t update through Qube Manager.
I can update/upgrade in the kali template in a terminal just fine but I’m still having missing sound and video playback issues that I hope an update will fix.
sorry I’m new and I don’t know where to find log files but maybe there’s an easy fix I don’t know about?
I just upgraded to 4.1. I can’t find the kali template. When i run sudo qubes-dom0-update --enablerepo=qubes-template-community-testing qubes-template-kali
I receive qvm-template error Template kali not found