[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt-get: Command not found.

On Tuesday 02 August 2005 03:05, James A. Donald wrote:
>apt-get: Command not found.
>I am a newbie to linux.  I recently installed Debian on a computer
>that sits in a closet
>So I ssh in.  I got Samba working fine, after tinkering with the
>/etc/samba/smb.conf file to read:
>        workgroup = workgroup
>        netbios name = linux
>        security = share
>        path =  /home/james/Documents/sharedRW
>        read only = No
>        guest ok = Yes
>and manually starting the daemons with
>nmbd -D
>smbd -D
>All was well
>But then I wanted it to automatically start the daemons on reboot,
> and I had no idea how to do that.
>So I said to myself, "well, surely Debian knows how to do that", so
>attempted to type
>apt-get update
>apt-get install samba smbclient
>Only to get the surprising message: apt-get: Command not found.

Did you use the - option to su when you became root to do that stuff?

I doubt that apt-get or any of its ilk are available if you do a plain 
su, which, unlike doing an 'su -' does not give you roots $PATH.

>(Which might be a good thing, for all I know this is a really stupid
>way to install the daemons to be launched on startup.
>I conjecture that apt-get has been replaced with some cool gui based
>configuration tool, and apt-get is no longer on the path.
>I recollect that when I access the computer with keyboard and
> monitor, (which requires me to haul the computer out of the
> cupboard) I get some stuff about updates, but when I access the KDE
> gui through vnc and vncserver, I get a rather sparse screen that
> does not have that update stuff on it.
>I suppose there is some command I can give in the KDE gui that will
>bring up some tool for updating and configuring debian or enable
>apt-get?   But I may have  bring up the real kdegui, instead of the
>curiously limited one I get from VNC server
>my .vnc/xstartup file is
> exec /etc/X11/xinit/xinitrc
>[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
>[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
>xsetroot -solid grey
>vncconfig -iconic &
>xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
>startkde &
>Maybe there is something I can add to that file so my startup screen
>is a bit more helpful?
>Of failing that, maybe I should know how to startup daemons in linux
>on bootup?

Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.35% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2005 by Maurice Eugene Heskett, all rights reserved.

Reply to: