LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   slackpkg installpkg upgradepkg not working very new to slackware (http://www.linuxquestions.org/questions/slackware-14/slackpkg-installpkg-upgradepkg-not-working-very-new-to-slackware-4175435661/)

lexish 11-05-2012 12:33 AM

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

ponce 11-05-2012 12:36 AM

seems to me like a PATH problem, try if becoming root with "su -" instead of using sudo fixes it.

hitest 11-05-2012 12:47 AM

Quote:

Originally Posted by lexish (Post 4822301)
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?

lexish 11-05-2012 01:26 AM

once i su instead of sudo it worked so thanks how do i mark this as solved?

bogzab 11-05-2012 06:21 AM

Use the "Thread Tools" menu at the top of the thread to mark as SOLVED

BCarey 11-05-2012 12:22 PM

Quote:

Originally Posted by lexish (Post 4822316)
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


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