Can't Download?

Asked by Mike Brown on 2008-01-12

Every time I try to download some applications, I get a screen showing:http://ca.archive.ubuntu.com/ubuntu/dists/gutsy/Release: Unable to find expected entry web/binary-i386/Packages in Meta-index file (malformed Release file?)
http://ca.archive.ubuntu.com/ubuntu/dists/gutsy-updates/Release: Unable to find expected entry web/binary-i386/Packages in Meta-index file (malformed Release file?)
http://ca.archive.ubuntu.com/ubuntu/dists/gutsy-backports/Release: Unable to find expected entry web/binary-i386/Packages in Meta-index file (malformed Release file?)
http://security.ubuntu.com/ubuntu/dists/gutsy-security/Release: Unable to find expected entry web/binary-i386/Packages in Meta-index file (malformed Release file?)
Please Help!

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Wrwrwr
Solved:
2008-01-15
Last query:
2008-01-15
Last reply:
2008-01-15
Wrwrwr (wrwrwr) said : #1

Try changing download location in administration-->software sources. If this doesn't help please post your /etc/apt/sources.list file here.

Mike Brown (mslorteau) said : #2

Here's the sources.list file:

deb cdrom:[Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016)]/ gutsy main restricted
deb-src http://archive.ubuntu.com/ubuntu/ gutsy main restricted #Added by software-properties
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://ca.archive.ubuntu.com/ubuntu/ gutsy web multiverse restricted universe main
deb-src http://ca.archive.ubuntu.com/ubuntu/ gutsy web multiverse restricted universe main #Added by software-properties

## Major bug fix updates produced after the final release of the
## distribution.
deb http://ca.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted web multiverse universe
deb-src http://ca.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted web multiverse universe #Added by software-properties

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

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

## 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://ca.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted web multiverse universe
deb-src http://ca.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted web multiverse universe #Added by software-properties

## 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 gutsy partner
deb-src http://archive.canonical.com/ubuntu gutsy partner

deb http://security.ubuntu.com/ubuntu gutsy-security main restricted web multiverse universe
deb-src http://security.ubuntu.com/ubuntu gutsy-security main restricted web multiverse universe #Added by software-properties

#AUTOMATIX REPOS START

deb http://www.getautomatix.com/apt gutsy main

deb http://archive.canonical.com/ubuntu gutsy partner
#AUTOMATIX REPOS END
deb http://mirror.noreply.org/pub/tor <DISTRIBUTION> main

Dave Jones (dgjones) said : #3

You say you're trying to download some applications, which ones are trying to download?

That may help somebody else check whether its happening on their system as well.

Also, can I suggest disabling the Automatix repositories and reloading your sources (assuming you're using Synaptic) and then trying to download the applications again.

Wrwrwr (wrwrwr) said : #4

Yet another Automatix problem ... :)

Those web repositories are the problem, i don't think there is such a thing at all. Try removing them from all the lines:

deb http://ca.archive.ubuntu.com/ubuntu/ gutsy *web* multiverse restricted universe main
deb-src http://ca.archive.ubuntu.com/ubuntu/ gutsy *web* multiverse restricted universe main #Added by software-properties
deb http://security.ubuntu.com/ubuntu gutsy-security main restricted *web* multiverse universe
deb-src http://security.ubuntu.com/ubuntu gutsy-security main restricted *web* multiverse universe #Added by software-properties

You need to open sources.list with sudo to edit it, so instead of opening it normally type in a terminal (applications-->accessories):

sudo gedit /etc/apt/sources.list

If you can't still get it to work here are five lines that work for me (all updates enabled same as in yours, no automatix of course) just copy all you have somewhere and put them instead:

deb http://archive.ubuntu.com/ubuntu/ gutsy main universe restricted multiverse
deb http://security.ubuntu.com/ubuntu/ gutsy-security universe main restricted multiverse
deb http://archive.ubuntu.com/ubuntu/ gutsy-updates universe main restricted multiverse
deb http://archive.ubuntu.com/ubuntu/ gutsy-backports universe main restricted multiverse
deb http://archive.ubuntu.com/ubuntu/ gutsy-proposed universe main restricted multiverse

Mike Brown (mslorteau) said : #5

Everything worked except these two:

http://ca.archive.ubuntu.com/ubuntu/dists/gutsy-updates/Release: Unable to find expected entry web/binary-i386/Packages in Meta-index file (malformed Release file?)

http://ca.archive.ubuntu.com/ubuntu/dists/gutsy-backports/Release: Unable to find expected entry web/binary-i386/Packages in Meta-index file (malformed Release file?)

Best Wrwrwr (wrwrwr) said : #6

You seem to still have some web things in the sources.list.

Mike Brown (mslorteau) said : #7

Thanks Wrwrwr, that solved my question.

Yannis Tsop (ogiannhs) said : #8

The real question is how did those "web" got in there? I had the same problem and I know I didn't add this "web things" in sources.list. I managed repos inside synaptic, so how did it add them in there?

ubuntu_demon (ubuntu-demon) said : #9

I also have "web" mentioned in my sources.list. Maybe it came from firefox because I installed totem-mozilla through firefox.

Yes, firefox ask me about this : « Do you want to enable the following component: 'web'? »

William Grant (wgrant) said : #11

I tracked this down and fixed it this evening. See bug #202170 for details.