Jonathan Bringhurst on 13 May 2008 07:57:58 -0700


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

Re: [PLUG] salvaging an ubuntu upgrade


Sample hosts file for latest ubuntu...

### BEGIN HOSTS FILE####
127.0.0.1 localhost
127.0.1.1 yourhostnamehere

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
####END HOSTS FILE#####


On Tue, May 13, 2008 at 10:21 AM, Andrew Tsen <kloaker@gmail.com> wrote:
> Is your /etc/hosts there?  If so, what's in it?
>
>
>
>
>
>  On Tue, May 13, 2008 at 10:18 AM, Art Alexion <art.alexion@verizon.net> wrote:
>  > Long story short:
>  >
>  >  Doing a gutsy->hardy upgrade on a laptop using the do-release-upgrade command
>  >  that worked so well on other machines.  Power went out.  Battery was charged.
>  >  Packages had been downloaded. Installation continued.  But...
>  >
>  >  When I picked up the laptop to move it, the battery fell out.  Never mind that
>  >  I can never get this battery out when I need to.  This critical time, it just
>  >  fell out.
>  >
>  >  re-running do-release-upgrade didn't work because it thought it was already
>  >  upgraded to hardy.  aptitude dist-upgrade failed, suggesting
>  >  dpkg --configure -a.  This worked until it got to kde-theme-somethingorother.
>  >  aptitude install kde-theme-somethingorother wanted to remove about 22
>  >  packages.  I listed them and let it. Then ran an aptitude dist-upgrade.
>  >
>  >  Everything looks fine, except one thing.
>  >
>  >  Whenever I try to run anything as sudo it hestiates, then reports
>  >  sudo: unable to resolve host <localhostname>
>  >
>  >  /etc/hostname is correct
>  >  the networkmanager seems to have the host correctly.
>  >
>  >  What would I edit to fix this?
>  >
>  >
>  > ___________________________________________________________________________
>  >  Philadelphia Linux Users Group         --        http://www.phillylinux.org
>  >  Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
>  >  General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug
>  >
>  >
>
>
>
>  --
>  - Drew
>  ___________________________________________________________________________
>  Philadelphia Linux Users Group         --        http://www.phillylinux.org
>  Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
>  General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug
>
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug