You are not logged in.

#1 2009-08-09 00:41:39

Nezmer
Member
Registered: 2008-10-24
Posts: 559
Website

A question about 'pacman -Sup'

hi ,
'pacman -Sup' prints the urls of all upgradable packages .
But , what If I want to list the urls of upgradable packages that need to be downloaded (without listing the ones already in the pacman cache) ?


English is not my native language .

Offline

#2 2009-08-09 04:35:39

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: A question about 'pacman -Sup'

Hello Nezmer!

I was interested in earlier too, but I didn't find a pacman solution for this with an option, so i reported it, we hope the best.
http://bugs.archlinux.org/task/15868

Offline

#3 2009-08-09 11:52:51

Nezmer
Member
Registered: 2008-10-24
Posts: 559
Website

Re: A question about 'pacman -Sup'

djszapi wrote:

Hello Nezmer!

I was interested in earlier too, but I didn't find a pacman solution for this with an option, so i reported it, we hope the best.
http://bugs.archlinux.org/task/15868

Yeah . You obviously reported this long time ago !


English is not my native language .

Offline

#4 2009-08-09 12:38:02

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: A question about 'pacman -Sup'

While you're waiting, you could script something to check the upgradable packages against your cache.

Offline

#5 2009-08-09 12:51:01

Xyne
Forum Fellow
Registered: 2008-08-03
Posts: 6,965
Website

Re: A question about 'pacman -Sup'

Powerpill can print out a metalink of all packages that need to be downloaded for a given sync operation (i.e. it will skip the packages already in the cache). If  you just want an easy way to download packages manually then perhaps you could use that.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#6 2009-08-09 13:09:19

Nezmer
Member
Registered: 2008-10-24
Posts: 559
Website

Re: A question about 'pacman -Sup'

Xyne wrote:

Powerpill can print out a metalink of all packages that need to be downloaded for a given sync operation (i.e. it will skip the packages already in the cache). If  you just want an easy way to download packages manually then perhaps you could use that.

Cool . Not much KISS -with metalinks sent to stdout- but works .

I never looked at powerpill before as I'm not spoiled with a 10mb/s line .

Thanks Xyne


English is not my native language .

Offline

#7 2009-08-09 13:18:03

Xyne
Forum Fellow
Registered: 2008-08-03
Posts: 6,965
Website

Re: A question about 'pacman -Sup'

Nezmer wrote:

Not much KISS -with metalinks sent to stdout- but works .

What would be more KISS for getting the metalink in your opinion? I think that being able to pipe it to anything is better than writing to a file directly. If you need a file, all you have to do is add "> foo.ml" or whatever you want to call it. I really am open to suggestions though, so if you think there's a better way to do it then let me know.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#8 2009-08-09 14:51:33

Nezmer
Member
Registered: 2008-10-24
Posts: 559
Website

Re: A question about 'pacman -Sup'

Xyne wrote:
Nezmer wrote:

Not much KISS -with metalinks sent to stdout- but works .

What would be more KISS for getting the metalink in your opinion? I think that being able to pipe it to anything is better than writing to a file directly. If you need a file, all you have to do is add "> foo.ml" or whatever you want to call it. I really am open to suggestions though, so if you think there's a better way to do it then let me know.

Actually , I meant using metalinks . It might be technically superior but not simple enough for just getting a list of links . It's not supported by many tools and not everyone wants to use aria2c .

I know that doesn't make sense as we are talking about a feature part of powerpill which depends on aria2c but my previous comment was just a general personal opinion .


English is not my native language .

Offline

Board footer

Powered by FluxBB