cancel
Showing results for 
Search instead for 
Did you mean: 

Update problem

Community Veteran
Posts: 8,520
Thanks: 939
Fixes: 9
Registered: 02-08-2007

Update problem

Whilst attempting to update mint 11 I got the following message,
-- Error in checkAPT.py, could not refresh the list of packages
The little update icon in the task bar has now go a red cross over it.
What's the quickest way to sort this out.
Thanks
11 REPLIES
Plusnet Alumni (retired) orbrey
Plusnet Alumni (retired)
Posts: 10,540
Registered: 18-07-2007

Re: Update problem

You could try ctrl-alt-backspace, which should restart the desktop environment and let you run it again. Alternatively you could open a terminal and try running the command 'sudo apt-get update', but if neither of those work try rebooting. I'd try the terminal command first though as if that fails you should get a much more verbose error message.
Community Veteran
Posts: 5,472
Thanks: 292
Fixes: 4
Registered: 11-08-2007

Re: Update problem

You could try -
sudo apt-get -f

to try and repair any broken dependencies.
Waldo
Grafter
Posts: 473
Registered: 01-08-2007

Re: Update problem

Make that

sudo apt-get -f install
Community Veteran
Posts: 8,520
Thanks: 939
Fixes: 9
Registered: 02-08-2007

Re: Update problem

Tried that and it ran ok and gave the the option of removing 2 packages using apt-get autoremove which I did.
Unfortunately the problem remains, red cross on the update icon and following message when I try to update,
ERROR###ERROR###ERROR###ERROR###ERROR###ERROR###ERROR
W:Failed to fetch http://ppa.launchpad.net/sevenmachines/flash/ubuntu/dists/oneiric/main/binary-i386/Packages ; 404  Not Found
, W:Failed to fetch http://debian.scribus.net/debian/dists/testing/Release ; Unable to find expected entry 'non-free/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)
, W:Failed to fetch http://ppa.launchpad.net/unity/ppa/ubuntu/dists/oneiric/main/binary-i386/Packages ; 404  Not Found
, E:Some index files failed to download. They have been ignored, or old ones used instead.
Not sure what any of this means but it seems I will not be able to get any further updates !
Community Veteran
Posts: 8,520
Thanks: 939
Fixes: 9
Registered: 02-08-2007

Re: Update problem

Quote from: Matt
You could try ctrl-alt-backspace, which should restart the desktop environment and let you run it again. Alternatively you could open a terminal and try running the command 'sudo apt-get update', but if neither of those work try rebooting. I'd try the terminal command first though as if that fails you should get a much more verbose error message.

Also tried that seems to get near the end 99% but follows with the message,
Ign http://dl.google.com stable/main Translation-en
Fetched 50.1 kB in 1min 35s (527 B/s)
W: Failed to fetch http://debian.scribus.net/debian/dists/testing/Release ; Unable to find expected entry 'non-free/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http://ppa.launchpad.net/sevenmachines/flash/ubuntu/dists/oneiric/main/binary-i386/Packages ; 404  Not Found
W: Failed to fetch http://ppa.launchpad.net/unity/ppa/ubuntu/dists/oneiric/main/binary-i386/Packages ; 404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
Community Veteran
Posts: 5,169
Thanks: 478
Fixes: 20
Registered: 10-06-2010

Re: Update problem

I can't really comment on how Mint is configured by default, but your problem is that those particular ppa's no longer exist, or are no longer at those locations, or for scribus, no longer has the expected contents. So no more updates for scribus, flash, or unity (?), but unless apt is remarkably silly you should still get updates for other things.
Unless you added those PPAs yourself, I presume Mint will release an update with new locations, if anyone still cares about Mint 11.
Waldo
Grafter
Posts: 473
Registered: 01-08-2007

Re: Update problem

Quote from: gleneagles
W:Failed to fetch htp://ppa.launchpad.net/sevenmachines/flash/ubuntu/dists/oneiric/main/binary-i386/Packages  404  Not Found

That ppa is for oneiric (Ubuntu 11.10/Mint 12) - you should be using natty (Ubuntu 11.04 / Mint 11).
That aside, flash is no longer in that ppa; you should be able to install flashplugin-nonfree from the Ubuntu repos used by Mint 11.
Quote
, W:Failed to fetch htp://debian.scribus.net/debian/dists/testing/Release  Unable to find expected entry 'non-free/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)

What you should have in your /etc/apt/sources.list (or it may be under /etc/apt/sources.list.d) :
deb http://debian.scribus.net/debian/ natty main
Quote
W:Failed to fetch htp://ppa.launchpad.net/unity/ppa/ubuntu/dists/oneiric/main/binary-i386/Packages  404  Not Found
, E:Some index files failed to download. They have been ignored, or old ones used instead.

Again that refers to Ubuntu 11.10/Mint 12
If you want to try Unity just install from the Ubuntu repos Mint 11 is configured to use.
VileReynard
Seasoned Pro
Posts: 10,980
Thanks: 265
Fixes: 11
Registered: 01-09-2007

Re: Update problem

what happens if you try
Quote
wget http://ppa.launchpad.net/unity/ppa/ubuntu/dists/oneiric/main/binary-i386/Packages

(assuming you have the wget command  Cheesy

Waldo
Grafter
Posts: 473
Registered: 01-08-2007

Re: Update problem


$ wget http://ppa.launchpad.net/unity/ppa/ubuntu/dists/oneiric/main/binary-i386/Packages
--2012-03-14 05:38:49--  http://ppa.launchpad.net/unity/ppa/ubuntu/dists/oneiric/main/binary-i386/Packages
Resolving ppa.launchpad.net... 91.189.90.217
Connecting to ppa.launchpad.net|91.189.90.217|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2012-03-14 05:38:49 ERROR 404: Not Found.
VileReynard
Seasoned Pro
Posts: 10,980
Thanks: 265
Fixes: 11
Registered: 01-09-2007

Re: Update problem

Just had a look at http://ppa.launchpad.net/
The unity sub-directory does not exist - although about 5 variations do.
Which explains the 404.

Waldo
Grafter
Posts: 473
Registered: 01-08-2007

Re: Update problem

unity-team for Unity and compiz; for Ubuntu 11.10 or 12.04 only.