LinuxQuestions.org
Review your favorite Linux distribution.
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 12-05-2014, 09:25 PM   #1
michaelslack
Member
 
Registered: Feb 2013
Location: Sydney
Distribution: slackware
Posts: 110

Rep: Reputation: 36
slackpkg+: how to keep one package in slackware being upgraded by a 3rd party repos?


Dear slackpkg+ers,

A followup from an earlier question: I am using slackpkg+ to maintain AlienBOB's ktown but one package there, harfbuzz, breaks his libreoffice. His recommendation is to downgrade harfbuzz back to the version in slackware64-current, which seems to work fine.

However now slackpkg+ wants to upgrade harfbuzz to the ktown version again.

My slackpkgplus.conf file has the following:

Code:
REPOPLUS=( slackpkgplus alienbobcurrent alienbob ktown4 ktown5)

PKGS_PRIORITY=( ktown5:.* ktown4:.* )

MIRRORPLUS['alienbob']=http://taper.alienbase.nl/mirrors/people/alien/sbrepos/14.1/x86_64/
MIRRORPLUS['alienbobcurrent']=http://taper.alienbase.nl/mirrors/people/alien/sbrepos/current/x86_64/
MIRRORPLUS['slackpkgplus']=http://slakfinder.org/slackpkg+/
MIRRORPLUS['ktown4']=http://taper.alienbase.nl/mirrors/alien-kde/current/latest/x86_64/
MIRRORPLUS['ktown5']=http://taper.alienbase.nl/mirrors/alien-kde/current/testing/x86_64/
and so I am guessing the way to go is to replace

Code:
ktown5:.*
inside PKGS_PRIORITY with

Code:
ktown5:<regexp indicating everything except harfbuzz>
(and similarly for ktown4). However, this is beyond my regexp vocabulary.

Can anyone help?

Many thanks,

Michael
 
Old 12-06-2014, 05:06 AM   #2
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
Slapackg+ has a blacklist option.
It will let you "blacklist" the package so slackpkg will ignore any updates or upgrades to it.
 
Old 12-06-2014, 03:17 PM   #3
michaelslack
Member
 
Registered: Feb 2013
Location: Sydney
Distribution: slackware
Posts: 110

Original Poster
Rep: Reputation: 36
Thanks for the reply. Yes I'm aware of the blacklist option. The only issue with that is that if there is a subsequent update of that package in -current then it will be missed.

Cheers,

Michael
 
Old 12-06-2014, 06:06 PM   #4
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
Yes, even though you can use any automatic tools. It's recommended to read the changelog and make any necessary changes
 
Old 12-07-2014, 06:16 AM   #5
phi11ip
Member
 
Registered: Jul 2007
Location: Nottingham, UK
Distribution: Slackware64-current
Posts: 93

Rep: Reputation: 23
Quote:
Originally Posted by michaelslack View Post
Thanks for the reply. Yes I'm aware of the blacklist option. The only issue with that is that if there is a subsequent update of that package in -current then it will be missed.

Cheers,

Michael
Then the greylist might be a better option for you.
 
Old 12-13-2014, 03:37 PM   #6
zerouno
Member
 
Registered: Oct 2009
Location: Italy
Distribution: Slackware
Posts: 983

Rep: Reputation: 352Reputation: 352Reputation: 352Reputation: 352
Solved (thanks to phenixia2003)

Upgrade slackpkg+ to 1.4.0 and put
PKGS_PRIORITY=( patches:harfbuzz slackware64:harfbuzz ktown5 ktown4 )
in your config file.
 
2 members found this post helpful.
Old 12-15-2014, 04:14 AM   #7
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,972

Rep: Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551
Minor note: README is missing from /slackpkg+/src
 
Old 12-15-2014, 04:17 AM   #8
zerouno
Member
 
Registered: Oct 2009
Location: Italy
Distribution: Slackware
Posts: 983

Rep: Reputation: 352Reputation: 352Reputation: 352Reputation: 352
mmm.

there is it.
But apache hide it. If you point directly you can see it.
http://slakfinder.org/slackpkg+/src/README

I will fix when I've time.

However you can also see it on sourceforge
http://sourceforge.net/p/slackpkgplu...ster/tree/src/
 
Old 12-15-2014, 04:31 AM   #9
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,972

Rep: Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551
I see...

I like to build things makes me feel good. Pulled it from the package.
 
Old 12-15-2014, 06:28 AM   #10
michaelslack
Member
 
Registered: Feb 2013
Location: Sydney
Distribution: slackware
Posts: 110

Original Poster
Rep: Reputation: 36
Perfect, thank you phenexia2003

Quote:
Originally Posted by phenixia2003 View Post
Hello,

... the issue reported by michaelslack would have easily been fixed with the priorities rules below :
Code:
PKGS_PRIORITY=( patches:harfbuzz slackware64:harfbuzz ktown5:.* ktown4:.* )
Terrific! Marking as solved.

Cheers,

Michael
 
  


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
3rd Party Repos and Sharing Your Homemade Slackware Packages linus72 Slackware 4 08-01-2010 12:16 PM
By mistake i upgraded /installed 3rd party packages on RHEL iamsreeny Red Hat 1 08-08-2008 12:05 PM
3rd party repos / compiling klapaucius Slackware 6 07-20-2008 05:13 PM
Adding 3rd Party Yum Repos carlosinfl Red Hat 1 06-26-2008 05:59 PM
3rd party package managers? crontab Slackware 3 10-06-2007 10:34 AM

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

All times are GMT -5. The time now is 11:41 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