On Fri, 21 May 2010 22:41:12 +0200 "Andre \"Osku\" Schmidt" <andre.osku.schmidt@xxxxxxxxxxxxxx> wrote: > >> just gives me the usage info, without any > >> errors... and also the "Invalid URL scheme" errors that i see in > >> tty7 are nowhere to find in /var/log/* > > > > what i would do in a case like this is just monitor the output of > > 'pstree' to see which processes is running (ie wget, pacman, ..), > > then you can debug the networking issue from there. > > oooh! you learn new things every day :) > super tip. thanks! i got something, maybe > > pstree shows (when it hangs in url scheme error) > aif /sbin/aif -p automatic -c /root/pacinst.aif -d -l > |--pacman --root /mnt --config /tmp/pacman.conf -Sy > > and as according to some forum post (and it seems to work only with > this) i had to uncomment: > XferCommand = /usr/bin/wget ... > in /etc/pacman.conf to get pacman to work on the installer image > console. and now looking at the /tmp/pacman.conf, this option is > missing. > > but as i assumed (and test showed) the /tmp/pacman.conf gets newly > generated on every aif run. so i cant edit that. > > what file could i edit to get that xfercommand in /tmp/pacman.conf > > (this looks even closer, OMG! /me is crossing fingers... :) another tip: just grep in the aif source code and you'll see. if you grep for '/tmp/pacman.conf' you'll see there is a function target_write_pacman_conf in lib-pacman.sh, like any other function you can override this with your own. Dieter