New install of Hardy not updating packages!?!

volksman v0lksman69 at gmail.com
Thu Jun 19 23:00:56 UTC 2008


Actually I've seen this mess up hardy too:

sudo: unable to resolve host NAS

If you change the host name after installing it doesn't update the 
/etc/hosts file.  Somehow this affects bash-completion and a couple of 
other things like sudo.

In my experience with this issue I think I've always had to use Recover 
Mode to edit the hosts file (as a sudo vi /etc/hosts dies when it can't 
resolve your hostname) and make sure that 127.0.1.1 is mapped to your 
host name (in this case NAS).

Hope that helps!

Corey Burger wrote:
> This looks like an issue with your sources.list. Open Software Sources
> on the Admin menu, make certain only the ubuntu sources are checked
> and then try the graphical updater again.
>
> Corey
>
> On Thu, Jun 19, 2008 at 8:58 AM, Paolo Di Battista
> <paolodibattista at rogers.com> wrote:
>   
>> So far so good...
>>
>> Update manager downloaded and installed the updates. But I got two messages
>> in the course of this that I don't understand:
>>
>> Here is what happened verbatim:
>>
>>     
>>> $ sudo update-manager
>>>       
>> sudo: unable to resolve host NAS
>> [sudo] password for paolo: (I typed the passwd)
>> current dist not found in the meta-release file
>>
>> after it displayed the last line Update Manager opened and it began updating
>> normally after I clicked Install Updates.
>>
>> Paolo
>>
>> -----Original Message-----
>> From: Corey Burger [mailto:corey.burger at gmail.com]
>> Sent: June-19-08 12:44 AM
>> To: paolo at atrius.ca; The Canadian Ubuntu Users Community
>> Subject: Re: New install of Hardy not updating packages!?!
>>
>> On Wed, Jun 18, 2008 at 9:37 PM, Paolo Di Battista
>> <paolodibattista at rogers.com> wrote:
>>     
>>> Hi all. I recently cleaned off the system hard drive in my RAID 5 NAS and
>>> installed Hardy i386.  Since the new install it keeps telling me there are
>>> updates (the number is currently at 138). When I click on the notification
>>> icon Update Manager opens, but when I then click on update the mouse
>>>       
>> pointer
>>     
>>> changes to the "I'm thinking" circle but never changes from there.  I
>>>       
>> don't
>>     
>>> get a password prompt or any change, it just keeps going until I force
>>> Ubuntu to shut down the Update Manager application.
>>>
>>>
>>>
>>> Furthermore, there are some applications that just don't seem to start,
>>>       
>> for
>>     
>>> example System-Administration-Login Window.  When I select it, two buttons
>>> appear on the bottom of the screen: one is "Starting Administrative
>>> Application" and the other is "Login Window", but after a few moments they
>>> disappear and Login Window never opens.
>>>
>>>
>>>
>>> Anybody have any suggestions?
>>>       
>> It looks like there is something wrong with gksudo, the wrapper around
>> sudo. Open a terminal and type:
>> sudo update-manager
>>
>> If that works, then the issue is gksudo and not sudo itself. If it
>> doesn't, tell us, because the issue gets a whole lot more complex to
>> fix.
>>
>> Corey
>> No virus found in this incoming message.
>> Checked by AVG.
>> Version: 8.0.100 / Virus Database: 270.4.0/1507 - Release Date: 18/06/2008
>> 7:09 AM
>>
>>
>> --
>> ubuntu-ca mailing list
>> ubuntu-ca at lists.ubuntu.com
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-ca
>>
>>     
>
>   




More information about the ubuntu-ca mailing list