LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-17-2018, 06:31 AM   #1
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
Slackware-current 64 bit, pure-alsa, how to manage updates for pure-alsa-system?


Hi, I today blindly ran slackpkg and rolled-back to broken non-alsa pulseaudio. KDE refused to start. From now on slackpkg always will be listing default packages in slackware64 as updates. So it seems I need a combination of blacklist and probably script to verify sanity of pure-alsa after update. Help appreciated.
 
Old 11-17-2018, 06:55 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled
I don't use slackpkg, but as the /pure-alsa-system directory is inside /extra in the Slackware tree I assume that you should change this line in /etc/slackpkg/slackpkg.conf:
PRIORITY=( patches %PKGMAIN extra pasture testing )

So that it becomes:
PRIORITY=( patches extra %PKGMAIN pasture testing )

Then:
slackpkg update
slackpkg upgrade all

I am not running Slackware64-current so can't check: take your risks.

As an aside, blindly doing things is never recommended, even more so with Slackware64-current.
 
2 members found this post helpful.
Old 11-17-2018, 07:58 AM   #3
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
The risk there however is that it could pull in something else from extra/ that you didn't particularly want.


I don't use slackpkg either, I use my own scripts which can handle this sort of thing, but they're designed to work with a local package mirror (updated with rsync or some such) so they're of no use to anyone who just wants to pull individual updates over the network. I consider 2GB for a local package mirror well spent and wouldn't do it any other way, but I accept it's not for everyone.


BTW, unless you're using some really brain dead application that refuses to fall back to ALSA when pulse isn't running you don't really need these alternative packages in order to disable pulseaudio. It can all be done via configuration changes.
 
Old 11-17-2018, 08:03 AM   #4
Nille_kungen
Member
 
Registered: Jul 2005
Distribution: Slackware64-current
Posts: 587

Rep: Reputation: 201Reputation: 201Reputation: 201
I don't use pure alsa on this computer but i think i used "extra:.*_alsa" on one i used it on with slackpkg+.
I had it first under PKGS_PRIORITY=

Last edited by Nille_kungen; 11-17-2018 at 08:06 AM.
 
Old 11-17-2018, 09:25 AM   #5
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware, VMs
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Quote:
Originally Posted by Didier Spaier View Post
So that it becomes:
PRIORITY=( patches extra %PKGMAIN pasture testing )
That's the modification that I used on my pure alsa system. That prevented slackpkg from over-writing the pure alsa packages and breaking KDE apps. Please see this thread on this topic.

https://www.linuxquestions.org/quest...em-4175639807/

GAZL, I appreciate your observation about pulling in other packages from extra. I didn't see that happen in my use case.
 
Old 11-17-2018, 10:30 AM   #6
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
I guess it would depend on whether there are ever any additional 'alternative' packages in extra/ that might replace some other stock packages. I raise it only as a possibility and something to watch out for. I'm not suggesting it will cause a problem as things stand.

My own scripts just work on directories rather than some notion of predefined "repositories", which, though primitive, allows a lot of flexibility.
e.g.
Code:
# export PKGPATH=/srv/slackware/local/packages64/:/srv/slackware/slackware64-current/slackware64/
# slacklist upgrade
# export PKGPATH=/srv/slackware/local/packages64/:/srv/slackware/slackware64-current/extra/pure-alsa-system/:/srv/slackware/slackware64-current/slackware64/
# slacklist upgrade
/srv/slackware/slackware64-current/extra/pure-alsa-system/alsa-lib-1.1.7-x86_64-2_alsa.txz
/srv/slackware/slackware64-current/extra/pure-alsa-system/alsa-plugins-1.1.7-x86_64-4_alsa.txz
/srv/slackware/slackware64-current/extra/pure-alsa-system/audacious-plugins-3.10-x86_64-1_alsa.txz
/srv/slackware/slackware64-current/extra/pure-alsa-system/fluidsynth-1.1.10-x86_64-2_alsa.txz
/srv/slackware/slackware64-current/extra/pure-alsa-system/gst-plugins-good-1.14.4-x86_64-1_alsa.txz
/srv/slackware/slackware64-current/extra/pure-alsa-system/gst-plugins-good0-0.10.31-x86_64-3_alsa.txz
/srv/slackware/slackware64-current/extra/pure-alsa-system/libao-1.2.2-x86_64-2_alsa.txz
/srv/slackware/slackware64-current/extra/pure-alsa-system/libcanberra-0.30-x86_64-6_alsa.txz
/srv/slackware/slackware64-current/extra/pure-alsa-system/mpg123-1.25.10-x86_64-2_alsa.txz
/srv/slackware/slackware64-current/extra/pure-alsa-system/phonon-4.8.3-x86_64-3_alsa.txz
/srv/slackware/slackware64-current/extra/pure-alsa-system/sox-14.4.2-x86_64-6_alsa.txz
/srv/slackware/slackware64-current/extra/pure-alsa-system/xine-lib-1.2.9-x86_64-2_alsa.txz
#
I've been using this to follow current for around 5 years now. It works for me, but as I said above, not everyone wants to keep local package mirrors.

Last edited by GazL; 11-17-2018 at 10:38 AM.
 
3 members found this post helpful.
Old 11-17-2018, 10:32 AM   #7
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware, VMs
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Thumbs up

Quote:
Originally Posted by GazL View Post
I guess it would depend on whether there are ever any additional 'alternative' packages in extra/ that might replace some other stock packages. I raise it only as a possibility and something to watch out for. I'm not suggesting it will cause a problem as things stand.
Agreed. I'm no longer using the pure-alsa-system. I've moved that unit to OpenBSD 6.4.
 
Old 11-17-2018, 10:54 AM   #8
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
Quote:
Originally Posted by hitest View Post
Agreed. I'm no longer using the pure-alsa-system. I've moved that unit to OpenBSD 6.4.
There's a lot to like about it, I have 6.4 triple booting with Slackware and Win10 (needed for hardware diagnostics and firmware updates that my vendor only provides for Windows).

Sadly utf8 support is still lacking in many of the utilities in OpenBSD base and the c library's regex engine.
 
1 members found this post helpful.
Old 11-17-2018, 11:33 AM   #9
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware, VMs
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Cool

Quote:
Originally Posted by GazL View Post
There's a lot to like about it, I have 6.4 triple booting with Slackware and Win10 (needed for hardware diagnostics and firmware updates that my vendor only provides for Windows).

Sadly utf8 support is still lacking in many of the utilities in OpenBSD base and the c library's regex engine.
Nice! I'm dual booting Slackware and OpenBSD on another unit. How do you manage the triple boot, that is, do you have Windows on its own hard drive?
 
Old 11-17-2018, 02:11 PM   #10
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,505

Rep: Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320Reputation: 3320
Quote:
Originally Posted by GazL View Post
BTW, unless you're using some really brain dead application that refuses to fall back to ALSA when pulse isn't running you don't really need these alternative packages in order to disable pulseaudio. It can all be done via configuration changes.
Quote:
Originally Posted by hitest View Post
Agreed. I'm no longer using the pure-alsa-system. I've moved that unit to OpenBSD 6.4.
Watch your words, people!

The inventor of those Anti-Cancer Candies (if you permit me to borrow the Darth Vader's words from somewhere) looks being a champion on shooting from your back. Apparently, he's a specialist on reporting campaigns. Remember Darth's and a4z stories and remember who's behind that pure-alsa-system business.
 
2 members found this post helpful.
Old 11-17-2018, 02:13 PM   #11
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,107

Rep: Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282
I miss Darth!
 
2 members found this post helpful.
Old 11-17-2018, 04:19 PM   #12
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware, VMs
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Smile

Quote:
Originally Posted by LuckyCyborg View Post
Watch your words, people!
Thanks for the warning, mate! As a retired educator I have a lot of time on my hands and I do like to tinker with my PCs. Me moving from a pure-alsa-system to OpenBSD should not be taken as a criticism of the pure-alsa-system.
People are free to say anything they want. I have no control over what people say and do. I do appreciate your concern, LuckyCyborg.
 
3 members found this post helpful.
Old 11-17-2018, 04:37 PM   #13
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
Quote:
Originally Posted by hitest View Post
Nice! I'm dual booting Slackware and OpenBSD on another unit. How do you manage the triple boot, that is, do you have Windows on its own hard drive?
All on the same drive. I just copied OpenBSD's bootx64.efi file to /boot/efi/EFI/OpenBSD/ and then used slackware's efibootmgr utility to add an extra bootmenu entry.
Boot0001 is Windows
Boot0002 is Slackware
Boot0003 is OpenBSD.

I just have to press f9 while booting and pick one.
 
3 members found this post helpful.
Old 11-18-2018, 05:13 AM   #14
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717

Original Poster
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
I suppose small patch to slackpkg config is in place. Or word of explanation in extra/pure-alsa-system/README. Solution at hand. With help obtained here I can manage create package management myself, and suppose quite complex - but that's not the point. Point is to avoid holes in what is supposed to be nicely working operational system - from the start. Just follow simple rules. At this moment it is not. Problem is that extra was extra - out of default packages. Life was easier. Now there is intersection with defaults. Probably one of possible solution is to add priorities to slackpkg. If in doubt - follow higher priority. Per package, per group or per pattern. Do not update - notice if they can be resolved. For handling manually. Maybe just rebuilt slackpkg to modularize so everyone would add its own module. Share with others - test and etc. Kind of /etc/rc.d/rc.local. And prioritize modules.
 
Old 11-18-2018, 05:24 AM   #15
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled
Quote:
Originally Posted by igadoter View Post
Probably one of possible solution is to add priorities to slackpkg.
This already exists, as I reminded you in post #2, so no change is needed in slackpkg. Rather, you need to carefully read the man pages:
man slackpkg
man slackpkg.conf
and the file /etc/slackpg/slackpkg.conf that includes enlightening comments.
 
  


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



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

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