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 |
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.
|
 |
01-13-2010, 02:57 AM
|
#1
|
LQ Newbie
Registered: Jan 2010
Posts: 4
Rep:
|
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)
|
|
|
01-13-2010, 03:10 AM
|
#2
|
Member
Registered: May 2009
Posts: 142
Rep:
|
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}
|
|
|
01-13-2010, 03:49 AM
|
#3
|
LQ Newbie
Registered: Jan 2010
Posts: 4
Original Poster
Rep:
|
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
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}
|
|
|
|
01-13-2010, 05:07 AM
|
#4
|
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,311
Rep: 
|
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.
|
|
|
01-13-2010, 05:30 AM
|
#5
|
LQ Newbie
Registered: Jan 2010
Posts: 4
Original Poster
Rep:
|
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
|
|
|
01-13-2010, 03:13 PM
|
#6
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
And how did that go?
|
|
|
01-14-2010, 05:14 AM
|
#7
|
LQ Newbie
Registered: Jan 2010
Posts: 4
Original Poster
Rep:
|
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 04:23 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
|
|