LinHES Forums
http://forums.linhes.org/

How do I know what I am installing with pacman?
http://forums.linhes.org/viewtopic.php?f=21&t=20807
Page 1 of 1

Author:  mikemcc11 [ Fri Jan 29, 2010 1:24 pm ]
Post subject:  How do I know what I am installing with pacman?

I am running r6 with 0.22. I run 'sudo pacman -Syyuf' every few days. Most days if get 'local database is up to date'. When I get the list of updates available is there someplace I can look that tells me what they do? Just curious to know; not that not knowing keeps me from downloading the updates. Thanks for a great product. My whole family loves it!

Mike McCullough

Author:  graysky [ Fri Jan 29, 2010 2:15 pm ]
Post subject: 

#1) Never use the -f switch unless you know what you're doing. The safe way to upgrade is -Syu.

#2) I don't think there is a list of what package contains what beyond manually querying the package (-Ss packagename) but that only gives a short description. If you're upgrading, you're not installing new packages, just replacing old ones.

Author:  mikemcc11 [ Fri Jan 29, 2010 2:29 pm ]
Post subject: 

Thank you for the tip. Don't know why I was using the -f switch. I will stop that. I will try what you suggested. Don't really need to know I was just curious. Thanks again for the great product and the rapid response.

Mike

Author:  paulsid [ Fri Jan 29, 2010 3:11 pm ]
Post subject: 

"pacman -Ql packagename" will give you a list of files owned by a package. Have a look at "man pacman" for other query options.

However, there is no way that I know of to see exactly which files have changed in a particular upgrade. I suppose you could manually take both the old and versions from the package cache and extract them each to separate folders and then diff them, but I don't know if that would actually tell you anything too useful. If you want to try it, "pacman -Syuw" will download but not install all updates. (I use this all the time to pre-fetch updates if the backend is busy... then the next -Syu (or just -Su, since the database is updated at this point) will just install them without me having to wait for downloads.)

BTW I'll bet you saw -Syuf on the news page instructing those running beta versions how to upgrade to the release R6, but unfortunately it kind of makes it look like everyone should be using it every time, which, as graysky mentioned, is actually a bad idea.

Author:  mihanson [ Fri Jan 29, 2010 4:19 pm ]
Post subject: 

paulsid wrote:
However, there is no way that I know of to see exactly which files have changed in a particular upgrade.


You can see what files changed before you upgrade by checking the LinHES PKGBUILD repository.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/