LinuxQuestions.org
Help answer threads with 0 replies.
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-26-2017, 10:30 AM   #1
magicm
Member
 
Registered: May 2003
Distribution: Slackware
Posts: 237

Rep: Reputation: 152Reputation: 152
slackpkg (plus?) question (regarding new packages)


Happy Tuesday everyone - Bear with me while I set up the question:
I recently decided to start following current (x86_64).
I have both slackpkg and slackpkgplus installed (and basically configured the way I have them on my 14.2 host, which is on different hardware than concerns my current question). The slackpkgplus configuration is so I can follow packages from SBo, AlienBob (including some of AlienBob's restricted packages) as well.

I decided to get up to date with the Dec. 25 Changelog

Normally, I just issue:

Code:
slackpkg update 
slackpkg upgrade-all
But I noticed that some new packages were recently added.
So, I issued:

Code:
slackpkg update
slackpkg install-new
I found it odd that I was given a choice to install
opus-1.1-x86_64-1 from my configured AlienBob repository,
when I was expecting to find
opus-1.3_beta-x86_64-1 from my chosen slackware mirror.

I ended up issuing:
Code:
slackpkg install opus-1.3_beta-x86_64-1.txz
(which worked just fine), and now I don't see the AlienBob version (which is ok). But my questions are the following:

Why didn't opus-1.3_beta show up in my original install-new list?
Now that I've installed it, why don't I see opus-1.1 from AlienBob?
(Ultimately I guess my question is why do these two packages sometimes seem to be different versions of the same package, and sometimes not?)

Under the theory that my slackpkgplus.conf settings are driving this, here are what might be relevant from there.

Code:
PKGS_PRIORITY=( restricted:vlc restricted:ffmpeg alienbob )
REPOPLUS=( slackpkgplus restricted alienbob )
My real ultimate question is how do I make sure that I haven't missed any install-new opportunities?

Also, I have never been interested in multi-lib and it is not involved.

TIA

Also, for everyone who believes, I hope Santa was good to you.
 
Old 12-26-2017, 10:44 AM   #2
magicm
Member
 
Registered: May 2003
Distribution: Slackware
Posts: 237

Original Poster
Rep: Reputation: 152Reputation: 152
Correction: Now that I have opus-1.3_beta-1 installed (slackware mirror); opus-1.1-1 (alienbob) is shown as a possible from upgrade-all list. Looks like I should add it to my greylist file. Still a little confused, though.
 
Old 12-26-2017, 03:37 PM   #3
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,159
Blog Entries: 5

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
A repository listed in PKGS_PRIORITY will have priority over the official Slackware repository. As "alienbob" is configured in your PKGS_PRIORITY, it means that if a package is present in both alienbob repository and official Slackware repository, then slackpkg would select the one from alienbob.

From "man 5 slackpkgplus.conf"

Quote:
The variable PKGS_PRIORITY is similar to REPOPLUS but allows a more widespread
choice of the order of research both at the repository level and at individual
packet level. Moreover the packages in the repositories configured in this
variable can be installed even if present in the official repositories.


PKGS_PRIORITY=( slackypenjdk ktown multilib )

In this case slackpkg upgrade-all would update the package openjdk from the
repository slacky and all other packages from other reporitories. Another case
where you need to use this option are the ktown (kde5 of alienbob) and multi‐
lib repositories as they have to overwrite some official Slackware packages
(for ktown and multilib please read the documentation carefully). Someone pre‐
fer to fully replace the variable REPOPLUS with PKGS_PRIORITY, but if you do
that please you are aware that you could upgrade Slackware official packages
with those third-party, so make sure the autority of the source.
As a first step, you can greylist opus. The opus package in alienbob repository (current) will probably be soon removed since opus was added to official Slackware current.
 
1 members found this post helpful.
Old 12-26-2017, 05:33 PM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by magicm View Post
Correction: Now that I have opus-1.3_beta-1 installed (slackware mirror); opus-1.1-1 (alienbob) is shown as a possible from upgrade-all list. Looks like I should add it to my greylist file. Still a little confused, though.
I implemented the better alternative and removed opus from my -current repository... your issue should be resolved.
 
1 members found this post helpful.
Old 12-26-2017, 06:00 PM   #5
magicm
Member
 
Registered: May 2003
Distribution: Slackware
Posts: 237

Original Poster
Rep: Reputation: 152Reputation: 152
Thank you both - although I know I read the manpage on slackpkgplus.conf, it obviously happened on a day when I was not paying attention. Oops.

So, What my basic take on this is that in PKGS_PRIORITY I should list only specific packages that I know I don't want overridden (i.e. I shouldn't put a repository name there unless I also qualify it with a package name, like I have with vlc and ffmpeg.

Alien Bob: very much a thank you for all your hard work. Also thank you for removing opus. And, although you've probably already noticed it, a similar situation may come up regarding ninja.
 
Old 12-26-2017, 06:17 PM   #6
heyjann
Member
 
Registered: Dec 2015
Posts: 102

Rep: Reputation: Disabled
Quote:
Originally Posted by magicm View Post
My real ultimate question is how do I make sure that I haven't missed any install-new opportunities?
If you are unsure, for a list of package additions you can have a look at
http://bear.alienbase.nl/mirrors/sla..._AND_HINTS.TXT
and try a few searches like slackpkg search talloc to see if the packages come up as installed.

Quote:
Originally Posted by magicm View Post
So, What my basic take on this is that in PKGS_PRIORITY I should list only specific packages that I know I don't want overridden (i.e. I shouldn't put a repository name there unless I also qualify it with a package name, like I have with vlc and ffmpeg.
For the alienbob general repository, agreed, but for multilib and (I'm pretty sure) ktown it would be in fact OK to have the full-repository priority, because those do need to replace a few Slackware base packages, but you are not using those anyway.
 
2 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
slackpkg+ can't download any packages tiktik Slackware 2 09-06-2015 03:28 PM
[SOLVED] slackpkg now wants to download all packages before installing any of them! leeeoooooo Slackware 9 08-26-2015 06:45 AM
Slackpkg+ and restricted packages marnold Slackware 7 11-12-2013 10:44 PM
Updating packages w/out Slackpkg Konphine Slackware 4 09-25-2011 02:40 PM
Slackpkg cannot find packages, swaret can mago Slackware 42 04-28-2007 12:35 AM

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

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