[PLUG] Issues with /etc/apt/sources.list
John Jason Jordan
johnxj at gmx.com
Tue Oct 20 18:56:18 UTC 2020
On Tue, 20 Oct 2020 15:53:27 +0000 (UTC)
Derek Loree <drl at drloree.com> dijo:
>> On Tue, Oct 20, 2020 at 12:44 AM Derek Loree <drl at drloree.com
>> <mailto:drl at drloree.com>> wrote:
>>>
>>> I see the problem:
>>>
>>>> deb http://archive.ubuntu.com/ubuntu focal main restricted
>>>> deb-src http://archive.ubuntu.com/ubuntu focal restricted main
>>>> multiverse universe #Added by software-properties
>>>
>>>> deb http://archive.ubuntu.com/ubuntu focal universe
>>>
>>> This line lists two repositories, focal and universe, however,
>>> focal is listed in the first line as well.
>> I don't understand why that's a problem. It's not "two
>> repositories". It's one dstro. Focal, and one repository, Universe,
>> for that distro.
>You are correct, I thought “ubuntu” was the distro and that focal was
>just a repository.
>
>Consolidating might still be worth a try, just to see if the error
>goes away.
I finally posted on Ubuntu upgrade forums where I got the answer. It
turns out that the problem was in lines 2 and 36 (which are basically
identical - not that I could see that), not lines 4 and 37. After I
commented out line 36 the problem disappeared.
Another question is why the error messages got the line numbers wrong.
If they had given me the right numbers I might have been able to fix
it right off. Of course, I could also have fixed it easily if I had
known how to read. :(
More information about the PLUG
mailing list