This looks like you have a problem witch is unrelated to what you are trying to do. I never understood why "sudo" needs to know the computer name but is dous so: The problem appears that sudo can't find the computer's name with the domain name lookup. The start point for sorting this out is the "Network setting"
I moved away from Ubuntu whan I started getting the same error: The way I aproched the problem was to edit "/etc/resolve" and "/etc/named" and "/etc/hostname" witch is what worked in slackware and other distros but as soon as I rebooted ubuntu reset theses files braking the fix witch gote relay fustratting. I hate computer OS's that deside thay know better then me!!! That all sead: I would say the first step is to turn off the network and try the command then if that works then you have confarmed that it's a problem with the DNS on the network you are attached to. Steve On 15 Jan 2010, at 09:38, richard rjsad wrote: > thanks for you reply this is the result after entering sudo ls > rich...@richard-laptop:~$ sudo ls > sudo: unable to resolve host richard-laptop > -- Music > Desktop mythbuntu-9.04-desktop-i386.iso > Documents PDF > Examples Photos > golf Pictures > googleearth Public > google-earth richard > information Smallville Season 7 - 10.avi > Mac4Lin_Install_v1.0 Templates > Mac4Lin_Wallpaper1.jpg themescd > Mac4Lin_Wallpaper2.jpg untitled folder > __MACOSX Videos > Moomex > rich...@richard-laptop:~$ > > > > > Date: Fri, 15 Jan 2010 08:49:53 +0000 > > From: [email protected] > > To: [email protected] > > Subject: Re: [Peterboro] terminal input > > > > On 14/01/10 22:23, richard rjsad wrote: > > > is this what it should look like > > > sudo cp -r $HOME/desktop/slicknesS-black/usr/share/themes > > > sudo: unable to resolve host richard-laptop > > > > sudo cp -r $HOME/Desktop/slicknesS-black /usr/share/themes > > > > Note the capitalised D in Desktop, and the space between between the > > source and destination filenames (between "black" and "/usr"). Also > > check the spelling and case of the source file - case is important so > > slickness and slicknesS are different. > > > > All that said, the first problem you need to solve is that sudo is > > giving you an error unrelated to the rest of the command. (Sudo runs > > whatever command you tell it as the root user, but the error you're > > getting is from sudo not from the command, so it doesn't matter how hard > > you try to get the command right it'll never work until you fix the > > problem with sudo). > > > > Try, for example: > > sudo ls > > .. which I guess will get you the same error. > > > > I found some advice here for the sudo problem: > > http://ubuntuforums.org/showthread.php?t=723361 > > > > Be careful when following instructions involving sudo/gksudo and ask > > back if you're not sure *before you run them*! > > > > -- > > Mark Rogers // More Solutions Ltd (Peterborough Office) // 0844 251 1450 > > Registered in England (0456 0902) @ 13 Clarke Rd, Milton Keynes, MK1 1LG > > > > > > _______________________________________________ > > Peterboro mailing list > > [email protected] > > https://mailman.lug.org.uk/mailman/listinfo/peterboro > > We want to hear all your funny, exciting and crazy Hotmail stories. Tell us > now_______________________________________________ > Peterboro mailing list > [email protected] > https://mailman.lug.org.uk/mailman/listinfo/peterboro
_______________________________________________ Peterboro mailing list [email protected] https://mailman.lug.org.uk/mailman/listinfo/peterboro
