Page 2 of 2

Re: Advantages of spkg

Posted: 19. Feb 2016, 23:35
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.

Re: Advantages of spkg

Posted: 20. Feb 2016, 07:59
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).