Advantages of spkg

You have a problem with Salix? Post here and we'll do what we can to help.
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: Advantages of spkg

Post by gapan »

No, "spkg -i" wouldn't work at all. "spkg -u" would upgrade the package.

Actually, I think this is written in the guide, but maybe I haven't stressed it enough. You don't have to use "-i" and "-u" switches with spkg. Running just:

Code: Select all

spkg package.txz
will either install a package if it's not already installed, or upgrade it if another version is already installed. spkg knows what to do in either case.
Image
Image
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: Advantages of spkg

Post by mimosa »

I got the switches from the man page, which doesn't explicitly mention using it without them.

To be honest, I rarely have occasion to use anything other than slapt-get or slapt-src (that is, spi, now).
Post Reply