LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   AWK error in Slack 13 (https://www.linuxquestions.org/questions/linux-newbie-8/awk-error-in-slack-13-a-781884/)

phongb2b 01-13-2010 02:57 AM

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)

Dave_Devnull 01-13-2010 03:10 AM

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}

phongb2b 01-13-2010 03:49 AM

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 (Post 3824803)
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}


brianL 01-13-2010 05:07 AM

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.

phongb2b 01-13-2010 05:30 AM

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

Tinkster 01-13-2010 03:13 PM

And how did that go?

phongb2b 01-14-2010 05:14 AM

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


All times are GMT -5. The time now is 03:20 AM.