You are not logged in.

#1 2008-04-26 03:12:35

Yes
Member
Registered: 2008-03-29
Posts: 163

[SOLVED] Does pacman -U replace existing packages?

Say I install a program binary with pacman -S.  But then I want to reinstall it with ABS.  When I run pacman -U, would that replace the already existing binary or would I have to remove that first with pacman -R?

Thanks.

Last edited by Yes (2008-04-26 03:28:11)

Offline

#2 2008-04-26 03:15:05

bender02
Member
From: Germany
Registered: 2007-02-04
Posts: 1,328

Re: [SOLVED] Does pacman -U replace existing packages?

Yes (replace).

man pacman wrote:

-U. --upgrade
Upgrade or add a package to the system. Either a URL or file path
           can be specified. This is a "remove-then-add" process. See Handling
           Config Files for an explanation on how pacman takes care of config
           files.

Last edited by bender02 (2008-04-26 03:15:46)

Offline

#3 2008-04-26 03:27:59

Yes
Member
Registered: 2008-03-29
Posts: 163

Re: [SOLVED] Does pacman -U replace existing packages?

Great, thanks.  Sorry, I had forgotten about the man page.

Offline

Board footer

Powered by FluxBB