LinuxQuestions.org
Visit Jeremy's Blog.
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 09-03-2016, 08:07 PM   #1
Rinndalir
Member
 
Registered: Sep 2015
Posts: 733

Rep: Reputation: Disabled
-current and /testing


How does /testing get enabled for -current?
 
Old 09-03-2016, 09:23 PM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,684

Rep: Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798
You will need to upgrade the packages under testing manually
 
Old 09-03-2016, 09:23 PM   #3
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,463
Blog Entries: 7

Rep: Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561
-current and /testing

What do you mean?

Do you want to install the testing packages?

If so, you can do it using upgradepkg.
 
Old 09-04-2016, 11:22 AM   #4
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,249

Rep: Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323
Download them and upgradepkg them.
 
Old 09-04-2016, 05:00 PM   #5
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
This was covered in the other thread. I'm not sure why you felt a need to start another topic on it.
 
1 members found this post helpful.
Old 09-11-2016, 08:36 PM   #6
Rinndalir
Member
 
Registered: Sep 2015
Posts: 733

Original Poster
Rep: Reputation: Disabled
There seems to be an issue with slackpkg and slackpkg+. slackpkg doesn't pickup /testing but slackpkg+ does.

There's this in the conf file:
PRIORITY=( patches %PKGMAIN extra pasture testing )

But slackpkg does not seem to use that setting or I misunderstand it. But slackpkg+ does use that.

So -current with slackpkg+ is not that same as -current with slackpkg.
 
Old 09-11-2016, 08:37 PM   #7
Rinndalir
Member
 
Registered: Sep 2015
Posts: 733

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by willysr
You will need to upgrade the packages under testing manually
Or use slackpkg+ as it seems to pickup /testing automatically.
 
Old 09-11-2016, 10:17 PM   #8
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by Rinndalir View Post
There seems to be an issue with slackpkg and slackpkg+. slackpkg doesn't pickup /testing but slackpkg+ does.

There's this in the conf file:
PRIORITY=( patches %PKGMAIN extra pasture testing )

But slackpkg does not seem to use that setting or I misunderstand it. But slackpkg+ does use that.

So -current with slackpkg+ is not that same as -current with slackpkg.
slackpkg is not supposed to pick up testing/

testing/ can contain packages that replace the system packages (since packages in testing/ are able to sometimes replace system packages). Slackpkg doesn't handle that, it will only see a package and check whether it needs to be installed. It doesn't have anything to determine whether you should install one version or another. You need to use slackpkg+ for that.
 
Old 09-12-2016, 12:01 AM   #9
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,463
Blog Entries: 7

Rep: Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561
Quote:
Originally Posted by Rinndalir View Post
Or use slackpkg+ as it seems to pickup /testing automatically.
Why would you want that?

/testing is hardly used, but when it is you can bet that there's something "structural" in there. i.e: There is a high probability that it will break your system, which is why it is sequestered.

Last edited by rkelsen; 09-12-2016 at 12:04 AM.
 
Old 09-12-2016, 12:10 PM   #10
Rinndalir
Member
 
Registered: Sep 2015
Posts: 733

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bassmadrigal
It doesn't have anything to determine whether you should install one version or another.
Why is PRIORITY=( patches %PKGMAIN extra pasture testing ) set in slackpkg conf?
 
Old 09-12-2016, 12:13 PM   #11
Rinndalir
Member
 
Registered: Sep 2015
Posts: 733

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rkelsen
Why would you want that?
It's a slackpkg+ feature. I don't know about the choices they made when they wrote slackpkg+, so you'd have to ask them "Why?".
 
Old 09-12-2016, 12:29 PM   #12
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,124

Rep: Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198
you don't need slackpkg+ if you want /testing to have an higher precedence when using slackpkg.

you just have to change the line you noted above in /etc/slackpkg/slackpkg.conf like this
Code:
PRIORITY=( testing patches %PKGMAIN extra pasture )
doing this on current, after you installed the newer gcc, will result in a lot of things from SBo stop building (I think this will also happen if you will try rebuilding stuff in Slackware itself): be aware (and advised) that you might not get support for thi building errors because if you use the testing stuff it's supposed that you know how to fix things yourself.
 
Old 09-12-2016, 01:34 PM   #13
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by Rinndalir View Post
Why is PRIORITY=( patches %PKGMAIN extra pasture testing ) set in slackpkg conf?
It turns out the package I was searching for on 14.2 was spelled wrong on the server. kernel-module-encryptfs is actually missing the n on encryptfs (kernel-module-ecryptfs is on the server), so when I attempted to find it using the right spelling, nothing showed. That led me to believe that testing/ was not supported by slackpkg.

However, after spelling it the way it is on the server, it does allow me to install from testing/. Sorry for the misinformation there.

Now that I've cleared up my own confusion, the only way to "set up" testing/ with slackpkg (for packages that already exist in Slackware -- new packages should be able to be installed using slackpkg install package-name) is to change the PRIORITY variable in the slackpkg.conf file and put testing before %PKGMAIN. The issue with this is, as far as I know, there is no way to specify which packages you want from testing and what you'd want from Slackware proper. So, if you were to change this variable, you'd get all new gcc stuff, as well as efibootmgr-0.6.0 (vs -current's 0.5.0) right now in -current. That might not be a big deal now (especially if you aren't using efibootmgr), but if Pat puts something big in testing/ and you aren't paying attention, you might suddenly end up with a system that doesn't work the way you expect it to. A prime example of this is when Pat added eudev to testing/. He provided a list of software that would likely have problems unless you recompiled them after installing eudev. If you happened to miss that message, your system could've been unbootable or been very broken when it does boot up.

It's obviously up to you on how you want to handle it, but due to the unknowns, personally, if you feel inclined to install stuff from testing/, I would install those packages manually and then blacklist them. Then you'd just need to keep an eye on the changelog to see if Pat updates any of them. This prevents your system from getting borked if something is added and you don't realize the repercussions. But, I haven't felt a need to use testing/ since Slackware 11.0, when he had the 2.6 kernel available in testing/ with the 2.4 kernel in proper, so it's been almost a decade since I've done it.
 
1 members found this post helpful.
Old 09-16-2016, 01:08 PM   #14
Rinndalir
Member
 
Registered: Sep 2015
Posts: 733

Original Poster
Rep: Reputation: Disabled
The big surprise to me and apparently others is that there are actually three different native slackwares.
Stable, -current and testing. It was something I didn't know about. Plus along the way I discovered that slackpkg+ includes /testing automatically using the same PRIORITIES used by slackpkg. Maybe a feature but it was unexpected behavior.
 
Old 09-16-2016, 01:22 PM   #15
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,124

Rep: Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198
Quote:
Originally Posted by Rinndalir View Post
The big surprise to me and apparently others is that there are actually three different native slackwares.
Stable, -current and testing. It was something I didn't know about.
I don't understand why you got that impression.
it seems to me that we explained multiple times that there's just Slackware stable and slackware-current, the development version (*not* a rolling release), and that /testing is just a directory in the the distribution tree: the fact that you can easily install packages from that directory via slackpkg doesn't actually mean anything, it's just a commodity offered by slackpkg, it doesn't mean that "testing" is another version of Slackware.

Last edited by ponce; 09-16-2016 at 01:26 PM.
 
3 members found this post helpful.
  


Reply

Tags
-current, slackware, testing



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
[TESTING REQUEST] Xorg in -current (yes, again) rworkman Slackware 171 10-31-2009 04:49 PM
Request For Testing - Intel Graphics Drivers in -current rworkman Slackware 24 07-25-2009 10:30 PM
Trying some -current testing Alstare Slackware 4 11-10-2008 03:36 PM
Request for Testing - hal-0.5.11rc1 in -current rworkman Slackware 11 03-18-2008 01:23 PM
slack 10.1 -> current testing kernel and battery support jasone Slackware 3 05-24-2005 03:00 AM

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

All times are GMT -5. The time now is 07:58 AM.

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