[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



On Mon, 17 Dec 2018 at 06:04, Richard Owlett <rowlett@cloud85.net> 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

[snipped]

> Whats my problem?
> TIA

Reading the URL you provided above, under the heading
ONE-LINE-STYLE FORMAT
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.


Reply to: