Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-05-2013, 01:32 PM
|
#1
|
Member
Registered: Jan 2009
Location: Canada
Distribution: slackware, OpenBSD, OSX
Posts: 233
Rep:
|
slackpkg is not working...and I'm no noob
this is making me nuts...
I've removed slackpkg and manually deleted all related directories and then did installpkg slackpkg*, supposedly producing for myself a "clean" new bit of installed software...
despite that, this is the error msg
bash-4.2# slackpkg install-new
awk: /usr/libexec/slackpkg/pkglist.awk:13: (FILENAME=- FNR=90) fatal: NF set to negative value
Looking for NEW packages to install. Please wait... DONE
No packages match the pattern for install. Try...(snipped)
clues, questions happily read
|
|
|
09-05-2013, 01:44 PM
|
#2
|
Member
Registered: Oct 2010
Location: Bowling Green, KY
Distribution: Slackware
Posts: 288
Rep:
|
well, as you are no noob... you of course setup a mirror in /etc/slackpkg and did 'slackpkg update' first.
What version of slackware / version of slackpkg is giving you the trouble?
|
|
|
09-05-2013, 02:46 PM
|
#3
|
Member
Registered: Jan 2009
Location: Canada
Distribution: slackware, OpenBSD, OSX
Posts: 233
Original Poster
Rep:
|
Quote:
Originally Posted by WhiteWolf1776
well, as you are no noob... you of course setup a mirror in /etc/slackpkg and did 'slackpkg update' first.
|
you betcha
Quote:
Originally Posted by WhiteWolf1776
What version of slackware / version of slackpkg is giving you the trouble?
|
slack64 -current
slackpkg-2.82.0-noarch-9.tgz
|
|
|
09-05-2013, 03:17 PM
|
#4
|
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,311
Rep: 
|
Long-time noob here.
If you've done a full install, wouldn't that result be expected with slackpkg install-new?
Just guessing.
|
|
1 members found this post helpful.
|
09-05-2013, 03:20 PM
|
#5
|
Member
Registered: Apr 2011
Location: British Columbia, Canada
Posts: 304
Rep: 
|
Which mirror are you using? There could be a problem with the metadata.
|
|
|
09-06-2013, 07:36 AM
|
#6
|
Member
Registered: Jan 2009
Location: Canada
Distribution: slackware, OpenBSD, OSX
Posts: 233
Original Poster
Rep:
|
Quote:
Originally Posted by brianL
Long-time noob here.
If you've done a full install, wouldn't that result be expected with slackpkg install-new?
Just guessing.
|
not a full install of the entire distro...just a re-install of slackpkg because it started borking with the error msg quoted above...my install of Slack64-current is stalled at kernel 3.9.7...my kde is not v4.10.5...etc I should have pointed out that I get a similar error msg to the one quoted above when doing #slackpkg upgrade-all...
if a reinstall of slackpkg is not clearing out the error msg preventing me from doing #slackpkg install-new or #slackpkg upgrade-all, where/what else might I be looking for as the cause?
|
|
|
09-06-2013, 07:45 AM
|
#7
|
Member
Registered: Jan 2009
Location: Canada
Distribution: slackware, OpenBSD, OSX
Posts: 233
Original Poster
Rep:
|
Quote:
Originally Posted by bosth
Which mirror are you using? There could be a problem with the metadata.
|
ftp://mirror.csclub.uwaterloo.ca/sla...are64-current/
|
|
|
09-06-2013, 08:04 AM
|
#8
|
Senior Member
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052
|
Hello,
Is the command below give you the same error message as in your first post ?
Code:
ls -1 /var/log/packages/* | awk -f /usr/libexec/slackpkg/pkglist.awk
If this is the case I guess there's something wrong in /var/log/packages that breaks pkglist.awk and leads install-new to fail.
--
SeB
|
|
|
09-06-2013, 08:46 AM
|
#9
|
Member
Registered: Jan 2009
Location: Canada
Distribution: slackware, OpenBSD, OSX
Posts: 233
Original Poster
Rep:
|
Quote:
Originally Posted by phenixia2003
Hello,
Is the command below give you the same error message as in your first post ?
Code:
ls -1 /var/log/packages/* | awk -f /usr/libexec/slackpkg/pkglist.awk
If this is the case I guess there's something wrong in /var/log/packages that breaks pkglist.awk and leads install-new to fail.
--
SeB
|
yes it does...and furthermore I've now discovered that pkgtools is somehow missing from this system...going offline to do a little forensic work now
thanks
|
|
|
09-06-2013, 08:47 AM
|
#10
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,376
Rep: 
|
As SeB said, something should be wrong in the format of one of the files in /var/og/packages (I would add, or in FILELIST.TXT at the root of the mirror you unselected in /etc/slackpkg/smackpkg.conf), as:
Code:
bash-4.2$ grep -rnB1 pkglist.awk /usr/libexec/slackpkg/
/usr/libexec/slackpkg/core-functions.sh-551- if echo $CMD | grep -q install ; then
/usr/libexec/slackpkg/core-functions.sh:552: ls -1 /var/log/packages/* | awk -f /usr/libexec/slackpkg/pkglist.awk > ${TMPDIR}/tmplist
/usr/libexec/slackpkg/core-functions.sh-553- else
/usr/libexec/slackpkg/core-functions.sh:554: ls -1 /var/log/packages/* | awk -f /usr/libexec/slackpkg/pkglist.awk | applyblacklist > ${TMPDIR}/tmplist
--
/usr/libexec/slackpkg/core-functions.sh-1074- grep "\.t[blxg]z$" $FILELIST| \
/usr/libexec/slackpkg/core-functions.sh:1075: awk -f /usr/libexec/slackpkg/pkglist.awk |\
bash-4.2$
|
|
|
09-06-2013, 09:29 AM
|
#11
|
Member
Registered: Apr 2011
Location: British Columbia, Canada
Posts: 304
Rep: 
|
Quote:
Originally Posted by the_penguinator
|
No, that mirror seems to be fine for use.
|
|
|
All times are GMT -5. The time now is 01:41 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|