Sudo Failed

J.Markoll j.markoll at free.fr
Thu Jan 5 17:38:37 UTC 2006


Will H. Backman a écrit :
> Old Rocker wrote:
> 
>> When I try to do an update on my apt-get repositories, this is what I 
>> get:
>>
>> $ sudo apt-get update
>> sudo: unable to lookup ubuntu via gethostbyname()
>>
>> and when I click on Synaptic this is the error message that pops up:
>>
>> Su returned with an error
>>
>> Rebooting doesn't fix it, nor using other applications and seeing if 
>> its fixed, for instance the same message pops up when I use aptitude 
>> and not apt-get.
>>
>> Something's happened along the way to change things (permissions or 
>> corruption) but I don't know exactly what.
>>
>> Anyone know how to deal with this, and is reinstallation the only way?
>>
> 
> Sudo's config file is in etc.
> Sudo config files can be centralized and distributed to a bunch of 
> computers because you can include specific machine names in the config 
> file to have machine specific settings.
> Looks like you have a machine name (ubuntu) in your config file.
> Use visudo to edit it.  You'll have to boot into single user mode first.
Hello,
Before looking up with what application a message error appears, it's 
good to consult the web starting from _the error message_ as for sure,
one error in a file somewhere can lead to the same error message in 
diverse circomstances. That's how the application with which the error 
comes can be totally independant of the cause of the message.
One other thing that can be looked up in diverse circomstances is the
/var/log/messages content (with the 'less' command or with the 'tail' 
command) or the very last log you'll find in your /var/log folder.
Best greetings, Joyce Markoll.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060105/f83c79af/attachment.sig>


More information about the ubuntu-users mailing list