Stop Salix update manager from downgrading a package

General talk about packaging procedures and packages.
Post Reply
User avatar
banyan
Posts: 2
Joined: 26. Apr 2026, 05:21

Stop Salix update manager from downgrading a package

Post 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?
User avatar
laprjns
Salix Warrior
Posts: 1135
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: Stop Salix update manager from downgrading a package

Post 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
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
User avatar
banyan
Posts: 2
Joined: 26. Apr 2026, 05:21

Re: Stop Salix update manager from downgrading a package

Post by banyan »

laprjns wrote: 30. Apr 2026, 17:20

Code: Select all

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