Web lists-archives.com

Re: Asserting local repository is trusted (man page problem?)

On 12/17/2018 02:15 AM, Richard Owlett wrote:
On 12/16/2018 10:15 PM, David wrote:
On Mon, 17 Dec 2018 at 06:04, Richard Owlett <rowlett@xxxxxxxxxxx> wrote:

My sources.list has lines of the form
deb trusted=yes file:/media/richard/debian9/dvd1 stable main contrib

When using Synaptic's "Edit->Reload Package Information" the error
message is:
E: Malformed entry 3 in list file /etc/apt/sources.list (URI parse)
E: The list of sources could not be read.
Go to the repository dialog to correct the problem.
E: _cache->open() failed, please report.

https://manpages.debian.org/stretch/apt/sources.list.5.en.html states


Whats my problem?

Reading the URL you provided above, under the heading
we find this text:
"If options should be provided they are separated by spaces and
all of them together are enclosed by square brackets ([]) included
in the line after the type separated from it with a space."

Yes that is worth at least one facepalm.

That's evidently not my only problem. It will require a fresh clean install to check out.

There are two problems:
1. There's a problem of some sort with /media/richard/debian9/dvd1
   itself -- investigating.
2. There's a side effect of originally installing system from DVD(s).
   Synaptic when doing "Edit->Reload Package Information" will not
   accept there be any existing reference to DVD(s) in sources.list.