FS#30807 - pacstrap fails to install packages if you pass current dir ( . ) to it.

Attached to Project: Arch Linux
Opened by Jonathan Vasquez (Cows) - Sunday, 22 July 2012, 23:34 GMT
Last edited by Dave Reisner (falconindy) - Monday, 23 July 2012, 00:10 GMT
Task Type Bug Report
Category System
Status Closed
Assigned To Dave Reisner (falconindy)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
If you want to install Arch a little quicker and you do a:

cd /mnt
pacstrap . base{,-devel}

The script starts to get what it needs, but then fails to get the packages and install them.

If you do a

pacstrap /mnt base{,-devel}

then it works fine. I would think that whether you use /mnt or you cd into the /mnt and then pass the current directory via period, that it would work fine.

Additional info:

Arch Linux Media: 2012.07.15

Steps to reproduce:

mount w/e the root is to /mnt
cd /mnt
pacstrap . base{,-devel}
This task depends upon

Closed by  Dave Reisner (falconindy)
Monday, 23 July 2012, 00:10 GMT
Reason for closing:  Fixed
Comment by Dave Reisner (falconindy) - Sunday, 22 July 2012, 23:53 GMT
I don't see how this is any quicker. What would have been quicker would be posting actual output so I wouldn't have to debug this from scratch.

Anyways, this is a pacman bug more than a pacstrap bug.
Comment by Pierre Schmitz (Pierre) - Sunday, 22 July 2012, 23:59 GMT
Would it be a reasonable workaround to call readlink -f on $newroot?
Comment by Jonathan Vasquez (Cows) - Monday, 23 July 2012, 00:05 GMT
Dave, just ask me and I will put it up, don't need to get mad or feisty.

http://www.gitpaste.com/paste/764/
Comment by Dave Reisner (falconindy) - Monday, 23 July 2012, 00:10 GMT
Mad? No, I just expect people to do the bare minimum when reporting bugs =)

Fixed upstream.

Loading...