installpkg [OK]

You think you have found a bug? Let us know about it.
Post Reply
User avatar
Andyun
Posts: 456
Joined: 17. Jun 2010, 09:51
Location: Russia: Severodvinsk / Россия: Северодвинск

installpkg [OK]

Post 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
Last edited by Andyun on 9. Jun 2012, 16:51, edited 1 time in total.
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: Slapt-get

Post by thenktor »

That's the intended behaviour of installpkg. Use spkg -u or upgradepkg if you want to upgrade a package.
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
User avatar
Andyun
Posts: 456
Joined: 17. Jun 2010, 09:51
Location: Russia: Severodvinsk / Россия: Северодвинск

Re: installpkg

Post 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.
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: installpkg

Post 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 ;)
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
Post Reply