You are not logged in.

#1 2004-04-15 15:17:21

matias
Member
Registered: 2004-04-11
Posts: 42

New wiki entry: boost pacman (with wget)

Offline

#2 2004-04-15 15:23:57

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,750

Re: New wiki entry: boost pacman (with wget)

Well done....

Wow....thats cool


pacman -Suy ?


Mr Green


Mr Green

Offline

#3 2004-04-15 16:04:19

matias
Member
Registered: 2004-04-11
Posts: 42

Re: New wiki entry: boost pacman (with wget)

Mr Green wrote:

Well done....
Wow....thats cool

Thanks wink

Mr Green wrote:

pacman -Suy ?

It's the same.

Greetings.

Offline

#4 2004-04-15 16:43:48

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: New wiki entry: boost pacman (with wget)

Excellent work! I made a couple of style and grammatical changes. It bothers me when people say "sorry" about their skills with English, I'm impressed that anybody bothered to learn it at all. smile

Offline

#5 2004-04-15 21:02:22

mcubednyc
Member
From: New York, NY USA
Registered: 2004-03-17
Posts: 120

Re: New wiki entry: boost pacman (with wget)

If you'll permit me a moment to display my ignorance, what is the purpose of this?  I was under the impression that wget was what pacman was using to download packages.  I thought wget was what enabled ftp downloads, and that that's why it was installed on my system.  I also thought it was included in base, but I just checked and I see it's part of current.  It must have come with some other package, because I have it installed and I don't remember doing that.

So I'm wrong on all counts!  Now I'm looking at wget's website and I'm not understanding how one uses it with pacman.  Actually, I gather that wget -c will resume broken downloads, but what is %u?

Is there a way to use "-O" to keep a record of pacman downloads?  It would be nice for me if I could look back over my installation/upgrade history, so, for example, I could see when I did install wget.  I know I can use syslog, but it would be easier to track if it was written to a separate file.  I'm having a hard time trying to figure out how to make better use of logs in general ... figuring out what is logged, what isn't, how to change that, how to use roottail (which didn't do anything except give me an error), etc.


"No live organism can continue for long to exist sanely under conditions of absolute reality; even larks and katydids are supposed, by some, to dream." - S. Jackson

Offline

#6 2004-04-15 22:51:30

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,363
Website

Re: New wiki entry: boost pacman (with wget)

he he ... the only reason i can think of: the output looks much cooler:

...

:: gmencoder-0.1.0-2: local version is newer
:: kaffeine-0.4.2-2: local version is newer
:: Above packages will be skipped.  To manually upgrade use 'pacman -S <pkg>'

Targets: alsa-driver-1.0.4-2 imagemagick-6.0.0-2

Proceed with upgrade? [Y/n] 

:: Retrieving packages from current...
--00:55:56--  ftp://ftp.archlinux.org/current/alsa-driver-1.0.4-2.pkg.tar.gz
           => `alsa-driver-1.0.4-2.pkg.tar.gz'
Resolving ftp.archlinux.org... 207.36.208.198
Connecting to ftp.archlinux.org[207.36.208.198]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /current ... done.
==> PORT ... done.    ==> RETR alsa-driver-1.0.4-2.pkg.tar.gz ... done.
Length: 1,402,610 (unauthoritative)

100%[====================================>] 1,402,610     76.51K/s    ETA 00:00

00:56:16 (75.36 KB/s) - `alsa-driver-1.0.4-2.pkg.tar.gz' saved [1402610]

--00:56:16--  ftp://ftp.archlinux.org/current/imagemagick-6.0.0-2.pkg.tar.gz
           => `imagemagick-6.0.0-2.pkg.tar.gz'
Resolving ftp.archlinux.org... 207.36.208.198
Connecting to ftp.archlinux.org[207.36.208.198]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /current ... done.
==> PORT ... done.    ==> RETR imagemagick-6.0.0-2.pkg.tar.gz ... done.
Length: 4,785,331 (unauthoritative)

54% [========================================>                                    ] 2,585,844     76.51K/s    ETA 00:29

:-)


The impossible missions are the only ones which succeed.

Offline

#7 2004-04-15 22:57:42

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,363
Website

Re: New wiki entry: boost pacman (with wget)

mcubednyc wrote:

[..]

Is there a way to use "-O" to keep a record of pacman downloads?

  --output-file=FILE   just add after -c in the line in pacman.conf


The impossible missions are the only ones which succeed.

Offline

#8 2004-04-16 03:32:10

matias
Member
Registered: 2004-04-11
Posts: 42

Re: New wiki entry: boost pacman (with wget)

mcubednyc wrote:

If you'll permit me a moment to display my ignorance, what is the purpose of this?

At least for me, downloads works better, with wget I can get files at 30 KB/s ... with pacman builtin ftp/http engine my download speed was too unstable and never reach 20 KB/s. And if you use wget there is more posibility to configure proxys, passive modes, and some other things.

I was under the impression that wget was what pacman was using to download packages.  I thought wget was what enabled ftp downloads, and that that's why it was installed on my system.

No, this option to use wget was added in the last release (published yesterday).

I also thought it was included in base, but I just checked and I see it's part of current.  It must have come with some other package, because I have it installed and I don't remember doing that.

Like you says, is not in base packages.

Bye.

Offline

#9 2004-04-16 04:26:17

darose
Member
Registered: 2004-04-13
Posts: 118

Re: New wiki entry: boost pacman (with wget)

mcubednyc wrote:

If you'll permit me a moment to display my ignorance, what is the purpose of this?

The purpse is so that pacman can get around proxy server problems without Judd needing to reinvent the wheel and build support into pacman for every conceivable proxy server feature.

He added this in in response to a problem I was having where pacman couldn't access the Net through my company's proxy server.  Now I can set the XferCommand, set the http_proxy and ftp_proxy environment variables, and - voila - pacman gets through.  All with minimal coding on Judd's part.  I think that both Debian's apt-get and Gentoo's emerge do something similar.

It's actually pretty cool.  I've tried the XferCommand with both wget and curl -O and it works like a charm!

Offline

#10 2004-04-16 08:37:28

PipoDeClown
Member
Registered: 2004-01-03
Posts: 14

Re: New wiki entry: boost pacman (with wget)

on my server wget always get stuck downloading the extra's database so i reverted back without the external xfercommand.


Izze Zimpel

Offline

#11 2004-04-16 14:22:54

matias
Member
Registered: 2004-04-11
Posts: 42

Re: New wiki entry: boost pacman (with wget)

PipoDeClown wrote:

on my server wget always get stuck downloading the extra's database so i reverted back without the external xfercommand.

you could try another mirror .. if you want.
Greetings.

Offline

Board footer

Powered by FluxBB