LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 01-13-2010, 02:57 AM   #1
phongb2b
LQ Newbie
 
Registered: Jan 2010
Posts: 4

Rep: Reputation: 0
AWK error in Slack 13


Dear All,

Please help me, I install Slackware on Virtual Box with 02 Nic (Eth0: wan, eth1 :local), config iptable , bind for a small network, it works fine local PC can go internet and use DNS cache.

I try slack update and get the following error:

slackpkg update

awk package not found! Please install awk before you run slackpkg,
as slackpkg cannot function without awk.

I try which awk
which awk
which: no awk in (/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/games)

Please help me to install awk!!
Thank very much
Phong (Mr)
 
Old 01-13-2010, 03:10 AM   #2
Dave_Devnull
Member
 
Registered: May 2009
Posts: 142

Rep: Reputation: 24
A quick google is not showing any obvious issues with awk missing from Slack as a known issue.

It would be worth just running:

find / -name awk

In case it is somewhere else that is not in the path. {it shouldn't be, but anything is possible}
 
Old 01-13-2010, 03:49 AM   #3
phongb2b
LQ Newbie
 
Registered: Jan 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Dear Dave,

Thanks your quick feed back, this is my result:

#find / -name iptables
/usr/sbin/iptables

# find / -name awk
#
# find / -name named
/usr/sbin/named
/var/named
/var/run/named

>>> so when find / -name awk >>>It shows nothing!
Phong


Quote:
Originally Posted by Dave_Devnull View Post
A quick google is not showing any obvious issues with awk missing from Slack as a known issue.

It would be worth just running:

find / -name awk

In case it is somewhere else that is not in the path. {it shouldn't be, but anything is possible}
 
Old 01-13-2010, 05:07 AM   #4
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 6,860
Blog Entries: 51

Rep: Reputation: Disabled
It should be there in /bin, it's actually a link to /bin/gawk. Did you do a full install? Although I can't think how that would be missed out.
 
Old 01-13-2010, 05:30 AM   #5
phongb2b
LQ Newbie
 
Registered: Jan 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Dear BrianL,

You are right, i did not make a full installation, It could miss this gawk package,

So, I will try to install this
Thanks you!
Phong
 
Old 01-13-2010, 03:13 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,962
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
And how did that go?
 
Old 01-14-2010, 05:14 AM   #7
phongb2b
LQ Newbie
 
Registered: Jan 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Hi Tinkster,

I put the ISO image of Disk 1, mount it
Cd to /slackware
Then try pkgtool
and select install Kernel
Select gawk package
>>ok
>>> Then i try
which awk
/usr/bin/awk

#slackpkg update

It works very well,
Thanks all!
Phong
 
  


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 on awk script sebelk Programming 6 10-16-2009 07:44 AM
grep and awk error bazzano Programming 2 04-06-2009 12:01 AM
bash script read error and awk ouptut error whited Programming 4 10-16-2007 07:05 PM
cd rom error on installation media (With both slack 9,1 and slack 10) busbarn Slackware - Installation 6 07-15-2004 03:03 PM
AWK Fatal Error taintedazure Mandriva 1 09-23-2003 09:11 PM


All times are GMT -5. The time now is 11:24 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration