You are not logged in.

#1 2014-03-05 15:28:09

daniel_shub
Member
Registered: 2012-06-21
Posts: 31

[SOLVED] Creating a clean chroot that uses wget with pacman

I am trying to create a clean chroot environment to test the building of a package. I am trying to use extra-x86_64-build, but the issue is that I need to use wget with pacman to download dependencies and even the database files. Normally in my \etc\pacman.conf I uncomment "XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u", but of course this requires that wget is installed. I have tried uncommenting the line in /usr/share/devtools/pacman-extra.conf, but it then tells me "sh: /usr/bin/wget: No such file or directory"

I tried to pass wget as a required package with extra-x86_64-build -- -I wget, but that doesn't work. How do I create a clean chroot that uses wget with pacman?

Last edited by daniel_shub (2014-03-05 17:24:16)

Offline

#2 2014-03-05 15:30:12

progandy
Member
Registered: 2012-05-17
Posts: 2,151

Re: [SOLVED] Creating a clean chroot that uses wget with pacman

Why do you need wget, does it do something different than curl?

Offline

#3 2014-03-05 17:25:04

daniel_shub
Member
Registered: 2012-06-21
Posts: 31

Re: [SOLVED] Creating a clean chroot that uses wget with pacman

Using curl solves the problem. Thank you

Last edited by daniel_shub (2014-03-05 17:27:03)

Offline

Board footer

Powered by FluxBB