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

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.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.