On 2018-12-18 15:07, Richard Owlett wrote:
On 12/16/2018 01:03 PM, Richard Owlett 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.
There were three problems -- one mine, two Synaptic's.
Mine was the content of sources.list .
As was pointed out
deb trusted=yes file:/media/richard/debian9/dvd1 stable main contrib
should have been
deb [ trusted=yes ] file:/media/richard/debian9/dvd1 stable main
contrib
The Synaptic problems were:
1. There's a side effect of originally installing system from DVD(s).
Synaptic when doing "Edit->Reload Package Information" will not
accept there being any existing reference to DVD(s) in sources.list.
2. Although Synaptic has no problems with processing Packages.gz from
a DVD it requires it to have been unzipped when reading from a disk.
I've got into trouble for replying to list emails in the past but I
would advise rather than worrying about understanding everything that
comes along get something you want the computer to do and worry about
those bits.
mick
--
Key ID 4BFEBB31