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

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

it:1 xenial InRelease
Hit:2 xenial InRelease

Hit:3 xenial-security InRelease

Ign:4 stable InRelease

Hit:5 xenial-updates InRelease

Hit:6 xenial-backports InRelease

Hit:7 stable Release

Hit:8 xenial InRelease

Hit:9 apt/stable/ InRelease

Get:11 xenial InRelease [247 kB]

Get:12 xenial/main Sources [868 kB]

Hit:13 xenial InRelease

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

Reading package lists… Done
E: Failed to fetch 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.

Submit an Answer
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.