236 updates stuck

Asked by SusanG

I have installed 8.04 and I have everything else working. I have spent a great deal of time searching the data base and have the same question posted in forums. When I open the update manager it is stuck running and running and never completes the upgrades. Since there were 236 of them, I tried selecting half of them, then selecting only 1. Still the same problem. I have also tried the suggestion to open a terminal and enter "sudo aptitude update" then "sudo aptitude full upgrade", and I get the response that it "unable to resolve host"

Thank you in advance for your help

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Tony Mugan (tmugan) said :
#1

Ok, try changing your repositories source by opening System menu, Administration, Software Sources.

Open the dropdown list for "Download From" and select "Other" and click "Best Server".
This will run some tests and choose a server for you which will then be used by Synaptic and Update Manager for new software.

Then run Update Manager again
or in a terminal window

sudo apt-get update
sudo apt-get upgrade

If it does no work, post the results of the commands above and also the contents of

cat /etc/apt/sources.list

Revision history for this message
Christoph Langner (chrissss) said :
#2

Please give me the output of those two commandos

$ cat /etc/hostname
$ cat /etc/hosts

Revision history for this message
SusanG (sgould) said :
#3

$ cat /etc/hostname response = HFAH1
$ cat /etc/hosts
respnse = fe00: : 0 ip6-localnet
ff00: : 0 ip6-mcastprefix
ff02: : 1 ip6-allnodes
ff02: : 2 ip6-allroutes
ff02: : 3 ip6-allhosts

We are setup with ATT (BellSouth) fast access service, and this mackine is wired and not wireless to the router. In response to the 2nd response - I followed the instructions above and the Software Soruces would not open at all.
Additionally, here is the resopnse to the sources list:
hope2@HFAH1:~$ cat /etc/apt/sources.list
#deb cdrom:[Ubuntu 8.04 _Hardy Heron_ - Release i386 (20080423)]/ hardy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://us.archive.ubuntu.com/ubuntu/ hardy main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://us.archive.ubuntu.com/ubuntu/ hardy universe
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy universe
deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ hardy multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy multiverse
deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://us.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
# deb http://archive.canonical.com/ubuntu hardy partner
# deb-src http://archive.canonical.com/ubuntu hardy partner

deb http://security.ubuntu.com/ubuntu hardy-security main restricted
deb-src http://security.ubuntu.com/ubuntu hardy-security main restricted
deb http://security.ubuntu.com/ubuntu hardy-security universe
deb-src http://security.ubuntu.com/ubuntu hardy-security universe
deb http://security.ubuntu.com/ubuntu hardy-security multiverse
deb-src http://security.ubuntu.com/ubuntu hardy-security multiverse

I look forward to your response.

Revision history for this message
Christoph Langner (chrissss) said :
#4

It looks like you screwed your hostname and local name resolution. /etc/hostname and /etc/hosts should look like this

/etc/hostame:
---
mycomputer
---

/etc/hosts:
---
127.0.0.1 localhost
127.0.1.1 mycomputer

# 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
---

Where "mycomputer" is the name of your computer.

Revision history for this message
SusanG (sgould) said :
#5

I am trying to find the location to change the hostname, as the local host is fine and the one you have labeled as my computer I had labeled as "hope2". We have 2 wireless laptops, a wireless desktop, and 2 printers on this network. I had to give it a separate name to id the unit - my computer was too generic.

Please advise, as the changes I made to the manual configuration does not seem to change the host name nor the ability to get into the Software Sources. Warmest Regards, Susan Gould Hope For A Home, Inc1700 N Dixie Hwy, Suite 148Boca Raton, FL 33432Ph. 561-372-1260, Fax. 561-404-4867Click To Donate

> To: <email address hidden>> From: <email address hidden>> Subject: Re: [Question #40647]: 236 updates stuck> Date: Fri, 1 Aug 2008 13:49:30 +0000> > Your question #40647 on Ubuntu changed:> https://answers.launchpad.net/ubuntu/+question/40647> > Status: Open => Answered> > Christoph Langner proposed the following answer:> It looks like you screwed your hostname and local name resolution.> /etc/hostname and /etc/hosts should look like this> > /etc/hostame:> ---> mycomputer> ---> > /etc/hosts:> ---> 127.0.0.1 localhost> 127.0.1.1 mycomputer> > # 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> ---> > Where "mycomputer" is the name of your computer.> > -- > If this answers your question, please go to the following page to let us> know that it is solved:> https://answers.launchpad.net/ubuntu/+question/40647/+confirm?answer_id=3> > If you still need help, you can reply to this email or go to the> following page to enter your feedback:> https://answers.launchpad.net/ubuntu/+question/40647> > You received this question notification because you are a direct> subscriber of the question.
_________________________________________________________________
All-in-one security and maintenance for your PC.  Get a free 90-day trial!
http://www.windowsonecare.com/purchase/trial.aspx?sc_cid=wl_wlmail

Revision history for this message
Deepak Mishra (dpux) said :
#6

if you want to change the hostname ; try these as root (sudo)
echo HOST.DOMAIN.com > /etc/hostname
where,
HOST = Your host name
DOMAIN = Your Domain Name
next try :
/bin/hostname -F /etc/hostname

i cant understand your other problem.

Revision history for this message
SusanG (sgould) said :
#7

Sorry that you don't understand my problem, let me try again. I am new to Ubuntu, although I have plenty of experience working with pc's and have no trouble with configuring them. Once this new installation has completed, it shows that I have 236 updates that need to be installed. I have tried many different ways to get them to download and nothing happens. Thus the run of emails to try and resolve this issue. In all of the instructions I have received via email there always seems to be a step missing and I assume that everything goes into the terminal screen. With that said, I followed the instructions that you sent last and this is the response " bash: /etc/hostname: Permission denied"

This is set up as follows: Bellsouth FastAccess system, 3 wireless pc, 2 wired printers, and the problem pc with Ubuntu is wired. In the manual configuration I have the following: Wired Connection - dhcp, General Tab - Host Name - HFAH1 (SSID for the system), and the Domain - 192.168.1.254.

I can get on the internet and surf so I know the connection is there. When I try to access the Software Sources I get nothing, and when I try to download all the updates I need - again nothing. Warmest Regards, Susan Gould Hope For A Home, Inc1700 N Dixie Hwy, Suite 148Boca Raton, FL 33432Ph. 561-372-1260, Fax. 561-404-4867Click To Donate

> To: <email address hidden>> From: <email address hidden>> Subject: RE: [Question #40647]: 236 updates stuck> Date: Sun, 3 Aug 2008 14:27:41 +0000> > Your question #40647 on Ubuntu changed:> https://answers.edge.launchpad.net/ubuntu/+question/40647> > Status: Open => Needs information> > deepak mishra requested for more information:> if you want to change the hostname ; try these as root (sudo)> echo HOST.DOMAIN.com > /etc/hostname> where,> HOST = Your host name > DOMAIN = Your Domain Name> next try :> /bin/hostname -F /etc/hostname> > i cant understand your other problem.> > -- > To answer this request for more information, you can either reply to> this email or enter your reply at the following page:> https://answers.edge.launchpad.net/ubuntu/+question/40647> > You received this question notification because you are a direct> subscriber of the question.
_________________________________________________________________
Your PC, mobile phone, and online services work together like never before.
http://clk.atdmt.com/MRT/go/108587394/direct/01/

Revision history for this message
Tony Mugan (tmugan) said :
#8

Are you behind a proxy to get to the internet? That would explain why Firefox gets out but Synaptic doesn't.

You can set proxy settings for Synaptic also.

Revision history for this message
SusanG (sgould) said :
#9

It would be helpful if you listed the instructions for setting the proxy for SynapticWarmest Regards, Susan Gould Hope For A Home, Inc1700 N Dixie Hwy, Suite 148Boca Raton, FL 33432Ph. 561-372-1260, Fax. 561-404-4867Click To Donate

> To: <email address hidden>> From: <email address hidden>> Subject: RE: [Question #40647]: 236 updates stuck> Date: Mon, 4 Aug 2008 23:01:23 +0000> > Your question #40647 on Ubuntu changed:> https://answers.launchpad.net/ubuntu/+question/40647> > Status: Open => Answered> > Tony Mugan proposed the following answer:> Are you behind a proxy to get to the internet? That would explain why> Firefox gets out but Synaptic doesn't.> > You can set proxy settings for Synaptic also.> > -- > If this answers your question, please go to the following page to let us> know that it is solved:> https://answers.launchpad.net/ubuntu/+question/40647/+confirm?answer_id=7> > If you still need help, you can reply to this email or go to the> following page to enter your feedback:> https://answers.launchpad.net/ubuntu/+question/40647> > You received this question notification because you are a direct> subscriber of the question.
_________________________________________________________________
Express yourself with gadgets on Windows Live Spaces
http://discoverspaces.live.com?source=hmtag1&loc=us

Revision history for this message
Tony Mugan (tmugan) said :
#10

It is possible to edit the proxy settings within the SYnaptic application itself or you can manually edit according to this link

http://ubuntuforums.org/showthread.php?t=35308

Do you know if you are communicating through a proxy server to the internet? Is there anyone you can ask?
Did you configure a proxy within Firefox Preferences in order to get out on the Net?

Do you know what your proxy settings are?

Can you help with this problem?

Provide an answer of your own, or ask SusanG for more information if necessary.

To post a message you must log in.