LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-03-2021, 12:50 PM   #196
zerouno
Member
 
Registered: Oct 2009
Location: Italy
Distribution: Slackware
Posts: 983

Original Poster
Rep: Reputation: 352Reputation: 352Reputation: 352Reputation: 352

slackpkg new blacklist syntax force you to just put the package name in blacklist.

Consider to use greylist instead. It should allow the old syntax
 
Old 05-03-2021, 06:38 PM   #197
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,979

Rep: Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556
Quote:
Originally Posted by zerouno View Post
slackpkg new blacklist syntax force you to just put the package name in blacklist.

Consider to use greylist instead. It should allow the old syntax
Is there a way to combine sections of package names like name and version only?

Using greylist won't help is this issue.
Code:
slackpkg search slackpkg             

Looking for slackpkg in package list. Please wait... DONE

The list below shows all packages with name matching "slackpkg".

[ Status              ] [ Repository   ] [ Package                              ]
  installed               slackpkgplus     slackpkg+-1.7.5-noarch-2mt          
  installed               slackware64      slackpkg-15.0.2-noarch-1            
  uninstalled(masked)     slackpkgbeta     slackpkg-15.0.1_beta1-noarch-1      
  uninstalled(masked)     slackpkgbeta     slackpkg-2.52beta-noarch-2          
  uninstalled(masked)     slackpkgbeta     slackpkg-2.52beta2-noarch-1         
  uninstalled(masked)     slackpkgbeta     slackpkg-2.60beta-noarch-1          
  uninstalled(masked)     slackpkgbeta     slackpkg-2.61beta-noarch-1          
  uninstalled(masked)     slackpkgbeta     slackpkg-2.61beta2-noarch-1         
  uninstalled(masked)     slackpkgbeta     slackpkg-2.70beta-noarch-1          
  uninstalled(masked)     slackpkgbeta     slackpkg-2.70beta2-noarch-1         
  uninstalled(masked)     slackpkgbeta     slackpkg-2.70beta3-noarch-4         
  uninstalled(masked)     slackpkgbeta     slackpkg-2.70beta4-noarch-2         
  uninstalled(masked)     slackpkgbeta     slackpkg-2.70beta5-noarch-1         
  uninstalled(masked)     slackpkgbeta     slackpkg-2.71beta1-noarch-1         
  uninstalled(masked)     slackpkgbeta     slackpkg-2.71beta2-noarch-4         
  uninstalled(masked)     slackpkgbeta     slackpkg-2.71beta3-noarch-2         
  uninstalled(masked)     slackpkgbeta     slackpkg-2.71beta4-noarch-3         
  uninstalled(masked)     slackpkgbeta     slackpkg-2.71beta5-noarch-1         
  uninstalled(masked)     slackpkgbeta     slackpkg-2.80.2beta1-noarch-2       
  uninstalled(masked)     slackpkgbeta     slackpkg-2.80beta1-noarch-13        
  uninstalled(masked)     slackpkgbeta     slackpkg-2.80beta2-noarch-3         
  uninstalled(masked)     slackpkgbeta     slackpkg-2.80beta3-noarch-1         
  uninstalled(masked)     slackpkgbeta     slackpkg-2.81.1beta1-noarch-2       
  uninstalled(masked)     slackpkgbeta     slackpkg-2.81beta-noarch-4          
  uninstalled(masked)     slackpkgbeta     slackpkg-2.81beta2-noarch-1         
  uninstalled(masked)     slackpkgbeta     slackpkg-2.81beta2-noarch-2         
  uninstalled(masked)     slackpkgbeta     slackpkg-2.81beta3-noarch-1         
  uninstalled(masked)     slackpkgbeta     slackpkg-2.82.3beta1-noarch-1_rlw   
  uninstalled(masked)     slackpkgbeta     slackpkg-2.82.3beta2-noarch-1_rlw   
  uninstalled(masked)     slackpkgbeta     slackpkg-2.82.3beta3-noarch-1_rlw   
  uninstalled(masked)     slackpkgbeta     slackpkg-2.82.3beta4-noarch-1_rlw   
  uninstalled(masked)     slackpkgbeta     slackpkg-2.82.3beta5-noarch-1_rlw   
  uninstalled(masked)     slackpkgbeta     slackpkg-2.83.0beta1-noarch-1_rlw   
  uninstalled(masked)     slackpkgbeta     slackpkg-2.83.0beta2-noarch-1_rlw   
  uninstalled(masked)     slackpkgbeta     slackpkg-2.84.0_beta1-noarch-1_rlw  
  uninstalled(masked)     slackpkgbeta     slackpkg-2.84.0_beta10-noarch-1_rlw 
  uninstalled(masked)     slackpkgbeta     slackpkg-2.84.0_beta11-noarch-1_rlw 
  uninstalled(masked)     slackpkgbeta     slackpkg-2.84.0_beta12-noarch-1_rlw 
  uninstalled(masked)     slackpkgbeta     slackpkg-2.84.0_beta3-noarch-1_rlw  
  uninstalled(masked)     slackpkgbeta     slackpkg-2.84.0_beta4-noarch-1_rlw  
  uninstalled(masked)     slackpkgbeta     slackpkg-2.84.0_beta5-noarch-1_rlw  
  uninstalled(masked)     slackpkgbeta     slackpkg-2.84.0_beta6-noarch-1_rlw  
  uninstalled(masked)     slackpkgbeta     slackpkg-2.84.0_beta7-noarch-1_rlw  
  uninstalled(masked)     slackpkgbeta     slackpkg-2.84.0_beta8-noarch-1_rlw  
  uninstalled(masked)     slackpkgbeta     slackpkg-2.84.0_beta9-noarch-1_rlw
For me it's not that big a deal. I can live with it.
The only time I'd use that repository is when I know there is a beta to pull. Easy enough to just uncomment slackpkgplug.conf when needed.
Code:
slackpkg search slackpkg

Looking for slackpkg in package list. Please wait... DONE

The list below shows all packages with name matching "slackpkg". 

[ Status    ] [ Repository   ] [ Package                     ]
  installed     slackpkgplus     slackpkg+-1.7.5-noarch-2mt 
  installed     slackware64      slackpkg-15.0.2-noarch-1
 
Old 05-03-2021, 09:37 PM   #198
drgibbon
Senior Member
 
Registered: Nov 2014
Distribution: Slackware64 15.0
Posts: 1,221

Rep: Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943
Quote:
Originally Posted by zerouno View Post
someone uses the blacklist with slackpkg+ ?
Simple blacklist here:
Code:
[0-9]+_SBo
texlive
bind
dovecot
httpd
joe
jove
lilo
php.*
All working fine on 1.7.5-2mt.
 
Old 05-04-2021, 05:27 AM   #199
zerouno
Member
 
Registered: Oct 2009
Location: Italy
Distribution: Slackware
Posts: 983

Original Poster
Rep: Reputation: 352Reputation: 352Reputation: 352Reputation: 352
Quote:
Originally Posted by chrisretusn View Post
Is there a way to combine sections of package names like name and version only?
use regex
slackpkg-2.*
Code:
# All of the following will be checked for the regex: 
# Package series, name, version, arch, build, and fullname
...
# To blacklist *all* of the "xorg-server-*" packages, use this:
# xorg-server.*
Quote:
Using greylist won't help is this issue.
greylist just work in dialog box.
 
Old 05-04-2021, 07:26 AM   #200
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,979

Rep: Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556
Quote:
Originally Posted by zerouno View Post
use regex
slackpkg-2.*
Tried that, does not work, it blacklist slackpkg completely.
Code:
slackpkg search slackpkg

Looking for slackpkg in package list. Please wait... DONE

The list below shows all packages with name matching "slackpkg".

[ Status    ] [ Repository   ] [ Package                     ]
  installed     slackpkgplus     slackpkg+-1.7.5-noarch-2mt
Using VERBOSE=3 and looking at the contents of /tmp/slackpkg.0FHQxb/blacklist
Code:
:kernel-generic-[^-]+-(x86[_64]*|noarch|fw)-[^-]+
:kernel-huge-[^-]+-(x86[_64]*|noarch|fw)-[^-]+
:kernel-modules-[^-]+-(x86[_64]*|noarch|fw)-[^-]+
:kernel-source-[^-]+-(x86[_64]*|noarch|fw)-[^-]+
:slackpkg-[^-]+-(x86[_64]*|noarch|fw)-[^-]+
I tried a lot of regex variations, none of them work. Admittedly probably because I'm not that well versed in regex.

Quote:
greylist just work in dialog box.
Yes and why I said using it won't help.
 
Old 05-04-2021, 07:39 AM   #201
zerouno
Member
 
Registered: Oct 2009
Location: Italy
Distribution: Slackware
Posts: 983

Original Poster
Rep: Reputation: 352Reputation: 352Reputation: 352Reputation: 352
Quote:
Originally Posted by chrisretusn View Post
Tried that, does not work, it blacklist slackpkg completely.
yes I was in wrong.

There are no solution.

the only solution is greylist slackpkg then
Code:
# slackpkg search slackpkg|grep -v slackpkg-2
The list below shows all packages with name matching "slackpkg".

[inst] slackpkgplus : slackpkg+-1.7.5-noarch-2mt
[mask] slackpkgbeta : slackpkg-15.0.1_beta1-noarch-1

# slackpkg upgrade slackpkg-15.0.1_beta1-noarch-1
 
Old 05-04-2021, 08:51 AM   #202
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,979

Rep: Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556
Quote:
Originally Posted by zerouno View Post
yes I was in wrong.

There are no solution.

the only solution is greylist slackpkg then
Code:
# slackpkg search slackpkg|grep -v slackpkg-2
The list below shows all packages with name matching "slackpkg".

[inst] slackpkgplus : slackpkg+-1.7.5-noarch-2mt
[mask] slackpkgbeta : slackpkg-15.0.1_beta1-noarch-1

# slackpkg upgrade slackpkg-15.0.1_beta1-noarch-1
Okay thanks. I'll just go with plan A. Comment out my entries for that mirror. There is no active beta in that repository right now anyway.
 
Old 05-05-2021, 06:02 PM   #203
zerouno
Member
 
Registered: Oct 2009
Location: Italy
Distribution: Slackware
Posts: 983

Original Poster
Rep: Reputation: 352Reputation: 352Reputation: 352Reputation: 352
this patch should rollback to the older blacklist system if you run it with LEGACYBL=on

Code:
# LEGACYBL=on slackpkg search slackpkg
[inst] slackpkgplus : slackpkg+-1.7.5-noarch-2mt
[mask] slackpkgbeta : slackpkg-15.0.1_beta1-noarch-1
you can put LEGACYBL=on in slackpkgplus.conf

please test it, specially who use dublicated packages

it apply the blacklist to the entire row of pkglist, so restore the ability to blackpkg 'slackpkg-2' and restore all bugs in blacklist system
Code:
SLACKPKGPLUS_slackpkgbeta slackpkg 2.70beta5 noarch 1 slackpkg-2.70beta5-noarch-1 ./SLACKPKGPLUS_slackpkgbeta tgz

Code:
--- a/src/slackpkgplus.sh
+++ b/src/slackpkgplus.sh
@@ -128,7 +128,7 @@ if [ "$SLACKPKGPLUS" = "on" ];then
   ##### ===== BLACKLIST FUNCTIONS === #####
 
     # Patching makelist() original function to accept pkglist-pre
-  eval "$(type makelist | sed -e $'1d;2c\\\nmakelist()\n' -e 's,cat ${WORKDIR}/pkglist > ${TMPDIR}/pkglist,cat $TMPDIR/pkglist-pre ${WORKDIR}/pkglist > ${TMPDIR}/pkglist,')"
+  eval "$(type makelist | sed -e $'1d;2c\\\nmakelist()\n' -e 's,cat ${WORKDIR}/pkglist > ${TMPDIR}/pkglist,cat $TMPDIR/pkglist-pre ${WORKDIR}/pkglist | applyblacklist > ${TMPDIR}/pkglist,')"
 
     # Adds the pattern given by $(1) into the internal blacklist
     # ${TMPDIR}/blacklist.slackpkgplus
@@ -1985,6 +1985,9 @@ if [ "$SLACKPKGPLUS" = "on" ];then
   if [ -e $TMPDIR/blacklist ];then
     sed -i 's/^/^/' $TMPDIR/blacklist
   fi
+  if [ "$LEGACYBL" == "on" ];then
+    cat /etc/slackpkg/blacklist |grep -v -e ^$ -e "^#" >$TMPDIR/blacklist
+  fi
 
   touch ${TMPDIR}/priority.filters
 
Old 05-06-2021, 09:55 AM   #204
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,979

Rep: Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556
Tested with patch. Only duplicate programs I have installed are the kernel packages. Three of them 5.10.34, 5.12.0 and 5.12.1, the running kernel is 5.12.1

slackpkg w/slackpkg+ worked fine before this patch for those packages. It also works with the patch.
Code:
slackpkg search kernel

Looking for kernel in package list. Please wait... DONE

The list below shows all packages with name matching "kernel".

[ Status              ] [ Repository  ] [ Package                                    ]
  installed               slackware64     kernel-firmware-20210503_ecdfcf8-noarch-1 
  installed               testing         kernel-headers-5.12.1-x86-1               
  uninstalled(masked)     slackware64     kernel-headers-5.10.34-x86-1

LEGACYBL=on slackpkg search kernel

Looking for kernel in package list. Please wait... DONE

The list below shows all packages with name matching "kernel".

[ Status              ] [ Repository  ] [ Package                                    ]
  installed               slackware64     kernel-firmware-20210503_ecdfcf8-noarch-1 
  installed               testing         kernel-headers-5.12.1-x86-1               
  uninstalled(masked)     slackware64     kernel-headers-5.10.34-x86-1
Regarding the slackpkgbeta repository.
Code:
slackpkg search slackpkg 

Looking for slackpkg in package list. Please wait... DONE

The list below shows all packages with name matching "slackpkg".

[ Status              ] [ Repository   ] [ Package                              ]
  installed               slackpkgplus     slackpkg+-1.7.5-noarch-2mt          
  installed               slackware64      slackpkg-15.0.2-noarch-1            
  uninstalled(masked)     slackpkgbeta     slackpkg-15.0.1_beta1-noarch-1      
<< snip >>
  uninstalled(masked)     slackpkgbeta     slackpkg-2.84.0_beta9-noarch-1_rlw

LEGACYBL=on slackpkg search slackpkg 

Looking for slackpkg in package list. Please wait... DONE

The list below shows all packages with name matching "slackpkg".

[ Status              ] [ Repository   ] [ Package                         ]
  installed               slackpkgplus     slackpkg+-1.7.5-noarch-2mt     
  installed               slackware64      slackpkg-15.0.2-noarch-1       
  uninstalled(masked)     slackpkgbeta     slackpkg-15.0.1_beta1-noarch-1
/etc/slackpkg/blacklist:
Code:
kernel-generic
kernel-huge
kernel-modules
kernel-source
slackpkg-2
/etc/slackpkg/slacpkgplus.conf applicable entries:
Code:
PKGS_PRIORITY=( slackware64:id3lib ) # 2018-01-09, also in alienbob
PKGS_PRIORITY+=( slackware64:gcc ) # 2020-09-17, give slackware packages priority over multilib.
PKGS_PRIORITY+=( justpkgs )
PKGS_PRIORITY+=( nonslack )
#PKGS_PRIORITY+=( slackware64:slackpkg ) # We now have a slackpkg-15.
#PKGS_PRIORITY+=( slackpkgbeta ) # We now have a slackpkg-15.
PKGS_PRIORITY+=( slackpkgplus )
PKGS_PRIORITY+=( multilib restricted alienbob )
REPOPLUS+=( justpkgs )
REPOPLUS+=( nonslack )
REPOPLUS+=( slackpkgbeta )
REPOPLUS+=( slackpkgplus )
REPOPLUS+=( multilib restricted alienbob )
MIRRORPLUS['slackpkgplus']=http://slakfinder.org/slackpkg+dev/
MIRRORPLUS['nonslack']=file://home/non-slack/slackbuilds/
MIRRORPLUS['justpkgs']=dir://home/non-slack/justpkgs/
MIRRORPLUS['multilib']=file://home/non-slack/multilib/current/
MIRRORPLUS['alienbob']=file://home/non-slack/alienbob/current/x86_64/
MIRRORPLUS['restricted']=file://home/non-slack/alienbob_restricted/current/x86_64/
MIRRORPLUS['slackpkgbeta']=httpsdir://slackpkg.org/beta/
 
Old 05-06-2021, 11:23 AM   #205
zerouno
Member
 
Registered: Oct 2009
Location: Italy
Distribution: Slackware
Posts: 983

Original Poster
Rep: Reputation: 352Reputation: 352Reputation: 352Reputation: 352
bad reply sorry

Last edited by zerouno; 05-06-2021 at 11:26 AM.
 
Old 05-09-2021, 03:52 PM   #206
zerouno
Member
 
Registered: Oct 2009
Location: Italy
Distribution: Slackware
Posts: 983

Original Poster
Rep: Reputation: 352Reputation: 352Reputation: 352Reputation: 352
I forgot to apply the LEGACYBL to search command to work witch the entire pkglist row instead the full pkgname only. So /kde thes blacklist kde series
Code:
--- a/src/slackpkgplus.sh
+++ b/src/slackpkgplus.sh
@@ -1143,7 +1143,7 @@ if [ "$SLACKPKGPLUS" = "on" ];then
 
     printf "%s\n" $ROOT/var/log/packages/* | awk -f /usr/libexec/slackpkg/pkglist.awk > ${TMPDIR}/tmplist
     sed -i 's/^^/:/' $TMPDIR/blacklist
-    cat ${WORKDIR}/pkglist > ${TMPDIR}/pkglist
+    cat ${WORKDIR}/pkglist | applyblacklist > ${TMPDIR}/pkglist
 
     touch ${TMPDIR}/waiting
     echo -n "Looking for $PATTERN in package list. Please wait... "
However I'm reviewing that.
In this legacy system I used 'grep -E'
Slackpkg 2.82.1 (slackware 14.2) uses 'grep -Ew' (and greylist uses it too).

So the new patch (available to test branch on git too) does reintroduces 'grep -Ew'

Code:
--- a/src/slackpkgplus.sh
+++ b/src/slackpkgplus.sh
@@ -17,6 +17,7 @@ CLOG_SEPREGEX="^[+][-]+[+][ ]*$"
 
 if [ -e $CONF/slackpkgplus.conf ];then
   # You can override GREYLIST WGETOPTS SLACKPKGPLUS VERBOSE USEBL ALLOW32BIT SENSITIVE_SEARCH from command-line
+  EXTLEGACYBL=$LEGACYBL
   EXTGREYLIST=$GREYLIST
   EXTALLOW32BIT=$ALLOW32BIT
   EXTSLACKPKGPLUS=$SLACKPKGPLUS
@@ -55,6 +56,7 @@ if [ -e $CONF/slackpkgplus.conf ];then
   c_mask="${c_mask:-$c_gry}"
   c_unin="${c_unin:-$c_blu}"
 
+  LEGACYBL=${EXTLEGACYBL:-$LEGACYBL}
   GREYLIST=${EXTGREYLIST:-$GREYLIST}
   ALLOW32BIT=${EXTALLOW32BIT:-$ALLOW32BIT}
   SLACKPKGPLUS=${EXTSLACKPKGPLUS:-$SLACKPKGPLUS}
@@ -128,7 +130,7 @@ if [ "$SLACKPKGPLUS" = "on" ];then
   ##### ===== BLACKLIST FUNCTIONS === #####
 
     # Patching makelist() original function to accept pkglist-pre
-  eval "$(type makelist | sed -e $'1d;2c\\\nmakelist()\n' -e 's,cat ${WORKDIR}/pkglist > ${TMPDIR}/pkglist,cat $TMPDIR/pkglist-pre ${WORKDIR}/pkglist > ${TMPDIR}/pkglist,')"
+  eval "$(type makelist | sed -e $'1d;2c\\\nmakelist()\n' -e 's,cat ${WORKDIR}/pkglist > ${TMPDIR}/pkglist,cat $TMPDIR/pkglist-pre ${WORKDIR}/pkglist | applyblacklist > ${TMPDIR}/pkglist,')"
 
     # Adds the pattern given by $(1) into the internal blacklist
     # ${TMPDIR}/blacklist.slackpkgplus
@@ -147,7 +149,7 @@ if [ "$SLACKPKGPLUS" = "on" ];then
       >${TMPDIR}/blacklist
     fi
     cat > ${TMPDIR}/inblacklist
-    grep -vE -f ${TMPDIR}/blacklist -f ${TMPDIR}/blacklist.slackpkgplus ${TMPDIR}/inblacklist >${TMPDIR}/outblacklist
+    grep -vE ${BLKLOPT} -f ${TMPDIR}/blacklist -f ${TMPDIR}/blacklist.slackpkgplus ${TMPDIR}/inblacklist >${TMPDIR}/outblacklist
     cat ${TMPDIR}/outblacklist
     cat $TMPDIR/greylist.* >$TMPDIR/greylist
     grep -qvEw -f $TMPDIR/greylist $TMPDIR/pkglist-pre >$TMPDIR/unchecklist
@@ -1141,7 +1143,7 @@ if [ "$SLACKPKGPLUS" = "on" ];then
 
     printf "%s\n" $ROOT/var/log/packages/* | awk -f /usr/libexec/slackpkg/pkglist.awk > ${TMPDIR}/tmplist
     sed -i 's/^^/:/' $TMPDIR/blacklist
-    cat ${WORKDIR}/pkglist > ${TMPDIR}/pkglist
+    cat ${WORKDIR}/pkglist | applyblacklist > ${TMPDIR}/pkglist
 
     touch ${TMPDIR}/waiting
     echo -n "Looking for $PATTERN in package list. Please wait... "
@@ -1985,6 +1987,10 @@ if [ "$SLACKPKGPLUS" = "on" ];then
   if [ -e $TMPDIR/blacklist ];then
     sed -i 's/^/^/' $TMPDIR/blacklist
   fi
+  if [ "$LEGACYBL" == "on" ];then
+    BLKLOPT=-w
+    grep -vE "(^#|^[[:blank:]]*$)" ${CONF}/blacklist > ${TMPDIR}/blacklist
+  fi
 
   touch ${TMPDIR}/priority.filters
If I not forgotten something, now it should work EXACTLY as slackware 14.2 work, vanishing all the work made to allow slackpkg to not generate false positive on blacklist from three years to now.
Quote:
Sun Dec 2 06:46:33 UTC 2018
---------------
- 2.84.0_beta1
- Allow blacklisting of individual packages without collateral
damage (e.g. glibc ---> glibc-*). ...
 
Old 05-10-2021, 05:56 AM   #207
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,979

Rep: Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556
Quote:
Originally Posted by zerouno View Post
So the new patch (available to test branch on git too) does reintroduces 'grep -Ew'
Grabbed the patch from the test branch. I tested it with this blacklist.
Code:
kernel-generic.*
kernel-huge.*
kernel-modules.*
kernel-source.*
slackpkg-2
Works. Worked with the previous patch too.

Quote:
If I not forgotten something, now it should work EXACTLY as slackware 14.2 work, vanishing all the work made to allow slackpkg to not generate false positive on blacklist from three years to now.
I'm not sure what to make of this.
 
Old 05-11-2021, 05:09 PM   #208
zerouno
Member
 
Registered: Oct 2009
Location: Italy
Distribution: Slackware
Posts: 983

Original Poster
Rep: Reputation: 352Reputation: 352Reputation: 352Reputation: 352
Quote:
Wed May 12 00:02:47 CEST 2021
pkg/slackpkg+-1.7.6-noarch-1mt.txz: Upgrade
- Added LEGACYBL to allow slackpkg+ to use the previous blacklist system
- Fix 'continue' error message with -dialog=off
- Print "Package:" on the same line of progress counter in downloading
on dev repo
 
Old 05-14-2021, 08:43 AM   #209
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,979

Rep: Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556
slackpkg+-1.7.6-noarch-2mt causes this:
Code:
slackpkg update

Updating the package lists...
        Downloading...
                Signatures
        Linking /home/slackware/slackware64-current/CHECKSUMS.md5.asc
        Linking /home/non-slack/slackbuilds/CHECKSUMS.md5.asc
2021-05-14 21:34:35 URL:http://slakfinder.org/slackpkg+dev/CHECKSUMS.md5.asc [455/455] -> "/tmp/slackpkg.TDjbQc/CHECKSUMS.md5-slackpkgplus.asc" [1]
        Linking /home/non-slack/multilib/current/CHECKSUMS.md5.asc
        Linking /home/non-slack/alienbob_restricted/current/x86_64/CHECKSUMS.md5.asc
        Linking /home/non-slack/alienbob/current/x86_64/CHECKSUMS.md5.asc

                No changes in ChangeLog.txt between your last update and now.
                Do you really want to download all other files (y/N)? y

        Downloading...
                ChangeLogs
        Linking /home/slackware/slackware64-current/ChangeLog.txt
        Linking /home/non-slack/slackbuilds/ChangeLog.txt
        Linking /home/non-slack/multilib/current/ChangeLog.txt
        Linking /home/non-slack/multilib/ChangeLog.txt
ln: failed to create symbolic link '/tmp/slackpkg.TDjbQc/multilib.txt': File exists
        Linking /home/non-slack/ChangeLog.txt
ln: failed to create symbolic link '/tmp/slackpkg.TDjbQc/multilib.txt': File exists
        Linking /home/ChangeLog.txt
ln: failed to create symbolic link '/tmp/slackpkg.TDjbQc/multilib.txt': File exists
        Linking /home/non-slack/alienbob_restricted/current/x86_64/ChangeLog.txt
        Linking /home/non-slack/alienbob_restricted/current/ChangeLog.txt
ln: failed to create symbolic link '/tmp/slackpkg.TDjbQc/restricted.txt': File exists
        Linking /home/non-slack/alienbob_restricted/ChangeLog.txt
ln: failed to create symbolic link '/tmp/slackpkg.TDjbQc/restricted.txt': File exists
        Linking /home/non-slack/ChangeLog.txt
ln: failed to create symbolic link '/tmp/slackpkg.TDjbQc/restricted.txt': File exists
        Linking /home/ChangeLog.txt
ln: failed to create symbolic link '/tmp/slackpkg.TDjbQc/restricted.txt': File exists
        Linking /home/non-slack/alienbob/current/x86_64/ChangeLog.txt
        Linking /home/non-slack/alienbob/current/ChangeLog.txt
ln: failed to create symbolic link '/tmp/slackpkg.TDjbQc/alienbob.txt': File exists
        Linking /home/non-slack/alienbob/ChangeLog.txt
ln: failed to create symbolic link '/tmp/slackpkg.TDjbQc/alienbob.txt': File exists
        Linking /home/non-slack/ChangeLog.txt
ln: failed to create symbolic link '/tmp/slackpkg.TDjbQc/alienbob.txt': File exists
        Linking /home/ChangeLog.txt
ln: failed to create symbolic link '/tmp/slackpkg.TDjbQc/alienbob.txt': File exists
                List of all files
        Linking /home/slackware/slackware64-current/patches/MANIFEST.bz2
        Linking /home/slackware/slackware64-current/testing/MANIFEST.bz2
        Linking /home/slackware/slackware64-current/slackware64/MANIFEST.bz2
        Linking /home/slackware/slackware64-current/extra/MANIFEST.bz2
        Not found /home/slackware/slackware64-current/pasture/MANIFEST.bz2
        Linking /home/non-slack/slackbuilds/MANIFEST.bz2
2021-05-14 21:34:40 URL:http://slakfinder.org/slackpkg+dev/MANIFEST.bz2 [601/601] -> "/tmp/slackpkg.TDjbQc/SLACKPKGPLUS_slackpkgplus-MANIFEST.bz2" [1]
        Linking /home/non-slack/multilib/current/MANIFEST.bz2
        Linking /home/non-slack/alienbob_restricted/current/x86_64/MANIFEST.bz2
        Linking /home/non-slack/alienbob/current/x86_64/MANIFEST.bz2
                Checksums
        Linking /home/slackware/slackware64-current/CHECKSUMS.md5
        Linking /home/non-slack/slackbuilds/CHECKSUMS.md5
cd ok, cwd=/beta
2021-05-14 21:34:42 URL:http://slakfinder.org/slackpkg+dev/CHECKSUMS.md5 [1583/1583] -> "/tmp/slackpkg.TDjbQc/CHECKSUMS.md5-slackpkgplus" [1]
        Linking /home/non-slack/multilib/current/CHECKSUMS.md5
        Linking /home/non-slack/alienbob_restricted/current/x86_64/CHECKSUMS.md5
        Linking /home/non-slack/alienbob/current/x86_64/CHECKSUMS.md5
                Done.
                Package List
        Linking /home/slackware/slackware64-current/FILELIST.TXT
                Package descriptions
        Linking /home/slackware/slackware64-current/patches/PACKAGES.TXT
        Linking /home/slackware/slackware64-current/testing/PACKAGES.TXT
        Linking /home/slackware/slackware64-current/slackware64/PACKAGES.TXT
        Linking /home/slackware/slackware64-current/extra/PACKAGES.TXT
        Not found /home/slackware/slackware64-current/pasture/PACKAGES.TXT
        Linking /home/non-slack/slackbuilds/PACKAGES.TXT
2021-05-14 21:34:43 URL:http://slakfinder.org/slackpkg+dev/PACKAGES.TXT [45/45] -> "/tmp/slackpkg.TDjbQc/SLACKPKGPLUS_slackpkgplus-PACKAGES.TXT" [1]
        Linking /home/non-slack/multilib/current/PACKAGES.TXT
        Linking /home/non-slack/alienbob_restricted/current/x86_64/PACKAGES.TXT
        Linking /home/non-slack/alienbob/current/x86_64/PACKAGES.TXT
        Formatting lists to slackpkg style...
                Package List: using CHECKSUMS.md5 as source
                Package descriptions
cat: /tmp/slackpkg.TDjbQc/pasture-PACKAGES.TXT: No such file or directory
Output after reverting back to slackpkg+-1.7.6-noarch-1mt:
Code:
slackpkg update

Updating the package lists...
        Downloading...
                Signatures
'/home/slackware/slackware64-current/CHECKSUMS.md5.asc' -> '/tmp/slackpkg.ACCb0A/CHECKSUMS.md5.asc'
'/home/non-slack/slackbuilds/CHECKSUMS.md5.asc' -> '/tmp/slackpkg.ACCb0A/CHECKSUMS.md5-nonslack.asc'
2021-05-14 21:33:05 URL:http://slakfinder.org/slackpkg+dev/CHECKSUMS.md5.asc [455/455] -> "/tmp/slackpkg.ACCb0A/CHECKSUMS.md5-slackpkgplus.asc" [1]
'/home/non-slack/multilib/current/CHECKSUMS.md5.asc' -> '/tmp/slackpkg.ACCb0A/CHECKSUMS.md5-multilib.asc'
'/home/non-slack/alienbob_restricted/current/x86_64/CHECKSUMS.md5.asc' -> '/tmp/slackpkg.ACCb0A/CHECKSUMS.md5-restricted.asc'
'/home/non-slack/alienbob/current/x86_64/CHECKSUMS.md5.asc' -> '/tmp/slackpkg.ACCb0A/CHECKSUMS.md5-alienbob.asc'

                No changes in ChangeLog.txt between your last update and now.
                Do you really want to download all other files (y/N)? y

        Downloading...
                ChangeLogs
'/home/slackware/slackware64-current/ChangeLog.txt' -> '/tmp/slackpkg.ACCb0A/ChangeLog.txt'
'/home/non-slack/slackbuilds/ChangeLog.txt' -> '/tmp/slackpkg.ACCb0A/nonslack.txt'
'/home/non-slack/multilib/ChangeLog.txt' -> '/tmp/slackpkg.ACCb0A/multilib.txt'
'/home/non-slack/alienbob_restricted/ChangeLog.txt' -> '/tmp/slackpkg.ACCb0A/restricted.txt'
'/home/non-slack/alienbob/ChangeLog.txt' -> '/tmp/slackpkg.ACCb0A/alienbob.txt'
                List of all files
'/home/slackware/slackware64-current/patches/MANIFEST.bz2' -> '/tmp/slackpkg.ACCb0A/patches-MANIFEST.bz2'
'/home/slackware/slackware64-current/testing/MANIFEST.bz2' -> '/tmp/slackpkg.ACCb0A/testing-MANIFEST.bz2'
'/home/slackware/slackware64-current/slackware64/MANIFEST.bz2' -> '/tmp/slackpkg.ACCb0A/slackware64-MANIFEST.bz2'
'/home/slackware/slackware64-current/extra/MANIFEST.bz2' -> '/tmp/slackpkg.ACCb0A/extra-MANIFEST.bz2'
'/home/non-slack/slackbuilds/MANIFEST.bz2' -> '/tmp/slackpkg.ACCb0A/SLACKPKGPLUS_nonslack-MANIFEST.bz2'
2021-05-14 21:33:09 URL:http://slakfinder.org/slackpkg+dev/MANIFEST.bz2 [601/601] -> "/tmp/slackpkg.ACCb0A/SLACKPKGPLUS_slackpkgplus-MANIFEST.bz2" [1]
'/home/non-slack/multilib/current/MANIFEST.bz2' -> '/tmp/slackpkg.ACCb0A/SLACKPKGPLUS_multilib-MANIFEST.bz2'
'/home/non-slack/alienbob_restricted/current/x86_64/MANIFEST.bz2' -> '/tmp/slackpkg.ACCb0A/SLACKPKGPLUS_restricted-MANIFEST.bz2'
'/home/non-slack/alienbob/current/x86_64/MANIFEST.bz2' -> '/tmp/slackpkg.ACCb0A/SLACKPKGPLUS_alienbob-MANIFEST.bz2'
                Checksums
'/home/slackware/slackware64-current/CHECKSUMS.md5' -> '/tmp/slackpkg.ACCb0A/CHECKSUMS.md5'
'/home/non-slack/slackbuilds/CHECKSUMS.md5' -> '/tmp/slackpkg.ACCb0A/CHECKSUMS.md5-nonslack'
cd ok, cwd=/beta
2021-05-14 21:33:11 URL:http://slakfinder.org/slackpkg+dev/CHECKSUMS.md5 [1583/1583] -> "/tmp/slackpkg.ACCb0A/CHECKSUMS.md5-slackpkgplus" [1]
'/home/non-slack/multilib/current/CHECKSUMS.md5' -> '/tmp/slackpkg.ACCb0A/CHECKSUMS.md5-multilib'
'/home/non-slack/alienbob_restricted/current/x86_64/CHECKSUMS.md5' -> '/tmp/slackpkg.ACCb0A/CHECKSUMS.md5-restricted'
'/home/non-slack/alienbob/current/x86_64/CHECKSUMS.md5' -> '/tmp/slackpkg.ACCb0A/CHECKSUMS.md5-alienbob'
                Done.
                Package List
'/home/slackware/slackware64-current/FILELIST.TXT' -> '/tmp/slackpkg.ACCb0A/FILELIST.TXT'
                Package descriptions
'/home/slackware/slackware64-current/patches/PACKAGES.TXT' -> '/tmp/slackpkg.ACCb0A/patches-PACKAGES.TXT'
'/home/slackware/slackware64-current/testing/PACKAGES.TXT' -> '/tmp/slackpkg.ACCb0A/testing-PACKAGES.TXT'
'/home/slackware/slackware64-current/slackware64/PACKAGES.TXT' -> '/tmp/slackpkg.ACCb0A/slackware64-PACKAGES.TXT'
'/home/slackware/slackware64-current/extra/PACKAGES.TXT' -> '/tmp/slackpkg.ACCb0A/extra-PACKAGES.TXT'
'/home/non-slack/slackbuilds/PACKAGES.TXT' -> '/tmp/slackpkg.ACCb0A/SLACKPKGPLUS_nonslack-PACKAGES.TXT'
2021-05-14 21:33:12 URL:http://slakfinder.org/slackpkg+dev/PACKAGES.TXT [45/45] -> "/tmp/slackpkg.ACCb0A/SLACKPKGPLUS_slackpkgplus-PACKAGES.TXT" [1]
'/home/non-slack/multilib/current/PACKAGES.TXT' -> '/tmp/slackpkg.ACCb0A/SLACKPKGPLUS_multilib-PACKAGES.TXT'
'/home/non-slack/alienbob_restricted/current/x86_64/PACKAGES.TXT' -> '/tmp/slackpkg.ACCb0A/SLACKPKGPLUS_restricted-PACKAGES.TXT'
'/home/non-slack/alienbob/current/x86_64/PACKAGES.TXT' -> '/tmp/slackpkg.ACCb0A/SLACKPKGPLUS_alienbob-PACKAGES.TXT'
        Formatting lists to slackpkg style...
                Package List: using CHECKSUMS.md5 as source
                Package descriptions
 
Old 05-14-2021, 08:49 AM   #210
zerouno
Member
 
Registered: Oct 2009
Location: Italy
Distribution: Slackware
Posts: 983

Original Poster
Rep: Reputation: 352Reputation: 352Reputation: 352Reputation: 352
I will check. thankyou for reporting
 
  


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
[SOLVED] [ENCHANCEMENT] slackpkg+: do not show the notices "pkglist is older than 24h..." and "remember to re-run 'slackpkg update''..."... yars Slackware 1 01-09-2016 09:56 AM
having trouble after upgrading 14.1 slackware using slackpkg and slackpkg+ [solved] slackartist Slackware 1 12-28-2015 07:28 AM
[SOLVED] Slackpkg, Slackpkg Plus, Slackware 14.1 x86_64 install.log delay or slow to write bamunds Slackware 7 04-22-2014 11:12 AM
[SOLVED] typos in latest /etc/slackpkg/mirrors(.new) [slackpkg-2.82.0-noarch-8.tgz] wailingwailer Slackware 4 09-22-2012 04:04 AM
Slackpkg: missing something in /usr/libexec/slackpkg/functions.d/dialog-functions.sh michelino Slackware 4 03-20-2007 12:22 PM

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

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