LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-19-2018, 06:09 PM   #1
linuxbawks
Member
 
Registered: Apr 2013
Distribution: Snuckware
Posts: 240

Rep: Reputation: 17
Slackpkg wants to upgrade custom built packages


I've built a few custom packages using the packaging naming convention:

Code:
“PRGNAM-VERSION-ARCH-BUILD.txz”
Slackpkg still wants to upgrade them to older releases.
Attached Thumbnails
Click image for larger version

Name:	slackpkg.png
Views:	43
Size:	18.3 KB
ID:	26773  
 
Old 01-19-2018, 06:20 PM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,374

Rep: Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752
That is expected behaviour. If it concerns you, add a modified tag to your custom builds and add that to your /etc/slackpkg/blacklist.
 
1 members found this post helpful.
Old 01-19-2018, 06:57 PM   #3
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
happens to me all of the time.
I just black list the other one.
 
2 members found this post helpful.
Old 01-20-2018, 07:43 AM   #4
linuxbawks
Member
 
Registered: Apr 2013
Distribution: Snuckware
Posts: 240

Original Poster
Rep: Reputation: 17
If I blacklist with a modifier tag then will the package be blacklisted indefinitely or will slackpkg still upgrade when there is a new major release?
 
Old 01-20-2018, 07:57 AM   #5
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,374

Rep: Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752
The package will be blacklisted indefinitely. It can be trap, which I have fallen into myself. I had a package from SBo installed. That package then entered Slackware, but was not handled by slackpkg because I had blacklisted all my SBo packages.
 
1 members found this post helpful.
Old 01-20-2018, 09:26 AM   #6
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
if you remember that it is blacklisted when and if that happens all you have to do is manauly open the file that keeps the names of blacklisted stuff and remove it from that list then you're back to square one, or bobs your uncle.
 
Old 01-20-2018, 09:36 AM   #7
linuxbawks
Member
 
Registered: Apr 2013
Distribution: Snuckware
Posts: 240

Original Poster
Rep: Reputation: 17
With a handful of modified packages that might be a reasonable thing to do. It could become difficult remembering which packages were customized. The second problem is that slackpkg doesn't tell in advance whether the upstream packages from the repository are new or not.
 
Old 01-20-2018, 10:02 AM   #8
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
that is why it is called package management. If I were to upgrade every major package in Slackware just so I could have the updated version to the point that I have more than say maybe five packages that Slack has. I'd look for a rolling release ( independent ) distro. So I could have the latest and greatest. and leave Slack alone.

As it stands I do have a tri-boot and what I have upgraded in Slack is not something that Slack I'd think Slack would update anyways, WMaker. and something else.

So yes you're going to run into issues if you take a system that is set up to be as it is until its next major upgrade and do incremental updates to parts of it, and expecting it to run smoothly every time you run slackpkg update.

SO more special care will be needed to maintain your Slack Box if one goes to fiddling with it too much.
 
Old 01-20-2018, 10:27 AM   #9
magicm
Member
 
Registered: May 2003
Distribution: Slackware
Posts: 237

Rep: Reputation: 152Reputation: 152
if one installs slackpkg+ you can put the packages to the greylist instead of the blacklist. Then, upgrade-all dialog will display them but they will un-checked. As you iterate over all the packages displayed like that, you will be informed which package is installed and which package is available to replace it. Sort of the best of both worlds. These days, the only thing I have in blacklist is keepassx, because upstream decided to "upgrade" its database format, and I preferred not to do that so I could share it with an Android app I use.

I specify the all the kernel packages in the greylist, too. It keeps me from doing anything there by accident, but tells me what's available.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] after upgrade to new slackpkg in current it seems to be upgrading all packages tfrei Slackware 3 05-17-2016 01:29 PM
Is there any command or way to upgrade all packages compiled and built manually? b4str1 Slackware 7 05-02-2015 04:38 AM
Custom kernel, slackpkg upgrade-all vjayz Slackware 2 01-26-2012 02:48 AM
[SOLVED] slackpkg upgrade-all shows outdated packages Cultist Slackware 6 02-18-2011 07:07 PM
Upgrade to etch without upgrading Custom built Xorg kushalkoolwal Debian 2 05-10-2007 12:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration