![]() ![]() The output from this should look like this: Install wget if you don’t already have it using:Īfter that use wget to download the key using: For example, here we are downloading the key file to add repositories for on Kali-rolling. To add the Key first we need to download it from the website of the package you are installing. I can't install gnupg because I haven't run apt update yet. However, this throws another error: E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation Now I've seen other questions that suggest an apt-key command to fix this. They have been ignored, or old ones used instead. Were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository W: Failed to fetch The following signatures GPG error: kali-rolling InRelease: Theįollowing signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository ![]() The repository is not updated and the previous It's a new installation (using wsl -install) but when I try to apt-get update I get the following error: W: An error occurred during the signature verification. If you change 38 to 36 then you can use this library in python 3.6.I'm running Kali Linux in WSL2. Probably you can do same method for other python versions. sudo ln -s /usr/lib/python3/dist-packages/apt_pkg.cpython-38-x86_64-linux-gnu.so /usr/lib/python3/dist-packages/apt_pkg.cpython-37-x86_64-linux-gnu.so Please take care that I changed "38" to "37" in linked file. Type "help", "copyright", "credits" or "license" for more information.Īs you can see there is a ".so" file for apt_pkg and it is located to "/usr/lib/python3/dist-packages/apt_pkg.cpython-38-x86_64-linux-gnu.so" Now if you link this file to "/usr/lib/python3/dist-packages/apt_pkg.cpython-37-x86_64-linux-gnu.so" then you can use this library in python 3.7. Let me tell you how to solve this problem. For this I downgraded default python version to 3.7 After downgrade I faced this shit problem. In ubuntu 20 default python version is 3.8 But some packages doesn't support this version. I faced same problem after upgrade ubuntu 19 to ubuntu 20. In this way I can't even upgrade to Ubuntu 14.04. I installed it in /usr/local/lib, but I always get the same error. _gi import _APIįile "/usr/lib/python3/dist-packages/apport_python_hook.py", line 64, in apport_excepthookįrom apport.fileutils import likely_packaged, get_recent_crashesįile "/usr/lib/python3/dist-packages/apport/_init_.py", line 5, in įile "/usr/lib/python3/dist-packages/apport/report.py", line 30, in įile "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in įrom apport.packaging_impl import impl as packagingįile "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 20, in įile "/usr/lib/python3/dist-packages/apt/_init_.py", line 21, in įile "/usr/lib/python3/dist-packages/gi/_init_.py", line 27, in Īs far as I have understood, this is a problem related to the fact that I should have python3.4 installed. ![]() I get: update-managerįile "/usr/bin/update-manager", line 28, in įile "/usr/lib/python3/dist-packages/gi/_init_.py", line 27, in from. I'm rather new to Ubuntu and I'm trying to run update-manager on Ubuntu 13.10. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |