You are not logged in.
I got the brilliant idea last night that systemd-sysvcompat was no longer needed on my system so I unistalled it. Turning on my computer did not go smootly this morning.
I managed to fix the problem by booting a Linux Mint 64bit KDE USB I had lying around and from there I followed some chroot instructions to access my Arch setup and restore the deleted systemd-sysvcompat. While I was at it I also updated some programs. This was all done through pacman undir chroot.
The problem I have now is that my system is 32 bit (i686) and I keep getting the error
error: failed to prepare transaction (package architecture is not valid)
:: package xxx-x86_64 does not have a valid architecture
from pacman. If i add the --arch x86_64 flag pacman stops complaining and installs but I get the 64 bit version (as expected). The packages which I installed from my chroot session all turned out to be x86_64 versions. I have now restored them all to i686 by manually downloading and installing each package.
I found some old posts on the same error from pacman but have not been able to fix the problem after reading them. I have f. ex. tried setting the arch flag in pacman.conf to i686 instead of auto without success.
uname -m reports i686 as the architecture.
Please advise me on what I can try to fix this problem and please forgive me if I've missed out some important log outputs or other information. I'll provide as needed.
Last edited by Bangsadrengur (2013-05-23 13:56:47)
Offline
try: sudo find /var/cache/pacman/pkg -name '*x86_64*' -delete
Offline
No result Scimmia. I had also run 'pacman -Scc' to clear everything up before (didn't mention that).
Offline
This worked falconindy. Pacman is back to normal. Thank you (and you as well Scimmia)
.
Offline