Wednesday, May 8, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 2297  / 2 Years ago, sat, february 12, 2022, 2:03:40

Before i start, i've tried the solution from this thread



How do I remove a malformed line from my sources.list?



but unfortunately, the steps performed in that thread are already covered for me.
The error I'm getting is:



Malformed line 3 in source list /etc/apt/sources.list.d/cloudarchive-havana.list (dist)
E: The list of sources could not be read.


I'm not too sure what is causing this but it won't allow me to use the ubuntu software center or perform any updates.



Here is the output from the malformed directory:



deb http://ubuntu-cloud.archive.canonical.com/ubuntu precise-updates/havana main

deb-src http://ubuntu-cloud.archive.canonical.com/ubuntu precise-updates/havana main

deb http://docs.openstack.org/havana/install-guide/install/apt/content/basics-packages.html


Can anyone point me in the direction of a solution please?


More From » 12.04

 Answers
1

Why is there a html page in your sources?



deb http://docs.openstack.org/havana/install-guide/install/apt/content/basics-packages.html


This does not belong in sources.list since it is not of a normal format.



Compare it to the other 2 and you will see the sources.list needs 4 sections and there are only 2 on this like. It is missing precise-updates/havana and main


[#26099] Saturday, February 12, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
atetamme

Total Points: 11
Total Questions: 121
Total Answers: 109

Location: Puerto Rico
Member since Sun, Jun 27, 2021
3 Years ago
;