[arch-general] Migrating from 64 to 32 bit
Hi folks, starting to do migration from 64 to 32 bit as announced within the other thread. :o)) I choose the Live-CD method following this guide: https://wiki.archlinux.org/index.php/Migrating_Between_Architectures_Without... changed the script mensioned there this way: ===================== #!/bin/bash MOUNTED_INSTALL='/mnt' TEMP_FILE='/tmp/packages.list' ARCH='i686' # added this and used --arch $ARCH pacman --root $MOUNTED_INSTALL -Sy pacman --root $MOUNTED_INSTALL --cachedir $MOUNTED_INSTALL/var/cache/pacman/pkg --arch $ARCH --noconfirm -S base base-devel # -Sg only *listing* the groups #not reached here yet pacman --root $MOUNTED_INSTALL -Qq > $TEMP_FILE for PKG in $(cat $TEMP_FILE) ; do pacman --root $MOUNTED_INSTALL --cachedir $MOUNTED_INSTALL/var/cache/pacman/pkg --noconfirm -S $PKG done exit 0 ================= As I'm a courious guy I run the lines one by one on the shell watching the results :o)) running the second line, 32-bit live arch's pacman refuses to install 32-bit packages and instead complains (example): :: package pkg-config-0.28-2-x86_64 does not have a valid architecture this is basically true, but not very helpful because I requested it to install 32-bit packages which in this case should be pkg-config-0.28-2-i686, if I got it right. Changing neither /etc/pacman.conf's Architecture = i686 nor the /etc/pacman.d/mirrorlist entries accordingly are of any help. Does anyone have an idea, what's missing? -- Friedrich
On 2014-07-20 18:17, Friedrich Strohmaier wrote:
Hi folks,
starting to do migration from 64 to 32 bit as announced within the other thread. :o))
I choose the Live-CD method following this guide: https://wiki.archlinux.org/index.php/Migrating_Between_Architectures_Without...
changed the script mensioned there this way:
===================== #!/bin/bash
MOUNTED_INSTALL='/mnt' TEMP_FILE='/tmp/packages.list' ARCH='i686' # added this and used --arch $ARCH
pacman --root $MOUNTED_INSTALL -Sy pacman --root $MOUNTED_INSTALL --cachedir $MOUNTED_INSTALL/var/cache/pacman/pkg --arch $ARCH --noconfirm -S base base-devel # -Sg only *listing* the groups
#not reached here yet pacman --root $MOUNTED_INSTALL -Qq > $TEMP_FILE for PKG in $(cat $TEMP_FILE) ; do pacman --root $MOUNTED_INSTALL --cachedir $MOUNTED_INSTALL/var/cache/pacman/pkg --noconfirm -S $PKG done
exit 0 =================
As I'm a courious guy I run the lines one by one on the shell watching the results :o))
running the second line, 32-bit live arch's pacman refuses to install 32-bit packages and instead complains (example):
:: package pkg-config-0.28-2-x86_64 does not have a valid architecture
this is basically true, but not very helpful because I requested it to install 32-bit packages which in this case should be pkg-config-0.28-2-i686, if I got it right.
Changing neither /etc/pacman.conf's Architecture = i686 nor the /etc/pacman.d/mirrorlist entries accordingly are of any help.
Does anyone have an idea, what's missing?
Channge pacman -Sy to pacman -Syy to force it to grab new databases.
Hi Doug, *, thanks for Your reply, Am 20.07.2014 20:38 schrieb Doug Newgard:
On 2014-07-20 18:17, Friedrich Strohmaier wrote:
I choose the Live-CD method following this guide: https://wiki.archlinux.org/index.php/Migrating_Between_Architectures_Without...
[..]
pacman --root $MOUNTED_INSTALL -Sy pacman --root $MOUNTED_INSTALL --cachedir $MOUNTED_INSTALL/var/cache/pacman/pkg --arch $ARCH --noconfirm -S base base-devel
[..]
running the second line, 32-bit live arch's pacman refuses to install 32-bit packages
[..]
Does anyone have an idea, what's missing?
Channge pacman -Sy to pacman -Syy to force it to grab new databases.
This did the trick :o)) I wanted to change the wiki and noticed my AUR account not working there. Did I miss anything or do I need two accounts? -- Friedrich
On Wed, Jul 23, 2014 at 02:02:18AM +0200, Friedrich Strohmaier wrote:
I wanted to change the wiki and noticed my AUR account not working there. Did I miss anything or do I need two accounts? -- Friedrich
Nope, two different accounts. --Sean
participants (3)
-
Doug Newgard
-
Friedrich Strohmaier
-
Sean Greenslade