Page 1 of 1

installpkg [OK]

Posted: 27. Jun 2011, 06:10
by Andyun
Slapt-get installs the package on top of another version, without uninstalling the previous one.
Example:

Code: Select all

root[Desktop]# installpkg lilosetup-0.2.7-noarch-1plb.txz
Verifying package lilosetup-0.2.7-noarch-1plb.txz.
Installing package lilosetup-0.2.7-noarch-1plb.txz:
PACKAGE DESCRIPTION:
# LiloSetup (GUI utility to setup LILO)
# 
# LiloSetup will enable you to configure a new lilo bootloader from the
# comfort of a graphical interface. It can be executed both from a
# LiveCD environment or from a standard system. It supports multiboot,
# Windows & Linux operating systems, ata and libata subsystems.
# 
Package lilosetup-0.2.7-noarch-1plb.txz installed.

root[Desktop]# installpkg lilosetup-0.2.8-noarch-1plb.txz
Verifying package lilosetup-0.2.8-noarch-1plb.txz.
Installing package lilosetup-0.2.8-noarch-1plb.txz:
PACKAGE DESCRIPTION:
# LiloSetup (GUI utility to setup LILO)
# 
# LiloSetup will enable you to configure a new lilo bootloader from the
# comfort of a graphical interface. It can be executed both from a
# LiveCD environment or from a standard system. It supports multiboot,
# Windows & Linux operating systems, ata and libata subsystems.
# 
Package lilosetup-0.2.8-noarch-1plb.txz installed.

root[Desktop]# 
Image

EDIT by thenktor: thread title fixed

Re: Slapt-get

Posted: 27. Jun 2011, 08:01
by thenktor
That's the intended behaviour of installpkg. Use spkg -u or upgradepkg if you want to upgrade a package.

Re: installpkg

Posted: 27. Jun 2011, 09:34
by Andyun
In previous releases of the Salix OS the installpkg did not allow to installing a package if the package with such name already has been installed earlier.

Re: installpkg

Posted: 27. Jun 2011, 10:38
by thenktor
In previous Salix versions installpkg was a wrapper script that called spkg -i. In 13.37 there is no wrapper script anymore and installpkg calls the Slackware standard installpkg which behaves as described.
I recommend to use the much faster spkg anyway ;)