Unable to retrieve updates with update manager

Asked by Ben Beldock

Dear Launchpad,

[Note: I am in agreement with the code of conduct and I will get the key and sign it asap.]

That being said I have experienced a few problems recently again with my Toshiba with only 1/2gig RAM (I intend to go up to 2gig soon) and my Oneiric Ocelot "build," (IE., I accept every update that update-manager tells me to, without any notion of its need or suitability to my purposes, alas. Thus I am sort of an example of a "dumb consumer" of Ubuntu.) and here is a description of some of the recent changes and events.

I have lost connectivity to the internet- the indicator suggests that I am connected, but there is no connection to Ubuntu, Canonical or any other part of the web. I am using the Firefox 13 browser.

[Have read latest security notices now and see there are a variety of issues. My first will be regaining connectivity.]

This happened after a few events, more or less in the following order:

I turned on the ufw but did not configure it, so whatever the default or state it was in is what there is. (Since starting with Ubuntu on this computer, I have not had ufw until this. I turned it on because I thought I should and hadn't previously because I wasn't sure how to do it.) I tried the gufw, thinking it might be a better choice for me, but it appeared unresponsive and I removed it. (Is the firewall blocking connectivity? It did not do so at first, so maybe that's not the problem.)

I connected through wi-fi at a cafe and received a warning that the connection was not advisable, but I went through with connecting with them anyway. I cannot much remember and did not record the explanation exactly but there was something about, "the connection is a business/private server and is not recommended." This message was accompanied by an "i" icon. I connected at this same cafe later in the day. (on a previous occasion at another site, I received a stronger warning than that and heeded it, but in this instance it didn't sound so critical and I ignored it.)

I inserted a flash drive with many files backed-up from a Windows computer that had developed problems and transfered some of them to "home". (THIS may be part or all of the problem? - I can delete those files, but I don't know if that would help.)

I downloaded clamav, and have ran a scan, which said there was no infection, but I cannot tell if it was based on the most recent list, and I cannot tell if freshclam has been able to or successfully update. (I suspect that clamav may be overloading the 1/2gig RAM on connection with the internet or is not working with the ufw- perhaps the ufw is blocking freshclam and all that is shutting everything else down? I don't know.)

Then I had the experience on two occasions (once at the "bad connection cafe" and another non-warning public wi-fi spot) that update-manager was not working properly- or that the packages were not actually being received. Those were updates of So it looks like the updates occurred, it says that they happened successfully, but the message I received and recorded on the second occasion was this:

 -----------------------------

W:Failed to fetch http://archive.canonical.com/ubuntu/dists/oneiric/Release.gpg Something wicked happened resolving 'archive.canonical.com:http' (-5 - No address associated with hostname)

, W:Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/oneiric/Release.gpg Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)

, W:Failed to fetch http://security.ubuntu.com/ubuntu/dists/oneiric-security/Release.gpg Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)

, W:Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/oneiric-updates/Release.gpg Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)

, W:Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/oneiric-proposed/Release.gpg Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)

, W:Failed to fetch http://archive.canonical.com/ubuntu/dists/oneiric/partner/source/Sources Something wicked happened resolving 'archive.canonical.com:http' (-5 - No address associated with hostname)

, W:Failed to fetch http://security.ubuntu.com/ubuntu/dists/oneiric-security/main/binary-i386/Packages Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)

, W:Failed to fetch http://archive.canonical.com/ubuntu/dists/oneiric/partner/binary-i386/Packages Something wicked happened resolving 'archive.canonical.com:http' (-5 - No address associated with hostname)

, W:Failed to fetch http://security.ubuntu.com/ubuntu/dists/oneiric-security/restricted/binary-i386/Packages Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)

, W:Failed to fetch http://archive.canonical.com/ubuntu/dists/oneiric/partner/i18n/Translation-en Something wicked happened resolving 'archive.canonical.com:http' (-5 - No address associated with hostname)

, W:Failed to fetch http://security.ubuntu.com/ubuntu/dists/oneiric-security/universe/binary-i386/Packages Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)

, W:Failed to fetch https://private-ppa.launchpad.net/commercial-ppa-uploaders/fullcircle-issue-60/ubuntu/dists/oneiric/main/binary-i386/Packages Couldn't resolve host 'private-ppa.launchpad.net'

, W:Failed to fetch http://security.ubuntu.com/ubuntu/dists/oneiric-security/main/i18n/Translation-en Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)

, W:Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/oneiric/main/binary-i386/Packages Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)

, W:Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/oneiric/restricted/binary-i386/Packages Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)

, W:Failed to fetch http://security.ubuntu.com/ubuntu/dists/oneiric-security/restricted/i18n/Translation-en Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)

, W:Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/oneiric/universe/binary-i386/Packages Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)

, W:Failed to fetch http://security.ubuntu.com/ubuntu/dists/oneiric-security/universe/i18n/Translation-en Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)

, W:Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/oneiric/main/i18n/Translation-en Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)

, W:Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/oneiric/restricted/i18n/Translation-en Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)

, W:Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/oneiric/universe/i18n/Translation-en Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)

, W:Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/oneiric-updates/restricted/binary-i386/Packages Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)

, W:Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/oneiric-updates/main/binary-i386/Packages Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)

, W:Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/oneiric-updates/universe/binary-i386/Packages Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)

, W:Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/oneiric-updates/main/i18n/Translation-en Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)

, W:Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/oneiric-updates/restricted/i18n/Translation-en Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)

, W:Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/oneiric-updates/universe/i18n/Translation-en Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)

, W:Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/oneiric-proposed/restricted/binary-i386/Packages Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)

, W:Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/oneiric-proposed/main/binary-i386/Packages Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)

, W:Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/oneiric-proposed/universe/binary-i386/Packages Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)

, W:Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/oneiric-proposed/main/i18n/Translation-en Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)

, W:Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/oneiric-proposed/restricted/i18n/Translation-en Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)

, W:Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/oneiric-proposed/universe/i18n/Translation-en Something wicked happened resolving 'us.archive.ubuntu.com:http' (-5 - No address associated with hostname)

, E:Some index files failed to download. They have been ignored, or old ones used instead.

--------------------------

And these were the updates that were being attempted when I received the above (second message- first was similar or is contained by second) message(s):

 -----------------

15 June at 1:40pm ESDT/USA:

unity-2d (4.12.0-0ubuntu1.1, 4.12.0-0ubuntu1.2)

unity-2d-panel (4.12.0-0ubuntu1.1, 4.12.0-0ubuntu1.2)

libapt-pkg4.11 (0.8.16~exp5ubuntu13.3, 0.8.16~exp5ubuntu13.4)

unity-2d-launcher (4.12.0-0ubuntu1.1, 4.12.0-0ubuntu1.2)

apt-transport-https (0.8.16~exp5ubuntu13.3, 0.8.16~exp5ubuntu13.4)

libunity-2d-private0 (4.12.0-0ubuntu1.1, 4.12.0-0ubuntu1.2)

apt-utils (0.8.16~exp5ubuntu13.3, 0.8.16~exp5ubuntu13.4)

apt (0.8.16~exp5ubuntu13.3, 0.8.16~exp5ubuntu13.4)

unity-2d-spread (4.12.0-0ubuntu1.1, 4.12.0-0ubuntu1.2)

apparmor (2.7.0~beta1+bzr1774-1ubuntu2, 2.7.0~beta1+bzr1774-1ubuntu2.1)

libapt-inst1.3 (0.8.16~exp5ubuntu13.3, 0.8.16~exp5ubuntu13.4)

unity-2d-places (4.12.0-0ubuntu1.1, 4.12.0-0ubuntu1.2)

11 June at 10:31pm ESDT/USA (from "not-recommended" by "i" wi-fi connection):

mysql-common (5.1.62-0ubuntu0.11.10.1, 5.163-0ubuntu0.11.10.1)

libmysqlclient16 (5.1.62-0ubuntu0.11.10.1, 5.1.63-0ubuntu0.11.10.1)

-----------------------------------------------------------------------------------

So, I have no idea what it all means, but obviously...something wicked this way comes...(sorry- couldn't resist that, really) and now I am unable to connect properly. And I have just noticed that I am having trouble with the file system- files disappearing when I move them- I can find them if I search, but I have to remember what they are called. (Which may not at all be related.)

(Is there a command for "show all files/folders"?)

I also have not been using Ubuntu One- perhaps I should start, but perhaps I cannot right now? Could back-up with a flash drive. I have a drive with mixed Windows and Ubuntu files- any problem there? Does anyone know if I can get a drive scanned remotely by a reputable company- Symantec or Kaspersky, say?

What to do? I have the following ideas:

1.) Upgrade the RAM

2.) Turn off ufw, especially if it is blocking freshclam.

3.) Disable or remove clamav.

4.) Delete any questionable downloaded files

 Other than that, I am not sure what to try and am open to any suggestions and am awaiting your reply.

 Remember that I may connect to a wi-fi source, (IE., it says I am connected) but I am not really experiencing connection.

 Thank you.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
Sam_
Solved:
Last query:
Last reply:
Revision history for this message
Best Sam_ (and-sam) said :
#1

Connect via LAN cable instead wireless.
Switch to main server in software-sources.
https://help.ubuntu.com/community/Repositories/Ubuntu#Download_Server

If enabled turn off proxies or a blocking ufw.

Make regular backups.
https://help.ubuntu.com/community/BackupYourSystem
http://www.iheartubuntu.com/2012/01/simple-backup-strategy-for-laptop.html

Revision history for this message
Ben Beldock (bbeldock) said :
#2

disabled ufw
removed clamav
-> 2gig RAM
switched to main server in software-sources

then tried with (strong) wireless instead of LAN as the connection is not mine,
and I was curious to see if it would work-

and it seems fine now!

Thank you!

Revision history for this message
Ben Beldock (bbeldock) said :
#3

Thanks Sam_, that solved my question.

Revision history for this message
AZtech (az-tech) said :
#4

Package operation failed

The installation or removal of a software package failed

installArchives() failed: Preconfiguring packages ...
Preconfiguring packages ...
Preconfiguring packages ...
Preconfiguring packages ...
dpkg: error: parsing file '/var/lib/dpkg/status' near line 29744 package 'evolution':
 `Replaces' field, invalid package name `evolution-common': character `' not allowed (only letters, digits and characters `-+._')
Error in function:

I also am unable to download any new packages from the Ubuntu Software Center.

Any assistance in resolving this would be greatly aooreciated

Revision history for this message
Ben Beldock (bbeldock) said :
#5

You might try starting a new question, as mine was considered solved.

On Sat, Jul 21, 2012 at 1:20 PM, AZtech <
<email address hidden>> wrote:

> Your question #201022 on update-manager in Ubuntu changed:
>
> https://answers.launchpad.net/ubuntu/+source/update-manager/+question/201022
>
> AZtech posted a new comment:
> Package operation failed
>
> The installation or removal of a software package failed
>
> installArchives() failed: Preconfiguring packages ...
> Preconfiguring packages ...
> Preconfiguring packages ...
> Preconfiguring packages ...
> dpkg: error: parsing file '/var/lib/dpkg/status' near line 29744 package
> 'evolution':
> `Replaces' field, invalid package name `evolution-common ': character ` '
> not allowed (only letters, digits and characters `-+._')
> Error in function:
>
> I also am unable to download any new packages from the Ubuntu Software
> Center.
>
> Any assistance in resolving this would be greatly aooreciated
>
> --
> You received this question notification because you asked the question.
>

--
Ben Beldock, LMT <http://www.amtamembers.com/benbeldock/>
MA#9951
(850) 425-5009