LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   slackpkg vs. third-party package repository (https://www.linuxquestions.org/questions/slackware-14/slackpkg-vs-third-party-package-repository-4175427364/)

majekw 06-06-2018 02:04 PM

1. "multilib:" is exactly what setupmultilib.sh put into PKGS_PRIORITY, so maybe it also require correction
2. Changing to "multilib" helped with multilib packages on 6mt
3. TAG_PRIORITY is still ignored. I use custom kernel from my repository and with 6mt 'upgrade-all' offers me to 'upgrade' kernel packages from slackware/patches.

zerouno 06-06-2018 02:14 PM

Ok. As possible I will investigate.

zerouno 06-07-2018 03:31 PM

Edit /usr/libexec/slackpkg/functions.d/slackpkgplus.sh and in line 879 replace "awk '{print $1,$4}'" with "awk '{print $2,$5}'"

if it works fine next days I will check for regression and I repackage it.

Thankyou

Code:

--- slackpkgplus.sh    2018-06-07 22:11:21.903740334 +0200
+++ slackpkgplus.sh  2018-06-07 22:25:16.325775721 +0200
@@ -876,7 +876,7 @@
    if [ "$AUTOP" == "on" ] ; then
      PKGINFOS=$(
                  ( cd $ROOT/ ; ls -1 ./var/log/packages/$ARGUMENT-*-*-* 2>/dev/null ) | awk -f /usr/libexec/slackpkg/pkglist.awk|
-                                              grep " $ARGUMENT "|awk '{print $1,$4}'|
+                                              grep " $ARGUMENT "|awk '{print $2,$5}'|
                                              ( read X && (
                                                echo "$X"|sed -r -e 's/ [0-9]+([^0-9].*)*$/ [^ ]\\+ [^ ]\\+ [0-9]\\+\1 /' -e 's/^/ /'
                                                echo "$X"|sed -r -e 's/ [0-9]+([^0-9].*)*$/ [^ ]\\+ [^ ]\\+ [0-9]\\+\1_slack[0-9]/' -e 's/^/ /'


Paulo2 06-07-2018 08:56 PM

I am having the same issue reported by majekw with the new slackpkgplus version.

In a -current with multilib, running 'slackpkg upgrade-all' shows gcc and glibc original
packages as upgrade to miltilib packages installed.


I set 'TAG_PRIORITY=on' and leave '#PKGS_PRIORITY' line commented and I update
multilib packages with slackpkg with the line
'REPOPLUS=( multilib slackpkgplus restricted alienbob rlworkman )'
That was working ok until the new slackpkgplus version.


After applying zerouno's patch, the gcc/glibc packages don't appear anymore.

zerouno 06-15-2018 02:23 AM

ANOTHER IMPORTANT REGRESSION!!!!!

The today upgrade of slackpkg on current broke slackpkg+ update process.

For now there is NO WORKAROUND (I saw it just now), so
DO NOT UPGRADE slackpkg !!!!

Code:

ap/slackpkg-2.83.0-noarch-3.txz:  Rebuilt.
  Don't remove ChangeLog.txt upon upgrade/reinstall.
  Use CHECKSUMS.md5.asc to determine if ChangeLog.txt is unchanged.

I hope to fix slackpkg+ as soon or find a fast workaround

zerouno 06-15-2018 10:44 AM

Solved
https://www.linuxquestions.org/quest...ry-4175631987/


Fri Jun 15 16:09:51 CEST 2018
pkg/slackpkg+-1.7.0d1-noarch-4mt.txz
- Fix incompatibility with slackpkg-2.83.0-noarch-3
- Fix setupmultilib script. It did use oldstyle 'multilib:'
- Fix a regression in TAG PRIORITY
- Handle the case where /var/log/packages is a symlink


Fri Jun 15 16:09:51 CEST 2018
pkg/slackpkg+-1.7.0-noarch-7mt.txz: Rebuilt
- Fix incompatibility with slackpkg-2.83.0-noarch-3
- Fix a regression in TAG PRIORITY
- Handle the case where /var/log/packages is a symlink




still remains another issue in TAG PRIORITY...
when TAG_PRIORITY=on slackpkg+ propose packages from /extra or from /pasture instead /slackware (i.e. php 5.x)

But in this moment I can't fix it now

bormant 10-29-2018 04:49 PM

Slackware-current 32-bit updated to "Sat Oct 27 18:22:46 UTC 2018".

Something goes wrong -- slackpkg+ cannot verify signatures.

Code:

# slackpkg check-updates

Searching for updates... News on ChangeLog.txt

  [ Repository              ] [ Status              ]
    slackware                    AVAILABLE UPDATES   
    slackpkgplus                    Up to date       
    restricted                      Up to date       
    alienbob                        Up to date       


==============================================================================
  WARNING! One or more errors occurred while slackpkg was running
------------------------------------------------------------------------------
Repository 'slackpkgplus' FAILS the CHECKSUMS.md5 signature check.
Try to run 'slackpkg update gpg'

Repository 'restricted' FAILS the CHECKSUMS.md5 signature check.
Try to run 'slackpkg update gpg'

Repository 'alienbob' FAILS the CHECKSUMS.md5 signature check.
Try to run 'slackpkg update gpg'

"slackpkg update gpg" doesn't help.

Manual "gpg --verify ..." is ok:
Code:

# rm CHECKSUMS.md5{.gz,}{.asc,}
# wget slakfinder.org/slackpkg+/CHECKSUMS.md5{.gz,}{.asc,}
# gpg --verify CHECKSUMS.md5{.asc,} &> /dev/null && echo Ok || echo FAILED
Ok
# gpg --verify CHECKSUMS.md5.gz{.asc,} &> /dev/null && echo Ok || echo FAILED
Ok

Versions and configs:
Code:

# ( cd /var/log/packages/ ; ls -1 slackpkg* )
slackpkg+-1.7.0-noarch-9mt
slackpkg-2.83.0-noarch-4

Code:

# grep -v '^#\|^$' /etc/slackpkg/slackpkgplus.conf
SLACKPKGPLUS=on
VERBOSE=1
USEBL=1
WGETOPTS="--timeout=20 --tries=2"
SEARCH_CLOG_INPARENT=on
CACHEUPDATE=off
GREYLIST=on
SENSITIVE_SEARCH=on
WW_FILE_SEARCH=on
SHOWORDER=package
DETAILED_INFO=none
STRICTGPG=on
TAG_PRIORITY=off
REPOPLUS=( slackpkgplus restricted alienbob )
MIRRORPLUS['alienbob']=http://bear.alienbase.nl/mirrors/people/alien/sbrepos/current/x86/
MIRRORPLUS['restricted']=http://bear.alienbase.nl/mirrors/people/alien/restricted_sbrepos/current/x86/
MIRRORPLUS['slackpkgplus']=http://slakfinder.org/slackpkg+/

Code:

# grep -v '^#\|^$' /etc/slackpkg/slackpkg.conf
TEMP=/var/cache/packages
WORKDIR=/var/lib/slackpkg
WGETFLAGS="--passive-ftp"
DELALL=on
CHECKMD5=on
CHECKGPG=on
CHECKSIZE=off
PRIORITY=( patches %PKGMAIN extra pasture testing )
POSTINST=on
ONLY_NEW_DOTNEW=off
ONOFF=on
DOWNLOAD_ALL=on
DIALOG=on
BATCH=off
DEFAULT_ANSWER=n
USE_INCLUDES=on
SPINNING=on
DIALOG_MAXARGS=139000

Any suggestions? Is it my fault only?

zerouno 10-29-2018 04:55 PM

slackpkg update instead check-update does work.

Try to set VERBOSE=2 to show a detailed output.

bormant 10-29-2018 05:04 PM

VERBOSE=2 doesn't change output.
VERBOSE=3 follows.
Code:

slackpkg check-updates

        Downloading...
--2018-10-30 00:59:02--  http://slackware.osuosl.org/slackware-current/CHECKSUMS.md5.asc
Resolving slackware.osuosl.org (slackware.osuosl.org)... 140.211.166.134, 64.50.233.100, 64.50.236.52, ...
Connecting to slackware.osuosl.org (slackware.osuosl.org)|140.211.166.134|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 163 [text/plain]
Saving to: '/tmp/slackpkg.2ocW7A/http:,,slackware.osuosl.org,slackware-current,CHECKSUMS.md5.asc'

    0K                                                      100% 15.1M=0s

2018-10-30 00:59:02 (15.1 MB/s) - '/tmp/slackpkg.2ocW7A/http:,,slackware.osuosl.org,slackware-current,CHECKSUMS.md5.asc' saved [163/163]

--2018-10-30 00:59:02--  http://slakfinder.org/slackpkg+/CHECKSUMS.md5.asc
Resolving slakfinder.org (slakfinder.org)... 37.9.231.92
Connecting to slakfinder.org (slakfinder.org)|37.9.231.92|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 455 [text/plain]
Saving to: '/tmp/slackpkg.2ocW7A/http:,,slakfinder.org,slackpkg+,CHECKSUMS.md5.asc'

    0K                                                      100% 55.1M=0s

2018-10-30 00:59:03 (55.1 MB/s) - '/tmp/slackpkg.2ocW7A/http:,,slakfinder.org,slackpkg+,CHECKSUMS.md5.asc' saved [455/455]


                        !!! F A T A L !!!
    Repository 'slackpkgplus' FAILS the CHECKSUMS.md5 signature check
    The file may be corrupted or the gpg key may be not valid.
    Remember to import keys by launching 'slackpkg update gpg'.

--2018-10-30 00:59:08--  http://bear.alienbase.nl/mirrors/people/alien/restricted_sbrepos/current/x86/CHECKSUMS.md5.asc
Resolving bear.alienbase.nl (bear.alienbase.nl)... 163.172.25.142
Connecting to bear.alienbase.nl (bear.alienbase.nl)|163.172.25.142|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 163 [text/plain]
Saving to: '/tmp/slackpkg.2ocW7A/http:,,bear.alienbase.nl,mirrors,people,alien,restricted_sbrepos,current,x86,CHECKSUMS.md5.asc'

    0K                                                      100% 20.1M=0s

2018-10-30 00:59:08 (20.1 MB/s) - '/tmp/slackpkg.2ocW7A/http:,,bear.alienbase.nl,mirrors,people,alien,restricted_sbrepos,current,x86,CHECKSUMS.md5.asc' saved [163/163]


                        !!! F A T A L !!!
    Repository 'restricted' FAILS the CHECKSUMS.md5 signature check
    The file may be corrupted or the gpg key may be not valid.
    Remember to import keys by launching 'slackpkg update gpg'.

--2018-10-30 00:59:13--  http://bear.alienbase.nl/mirrors/people/alien/sbrepos/current/x86/CHECKSUMS.md5.asc
Resolving bear.alienbase.nl (bear.alienbase.nl)... 163.172.25.142
Connecting to bear.alienbase.nl (bear.alienbase.nl)|163.172.25.142|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 163 [text/plain]
Saving to: '/tmp/slackpkg.2ocW7A/http:,,bear.alienbase.nl,mirrors,people,alien,sbrepos,current,x86,CHECKSUMS.md5.asc'

    0K                                                      100% 12.4M=0s

2018-10-30 00:59:13 (12.4 MB/s) - '/tmp/slackpkg.2ocW7A/http:,,bear.alienbase.nl,mirrors,people,alien,sbrepos,current,x86,CHECKSUMS.md5.asc' saved [163/163]


                        !!! F A T A L !!!
    Repository 'alienbob' FAILS the CHECKSUMS.md5 signature check
    The file may be corrupted or the gpg key may be not valid.
    Remember to import keys by launching 'slackpkg update gpg'.

Files //var/lib/slackpkg/CHECKSUMS.md5.asc and /tmp/slackpkg.2ocW7A/CHECKSUMS.md5.asc differ
        Downloading...
                ChangeLogs
--2018-10-30 00:59:18--  http://slackware.osuosl.org/slackware-current/ChangeLog.txt
Resolving slackware.osuosl.org (slackware.osuosl.org)... 64.50.236.52, 140.211.166.134, 64.50.233.100, ...
Connecting to slackware.osuosl.org (slackware.osuosl.org)|64.50.236.52|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 514213 (502K) [text/plain]
Saving to: '/tmp/slackpkg.2ocW7A/http:,,slackware.osuosl.org,slackware-current,ChangeLog.txt'

    0K .......... .......... .......... .......... ..........  9%  113K 4s
  500K ..                                                    100% 4122G=1.2s

2018-10-30 00:59:20 (412 KB/s) - '/tmp/slackpkg.2ocW7A/http:,,slackware.osuosl.org,slackware-current,ChangeLog.txt' saved [514213/514213]

--2018-10-30 00:59:20--  http://slakfinder.org/slackpkg+/ChangeLog.txt
Resolving slakfinder.org (slakfinder.org)... 37.9.231.92
Connecting to slakfinder.org (slakfinder.org)|37.9.231.92|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 16447 (16K) [text/plain]
Saving to: '/tmp/slackpkg.2ocW7A/http:,,slakfinder.org,slackpkg+,ChangeLog.txt'

    0K .......... ......                                    100%  205K=0.08s

2018-10-30 00:59:20 (205 KB/s) - '/tmp/slackpkg.2ocW7A/http:,,slakfinder.org,slackpkg+,ChangeLog.txt' saved [16447/16447]

                Saving ChangeLog.txt from repository slackpkgplus ...

--2018-10-30 00:59:20--  http://bear.alienbase.nl/mirrors/people/alien/restricted_sbrepos/current/x86/ChangeLog.txt
Resolving bear.alienbase.nl (bear.alienbase.nl)... 163.172.25.142
Connecting to bear.alienbase.nl (bear.alienbase.nl)|163.172.25.142|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-10-30 00:59:20 ERROR 404: Not Found.

--2018-10-30 00:59:20--  http://bear.alienbase.nl/mirrors/people/alien/restricted_sbrepos/current/ChangeLog.txt
Resolving bear.alienbase.nl (bear.alienbase.nl)... 163.172.25.142
Connecting to bear.alienbase.nl (bear.alienbase.nl)|163.172.25.142|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-10-30 00:59:21 ERROR 404: Not Found.

--2018-10-30 00:59:21--  http://bear.alienbase.nl/mirrors/people/alien/restricted_sbrepos/ChangeLog.txt
Resolving bear.alienbase.nl (bear.alienbase.nl)... 163.172.25.142
Connecting to bear.alienbase.nl (bear.alienbase.nl)|163.172.25.142|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 46733 (46K) [text/plain]
Saving to: '/tmp/slackpkg.2ocW7A/http:,,bear.alienbase.nl,mirrors,people,alien,restricted_sbrepos,ChangeLog.txt'

    0K .......... .......... .......... .......... .....    100%  338K=0.1s

2018-10-30 00:59:21 (338 KB/s) - '/tmp/slackpkg.2ocW7A/http:,,bear.alienbase.nl,mirrors,people,alien,restricted_sbrepos,ChangeLog.txt' saved [46733/46733]

                Saving ChangeLog.txt from repository restricted ...

--2018-10-30 00:59:21--  http://bear.alienbase.nl/mirrors/people/alien/sbrepos/current/x86/ChangeLog.txt
Resolving bear.alienbase.nl (bear.alienbase.nl)... 163.172.25.142
Connecting to bear.alienbase.nl (bear.alienbase.nl)|163.172.25.142|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-10-30 00:59:21 ERROR 404: Not Found.

--2018-10-30 00:59:21--  http://bear.alienbase.nl/mirrors/people/alien/sbrepos/current/ChangeLog.txt
Resolving bear.alienbase.nl (bear.alienbase.nl)... 163.172.25.142
Connecting to bear.alienbase.nl (bear.alienbase.nl)|163.172.25.142|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-10-30 00:59:21 ERROR 404: Not Found.

--2018-10-30 00:59:21--  http://bear.alienbase.nl/mirrors/people/alien/sbrepos/ChangeLog.txt
Resolving bear.alienbase.nl (bear.alienbase.nl)... 163.172.25.142
Connecting to bear.alienbase.nl (bear.alienbase.nl)|163.172.25.142|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 462946 (452K) [text/plain]
Saving to: '/tmp/slackpkg.2ocW7A/http:,,bear.alienbase.nl,mirrors,people,alien,sbrepos,ChangeLog.txt'

    0K .......... .......... .......... .......... .......... 11%  254K 2s
  450K ..                                                    100% 3997G=1.1s

2018-10-30 00:59:22 (395 KB/s) - '/tmp/slackpkg.2ocW7A/http:,,bear.alienbase.nl,mirrors,people,alien,sbrepos,ChangeLog.txt' saved [462946/462946]

                Saving ChangeLog.txt from repository alienbob ...

--2018-10-30 00:59:23--  http://slakfinder.org/slackpkg+/CHECKSUMS.md5
Resolving slakfinder.org (slakfinder.org)... 37.9.231.92
Connecting to slakfinder.org (slakfinder.org)|37.9.231.92|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2200 (2.1K) [text/plain]
Saving to: '/tmp/slackpkg.2ocW7A/http:,,slakfinder.org,slackpkg+,CHECKSUMS.md5'

    0K ..                                                    100%  273M=0s

2018-10-30 00:59:23 (273 MB/s) - '/tmp/slackpkg.2ocW7A/http:,,slakfinder.org,slackpkg+,CHECKSUMS.md5' saved [2200/2200]

--2018-10-30 00:59:23--  http://bear.alienbase.nl/mirrors/people/alien/restricted_sbrepos/current/x86/CHECKSUMS.md5
Resolving bear.alienbase.nl (bear.alienbase.nl)... 163.172.25.142
Connecting to bear.alienbase.nl (bear.alienbase.nl)|163.172.25.142|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4056 (4.0K) [text/plain]
Saving to: '/tmp/slackpkg.2ocW7A/http:,,bear.alienbase.nl,mirrors,people,alien,restricted_sbrepos,current,x86,CHECKSUMS.md5'

    0K ...                                                  100%  466M=0s

2018-10-30 00:59:23 (466 MB/s) - '/tmp/slackpkg.2ocW7A/http:,,bear.alienbase.nl,mirrors,people,alien,restricted_sbrepos,current,x86,CHECKSUMS.md5' saved [4056/4056]

--2018-10-30 00:59:23--  http://bear.alienbase.nl/mirrors/people/alien/sbrepos/current/x86/CHECKSUMS.md5
Resolving bear.alienbase.nl (bear.alienbase.nl)... 163.172.25.142
Connecting to bear.alienbase.nl (bear.alienbase.nl)|163.172.25.142|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 175527 (171K) [text/plain]
Saving to: '/tmp/slackpkg.2ocW7A/http:,,bear.alienbase.nl,mirrors,people,alien,sbrepos,current,x86,CHECKSUMS.md5'

    0K .......... .......... .......... .......... .......... 29%  250K 0s
  150K .......... .......... .                              100%  326K=0.5s

2018-10-30 00:59:24 (317 KB/s) - '/tmp/slackpkg.2ocW7A/http:,,bear.alienbase.nl,mirrors,people,alien,sbrepos,current,x86,CHECKSUMS.md5' saved [175527/175527]

Files //var/lib/slackpkg/ChangeLog.txt and /tmp/slackpkg.2ocW7A/ChangeLog.txt differ
News on ChangeLog.txt

  [ Repository              ] [ Status              ]
    slackware                    AVAILABLE UPDATES   
    slackpkgplus                    Up to date       
    restricted                      Up to date       
    alienbob                        Up to date       



==============================================================================
  WARNING! One or more errors occurred while slackpkg was running
------------------------------------------------------------------------------
Repository 'slackpkgplus' FAILS the CHECKSUMS.md5 signature check.
Try to run 'slackpkg update gpg'

Repository 'restricted' FAILS the CHECKSUMS.md5 signature check.
Try to run 'slackpkg update gpg'

Repository 'alienbob' FAILS the CHECKSUMS.md5 signature check.
Try to run 'slackpkg update gpg'


http://bear.alienbase.nl/mirrors/people/alien/restricted_sbrepos/current/x86/ChangeLog.txt --> BAD
wget --timeout=20 --tries=2  -O http:,,bear.alienbase.nl,mirrors,people,alien,restricted_sbrepos,current,x86,ChangeLog.txt http://bear.alienbase.nl/mirrors/people/alien/restricted_sbrepos/current/x86/ChangeLog.txt
exit code: 8
download time: 0 secs
details:
--2018-10-30 00:59:20--  http://bear.alienbase.nl/mirrors/people/alien/restricted_sbrepos/current/x86/ChangeLog.txt
Resolving bear.alienbase.nl (bear.alienbase.nl)... 163.172.25.142
Connecting to bear.alienbase.nl (bear.alienbase.nl)|163.172.25.142|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-10-30 00:59:20 ERROR 404: Not Found.

exit code: 8
ls: cannot access 'http:,,bear.alienbase.nl,mirrors,people,alien,restricted_sbrepos,current,x86,ChangeLog.txt': No such file or directory
md5sum: 'http:,,bear.alienbase.nl,mirrors,people,alien,restricted_sbrepos,current,x86,ChangeLog.txt': No such file or directory


http://bear.alienbase.nl/mirrors/people/alien/restricted_sbrepos/current/ChangeLog.txt --> BAD
wget --timeout=20 --tries=2  -O http:,,bear.alienbase.nl,mirrors,people,alien,restricted_sbrepos,current,ChangeLog.txt http://bear.alienbase.nl/mirrors/people/alien/restricted_sbrepos/current/ChangeLog.txt
exit code: 8
download time: 1 secs
details:
--2018-10-30 00:59:20--  http://bear.alienbase.nl/mirrors/people/alien/restricted_sbrepos/current/ChangeLog.txt
Resolving bear.alienbase.nl (bear.alienbase.nl)... 163.172.25.142
Connecting to bear.alienbase.nl (bear.alienbase.nl)|163.172.25.142|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-10-30 00:59:21 ERROR 404: Not Found.

exit code: 8
ls: cannot access 'http:,,bear.alienbase.nl,mirrors,people,alien,restricted_sbrepos,current,ChangeLog.txt': No such file or directory
md5sum: 'http:,,bear.alienbase.nl,mirrors,people,alien,restricted_sbrepos,current,ChangeLog.txt': No such file or directory


http://bear.alienbase.nl/mirrors/people/alien/sbrepos/current/x86/ChangeLog.txt --> BAD
wget --timeout=20 --tries=2  -O http:,,bear.alienbase.nl,mirrors,people,alien,sbrepos,current,x86,ChangeLog.txt http://bear.alienbase.nl/mirrors/people/alien/sbrepos/current/x86/ChangeLog.txt
exit code: 8
download time: 0 secs
details:
--2018-10-30 00:59:21--  http://bear.alienbase.nl/mirrors/people/alien/sbrepos/current/x86/ChangeLog.txt
Resolving bear.alienbase.nl (bear.alienbase.nl)... 163.172.25.142
Connecting to bear.alienbase.nl (bear.alienbase.nl)|163.172.25.142|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-10-30 00:59:21 ERROR 404: Not Found.

exit code: 8
ls: cannot access 'http:,,bear.alienbase.nl,mirrors,people,alien,sbrepos,current,x86,ChangeLog.txt': No such file or directory
md5sum: 'http:,,bear.alienbase.nl,mirrors,people,alien,sbrepos,current,x86,ChangeLog.txt': No such file or directory


http://bear.alienbase.nl/mirrors/people/alien/sbrepos/current/ChangeLog.txt --> BAD
wget --timeout=20 --tries=2  -O http:,,bear.alienbase.nl,mirrors,people,alien,sbrepos,current,ChangeLog.txt http://bear.alienbase.nl/mirrors/people/alien/sbrepos/current/ChangeLog.txt
exit code: 8
download time: 0 secs
details:
--2018-10-30 00:59:21--  http://bear.alienbase.nl/mirrors/people/alien/sbrepos/current/ChangeLog.txt
Resolving bear.alienbase.nl (bear.alienbase.nl)... 163.172.25.142
Connecting to bear.alienbase.nl (bear.alienbase.nl)|163.172.25.142|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-10-30 00:59:21 ERROR 404: Not Found.

exit code: 8
ls: cannot access 'http:,,bear.alienbase.nl,mirrors,people,alien,sbrepos,current,ChangeLog.txt': No such file or directory
md5sum: 'http:,,bear.alienbase.nl,mirrors,people,alien,sbrepos,current,ChangeLog.txt': No such file or directory

------------------------------------------------------------------------------
  INFO! Debug informations
------------------------------------------------------------------------------
http://slackware.osuosl.org/slackware-current/CHECKSUMS.md5.asc --> OK
http://slakfinder.org/slackpkg+/CHECKSUMS.md5.asc --> OK
http://bear.alienbase.nl/mirrors/people/alien/restricted_sbrepos/current/x86/CHECKSUMS.md5.asc --> OK
http://bear.alienbase.nl/mirrors/people/alien/sbrepos/current/x86/CHECKSUMS.md5.asc --> OK
http://slackware.osuosl.org/slackware-current/ChangeLog.txt --> OK
http://slakfinder.org/slackpkg+/ChangeLog.txt --> OK
http://bear.alienbase.nl/mirrors/people/alien/restricted_sbrepos/ChangeLog.txt --> OK
http://bear.alienbase.nl/mirrors/people/alien/sbrepos/ChangeLog.txt --> OK
http://slakfinder.org/slackpkg+/CHECKSUMS.md5 --> OK
http://bear.alienbase.nl/mirrors/people/alien/restricted_sbrepos/current/x86/CHECKSUMS.md5 --> OK
http://bear.alienbase.nl/mirrors/people/alien/sbrepos/current/x86/CHECKSUMS.md5 --> OK
The temp directory /tmp/slackpkg.2ocW7A will NOT be removed!
==============================================================================


zerouno 10-29-2018 06:16 PM

It's an issue with the newest slackpkg in slackware current.


in /usr/libexec/slackpkg/functions.d/slackpkgplus.sh
Find
Code:

  if [ "$CMD" == "update" ];then
    # answer to "Do you really want to download all other files"
    # if there are new changes
    ANSWER="Y"
    DOWNLOADCHANGELOG=force
  fi

and replace with
Code:

  if [ "$CMD" == "update" -o "$CMD" == "check-updates"  ];then
    # answer to "Do you really want to download all other files"
    # if there are new changes
    ANSWER="Y"
    DOWNLOADCHANGELOG=force
  fi

then give me feedback.



Thank for reporting.

bormant 10-29-2018 06:57 PM

VERBOSE=1 output is OK now.
Code:

# slackpkg check-updates

Searching for updates... News on ChangeLog.txt

  [ Repository              ] [ Status              ]
    slackware                    AVAILABLE UPDATES   
    slackpkgplus                    Up to date       
    restricted                      Up to date       
    alienbob                        Up to date

Thanks.

bormant 10-29-2018 07:11 PM

One more note.

After upgrade
1) new slackpkg without slackpkg+ says:
Code:

# SLACKPKGPLUS=off slackpkg check-updates

No updated packages since last check.

2) slackpkg with slackpkg+ says as old slackpkg does "No news is good news":
Code:

# SLACKPKGPLUS=on slackpkg check-updates

Searching for updates... No news is good news

How about new message "No updated packages since last check." to unify the output?

May be
echo -e "\nNo ..."
to write the message (one or another) to check result with 'grep ^No' for both.

chrisretusn 10-29-2018 08:28 PM

I like the "Searching for updates... No news is good news." Think we should stick with that.

marcusmaria 07-23-2019 01:20 AM

Pkgs_priority
 
Hi all.

First thanks to the author(s) for providing slackpkg+. It helps a lot. I have a question concerning PKGS_PRIORITY. I am using it on -current and wonder how to set the PKGS_PRIORITY. Is it possible to configure it multiple times or is it suggested to write something like this: PKGS_PRIORITY=( restricted:vlc ktown ... )?

Greets
Marcus

zerouno 07-23-2019 02:17 AM

Hi.

Sorry for no reply previous...

First all, you have to thank phenixia2003 for the improved PKGS_PRIORITY subsystem :)

Yes, you can configure multiple repositories and/or specific packages in PKGS_PRIORITY

My configuration is

PKGS_PRIORITY=( multilib ktown )

You have to know that all repositories in PKGS_PRIORITY do override packages in slackware tree, so if you type
slackpkg upgrade kdevelop
slackpkg+ does remove the kdevelop from kde4 and intall kdevelop from kde5
Tipically this may be wanted, but sometime this may be wrong.
For example..
a repository 'xxxxxxx' contains many useful packages and a custom version of 'firefox' package. I just want to install the package 'yyyyyyyy'

If I configure
PKGS_PRIORITY=( xxxxxxx )
where I run
slackpkg install yyyyyyyy
or
slackpkg upgrade yyyyyyyy
it does install or upgrade the correct package.
but if I run
slackpg upgrade-all
it does upgrade the package 'yyyyyyyy' and remove the slackware official 'mozilla-firefox' and replace it with the custom version.

So to avoid this, you have to NOT put the repository in PKGS_PRIORITY but leave it in REPOPLUS
REPOPLUS=( xxxxxxx )

Matteo


All times are GMT -5. The time now is 08:52 AM.