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

Asserting local repository is trusted (man page problem?)



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
Uses the archive stored locally (or NFS mounted) at /home/apt/debian
for stable/main, stable/contrib, and stable/non-free.

deb file:/home/apt/debian stable main contrib non-free

It also states:
The format for two one-line-style entries using the deb and deb-src types is:

deb [ option1=value1 option2=value2 ] uri suite [component1] [component2] [...]


https://manpages.debian.org/stretch/apt/sources.list.5.en.html states:
THE DEB AND DEB-SRC TYPES: OPTIONS
Each source entry can have options specified to modify which source is accessed and how data is acquired from it. Format, syntax and names of the options vary between the one-line-style and deb822-style formats as described, but they both have the same options available. For simplicity we list the deb822 fieldname and provide the one-line name in brackets.

and later states:
•Trusted ( trusted) is a tri-state value which defaults to APT deciding if a source is considered trusted or if warnings should be raised before e.g. packages are installed from this source.

Whats my problem?
TIA














Reply to: