LinuxQuestions.org
Visit Jeremy's Blog.
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 11-04-2012, 11:33 PM   #1
lexish
LQ Newbie
 
Registered: Nov 2012
Distribution: slackware
Posts: 5

Rep: Reputation: Disabled
slackpkg installpkg upgradepkg not working very new to slackware


so i just installed slackware today... still trying to get my feet wet in it but have used other distros for quite some time... the problem im having:

installpkg upgradepkg and slackpkg all return with a command not found error and im not sure if there is something i need to install from the dvd that i didnt

slackware64 ver 14

an example of the error is

ex@Capricorn:~$ sudo nano /etc/slackpkg/mirrors
Password:
lex@Capricorn:~$ sudo slackpkg update gpg
sudo: slackpkg: command not found
lex@Capricorn:~$ slackpkg
bash: slackpkg: command not found
 
Old 11-04-2012, 11:36 PM   #2
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,408

Rep: Reputation: 853Reputation: 853Reputation: 853Reputation: 853Reputation: 853Reputation: 853Reputation: 853
seems to me like a PATH problem, try if becoming root with "su -" instead of using sudo fixes it.
 
Old 11-04-2012, 11:47 PM   #3
hitest
Senior Member
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 4,141

Rep: Reputation: 523Reputation: 523Reputation: 523Reputation: 523Reputation: 523Reputation: 523
Quote:
Originally Posted by lexish View Post
so i just installed slackware today... still trying to get my feet wet in it but have used other distros for quite some time... the problem im having:

installpkg upgradepkg and slackpkg all return with a command not found error and im not sure if there is something i need to install from the dvd that i didnt

slackware64 ver 14

an example of the error is

ex@Capricorn:~$ sudo nano /etc/slackpkg/mirrors
Password:
lex@Capricorn:~$ sudo slackpkg update gpg
sudo: slackpkg: command not found
lex@Capricorn:~$ slackpkg
bash: slackpkg: command not found
Did you uncomment one and only one mirror, that is, remove the # in front of the mirror of your choice?
 
Old 11-05-2012, 12:26 AM   #4
lexish
LQ Newbie
 
Registered: Nov 2012
Distribution: slackware
Posts: 5

Original Poster
Rep: Reputation: Disabled
once i su instead of sudo it worked so thanks how do i mark this as solved?
 
Old 11-05-2012, 05:21 AM   #5
bogzab
Member
 
Registered: Mar 2006
Location: Dyserth, Wales
Distribution: Slackware 13.37, Slackware 14.0
Posts: 260

Rep: Reputation: 31
Use the "Thread Tools" menu at the top of the thread to mark as SOLVED
 
Old 11-05-2012, 11:22 AM   #6
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,453

Rep: Reputation: Disabled
Quote:
Originally Posted by lexish View Post
once i su instead of sudo it worked so thanks how do i mark this as solved?
If you prefer using sudo instead of su - you can also add /usr/sbin to your PATH.

Brian
 
  


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
[SOLVED] installpkg and slackpkg --install dsplayer14 Slackware 9 09-17-2012 10:59 AM
[SOLVED] installpkg not working in terminal emulators.(Slackware) darkstarbyte Linux - Software 2 10-13-2010 12:05 AM
Accidentally used installpkg instead of upgradepkg; any recourse? Gault LaRue Slackware 4 11-28-2009 11:43 PM
Questions about upgradepkg and slackpkg Cotobear Slackware 10 08-26-2009 01:45 PM
Slackware 8.1: "installpkg" command not working? tigerflag Slackware 5 10-12-2002 02:44 PM


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