-
-
Notifications
You must be signed in to change notification settings - Fork 588
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unknown key 'makepkgopt' in package description #4133
Comments
What was the fix? |
Downgrading pacman fixed it, be careful though as downgrading pacman is a very dangerous thing to do. I downgraded it first around v6.0.0 but that broke my system. Though, I easily fixed it through chrooting from a flash drive. I fixed it on downgrading to version 6.0.2. After installing the tools you need, upgrade the pacman. |
ok wait.. so downgrade pacman to 6.0.2, install whatever blackarch tools, then upgrade pacman back to where it was? is there a way to fix 'makepkgopt' in the code of pacman or the conf file? That way I can just keep pacman where it's at. or is this the only way? |
I believe it is an issue with gpg signing, and I tried several other methods to fix this (as I couldn't find a guide to downgrade pacman). Thankfully I'm running blackarch in a docker container so I wasn't too worried about breaking everything. In the end downgrading pacman to 6.0.2-9 works. Just run: wget https://archive.archlinux.org/packages/p/pacman/pacman-6.0.2-9-x86_64.pkg.tar.zst pacman -U [directory of the above file] Then you should be able to run the install as normal, and then you can run 'pacman -Syu' after to upgrade pacman back to the latest release. |
yup, for now the only workaround I found is downgrading to v6.0.2 and install all the tools I need and upgrade it back to the latest version. |
You can use 'downgrade' command for downgrading packages. Refers to https://wiki.archlinux.org/title/downgrading_packages |
You have fix without downgrading? |
Type: Question
Question
Any idea how to fix this? i tried different servers, refreshing keys...
❯ pacman --version
.--. Pacman v6.1.0 - libalpm v14.0.0
/ _.-' .-. .-. .-. Copyright (C) 2006-2024 Pacman Development Team
\ '-. '-' '-' '-' Copyright (C) 2002-2006 Judd Vinet
'--'
This program may be freely redistributed under
the terms of the GNU General Public License.
reinstalling arch linux... I used strap.sh btw
The text was updated successfully, but these errors were encountered: