LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-14-2021, 09:46 AM   #211
zerouno
Member
 
Registered: Oct 2009
Location: Italy
Distribution: Slackware
Posts: 740

Original Poster
Rep: Reputation: 241Reputation: 241Reputation: 241

try that fast patch

Code:
--- a/src/slackpkgplus.sh
+++ b/src/slackpkgplus.sh
@@ -691,8 +691,10 @@ if [ "$SLACKPKGPLUS" = "on" ];then
 
           if echo $URLFILE | grep -q "^file://" ; then
             URLFILE=${URLFILE:6}
-            [[ "$FLAG" == "-q" || ! "$WGETOPTS" =~ -q ]]&&echo -e "\tLinking $URLFILE"
-            ln -s $URLFILE ${TMPDIR}/$CLOGNAM
+            if [ -e $URLFILE ];then
+              [[ "$FLAG" == "-q" || ! "$WGETOPTS" =~ -q ]]&&echo -e "\tLinking $URLFILE"
+              ln -s $URLFILE ${TMPDIR}/$CLOGNAM
+            fi
           else
             if [ $VERBOSE -gt 2 ];then
               $DOWNLOADER ${TMPDIR}/$CLOGNAM $URLFILE
 
Old 05-14-2021, 10:24 AM   #212
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 1,936

Rep: Reputation: 808Reputation: 808Reputation: 808Reputation: 808Reputation: 808Reputation: 808Reputation: 808
slackpkg+-1.7.6-noarch-2mt with the above patch, which fixes the "ln: failed..."
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 23:06:53 URL:http://slakfinder.org/slackpkg+dev/CHECKSUMS.md5.asc [455/455] -> "/tmp/slackpkg.dJSUi0/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/ChangeLog.txt
        Linking /home/non-slack/alienbob_restricted/ChangeLog.txt
        Linking /home/non-slack/alienbob/ChangeLog.txt
                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 23:06:58 URL:http://slakfinder.org/slackpkg+dev/MANIFEST.bz2 [601/601] -> "/tmp/slackpkg.dJSUi0/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 23:07:00 URL:http://slakfinder.org/slackpkg+dev/CHECKSUMS.md5 [1583/1583] -> "/tmp/slackpkg.dJSUi0/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 23:07:01 URL:http://slakfinder.org/slackpkg+dev/PACKAGES.TXT [45/45] -> "/tmp/slackpkg.dJSUi0/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.dJSUi0/pasture-PACKAGES.TXT: No such file or directory
There are two other issues. They are in bold red in the code block.

The are related in that they both reference pasture. The "Not Found..." I just noticed, probably overshadowed by the "ln: failed...".

Both do not appear in my second code in Post #209 block using slackpkg+-1.7.6-noarch-1mt

Note: I am using a local slackware64-current mirror that does not include 'slackware64-current/pasture'.
 
Old 05-14-2021, 10:28 AM   #213
zerouno
Member
 
Registered: Oct 2009
Location: Italy
Distribution: Slackware
Posts: 740

Original Poster
Rep: Reputation: 241Reputation: 241Reputation: 241
fixed on test branch.
try it please
https://raw.githubusercontent.com/zu...lackpkgplus.sh
 
Old 05-14-2021, 01:56 PM   #214
zerouno
Member
 
Registered: Oct 2009
Location: Italy
Distribution: Slackware
Posts: 740

Original Poster
Rep: Reputation: 241Reputation: 241Reputation: 241
slackpkg+-1.7.6-noarch-4mt.txz released on dev branch

Last edited by zerouno; 05-14-2021 at 02:03 PM.
 
Old 05-15-2021, 04:58 AM   #215
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 1,936

Rep: Reputation: 808Reputation: 808Reputation: 808Reputation: 808Reputation: 808Reputation: 808Reputation: 808
Quote:
Originally Posted by zerouno View Post
fixed on test branch.
try it please
https://raw.githubusercontent.com/zu...lackpkgplus.sh
Didn't get a chance to try this. Bed time.

I did install the slackpkg+-1.7.6-noarch-4mt.txz released on dev branch just now and it fixes the issue.

 
Old 05-15-2021, 04:54 PM   #216
zerouno
Member
 
Registered: Oct 2009
Location: Italy
Distribution: Slackware
Posts: 740

Original Poster
Rep: Reputation: 241Reputation: 241Reputation: 241
It's the timezone bug
GMT+2 here
 
1 members found this post helpful.
  


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] [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 03:10 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