You are not logged in.

#1 2006-10-08 13:30:18

wolk
Member
From: Poland
Registered: 2006-02-16
Posts: 36

Explicity installed or not expilicty?

Let's suppose I installed package A (pacman -S A) and one of its dependecy was package B so A is explicity installed and B is not. Later i have executed pacman -S B ,is now B a explicity installed or not?


P.S
sorry for my english ;]

Offline

#2 2006-10-08 13:34:33

archuser
Member
From: Northamptonshire, UK
Registered: 2006-09-10
Posts: 122

Re: Explicity installed or not expilicty?

Pacakge B was installed as a dependancy for package A. It's still a standalone package, it's just that A needs B for it to work. Doing pacman -S B will give you a "Package already installed. upgrade anyway?" message.

If you removed both A and B, and then re-installed B, then B would be install explicitly.

edit: on reading the post below, ignore this post. wink


Intel i7-920 (stock), ASUS P6TD-Deluxe, AMD R9 270X, RAM: 6GB

Offline

#3 2006-10-08 13:35:21

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

Re: Explicity installed or not expilicty?

Yes, B is now explicitly installed. The most recent operation applied to a package determines its status.

Offline

#4 2006-10-08 15:02:35

wolk
Member
From: Poland
Registered: 2006-02-16
Posts: 36

Re: Explicity installed or not expilicty?

and if i install package B by:

Pacman -U  B_newer_version.tar.gz
B_newer_version.tar.gz is of coure package located on my hard drive.

or equivalent:

cd /var/abs/B
makepkg -b -c -i

will it be expilicity installed or not?

Offline

#5 2006-10-08 16:34:46

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

Re: Explicity installed or not expilicty?

Explicitly installed.

Offline

#6 2006-10-08 19:11:50

wolk
Member
From: Poland
Registered: 2006-02-16
Posts: 36

Re: Explicity installed or not expilicty?

So there is no way tu upgrade system using abs in the same manner as pacman -Syu does . I suppose if pacman upgrades some packages installed as dependencies they are not expicity installed.

Offline

Board footer

Powered by FluxBB