You are not logged in.

#1 2006-12-15 12:52:46

kamagurka
Member
From: Munich, Germany
Registered: 2006-02-20
Posts: 150

pacman -Syu ought to be a little more detailed.

I'd love it if the output of pacman -Syu would display the currently installed version of the packages to be updated and the size of every update to be installed. I hoped the -v switch would do that, but the output of -v is lots of stuff I don't care about, and still doesn't add the information I'm looking for.


I always roll 20s on my disbelieve checks.
You better believe it.

Offline

#2 2006-12-16 18:56:28

bogomipz
Member
From: Oslo, Norway
Registered: 2003-11-23
Posts: 169

Re: pacman -Syu ought to be a little more detailed.

The one piece of information I miss from -S(u) is the amount of data that needs to be downloaded to complete the install. Pacman tells you the total package size, but half of that could already be in the package cache. If any of the packages are cached, it should put in parentheses: (94MB to download)


All of your mips are belong to us!!

Offline

#3 2006-12-16 20:36:20

neotuli
Lazy Developer
From: London, UK
Registered: 2004-07-06
Posts: 1,204
Website

Re: pacman -Syu ought to be a little more detailed.


The suggestion box only accepts patches.

Offline

#4 2006-12-16 20:40:29

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: pacman -Syu ought to be a little more detailed.

maybe a -v option for verbose, instead of adding more output to the default. I only want to know about important things, not about stats..normally.


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#5 2006-12-16 21:30:01

Acid7711
Member
From: Chicago, IL
Registered: 2006-08-18
Posts: 300
Website

Re: pacman -Syu ought to be a little more detailed.

cactus wrote:

maybe a -v option for verbose, instead of adding more output to the default. I only want to know about important things, not about stats..normally.

I agree. One thing I REALLY miss about Gentoo was the -pretend feature of emerge.  VERY handy and much easier to see and use than a plain search.

It'd be nice to have something similar to emerge -pv mpayer   maybe something like:

pacman -Syp mplayer

I dunknow, speculation, but I do really miss that pretend feature.  Unless I'm TOTALLY off here and there's something like that already. Probably is...

Offline

#6 2006-12-17 02:26:10

elasticdog
Member
From: Washington, USA
Registered: 2005-05-02
Posts: 995
Website

Re: pacman -Syu ought to be a little more detailed.

Acid7711 wrote:

I agree. One thing I REALLY miss about Gentoo was the -pretend feature of emerge.  VERY handy and much easier to see and use than a plain search.

It'd be nice to have something similar to emerge -pv mpayer   maybe something like:

pacman -Syp mplayer

I dunknow, speculation, but I do really miss that pretend feature.  Unless I'm TOTALLY off here and there's something like that already. Probably is...

http://bugs.archlinux.org/task/4191
Please do add a comment on there to give the idea more of a push...

Offline

#7 2006-12-17 12:46:31

bogomipz
Member
From: Oslo, Norway
Registered: 2003-11-23
Posts: 169

Re: pacman -Syu ought to be a little more detailed.

Acid7711 wrote:

It'd be nice to have something similar to emerge -pv mpayer   maybe something like:

pacman -Syp mplayer

I dunknow, speculation, but I do really miss that pretend feature.  Unless I'm TOTALLY off here and there's something like that already. Probably is...

I don't know gentoo all that well, but if the purpose of pretend is to see what packages will be installed as dependencies of the one you ask for, just do a normal pacman -S mplayer, and answer no when asked whether to proceed with the install. I guess you already knew that, though, so pretend probably does something else?


All of your mips are belong to us!!

Offline

#8 2006-12-17 13:42:20

timtux
Member
From: Gävle, Sweden
Registered: 2005-10-04
Posts: 178
Website

Re: pacman -Syu ought to be a little more detailed.

What i would like to see is a option for searching a for a pkg with the exact name.. like if you do a pacman -Ss kernel26 you get like 20 results, i just want the one that match the search string exactly.


http://timtux.net/ - my personal blog about almost everything

Offline

#9 2006-12-17 16:35:50

cromo
Member
From: Czestochowa, Poland
Registered: 2006-09-20
Posts: 87

Re: pacman -Syu ought to be a little more detailed.

Debian apt-get shows the size of data after extracting the packages - would be nice if pacman did the same.

Offline

#10 2006-12-17 21:44:44

elasticdog
Member
From: Washington, USA
Registered: 2005-05-02
Posts: 995
Website

Re: pacman -Syu ought to be a little more detailed.

bogomipz wrote:

I don't know gentoo all that well, but if the purpose of pretend is to see what packages will be installed as dependencies of the one you ask for, just do a normal pacman -S mplayer, and answer no when asked whether to proceed with the install. I guess you already knew that, though, so pretend probably does something else?

If you read the bug report I posted above, it covers a lot of the potential differences and downsides to just doing <code>pacman -S</code> and then answering <code>N</code>.  Basically, it's safer, could be used by scripts without root priviledges, could have more detailed information included (like the current version and the version you'd get if you updated, or the actual installed package size), and so on...

Offline

#11 2006-12-17 23:32:00

kamagurka
Member
From: Munich, Germany
Registered: 2006-02-20
Posts: 150

Re: pacman -Syu ought to be a little more detailed.

elasticdog wrote:

could have more detailed information included (like the current version and the version you'd get if you updated, or the actual installed package size), and so on...

I think that's the kind of information that a -v switch should cover. The present -v looks more like -vv.


I always roll 20s on my disbelieve checks.
You better believe it.

Offline

#12 2006-12-18 02:33:40

Acid7711
Member
From: Chicago, IL
Registered: 2006-08-18
Posts: 300
Website

Re: pacman -Syu ought to be a little more detailed.

bogomipz wrote:
Acid7711 wrote:

It'd be nice to have something similar to emerge -pv mpayer   maybe something like:

pacman -Syp mplayer

I dunknow, speculation, but I do really miss that pretend feature.  Unless I'm TOTALLY off here and there's something like that already. Probably is...

I don't know gentoo all that well, but if the purpose of pretend is to see what packages will be installed as dependencies of the one you ask for, just do a normal pacman -S mplayer, and answer no when asked whether to proceed with the install. I guess you already knew that, though, so pretend probably does something else?

Kinda, but sometimes pacman DOESN'T give any info and goes right into installing software. With a pretend feature it makes it so you don't run that option. I used the -pretend feature of portage a LOT. I really miss it.

And I will file a comment on there right now. smile I've love to see a pretend feature added. I'm surprised not many others have complained about the same thing.

Offline

#13 2006-12-18 18:41:30

bogomipz
Member
From: Oslo, Norway
Registered: 2003-11-23
Posts: 169

Re: pacman -Syu ought to be a little more detailed.

Acid7711 wrote:
bogomipz wrote:

I don't know gentoo all that well, but if the purpose of pretend is to see what packages will be installed as dependencies of the one you ask for, just do a normal pacman -S mplayer, and answer no when asked whether to proceed with the install. I guess you already knew that, though, so pretend probably does something else?

Kinda, but sometimes pacman DOESN'T give any info and goes right into installing software.

I never had that problem, and if you ever start an install or upgrade by accident, you have lots of time to ctrl-c your way out of it before pacman gets around to actually extract package contents.

The ability to see what would be installed without elevating your privileges and to improve scriptability by displaying from-version to-version, one package per line, are valid points, though, so even if I don't consider this important for my own use, I think it should be implemented.


All of your mips are belong to us!!

Offline

#14 2006-12-18 19:43:10

Acid7711
Member
From: Chicago, IL
Registered: 2006-08-18
Posts: 300
Website

Re: pacman -Syu ought to be a little more detailed.

Yeah, that's what I use, control-C but why should I? Even at the fastest point you're still going to have a fraction of a possibly needless file on your system. Not that it matters. I think maybe you're missing my reasoning behind having a pretend feature, but yes in sense, a "one package per line" pretend feature would be greeeeeeeeeeat.

Offline

Board footer

Powered by FluxBB