Page 1 of 1

Stop Salix update manager from downgrading a package

Posted: 30. Apr 2026, 14:03
by banyan
Greetings to all forum members!

I'm not new to GNU/Linux in general, but am new to Salix & Slackware.

I have installed a package from source and when the salix-update-manager pops up it suggests downgrading the current version of a package to the one that corresponds to Salix repo. How can I prevent it form doing so? I have tried adding HOLD=<package_name> to the slapt-getrc file but that doesn't seem to help. I browsed through the forum but couldn't quite find any solution. Any suggestions?

Re: Stop Salix update manager from downgrading a package

Posted: 30. Apr 2026, 17:20
by laprjns
Add it to the EXCLUDE line in slapt-getrc. In the snippet of my slapt-getrc below, you can see how I added nodjs to the EXCLUDE line.

Code: Select all

# Working directory for local storage/cache.
WORKINGDIR=/var/slapt-get

# Exclude package names and expressions.
# To exclude pre and beta packages, add this to the exclude:
#   [0-9\_\.\-]{1}pre[0-9\-\.\-]{1}
EXCLUDE=^aaa_elflibs,^aaa_base,^devs,^glibc.*,^kernel-.*,^rootuser-settings,^zzz-settings.*,-i?86-,nodejs

# The Slackware repositories, including dependency information
SOURCE=https://mirrors.xmission.com/salix/x86_64/slackware-15.0/:OFFICIAL
SOURCE=https://mirrors.xmission.com/salix/x86_64/slackware-15.0/extra/:OFFICIAL

Re: Stop Salix update manager from downgrading a package

Posted: 1. May 2026, 09:36
by banyan
laprjns wrote: 30. Apr 2026, 17:20

Code: Select all

EXCLUDE=
That did it, thank you, @laprjns!