FS#7445 - Installation failure from FTP ISO: missing wget

Attached to Project: Arch Linux
Opened by Dmitry Golubovsky (golubovsky) - Friday, 15 June 2007, 14:30 GMT
Last edited by Tobias Powalowski (tpowa) - Sunday, 17 June 2007, 07:36 GMT
Task Type Bug Report
Category Installation
Status Closed
Assigned To No-one
Architecture i686
Severity High
Priority Normal
Reported Version 2007.05 Duke
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Wget seems to be missing on the FTP installation ISO. Pacman tries to use wget by default, so installation (/arch/quickinst) fails at the early stage of synchronizing databases.

Possible fixes:

1. Modify the /arch/quickinst (and /arch/setup accordingly), so the temporary pacman config file /tmp/pacman.conf would also contain (before the [current] section):

[options]
XferCommand=snarf %u %o

or

2. Include wget on the CD image

The latter makes some inconvenience if installing behind a proxy, as snarf and wget need environment variables named differently to use the proxy.

Additional info:
* package version(s)
2007.05 Duke LinuxTag FTP Install ISO, but others seem to be similarly affected.

* config and/or log files etc.

/tmp/pacman.conf
/arch/quickinst
/arch/setup

Steps to reproduce:

Follow the standard installation procedure from FTP Installation ISO.
This task depends upon

This task blocks these from closing
 FS#7410 - Post Duke Installation ISO bugs and feature requests 
Closed by  Tobias Powalowski (tpowa)
Sunday, 17 June 2007, 07:36 GMT
Reason for closing:  Fixed
Comment by Tobias Powalowski (tpowa) - Friday, 15 June 2007, 16:05 GMT
hrm interesting, wget should be on the isos, also which iso is affected?
i686 or x64?
default pacman.conf doesn't use wget at all.
Comment by Dmitry Golubovsky (golubovsky) - Saturday, 16 June 2007, 01:59 GMT
I just mounted the iso file, and ran cpio on the initrd:

[root@amd64vm fl]# zcat isolinux/initrd.img | cpio -t|grep wget
/usr/sbin/iwgetid
/var/lib/pacman/local/wget-1.10.2-2
/var/lib/pacman/local/wget-1.10.2-2/depends
/var/lib/pacman/local/wget-1.10.2-2/files
/var/lib/pacman/local/wget-1.10.2-2/desc
124978 blocks

[root@amd64vm fl]# zcat isolinux/initrd.img | cpio -t|grep snarf
/usr/bin/snarf
/var/lib/pacman/local/snarf-7.0-2
/var/lib/pacman/local/snarf-7.0-2/depends
/var/lib/pacman/local/snarf-7.0-2/files
/var/lib/pacman/local/snarf-7.0-2/desc
124978 blocks

See the difference?

iwgetid has no relationship to wget:

iwgetid - Report ESSID, NWID or AP/Cell Address of wireless network

I think, all ISOs are affected, only users didn't opt for ftp install very often, so it remaned unnoticed. I had exact same problems with x86_64 ISO when tried to install with FTP.

But I'd suggest to modify /arch/quickinst and /arch/setup, so snarf is used everywhere by pacman. In this case there is only necessary to set up one env variable for proxy rather than two.
Comment by Tobias Powalowski (tpowa) - Sunday, 17 June 2007, 07:36 GMT
thanks for the report, it's now added to archboot everything is fine now :)

Loading...