LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 03-28-2021, 05:58 PM   #1
glorsplitz
Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 878

Rep: Reputation: 199Reputation: 199
my slackpkg blacklist doesn't seem to be working


I noticed some slackpkg tweaking changelog Mar 25.

/etc/slackpkg/blacklist says
Quote:
# To blacklist *all* of the "xorg-server-*" packages, use this:
# xorg-server.*
I have sarpi3.* and slackpkg clean-system keeps showing

Quote:
sarpi3-boot-firmware-armv7-1_slackcurrent_17Mar21_sp1
sarpi3-hacks-3.0-armv7-1_slackcurrent_17Mar21_sp1
sarpi3-kernel-source-5.10.23-armv7-1_slackcurrent_17Mar21_sp1
to clean, what am I not seeing?
 
Old 03-30-2021, 02:10 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2, current, slackware-arm-currnet
Posts: 5,707

Rep: Reputation: 690Reputation: 690Reputation: 690Reputation: 690Reputation: 690Reputation: 690
FWIW, I have the same problem on slackware arm current.

I have tried sarpi.* and sarpi/ ; neither works.

Here is the list of files I have blacklisted.

Code:
kernel-generic.*
kernel-huge.*
kernel-modules.*
kernel-source
#
# This one will blacklist all SBo packages:
#[0-9]+_SBo
kde/
calligra
bsd-games
emacs
sendmail
kernel/
kernel_armv7/
sarpi3.*
sbopkg-0.38.1-noarch_wsr
When I run slackpkg clean-sysem, slackpkg wants to remove the sarpi ( all 5 ) packages and sbopkg ( last item )

No idea on how to change this behaviour.
 
Old 03-30-2021, 02:30 AM   #3
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2, current, slackware-arm-currnet
Posts: 5,707

Rep: Reputation: 690Reputation: 690Reputation: 690Reputation: 690Reputation: 690Reputation: 690
Just a thought, I'm wondering if we need slackpkgplus installed? My thought being, using sarpi as a third party repo for slackware arm.

I have not seen aynone using slackpkgplus on an arm device.
 
1 members found this post helpful.
Old 03-30-2021, 04:12 AM   #4
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware [ARM]
Posts: 639

Rep: Reputation: 375Reputation: 375Reputation: 375Reputation: 375
Quote:
Originally Posted by camorri View Post
Just a thought, I'm wondering if we need slackpkgplus installed? My thought being, using sarpi as a third party repo for slackware arm.

I have not seen aynone using slackpkgplus on an arm device.
Correct-a-mundo.

Slackpkg only works with official pkgs, as it gets its information from the ChangeLog and PACKAGES txt file data in the Slackware [ARM] source media tree.

Last edited by Exaga; 03-30-2021 at 04:21 AM. Reason: i had eggs for breakfast... as a result it's rather windy today!
 
1 members found this post helpful.
Old 03-31-2021, 07:27 PM   #5
glorsplitz
Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 878

Original Poster
Rep: Reputation: 199Reputation: 199
Thanks Exaga and Cliff, "Slackpkg only works with official pkgs", can't believe I hadn't thought about that.
 
Old 03-31-2021, 08:33 PM   #6
mralk3
Senior Member
 
Registered: May 2015
Distribution: Slackware, OpenBSD
Posts: 1,547

Rep: Reputation: 869Reputation: 869Reputation: 869Reputation: 869Reputation: 869Reputation: 869Reputation: 869
I have Slackpkg blacklisting my own (ble), some of willysr's, and ponce's repo packages. As you can see it also work with the google-chrome package I made using the SlackBuild from any mirror in the directory, slackware64-current/extra/google-chrome/
Code:
[root@mothership ~]# slackpkg blacklist

Edit /etc/slackpkg/blacklist to add or remove packages.

Packages in blacklist:


[0-9]+_wsr
[0-9]+_ble
[0-9]ponce
lxc
google-chrome


[root@mothership ~]# ls /var/log/packages/*slack*
/var/log/packages/slackpkg-15.0.1-noarch-1  /var/log/packages/slacktrack-2.20-x86_64-3
 
Old 03-31-2021, 09:03 PM   #7
mralk3
Senior Member
 
Registered: May 2015
Distribution: Slackware, OpenBSD
Posts: 1,547

Rep: Reputation: 869Reputation: 869Reputation: 869Reputation: 869Reputation: 869Reputation: 869Reputation: 869
That is on my RockPro running slarm64.

Code:
[root@rockpro ~]# slackpkg blacklist && ls /var/log/packages/*mara* && ls /var/log/packages/*github* 

Edit /etc/slackpkg/blacklist to add or remove packages.

Packages in blacklist:


kde/
kernel-generic.*
kernel-huge.*
kernel-modules.*
[0-9]+_SBo
[0-9]+ponce
[0-9]+_ble
[0-9]+mara
[0-9]+_github
[0-9]+_wsr

slackkit


/var/log/packages/kernel-firmware-rk3399-5.10.23-aarch64-1mara  /var/log/packages/kernel-modules-rk3399-5.10.23-aarch64-1mara  /var/log/packages/kernel-source-rk3399-5.10.23-noarch-1mara
/var/log/packages/kernel-headers-rk3399-5.10.23-aarch64-1mara   /var/log/packages/kernel-rk3399-5.10.23-aarch64-1mara
/var/log/packages/slackrepo-git65b100d-noarch-1_github
[root@rockpro ~]# slackpkg clean-system

Looking for packages to remove. Please wait... DONE

No packages match the pattern for clean-system
And on my rpi 4 it works too only partially. I haven't devised a regex that works for the sarpi packages. The naming is quite diverse for one regex to cover them all. Maybe I just am a baddie when it comes to regexes!
 
Old 03-31-2021, 10:05 PM   #8
mralk3
Senior Member
 
Registered: May 2015
Distribution: Slackware, OpenBSD
Posts: 1,547

Rep: Reputation: 869Reputation: 869Reputation: 869Reputation: 869Reputation: 869Reputation: 869Reputation: 869
Quote:
Originally Posted by glorsplitz View Post
Thanks Exaga and Cliff, "Slackpkg only works with official pkgs", can't believe I hadn't thought about that.
While this may have been true in the past, I think the issue is the naming of the sarpi packages. I am sitting here waiting for something to compile and have been playing with several regexes. I cannot get it working with sarpi packages but slackpkg-15.0.1-noarch-1.txz works just fine with everything else I've thrown at it.
 
Old 04-01-2021, 08:15 AM   #9
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2, current, slackware-arm-currnet
Posts: 5,707

Rep: Reputation: 690Reputation: 690Reputation: 690Reputation: 690Reputation: 690Reputation: 690
I went back and tried some of the things mralk3 posted. I did find
Quote:
[0-9]+_wsr
worked.

I also tried [0-9]+_sp1 without success for the kernel sarpi3 packages.

For now, I'll just make sure I don't remove the sarpi kerel packages.
 
Old 04-01-2021, 07:25 PM   #10
glorsplitz
Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 878

Original Poster
Rep: Reputation: 199Reputation: 199
I too have [0-9]+alien and this is not part of the "ChangeLog and PACKAGES txt file data" as Exaga indicated, as is [0-9]+_SBo, and these work.

I did try [0-9]+_sp1 as camorri did, HOWEVER, sp1 ends in a number, is this why the slackpkg regex [0-9]+_sp1 doesn't work?

I'm still fooling around.

Unchecking sarpi stuffs in slackpkg clean-system for now.

Last edited by glorsplitz; 04-01-2021 at 07:30 PM.
 
1 members found this post helpful.
Old 04-02-2021, 12:49 AM   #11
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware [ARM]
Posts: 639

Rep: Reputation: 375Reputation: 375Reputation: 375Reputation: 375
Quote:
Originally Posted by glorsplitz View Post
I did try [0-9]+_sp1 as camorri did, HOWEVER, sp1 ends in a number, is this why the slackpkg regex [0-9]+_sp1 doesn't work?

I'm still fooling around.

Unchecking sarpi stuffs in slackpkg clean-system for now.
Good info. Thanks glorsplitz
 
Old 04-04-2021, 02:02 AM   #12
louigi600
Member
 
Registered: Dec 2013
Location: Italy
Distribution: Slackware
Posts: 619
Blog Entries: 19

Rep: Reputation: 76
Should we be asking the maintainer to update the man page with the new slackpkg blacklist regex syntax ?
He did mention in the changelog that there was some modification to the blacklist regex line ending but I did not find ant explication of what actually changed.
Code:
Sun Mar 14 15:17:21 UTC 2021
---------------
        - Re-release slackpkg-15.0.1 (no package generated yet anyway)
        - Modifiy blacklist regex line ending
To my understanding now to skip an entire package series you need to end that with a /
Code:
kde/
kdei/
xfce/
plasma*
But not sure whete else has changed.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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] blacklist mirror with slackpkg/slackpkg+ garpu Slackware 8 03-13-2021 10:49 PM
slackpkg blacklist kde should not blacklist polkit anymore frushiyama Slackware 1 09-25-2020 05:19 AM
Blacklist lines to keep slackpkg from overwriting Alien Bob's KDE 4.4.1 packages damgar Slackware 1 03-07-2010 12:35 AM
Suggestion: Modify /etc/slackpkg/blacklist samac Slackware 2 01-09-2010 03:36 PM
?Odd bug. modprobe.blacklist~ behaves as modprobe.blacklist arubin Slackware 1 11-05-2006 07:08 PM

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

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