Page 1 of 1

[SOLVED] apt update failure.

Posted: Mon Apr 08, 2013 2:58 am
by cutechaps
I am running mint 14 nadia, 64 bit version and when I run apt-get update, it gives me following errors and warning. Any idea how to clear it.

Error:
W: Failed to fetch http://glug.nith.ac.in/ubuntu/archives/ ... al/Release Unable to find expected entry 'main/binary-i686/Packages' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://repo.mate-desktop.org/ubuntu/dis ... al/Release Unable to find expected entry 'main/binary-i686/Packages' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://packages.mate-desktop.org/repo/u ... al/Release Unable to find expected entry 'main/binary-i686/Packages' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://packages.linuxmint.com/dists/nadia/Release Unable to find expected entry 'main/binary-i686/Packages' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://archive.canonical.com/ubuntu/dis ... al/Release Unable to find expected entry 'partner/binary-i686/Packages' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://packages.medibuntu.org/dists/quantal/Release Unable to find expected entry 'free/binary-i686/Packages' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://archive.canonical.com/dists/natty/Release Unable to find expected entry 'partner/binary-i686/Packages' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch https://download.01.org/gfx/ubuntu/12.1 ... tu/Release Unable to find expected entry '12.10/binary-i686/Packages' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://archive.removed/ubuntu/dists/ ... eb/Release Unable to find expected entry 'apps/binary-i686/Packages' in Release file (Wrong sources.list entry or malformed file)

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


Source.list File:

deb http://packages.linuxmint.com/ nadia main upstream import backport
deb http://archive.canonical.com/ubuntu/ quantal partner
deb http://packages.medibuntu.org/ quantal free non-free

deb http://archive.removed/ubuntu quantal-removed apps
deb http://archive.canonical.com/ natty partner
deb http://packages.mate-desktop.org/repo/ubuntu quantal main
deb http://repo.mate-desktop.org/ubuntu quantal main
deb http://glug.nith.ac.in/ubuntu/archives/ quantal main universe restricted multiverse

Thanks in Advance...

Re: apt update failure.

Posted: Mon Apr 08, 2013 6:33 am
by kc1di
Hello cutechaps and welcome to mint,

in your Soruces list place a # in front on this line
deb http://archive.removed/ubuntu quantal-removed apps
save the file then run

Code: Select all

sudo apt-get update 
again.

you'll have to do this with administrator privileges.

Re: apt update failure.

Posted: Mon Apr 08, 2013 10:37 am
by cutechaps
Hi

Thanks for your update

I followed your steps, still getting the below error.

Failed to fetch http://packages.linuxmint.com/dists/nadia/Release Unable to find expected entry 'main/binary-i686/Packages' in Release file (Wrong sources.list entry or malformed file)
Failed to fetch http://glug.nith.ac.in/ubuntu/archives/ ... al/Release Unable to find expected entry 'main/binary-i686/Packages' in Release file (Wrong sources.list entry or malformed file)
Failed to fetch http://archive.canonical.com/ubuntu/dis ... al/Release Unable to find expected entry 'partner/binary-i686/Packages' in Release file (Wrong sources.list entry or malformed file)
Failed to fetch https://download.01.org/gfx/ubuntu/12.1 ... tu/Release Unable to find expected entry '12.10/binary-i686/Packages' in Release file (Wrong sources.list entry or malformed file)
Failed to fetch http://archive.canonical.com/dists/natty/Release Unable to find expected entry 'partner/binary-i686/Packages' in Release file (Wrong sources.list entry or malformed file)
Failed to fetch http://packages.medibuntu.org/dists/quantal/Release Unable to find expected entry 'free/binary-i686/Packages' in Release file (Wrong sources.list entry or malformed file)
Failed to fetch http://repo.mate-desktop.org/ubuntu/dis ... al/Release Unable to find expected entry 'main/binary-i686/Packages' in Release file (Wrong sources.list entry or malformed file)
Failed to fetch http://packages.mate-desktop.org/repo/u ... al/Release Unable to find expected entry 'main/binary-i686/Packages' in Release file (Wrong sources.list entry or malformed file)
Some index files failed to download. They have been ignored, or old ones used instead.

..

Thanks

Re: apt update failure.

Posted: Mon Apr 08, 2013 1:52 pm
by cutechaps
It is fixed now

I removed the i686 arch, that solved everything....


Thanks

Re: apt update failure.

Posted: Mon Apr 08, 2013 3:50 pm
by kc1di
Glad you got it going please mark the thread as solved.

Re: apt update failure.

Posted: Tue Apr 09, 2013 1:55 am
by cutechaps
How to mark the thread as resolved...

Thanks

Re: apt update failure.

Posted: Tue Apr 09, 2013 2:48 am
by MtnDewManiac
cutechaps wrote:How to mark the thread as resolved...

Thanks
Go up to the first post, click on the edit button, and add [SOLVED] to the message's subject.