Question

I get error when sudo apt-get update how to resolve this problem ?

Posted May 17, 2019 6.5k views
Linux BasicsLinux CommandsUbuntu 16.04

it:1 http://ppa.launchpad.net/webupd8team/brackets/ubuntu xenial InRelease
Hit:2 http://eg.archive.ubuntu.com/ubuntu xenial InRelease

Hit:3 http://security.ubuntu.com/ubuntu xenial-security InRelease

Ign:4 http://dl.google.com/linux/chrome/deb stable InRelease

Hit:5 http://eg.archive.ubuntu.com/ubuntu xenial-updates InRelease

Hit:6 http://eg.archive.ubuntu.com/ubuntu xenial-backports InRelease

Hit:7 http://dl.google.com/linux/chrome/deb stable Release

Hit:8 https://deb.nodesource.com/node_12.x xenial InRelease

Hit:9 https://download.sublimetext.com apt/stable/ InRelease

Get:11 http://us.archive.ubuntu.com/ubuntu xenial InRelease [247 kB]

Get:12 http://us.archive.ubuntu.com/ubuntu xenial/main Sources [868 kB]

Hit:13 http://packages.ros.org/ros/ubuntu xenial InRelease

Fetched 247 kB in 2min 6s (1,953 B/s)

Reading package lists… Done
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial/InRelease Unable to find expected entry ‘deb-src/source/Sources’ 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.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
2 answers

Hi, you can just edit your /etc/apt/sources.list file and remove the problematic repository. Then the apt update should go though as normal.

have you solved the issue ?
I have this error now and can’t overcome.

Submit an Answer