Unable to update in Ubuntu 15.10
Try sudo -E apt-get update
.
For some reason this is required.
Also the software center will not work cause I don't know how to open the software centre with sudo -E
enabled...
Related videos on Youtube
asbrozek
Updated on September 18, 2022Comments
-
asbrozek over 1 year
I'm unable to run sudo apt-get update successfully for the past few days now.
When running
sudo apt-get update
from terminal, it shows error as,W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/wily/InRelease Unable to find expected entry 'main/binary-i386cddcd/Packages' in Release file (Wrong sources.list entry or malformed file) W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/wily-updates/InRelease Unable to find expected entry 'main/binary-i386cddcd/Packages' in Release file (Wrong sources.list entry or malformed file) W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/wily-security/InRelease Unable to find expected entry 'main/binary-i386cddcd/Packages' in Release file (Wrong sources.list entry or malformed file) W: Failed to fetch http://archive.canonical.com/ubuntu/dists/wily/InRelease Unable to find expected entry 'partner/binary-i386cddcd/Packages' in Release file (Wrong sources.list entry or malformed file) W: Failed to fetch http://archive.canonical.com/dists/wily/InRelease Unable to find expected entry 'partner/binary-i386cddcd/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.
And when using the Software Updater GUI to update, showing message as,
Failed to download repository information Check your Internet connection
Seems like some entry/configuration got corrupted. I tried changing the channels in the
Software & Updates
by enabling/disabling the restricted,multiverse options in Ubuntu Software tab as well as Canonical Partners option in Other Software tab.
Is there any way to reset/cleanup this repository sources list?
I could've done a re-install of Ubuntu but I'm lazy to reinstall and reconfigure all my softwares and stuff. Thanks in advance.
-
QkiZ over 8 yearsIs your internet connection is working?
-
asbrozek over 8 years@QkiZ yes i have an active internet connection.
-
asbrozek over 8 yearsThanks all for the help and suggestions. I'm unable to do any 'apt-get update' for more than a month now, so I've removed ubuntu and started using windows again. I'll try for a fresh install later. Thanks again.
-
QkiZ over 8 yearsDid you try ping
in.archive.ubuntu.com
or browsehttp://in.archive.ubuntu.com/ubuntu/dists/wily/
in internet browser? -
asbrozek over 8 years@QkiZ I posted this question from a browser only. How come internet works in browser and not in terminal? And btw, I could see the the 'apt-get update' command working properly, and it fails in the halfway.
-
amc almost 8 yearsNote that 15.10 reaches its End of Life in July 2016 (wiki.ubuntu.com/Releases) so you will want to upgrade to the latest release
-
-
asbrozek over 8 yearsIt didn't worked. Still showing same error.
-
asbrozek over 8 yearsSorry. both didn't worked.
-
riashatrafat over 8 yearsOkay this may help
-
asbrozek over 8 yearsThanks for the suggestion. Anyways, I've removed ubuntu now for a fresh installation.