You are not logged in.

#1 2008-05-12 07:07:14

elgatofelix
Member
From: Chile
Registered: 2007-07-03
Posts: 137

what does pacman -ii ?

i read the help and man but i dont get it


Are u listening?

Offline

#2 2008-05-12 07:12:34

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 9,939
Website

Re: what does pacman -ii ?

pacman -Qii will list the files that will be backed up when the package is upgrade/uninstalled in addition to the usual -Qi information.  It also give their modification states i.e. are they different from when they were initially installed?

e.g. for me "pacman -Qii abs" gives

<snip>

Backup Files:
MODIFIED    /etc/abs.conf

Last edited by Allan (2008-05-12 07:15:24)

Offline

#3 2008-05-12 20:28:26

elgatofelix
Member
From: Chile
Registered: 2007-07-03
Posts: 137

Re: what does pacman -ii ?

That means that a new file /etc/abs.conf.pacnew was created in place of the original /etc/abs.conf ?


Are u listening?

Offline

#4 2008-05-12 20:55:04

drag0nl0rd
Trusted User (TU)
From: Czech Republic
Registered: 2007-10-24
Posts: 125
Website

Re: what does pacman -ii ?

That means, that the original file is still in place. But it was edited (doesn't have the same md5sum as the new file) and therefor the new file was saved as .pacnew. It's up to you to edit the .pacnew file according your needs and maybe overwrite the old original conf file. RTM man pacman bottom section - HANDLING CONFIG FILES

Offline

#5 2008-05-12 22:01:02

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: what does pacman -ii ?

drag0nl0rd wrote:

That means, that the original file is still in place. But it was edited (doesn't have the same md5sum as the new file) and therefor the new file was saved as .pacnew. It's up to you to edit the .pacnew file according your needs and maybe overwrite the old original conf file. RTM man pacman bottom section - HANDLING CONFIG FILES

Just a slight precision : there isn't necessary a new file. You could imagine an abs package where abs.conf would always stay the same.
In that case, you would never see a .pacnew.


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

Board footer

Powered by FluxBB