You are not logged in.
Hello,
I am currently trying to install Archlinux32 on my Thinkpad t60, but whenever I try pacstrap, I get the following error:
error: failed to prepare transaction (package architecture is not valid)
:: package linux-5.3.10.1-1.0-i686 does not have a valid architecture
==> ERROR: Failed to install packages to new root
I believe the problem is that the system keeps trying to install i686 packages on a pentium4 system, but I'm not exactly sure how to force pacstrap to install pentium4 packages.
If any of you guys could help me, that would be great. Additionally, if this post belongs somewhere else, please let me know, as this is my first forum post here.
My environment is as follows:
IBM Thinkpad t60p
Intel Centrino Duo (i686 architecture I believe) T2400 @ 1.83ghz
Thanks!
Last edited by Lenix (2019-11-22 23:34:20)
Offline
pacman detects that you have a system being able to run the pentium4 packages, but on the ISO is i686 only. So you have to set 'Architecture=pentium4' in
'/etc/pacman.conf' (there is a 'Architecture=i686' on the ISO most likely). Then pacstrap should install a pentium4 version.
Offline
Wouldn't it be more preferable if the iso shipped a pacman.conf that had an Architecture=auto line in it, or would that create other problems I've not though of?
Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.
Offline
With auto you can not install software onto the ram disk which is based on the ISO (because there we ship only 686). That's the only drawback I can think of.
Offline
Hmm, certainly on machines I've installed archlinux on I've not installed any software before running arch-chroot, but I don't use graphics cards on my machines, which I guess might make it necessary to install unfree drivers early on.
Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.
Offline
Thank you guys for the quick reply!
So far, the initial pacstrap package install is working, I will update this further if I run into any more issues.
Again, Thanks for the help!
Offline
Just for clarification: The iso does not ship with Architecture=i686, it has Architecture=auto.
Offline
Hmm, then it doesn't make sense to me that changing that to Architecure=pentium4 on a machine that supports pentium4 to me at least. Still, if it works, no complaints from me.
Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.
Offline