LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-06-2014, 10:53 PM   #1
michaelslack
Member
 
Registered: Feb 2013
Location: Sydney
Distribution: slackware
Posts: 110

Rep: Reputation: 36
strange slackpkg+ error message


Hi slackers,

I've been trying out the slackpkg+ extension to slackpkg and it seems to work very well. I use it mainly to keep a bunch of alienBOB's packages up to date.

However it does print a strange error message during the

Code:
slackpkg update
phase which I can't work out. I wonder if any of you know why it occurs and/or if it is anything to worry about.

After downloading the checksums, it prints

Code:
ls: cannot access /var/log/packages/aaa_base*x86_64*: No such file or directory
See below for the full output (the line in question is in red). Does anyone know why this would occur? I'm running 32-bit slackware 14.1 on the system in question.



Code:
bash-4.2# slackpkg update

Updating the package lists...
	Downloading...
2014-03-07 14:36:59 URL: ftp://ftp.cc.swin.edu.au/slackware/slackware-14.1/ChangeLog.txt [230572] -> "/tmp/slackpkg.QurtaO/ChangeLog.txt" [1]
2014-03-07 14:37:00 URL:http://slakfinder.org/slackpkg+/CHECKSUMS.md5 [1237/1237] -> "/tmp/slackpkg.QurtaO/CHECKSUMS.md5-slackpkgplus" [1]
2014-03-07 14:37:02 URL:http://taper.alienbase.nl/mirrors/people/alien/sbrepos/14.1/x86/CHECKSUMS.md5 [138203/138203] -> "/tmp/slackpkg.QurtaO/CHECKSUMS.md5-alienbob" [1]
Files /var/lib/slackpkg/ChangeLog.txt and /tmp/slackpkg.QurtaO/ChangeLog.txt differ

		List of all files
2014-03-07 14:37:14 URL: ftp://ftp.cc.swin.edu.au/slackware/slackware-14.1/patches/MANIFEST.bz2 [3027816] -> "/tmp/slackpkg.QurtaO/patches-MANIFEST.bz2" [1]
2014-03-07 14:37:26 URL: ftp://ftp.cc.swin.edu.au/slackware/slackware-14.1/slackware/MANIFEST.bz2 [2889186] -> "/tmp/slackpkg.QurtaO/slackware-MANIFEST.bz2" [1]
2014-03-07 14:37:27 URL: ftp://ftp.cc.swin.edu.au/slackware/slackware-14.1/extra/MANIFEST.bz2 [106776] -> "/tmp/slackpkg.QurtaO/extra-MANIFEST.bz2" [1]
2014-03-07 14:37:28 URL: ftp://ftp.cc.swin.edu.au/slackware/slackware-14.1/pasture/MANIFEST.bz2 [2149] -> "/tmp/slackpkg.QurtaO/pasture-MANIFEST.bz2" [1]
2014-03-07 14:37:30 URL: ftp://ftp.cc.swin.edu.au/slackware/slackware-14.1/testing/MANIFEST.bz2 [875] -> "/tmp/slackpkg.QurtaO/testing-MANIFEST.bz2" [1]
2014-03-07 14:37:31 URL:http://slakfinder.org/slackpkg+/MANIFEST.bz2 [501/501] -> "/tmp/slackpkg.QurtaO/SLACKPKGPLUS_slackpkgplus-MANIFEST.bz2" [1]
2014-03-07 14:37:34 URL:http://taper.alienbase.nl/mirrors/people/alien/sbrepos/14.1/x86/MANIFEST.bz2 [532291/532291] -> "/tmp/slackpkg.QurtaO/SLACKPKGPLUS_alienbob-MANIFEST.bz2" [1]
		Checksums
2014-03-07 14:37:38 URL: ftp://ftp.cc.swin.edu.au/slackware/slackware-14.1/CHECKSUMS.md5 [764333] -> "/tmp/slackpkg.QurtaO/CHECKSUMS.md5" [1]
2014-03-07 14:37:39 URL: ftp://ftp.cc.swin.edu.au/slackware/slackware-14.1/CHECKSUMS.md5.asc [181] -> "/tmp/slackpkg.QurtaO/CHECKSUMS.md5.asc" [1]
2014-03-07 14:37:40 URL:http://slakfinder.org/slackpkg+/CHECKSUMS.md5.asc [473/473] -> "/tmp/slackpkg.QurtaO/CHECKSUMS.md5-slackpkgplus.asc" [1]
2014-03-07 14:37:41 URL:http://taper.alienbase.nl/mirrors/people/alien/sbrepos/14.1/x86/CHECKSUMS.md5.asc [198/198] -> "/tmp/slackpkg.QurtaO/CHECKSUMS.md5-alienbob.asc" [1]
ls: cannot access /var/log/packages/aaa_base*x86_64*: No such file or directory
		Package List
2014-03-07 14:37:46 URL: ftp://ftp.cc.swin.edu.au/slackware/slackware-14.1/FILELIST.TXT [1014731] -> "/tmp/slackpkg.QurtaO/FILELIST.TXT" [1]
		Package descriptions
2014-03-07 14:37:47 URL: ftp://ftp.cc.swin.edu.au/slackware/slackware-14.1/patches/PACKAGES.TXT [17352] -> "/tmp/slackpkg.QurtaO/patches-PACKAGES.TXT" [1]
2014-03-07 14:37:51 URL: ftp://ftp.cc.swin.edu.au/slackware/slackware-14.1/slackware/PACKAGES.TXT [663145] -> "/tmp/slackpkg.QurtaO/slackware-PACKAGES.TXT" [1]
2014-03-07 14:37:52 URL: ftp://ftp.cc.swin.edu.au/slackware/slackware-14.1/extra/PACKAGES.TXT [34494] -> "/tmp/slackpkg.QurtaO/extra-PACKAGES.TXT" [1]
2014-03-07 14:37:53 URL: ftp://ftp.cc.swin.edu.au/slackware/slackware-14.1/pasture/PACKAGES.TXT [1177] -> "/tmp/slackpkg.QurtaO/pasture-PACKAGES.TXT" [1]
2014-03-07 14:37:54 URL: ftp://ftp.cc.swin.edu.au/slackware/slackware-14.1/testing/PACKAGES.TXT [843] -> "/tmp/slackpkg.QurtaO/testing-PACKAGES.TXT" [1]
2014-03-07 14:37:55 URL:http://slakfinder.org/slackpkg+/PACKAGES.TXT [45/45] -> "/tmp/slackpkg.QurtaO/SLACKPKGPLUS_slackpkgplus-PACKAGES.TXT" [1]
2014-03-07 14:37:57 URL:http://taper.alienbase.nl/mirrors/people/alien/sbrepos/14.1/x86/PACKAGES.TXT [175238/175238] -> "/tmp/slackpkg.QurtaO/SLACKPKGPLUS_alienbob-PACKAGES.TXT" [1]
	Formatting lists to slackpkg style...
		Package List: using CHECKSUMS.md5 as source
		Package descriptions

bash-4.2#
Here is my /etc/slackpkg/slackpkgplus.conf:
Code:
# Enable (on) / Disable (off) slackpkg+
SLACKPKGPLUS=on

# set to '0' to never show the download progress bar
# set to '1' to show the bar only in download packages (default)
# set to '2' to always show the download bar
# set to '3' for a debug mode
VERBOSE=1

# Enable (1) / Disable (0) the official slackpkg blacklist. May be useful to temporarily skip
# the slackware blacklist. You can also override it from command line:
# 'USEBL=0 slackpkg upgrade-all'
USEBL=1

# Add custom option to 'wget'.
# You can solve the repository indisponibility issue by set a timeout here
WGETOPTS="--timeout=5 --tries=1"

# Enable (on) / Disable (off) notification events (see notifymsg.conf)
#ENABLENOTIFY=off

# Enable (on) / Disable (off) the greylist feature. See /etc/slackpkg/greylist
GREYLIST=on

# If two or more repositories contains some same packages, you can specify
# from which repository you prefer to search it.
# The syntax is "<repository_name>:<package_name>"
# Accepts regular expressions. To give priority to an entire repository use "<repository_name>:.*"

# Examples:
#PKGS_PRIORITY=( restricted:vlc )
#PKGS_PRIORITY=( myrepo:.* )
#

# List repositories you want to use (defined below)
# remember to launch 'slackpkg update' if you modify that row.
REPOPLUS=( slackpkgplus alienbob )


# Define mirrors (uncomment one or more mirror; remember to add it to REPOPLUS)
# Note: only multilib,alienbob,restricted,slacky repositories support GPG. If you add others
#       you may need to disable gpg check in slackpkg.conf

# Slackware 14.1 - i386
MIRRORPLUS['alienbob']=http://taper.alienbase.nl/mirrors/people/alien/sbrepos/14.1/x86/
#MIRRORPLUS['restricted']=http://taper.alienbase.nl/mirrors/people/alien/restricted_sbrepos/14.1/x86/
#MIRRORPLUS['slacky']=http://repository.slacky.eu/slackware-14.1/

# use this to keep the slackpkg+ package updated
MIRRORPLUS['slackpkgplus']=http://slakfinder.org/slackpkg+/

# Local repository:
#MIRRORPLUS['alienbob']=file://repositories/alien/sbrepos/14.1/x86/
#
# Local packages (you do not need metadata nor 'slackpkg update' command):
#MIRRORPLUS['myrepo']=dir://repositories/mypackages/


#
# Supported Repositories (see /usr/doc/slackpkg+-* for details):
#

#Supports GPG
#slackpkgplus:  http://slakfinder.org/slackpkg+/
#multilib:      http://taper.alienbase.nl/mirrors/people/alien/multilib/{13.37,14.0,14.1,current}/
#alienbob:      http://taper.alienbase.nl/mirrors/people/alien/sbrepos/{13.37,14.0,14.1,current}/{x86,x86_64}/
#ktown:         http://taper.alienbase.nl/mirrors/alien-kde/{13.37,14.0,14.1,current}/latest/{x86,x86_64}/
#restricted:    http://taper.alienbase.nl/mirrors/people/alien/restricted_sbrepos/{13.37,14.0,14.1,current}/{x86,x86_64}/
#slacky:        http://repository.slacky.eu/slackware{,64}-{13.37,14.0,14.1}/
#zerouno:       http://www.z01.eu/repo-slack/slackware64-current/
#mled:          http://www.microlinux.fr/slackware/MLED-{14.0,14.1}-{32,64}bit/
#mles:          http://www.microlinux.fr/slackware/MLES-{14.0,14.1}-{32,64}bit/
#mlws:          http://www.microlinux.fr/slackware/MLWS-{14.0,14.1}-{32,64}bit/
#msb:           http://slackware.org.uk/msb/{14.0,14.1}/1.6/{x86,x86_64}/
#slackers:      http://www.slackers.it/repository/
#slacke17:      http://ngc891.blogdns.net/pub/slacke17/slackware{,64,arm}-{14.0,14.1}/
#studioware:    http://studioware.org/files/packages/slackware{,64}-{13.37,14.0,14.1}/
#
#Does NOT support GPG
#salixos(*):    http://download.salixos.org/{i486,x86_64}/{13.37,14.0,14.1}/
#salixext:      http://people.salixos.org/ralvex/repository/x86_64/{14.0,14.1}/
#rlworkman(*):  http://rlworkman.net/pkgs/{13.37,14.0,14.1}/
#slackel:       http://www.slackel.gr/repo/{i486,x86_64}/current/
Thanks,

Michael
 
Old 03-06-2014, 11:14 PM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,801

Rep: Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884
What version did you use?
I used to have similar problem in the past, but not after using the latest update

Last edited by willysr; 03-07-2014 at 01:37 AM.
 
Old 03-06-2014, 11:51 PM   #3
michaelslack
Member
 
Registered: Feb 2013
Location: Sydney
Distribution: slackware
Posts: 110

Original Poster
Rep: Reputation: 36
Hi willysr,

Code:
bash-4.2$ ls /var/log/packages | grep slackpkg+
slackpkg+-1.3.0-noarch-2mt
Is this the latest version? I just ran slackpkg (with the extension enabled), slackpkgplus is included in REPOPLUS. I presume it is up to date. The problem still occurs.

Thanks,

Michael

Last edited by michaelslack; 03-06-2014 at 11:55 PM.
 
Old 03-07-2014, 01:38 AM   #4
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,801

Rep: Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884Reputation: 1884
yes, that's the latest version
 
Old 03-07-2014, 03:23 AM   #5
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009
Hello,

There's an error (which affects only slackware/32) at line #245 of latest slackpkg+ (i.e 1.3.0-noarch-2mt) :

Code:
 X86_64=$(ls /var/log/packages/aaa_base*x86_64*|head -1 2>/dev/null)
This should be :
Code:
 X86_64=$(ls 2>/dev/null /var/log/packages/aaa_base*x86_64*|head -1)

EDIT: Here is the patch to fix that :
Code:
--- slackpkgplus.sh.orig        2014-03-07 09:36:45.193967591 +0100
+++ slackpkgplus.sh     2014-03-07 09:37:04.757967327 +0100
@@ -242,7 +242,7 @@
       echo 1
     fi
     if [ "$(basename $1)" == "CHECKSUMS.md5" ];then
-      X86_64=$(ls /var/log/packages/aaa_base*x86_64*|head -1 2>/dev/null)
+      X86_64=$(ls 2>/dev/null /var/log/packages/aaa_base*x86_64*|head -1)
       for PREPO in $REPOPLUS;do
         if [ ! -z "$X86_64" ];then
          if [ "$ALLOW32BIT" == "on" ];then
Hope this helps.

Cheers.

--
SeB

Last edited by phenixia2003; 03-07-2014 at 03:39 AM. Reason: added patch
 
1 members found this post helpful.
Old 03-07-2014, 03:59 AM   #6
michaelslack
Member
 
Registered: Feb 2013
Location: Sydney
Distribution: slackware
Posts: 110

Original Poster
Rep: Reputation: 36
Hi SeB,

I've made the change, the error no longer appears.

I don't quite understand what really was going on, if it was terribly serious or not, but I guess that's immaterial! And I guess it'll all be history once the next update is ready.

Thanks,

Michael
 
  


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
Error message in slackpkg+ kikinovak Slackware 3 01-08-2014 05:06 PM
strange error on slackpkg update local mirror Celyr Slackware 3 10-11-2012 06:36 AM
Strange error message: werg Linux - General 9 03-10-2008 05:49 PM
Strange Repeating Error message in /var/log/message lucktsm Linux - Security 2 10-27-2006 09:29 AM
What is this Strange Error message? sbleecker Linux - Newbie 3 01-11-2006 11:17 AM

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

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