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 09-29-2011, 12:13 PM   #1
trangtrau
LQ Newbie
 
Registered: Sep 2011
Posts: 5

Rep: Reputation: Disabled
Unhappy


When run slackpkg update, it show
Quote:
[~]# slackpkg update

“tttDownloading http://slackware.mirrors.tds.net/pub...13.1/GPG-KEY…”
/usr/libexec/slackpkg/core-functions.sh: line 816: wget: command not found
Updating the package lists...
Downloading...
“tttDownloading http://slackware.mirrors.tds.net/pub...hangeLog.txt…”
/usr/libexec/slackpkg/core-functions.sh: line 816: wget: command not found
grep: /tmp/slackpkg.XkgdV2/ChangeLog.txt: No such file or directory

Error downloading from http://slackware.mirrors.tds.net/pub...lackware-13.1/.
Please, check your mirror and try again.
but when i check line 816 there only
Quote:
$DOWNLOADER $2 $1
plz tell me what wrong ?, ( I'm newbie)

when i check update it show
Quote:
[~]# slackpkg update

“tttDownloading http://slackware.mirrors.tds.net/pub...13.1/GPG-KEY…”
/usr/libexec/slackpkg/core-functions.sh: line 816: wget: command not found
Updating the package lists...
Downloading...
“tttDownloading http://slackware.mirrors.tds.net/pub...hangeLog.txt…”
/usr/libexec/slackpkg/core-functions.sh: line 816: wget: command not found
grep: /tmp/slackpkg.XkgdV2/ChangeLog.txt: No such file or directory

Error downloading from http://slackware.mirrors.tds.net/pub...lackware-13.1/.
Please, check your mirror and try again.

[~]# /etc/slackware-verison
bash: /etc/slackware-verison: No such file or directory
[~]# cat /etc/slackware-verison
cat: /etc/slackware-verison: No such file or directory
[~]#
but at line 816 of /usr/libexec/slackpkg/core-functions.sh have only
Quote:
$DOWNLOADER $2 $1
who can tell me what wrong ? (I newbie)

Last edited by unSpawn; 09-29-2011 at 07:17 PM. Reason: //Post merge after thread merge
 
Old 09-29-2011, 12:30 PM   #2
NoStressHQ
Member
 
Registered: Apr 2010
Location: Geneva - Switzerland ( Bordeaux - France / Montreal - QC - Canada)
Distribution: Slackware 14.2 - 32/64bit
Posts: 609

Rep: Reputation: 221Reputation: 221Reputation: 221
It seems you didn't do a full install or something... We're missing some data: which version, on what situation, how was it installed ?

Edit: Btw didn't see, but use auto-completion in shell (tab) this will avoid typos like "verISon" instead of "verSIon"...
 
1 members found this post helpful.
Old 09-29-2011, 12:32 PM   #3
audriusk
Member
 
Registered: Mar 2011
Location: Klaipėda, Lithuania
Distribution: Slackware
Posts: 360

Rep: Reputation: 199Reputation: 199
Post the output of these commands (executed as root):
Code:
which wget
echo $PATH
 
1 members found this post helpful.
Old 09-29-2011, 12:34 PM   #4
trangtrau
LQ Newbie
 
Registered: Sep 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
my slackware is 13.1, slackpg is slackpkg-2.82.0-noarch-2.tgz
Quote:
installpkg slackpkg-2.82.0-noarch-2.tgz
it not true way install ?
 
Old 09-29-2011, 12:36 PM   #5
trangtrau
LQ Newbie
 
Registered: Sep 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
it post
Quote:
[~]# which wget
which: no wget in (/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin)
[~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin
[~]#
 
Old 09-29-2011, 12:39 PM   #6
trangtrau
LQ Newbie
 
Registered: Sep 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by audriusk View Post
Post the output of these commands (executed as root):
Code:
which wget
echo $PATH
thank, I forgot install wget
 
Old 09-29-2011, 12:42 PM   #7
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Your system is missing wget (which should be the standard for $DOWNLOADER), which leads to the conclusion that you may be didn't make the recommended full installation. Install wget, and hope that you are not missing more essential packages. Better way would be to make a full install, until you come to the point where you know which consequences may appear when you remove (or choose not to install) a package.
 
1 members found this post helpful.
Old 09-29-2011, 12:50 PM   #8
scam
Member
 
Registered: Jun 2011
Location: UK
Distribution: Slackware 13.1, Slackware 13.37
Posts: 92

Rep: Reputation: Disabled
Just install it with 'installpkg', it's in n/ on your cd/dvd.
 
1 members found this post helpful.
Old 09-29-2011, 12:54 PM   #9
NoStressHQ
Member
 
Registered: Apr 2010
Location: Geneva - Switzerland ( Bordeaux - France / Montreal - QC - Canada)
Distribution: Slackware 14.2 - 32/64bit
Posts: 609

Rep: Reputation: 221Reputation: 221Reputation: 221
Again: it seems that you didn't do a full install... How did you installed Slackware? Full install or not? Version of slackpkg is nearly irrelevant in your problem, you miss the package with wget...

Also for "code" or "screen dumps" and commands, use [ CODE][/CODE ] instead of [ QUOTE][/QUOTE ] (*)...


(*) btw, I feel stupid, couldn't find anywhere how to escape a tag not to be processed as a tag (I missed a page on those forum or there aren't any page listing all formatting tags?)

Edit: Spend too much time trying to escape those format tags, so this answer is a bit redundant... Sorry for that.

Last edited by NoStressHQ; 09-29-2011 at 12:55 PM.
 
1 members found this post helpful.
Old 09-29-2011, 01:03 PM   #10
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by NoStressHQ View Post
(*) btw, I feel stupid, couldn't find anywhere how to escape a tag not to be processed as a tag (I missed a page on those forum or there aren't any page listing all formatting tags?)
You have to use the [noparse] ... [/noparse] tags for that.
EDIT: You can see a list of bb codes for vBulletin here, but I don't know if all of them are enabled here.

Last edited by TobiSGD; 09-29-2011 at 01:06 PM.
 
2 members found this post helpful.
Old 09-29-2011, 01:10 PM   #11
NoStressHQ
Member
 
Registered: Apr 2010
Location: Geneva - Switzerland ( Bordeaux - France / Montreal - QC - Canada)
Distribution: Slackware 14.2 - 32/64bit
Posts: 609

Rep: Reputation: 221Reputation: 221Reputation: 221
Quote:
Originally Posted by TobiSGD View Post
You have to use the [noparse] ... [/noparse] tags for that.
Thanks man. Do you know where I could find a complete list of the tags on this site? I just found that it was "BB Codes" like there, but couldn't get the info here.

Edit: haha seems you answered me at the same time with the same link ... Ok thanks.

Last edited by NoStressHQ; 09-29-2011 at 01:12 PM.
 
Old 09-29-2011, 06:03 PM   #12
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
EDIT: The thread that I posted in got merged with this thread and now my reply seems rather stupid.

I would try re-installing slackpkg

Code:
wget ftp://ftp.osuosl.org/pub/slackware/slackware-13.1/slackware/ap/slackpkg-2.81.1-noarch-1.tgz
upgradepkg slackpkg
Then check the configuration file, /etc/slackpkg/slackpkg.conf

Last edited by andrewthomas; 09-29-2011 at 07:35 PM.
 
Old 09-29-2011, 06:18 PM   #13
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,259

Rep: Reputation: 231Reputation: 231Reputation: 231
Somebody earlier had the same problem. You most likely did not do a full install. You need to install wget. It's in the n/ series on the dvd.
 
Old 09-29-2011, 06:40 PM   #14
NoStressHQ
Member
 
Registered: Apr 2010
Location: Geneva - Switzerland ( Bordeaux - France / Montreal - QC - Canada)
Distribution: Slackware 14.2 - 32/64bit
Posts: 609

Rep: Reputation: 221Reputation: 221Reputation: 221
Well your starting another thread with the same issue... It's quite obvious you didn't do a full install, and anyway we're missing too much context information to be able to help you.
 
Old 09-29-2011, 06:45 PM   #15
NoStressHQ
Member
 
Registered: Apr 2010
Location: Geneva - Switzerland ( Bordeaux - France / Montreal - QC - Canada)
Distribution: Slackware 14.2 - 32/64bit
Posts: 609

Rep: Reputation: 221Reputation: 221Reputation: 221
Quote:
Originally Posted by trangtrau View Post
plz tell me what wrong ?, ( I'm newbie)
What's wrong is if you're a n00b, you should just do a full install, and not try to do tricky things. Despite it's (wrong) reputation, Slackware is quite straightforward to install and use.

Btw, if you're configuring an headless server on some dedicated server provider that the kind of information you should explain... *Anything* that is special should be noted.
 
  


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
[SOLVED] When I type "sudo grub" it says "command not found" in Ubuntu 9.10 Live CD. msbstar Linux - Newbie 10 04-01-2020 11:54 PM
Laptop stops at BusyBox command line with "No init found" error Silvermoon101 Linux - Laptop and Netbook 18 08-24-2011 03:37 AM
[SOLVED] Errors executing shell script: "command not found" and "no such file or directory" eko000 Linux - Newbie 1 01-14-2011 07:54 AM
[SOLVED] Firefox 3.63 is not found when using "slackpkg install" ethereal1m Slackware 4 04-24-2010 12:39 PM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 10:18 PM

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

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