You are not logged in.
So long story short I was having some wifi issues and in the process of trying to fix it I may have accidentally deleted my networkmanager package. So I decided to boot up my windows pc and download the package. I then put it on a usb stick, plugged it into my arch machine and mounted the drive. I then went into the directory of the usb and ran the command
pacman -U networkmanager-1.40.8-2-aarch64.pkg.tar.xzIt then gave me the error stated in the title, specifically
loading packages...
error: failed to prepare transaction (package architecture is not valid)
:: package networkmanager-1.40.8-2-aarch64 does not have a valid architectureI apologize if this is a dumb question, but I am personally stumped and have spent too many hours trying to fix this.
Last edited by tatertot (2023-01-03 07:03:44)
Offline
You've downloaded a package for Arch Arm maybe? You should have networkmanager-1.40.8-2-x86_64.pkg.tar.zst and the corresponding .sig file, networkmanager-1.40.8-2-x86_64.pkg.tar.zst.sig. Use the download link on https://archlinux.org/packages/extra/x8 … rkmanager/.
Last edited by cfr (2023-01-03 06:10:45)
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
The package you want to download is called: networkmanager-1.40.8-2-x86_64.pkg.tar.zst (note the x86_64 designator).
Offline
Wow I can't believe I missed my mistake. I did download the wrong package as I downloaded it from https://archlinuxarm.org/packages/aarch … orkmanager. Thank your for your help! ![]()
Offline