LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-02-2007, 08:50 PM   #1
dockpunk
Member
 
Registered: Dec 2004
Distribution: slackware 12
Posts: 67

Rep: Reputation: 15
slackpkg and awk problem


i just got myself a vps running slack 12. the install was ridiculously minimal so i grabbed slackpkg from /extra and installed to ease the process of getting eveything i need. uncommented the mirror i like to use and tried to do a slackpkg update but i get the error
Code:
awk package not found! Please install awk before you run slackpkg,
as slackpkg cannot function without awk.
the gawk package has been installed fine, so i really don't get what the problem is. i've been running slack since 10.0 and use slackpkg on 2 of my home machines but have never run into this problem. are there possibly some other packages that include deps which i should check for?
 
Old 10-02-2007, 11:23 PM   #2
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 231Reputation: 231Reputation: 231
Do you have "which" installed? If so what does the command
Code:
which awk
return?

:Q
 
Old 10-03-2007, 04:33 PM   #3
dockpunk
Member
 
Registered: Dec 2004
Distribution: slackware 12
Posts: 67

Original Poster
Rep: Reputation: 15
i'll have to look into that, i know 'slocate' was missing, and i'm pretty sure 'which' was as well. running whereis awk shows it to be in all the expected places though.
i'm already having issues with this vps provider though, so if i end up dropping them the problem i'm having with slackpkg wont really matter anymore.
if they get everything cleared and slack 12 back on the server (somehow overnight it was switched to CentOS for no apparent reason) i will check the output of 'which awk'
 
Old 10-03-2007, 04:41 PM   #4
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
In one of the latest updates the which package was moved into its own package. Sounds like you don't have it installed.
 
Old 10-03-2007, 04:53 PM   #5
dockpunk
Member
 
Registered: Dec 2004
Distribution: slackware 12
Posts: 67

Original Poster
Rep: Reputation: 15
i'm taking a guess the vps template the used at creation was the user submitted one at openvz.org. meaning http://wiki.openvz.org/Slackware_template_creation
should be the list of all packages i have, and as you said, it doesnt look like i have 'which', though gawk is installed by default so that confuses me a bit. as you can see from that list, it is really a bare bones install which is why i'm trying to get slackpkg running as opposed to having to wget every package i need. actually wget wasnt even there, i had to ftp to a slack mirror just to get that.
 
Old 10-03-2007, 05:58 PM   #6
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 231Reputation: 231Reputation: 231
Yes it's not the fact that you don't have awk causing the problem. The problem is that slackpkg uses `which awk` to determine if awk is installed. This test is failing due to 'which' being missing. Just install the which pkg manually and see how you go.
 
Old 10-03-2007, 06:20 PM   #7
dockpunk
Member
 
Registered: Dec 2004
Distribution: slackware 12
Posts: 67

Original Poster
Rep: Reputation: 15
ah i see. thanks, as soon as all the problems on the providers end are fixed i'll be sure to install that.

edit:
everything works fine now after installing which. thanks again.

Last edited by dockpunk; 10-04-2007 at 01:58 PM.
 
Old 10-04-2007, 06:11 PM   #8
XGizzmo
Member
 
Registered: Mar 2007
Distribution: Slackware
Posts: 264

Rep: Reputation: 69
Quote:
Originally Posted by dockpunk View Post
are there possibly some other packages that include deps which i should check for?

Yes there are read CHANGES_AND_HINTS.TXT in the root directory of your install disk.
 
  


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 doesn't works (problems with awk) sparc86 Slackware 8 04-11-2007 11:08 AM
slackpkg dumb problem Gary Baker Slackware 9 04-03-2007 08:06 PM
Slackpkg: missing something in /usr/libexec/slackpkg/functions.d/dialog-functions.sh michelino Slackware 4 03-20-2007 12:22 PM
Problem on running slackpkg upgrade-all satimis Slackware 5 03-20-2007 06:19 AM
Problem installing Slackpkg Oakstaff Slackware 3 02-16-2005 06:44 PM

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

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