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 contribWhen 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.