LinuxQuestions.org
Help answer threads with 0 replies.
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 09-05-2013, 01:32 PM   #1
the_penguinator
Member
 
Registered: Jan 2009
Location: Canada
Distribution: slackware, OpenBSD, OSX
Posts: 233

Rep: Reputation: 25
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
 
Old 09-05-2013, 01:44 PM   #2
WhiteWolf1776
Member
 
Registered: Oct 2010
Location: Bowling Green, KY
Distribution: Slackware
Posts: 288

Rep: Reputation: 95
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?
 
Old 09-05-2013, 02:46 PM   #3
the_penguinator
Member
 
Registered: Jan 2009
Location: Canada
Distribution: slackware, OpenBSD, OSX
Posts: 233

Original Poster
Rep: Reputation: 25
Quote:
Originally Posted by WhiteWolf1776 View Post
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 View Post
What version of slackware / version of slackpkg is giving you the trouble?
slack64 -current
slackpkg-2.82.0-noarch-9.tgz
 
Old 09-05-2013, 03:17 PM   #4
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,299
Blog Entries: 61

Rep: Reputation: Disabled
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.
Old 09-05-2013, 03:20 PM   #5
bosth
Member
 
Registered: Apr 2011
Location: British Columbia, Canada
Posts: 304

Rep: Reputation: 127Reputation: 127
Which mirror are you using? There could be a problem with the metadata.
 
Old 09-06-2013, 07:36 AM   #6
the_penguinator
Member
 
Registered: Jan 2009
Location: Canada
Distribution: slackware, OpenBSD, OSX
Posts: 233

Original Poster
Rep: Reputation: 25
Quote:
Originally Posted by brianL View Post
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?
 
Old 09-06-2013, 07:45 AM   #7
the_penguinator
Member
 
Registered: Jan 2009
Location: Canada
Distribution: slackware, OpenBSD, OSX
Posts: 233

Original Poster
Rep: Reputation: 25
Quote:
Originally Posted by bosth View Post
Which mirror are you using? There could be a problem with the metadata.
ftp://mirror.csclub.uwaterloo.ca/sla...are64-current/
 
Old 09-06-2013, 08:04 AM   #8
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008
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
 
Old 09-06-2013, 08:46 AM   #9
the_penguinator
Member
 
Registered: Jan 2009
Location: Canada
Distribution: slackware, OpenBSD, OSX
Posts: 233

Original Poster
Rep: Reputation: 25
Quote:
Originally Posted by phenixia2003 View Post
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
 
Old 09-06-2013, 08:47 AM   #10
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,064

Rep: Reputation: Disabled
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$
 
Old 09-06-2013, 09:29 AM   #11
bosth
Member
 
Registered: Apr 2011
Location: British Columbia, Canada
Posts: 304

Rep: Reputation: 127Reputation: 127
Quote:
Originally Posted by the_penguinator View Post
No, that mirror seems to be fine for use.
 
  


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
slackpkg installpkg upgradepkg not working very new to slackware lexish Slackware 5 11-05-2012 11:22 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
[SOLVED] slackpkg upgrade-all is not working in slackware64-current foobarz Slackware 1 08-13-2012 01:55 PM
slackpkg uprade command seems not to be working vdemuth Slackware 7 03-16-2010 04:08 AM
slackpkg update and upgrade-all still working for 12.2? mutexe Slackware 8 10-23-2009 04:05 AM

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

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