Web lists-archives.com

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

On 12/18/2018 09:25 AM, mick crane wrote:
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.

<chuckle> Actually I suspect I conform to your suggestion. It is just that I have an atypical permutation of background, motivations, and goals.

I'm retired, have an engineering (NOT Comp Sci) background, spent decades in [engineering support, QA, QC, customer service], and a need to understand some of low level details of Debian. My long term goal is a minimalist system with a low internet data cap for retrieving packages. To that end I've occasionally done a half dozen full installs in a day.

Thank you.