[arch-general] Chroot 32bit under 64bit; Problems with kernel package
I'm following the guide available at this URL: http://wiki.archlinux.org/index.php/Arch64_Install_bundled_32bit_system Currently I'm stuck on this step:
[root@archpc ~]# pacman --root /opt/arch32 --cachedir /opt/arch32/var/cache/pacman/pkg --config /opt/arch32/pacman.conf -S base base-devel error: failed to prepare transaction (package architecture is not valid) :: package kernel26-i915-2.6.34.1-1-x86_64 does not have a valid architecture
I'm wondering how I should go about getting this chroot working. I'll be using the chroot to compile wine, I was unable to get it working with gcc-multilib.
Thanks.
On Sun, 25 Jul 2010 17:22:45 +0930 Jordan Windsor jordanw2@gmail.com wrote:
I'm following the guide available at this URL: http://wiki.archlinux.org/index.php/Arch64_Install_bundled_32bit_system Currently I'm stuck on this step:
[root@archpc ~]# pacman --root /opt/arch32 --cachedir /opt/arch32/var/cache/pacman/pkg --config /opt/arch32/pacman.conf -S base base-devel error: failed to prepare transaction (package architecture is not valid) :: package kernel26-i915-2.6.34.1-1-x86_64 does not have a valid architecture
I'm wondering how I should go about getting this chroot working. I'll be using the chroot to compile wine, I was unable to get it working with gcc-multilib.
Thanks.
Why don't you use the devtools to create and use the chroot for packaging? It'll help you a lot: http://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_Clean_Chroot
Thorsten
There's the line "Architecture = auto" in the new pacman.conf, maybe you can specify i686 here.
On Sun, Jul 25, 2010 at 3:52 PM, Jordan Windsor jordanw2@gmail.com wrote:
I'm following the guide available at this URL: http://wiki.archlinux.org/index.php/Arch64_Install_bundled_32bit_system Currently I'm stuck on this step:
[root@archpc ~]# pacman --root /opt/arch32 --cachedir /opt/arch32/var/cache/pacman/pkg --config /opt/arch32/pacman.conf -S base base-devel error: failed to prepare transaction (package architecture is not valid) :: package kernel26-i915-2.6.34.1-1-x86_64 does not have a valid architecture
I'm wondering how I should go about getting this chroot working. I'll be using the chroot to compile wine, I was unable to get it working with gcc-multilib.
Thanks.
PT M. [2010.07.25 1606 +0800]:
There's the line "Architecture = auto" in the new pacman.conf, maybe you can specify i686 here.
This is exactly what resolved the problem for me. Found this advice by googling a bit.
- Norbert
On Sun, Jul 25, 2010 at 6:41 PM, Norbert Zeh nzeh@cs.dal.ca wrote:
PT M. [2010.07.25 1606 +0800]:
There's the line "Architecture = auto" in the new pacman.conf, maybe you can specify i686 here.
This is exactly what resolved the problem for me. Found this advice by googling a bit.
- Norbert
--
() ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
How would I use mkarchroot to create a 32bit chroot under a 64bit system? Thanks.
On 07/25/2010 01:13 PM, Jordan Windsor wrote:
On Sun, Jul 25, 2010 at 6:41 PM, Norbert Zehnzeh@cs.dal.ca wrote:
PT M. [2010.07.25 1606 +0800]:
There's the line "Architecture = auto" in the new pacman.conf, maybe you can specify i686 here.
This is exactly what resolved the problem for me. Found this advice by googling a bit.
- Norbert
--
() ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
How would I use mkarchroot to create a 32bit chroot under a 64bit system? Thanks.
linux32 mkarchroot <chroot>/root base base-devel sudo
On Sun, Jul 25, 2010 at 8:06 PM, Ionuț Bîru ibiru@archlinux.org wrote:
On 07/25/2010 01:13 PM, Jordan Windsor wrote:
On Sun, Jul 25, 2010 at 6:41 PM, Norbert Zehnzeh@cs.dal.ca wrote:
PT M. [2010.07.25 1606 +0800]:
There's the line "Architecture = auto" in the new pacman.conf, maybe you can specify i686 here.
This is exactly what resolved the problem for me. Found this advice by googling a bit.
- Norbert
--
() ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
How would I use mkarchroot to create a 32bit chroot under a 64bit system? Thanks.
linux32 mkarchroot <chroot>/root base base-devel sudo
-- Ionuț
Thanks for your help, unfortunately it didn't work here's the output: http://pastebin.com/NBhLWJwm Thanks.
On 07/25/2010 01:56 PM, Jordan Windsor wrote:
On Sun, Jul 25, 2010 at 8:06 PM, Ionuț Bîruibiru@archlinux.org wrote:
On 07/25/2010 01:13 PM, Jordan Windsor wrote:
On Sun, Jul 25, 2010 at 6:41 PM, Norbert Zehnzeh@cs.dal.ca wrote:
PT M. [2010.07.25 1606 +0800]:
There's the line "Architecture = auto" in the new pacman.conf, maybe you can specify i686 here.
This is exactly what resolved the problem for me. Found this advice by googling a bit.
- Norbert
--
() ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
How would I use mkarchroot to create a 32bit chroot under a 64bit system? Thanks.
linux32 mkarchroot<chroot>/root base base-devel sudo
-- Ionuț
Thanks for your help, unfortunately it didn't work here's the output: http://pastebin.com/NBhLWJwm Thanks.
that would work only if you have the new syntax in /etc/pacman.d/mirrorlist containing $arch
On Sun, Jul 25, 2010 at 8:38 PM, Ionuț Bîru ibiru@archlinux.org wrote:
On 07/25/2010 01:56 PM, Jordan Windsor wrote:
On Sun, Jul 25, 2010 at 8:06 PM, Ionuț Bîruibiru@archlinux.org wrote:
On 07/25/2010 01:13 PM, Jordan Windsor wrote:
On Sun, Jul 25, 2010 at 6:41 PM, Norbert Zehnzeh@cs.dal.ca wrote:
PT M. [2010.07.25 1606 +0800]:
There's the line "Architecture = auto" in the new pacman.conf, maybe you can specify i686 here.
This is exactly what resolved the problem for me. Found this advice by googling a bit.
- Norbert
--
() ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
How would I use mkarchroot to create a 32bit chroot under a 64bit system? Thanks.
linux32 mkarchroot<chroot>/root base base-devel sudo
-- Ionuț
Thanks for your help, unfortunately it didn't work here's the output: http://pastebin.com/NBhLWJwm Thanks.
that would work only if you have the new syntax in /etc/pacman.d/mirrorlist containing $arch
-- Ionuț
How does mkarchroot & makechrootpkg differ from the non devtools route? (Kinda new to chroots) Also if I set up a system with mkarchroot should I chroot into it or should I use another method?
Thanks
On 25/07/10 20:56, Jordan Windsor wrote:
On Sun, Jul 25, 2010 at 8:06 PM, Ionuț Bîruibiru@archlinux.org wrote:
On 07/25/2010 01:13 PM, Jordan Windsor wrote:
On Sun, Jul 25, 2010 at 6:41 PM, Norbert Zehnzeh@cs.dal.ca wrote:
PT M. [2010.07.25 1606 +0800]:
There's the line "Architecture = auto" in the new pacman.conf, maybe you can specify i686 here.
This is exactly what resolved the problem for me. Found this advice by googling a bit.
- Norbert
--
() ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
How would I use mkarchroot to create a 32bit chroot under a 64bit system? Thanks.
linux32 mkarchroot<chroot>/root base base-devel sudo
-- Ionuț
Thanks for your help, unfortunately it didn't work here's the output: http://pastebin.com/NBhLWJwm Thanks.
You pacman.d/mirrorlist uses x86_64 instead of $arch.
Allan
On 07/25/2010 10:52 AM, Jordan Windsor wrote:
I'm following the guide available at this URL: http://wiki.archlinux.org/index.php/Arch64_Install_bundled_32bit_system Currently I'm stuck on this step:
[root@archpc ~]# pacman --root /opt/arch32 --cachedir /opt/arch32/var/cache/pacman/pkg --config /opt/arch32/pacman.conf -S base base-devel error: failed to prepare transaction (package architecture is not valid) :: package kernel26-i915-2.6.34.1-1-x86_64 does not have a valid architecture
linux32 pacman --root /opt/arch32 --cachedir /opt/arch32/var/cache/pacman/pkg --config /opt/arch32/pacman.conf -S base base-devel
linux32 chroot /opt/arch32
participants (6)
-
Allan McRae
-
Ionuț Bîru
-
Jordan Windsor
-
Norbert Zeh
-
PT M.
-
Thorsten Töpper