Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #203417 > unrolled thread

Asserting local repository is trusted (man page problem?)

Started byRichard Owlett <rowlett@cloud85.net>
First post2018-12-16 20:10 +0100
Last post2018-12-18 19:00 +0100
Articles 13 — 6 participants

Back to article view | Back to linux.debian.user


Contents

  Asserting local repository is trusted (man page problem?) Richard Owlett <rowlett@cloud85.net> - 2018-12-16 20:10 +0100
    Re: Asserting local repository is trusted (man page problem?) songbird <songbird@anthive.com> - 2018-12-16 20:30 +0100
    Re: Asserting local repository is trusted (man page problem?) Sven Joachim <svenjoac@gmx.de> - 2018-12-16 20:30 +0100
    Re: Asserting local repository is trusted (man page problem?) songbird <songbird@anthive.com> - 2018-12-16 20:40 +0100
    Re: Asserting local repository is trusted (man page problem?) Brian <ad44@cityscape.co.uk> - 2018-12-16 21:10 +0100
    Re: Asserting local repository is trusted (man page problem?) David <bouncingcats@gmail.com> - 2018-12-17 05:20 +0100
      Re: Asserting local repository is trusted (man page problem?) Richard Owlett <rowlett@cloud85.net> - 2018-12-17 09:20 +0100
        Re: Asserting local repository is trusted (man page problem?) Richard Owlett <rowlett@cloud85.net> - 2018-12-17 15:00 +0100
          Re: Asserting local repository is trusted (man page problem?) Brian <ad44@cityscape.co.uk> - 2018-12-17 20:20 +0100
    Resolution -- Re: Asserting local repository is trusted (man page  problem?) Richard Owlett <rowlett@cloud85.net> - 2018-12-18 16:10 +0100
      Re: Resolution -- Re: Asserting local repository is trusted (man page  problem?) mick crane <mick.crane@gmail.com> - 2018-12-18 16:30 +0100
        Re: Resolution -- Re: Asserting local repository is trusted (man page  problem?) Richard Owlett <rowlett@cloud85.net> - 2018-12-18 17:20 +0100
          Re: Resolution -- Re: Asserting local repository is trusted (man  page problem?) Brian <ad44@cityscape.co.uk> - 2018-12-18 19:00 +0100

#203417 — Asserting local repository is trusted (man page problem?)

FromRichard Owlett <rowlett@cloud85.net>
Date2018-12-16 20:10 +0100
SubjectAsserting local repository is trusted (man page problem?)
Message-ID<x5JXA-547-21@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#203418

Fromsongbird <songbird@anthive.com>
Date2018-12-16 20:30 +0100
Message-ID<x5KgW-5aN-15@gated-at.bofh.it>
In reply to#203417
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.
>
> 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

  let's see that file.

  my guess is that you're missing a / character on that line, but
perhaps there's a strange character in there or something.

  if you ever suspect a strange character in a file use od to 
examine it.


  songbird

[toc] | [prev] | [next] | [standalone]


#203419

FromSven Joachim <svenjoac@gmx.de>
Date2018-12-16 20:30 +0100
Message-ID<x5KgW-5aN-11@gated-at.bofh.it>
In reply to#203417
On 2018-12-16 13:03 -0600, 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.
>
> 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] [...]

It might not be totally obvious, but the square brackets around
"option=value" need to be put verbatim in sources.list entries.  Note
the spaces after the opening and before the closing bracket.

deb [ trusted=yes ] file:/… works for me.

Cheers,
       Sven

[toc] | [prev] | [next] | [standalone]


#203420

Fromsongbird <songbird@anthive.com>
Date2018-12-16 20:40 +0100
Message-ID<x5KqC-5e2-7@gated-at.bofh.it>
In reply to#203417
Richard Owlett wrote:
... 
>> deb file:/home/apt/debian stable main contrib non-free

  you may be even missing more than one / there...


  songbird

[toc] | [prev] | [next] | [standalone]


#203421

FromBrian <ad44@cityscape.co.uk>
Date2018-12-16 21:10 +0100
Message-ID<x5KTD-5Dt-9@gated-at.bofh.it>
In reply to#203417
On Sun 16 Dec 2018 at 13:03:39 -0600, Richard Owlett wrote:

> Whats my problem?

Your ability to quote a man page is unparalled. Your understanding of
what it tells you isn't in the same ballpark. Please try harder.

-- 
Brian.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 

[toc] | [prev] | [next] | [standalone]


#203428

FromDavid <bouncingcats@gmail.com>
Date2018-12-17 05:20 +0100
Message-ID<x5SxP-1To-1@gated-at.bofh.it>
In reply to#203417
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.

[toc] | [prev] | [next] | [standalone]


#203432

FromRichard Owlett <rowlett@cloud85.net>
Date2018-12-17 09:20 +0100
Message-ID<x5Wi5-4b7-5@gated-at.bofh.it>
In reply to#203428
On 12/16/2018 10:15 PM, David wrote:
> 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.
> 
> 
> 

That's evidently not my only problem. It will require a fresh clean 
install to check out.

[toc] | [prev] | [next] | [standalone]


#203437

FromRichard Owlett <rowlett@cloud85.net>
Date2018-12-17 15:00 +0100
Message-ID<x61B7-7fT-3@gated-at.bofh.it>
In reply to#203432
On 12/17/2018 02:15 AM, Richard Owlett wrote:
> On 12/16/2018 10:15 PM, David wrote:
>> 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.
>>
> 
> That's evidently not my only problem. It will require a fresh clean 
> install to check out.
> 

There are two problems:
1. There's a problem of some sort with /media/richard/debian9/dvd1
    itself -- investigating.
2. There's a side effect of originally installing system from DVD(s).
    Synaptic when doing "Edit->Reload Package Information" will not
    accept there be any existing reference to DVD(s) in sources.list.

[toc] | [prev] | [next] | [standalone]


#203440

FromBrian <ad44@cityscape.co.uk>
Date2018-12-17 20:20 +0100
Message-ID<x66AN-26k-1@gated-at.bofh.it>
In reply to#203437
On Mon 17 Dec 2018 at 07:59:26 -0600, Richard Owlett wrote:

> On 12/17/2018 02:15 AM, Richard Owlett wrote:
> 
> There are two problems:
> 1. There's a problem of some sort with /media/richard/debian9/dvd1
>    itself -- investigating.
> 2. There's a side effect of originally installing system from DVD(s).
>    Synaptic when doing "Edit->Reload Package Information" will not
>    accept there be any existing reference to DVD(s) in sources.list.

Is this part of a blow-by-blow account of what you are doing? We have
full confidence you will find a solution. Soldier on.

-- 
Brian.

[toc] | [prev] | [next] | [standalone]


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

FromRichard Owlett <rowlett@cloud85.net>
Date2018-12-18 16:10 +0100
SubjectResolution -- Re: Asserting local repository is trusted (man page problem?)
Message-ID<x6paq-5bo-9@gated-at.bofh.it>
In reply to#203417
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.

[toc] | [prev] | [next] | [standalone]


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

Frommick crane <mick.crane@gmail.com>
Date2018-12-18 16:30 +0100
SubjectRe: Resolution -- Re: Asserting local repository is trusted (man page problem?)
Message-ID<x6ptL-5hV-1@gated-at.bofh.it>
In reply to#203446
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

[toc] | [prev] | [next] | [standalone]


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

FromRichard Owlett <rowlett@cloud85.net>
Date2018-12-18 17:20 +0100
SubjectRe: Resolution -- Re: Asserting local repository is trusted (man page problem?)
Message-ID<x6qg9-5NB-3@gated-at.bofh.it>
In reply to#203447
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.

[toc] | [prev] | [next] | [standalone]


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

FromBrian <ad44@cityscape.co.uk>
Date2018-12-18 19:00 +0100
SubjectRe: Resolution -- Re: Asserting local repository is trusted (man page problem?)
Message-ID<x6rOV-6Ai-5@gated-at.bofh.it>
In reply to#203448
On Tue 18 Dec 2018 at 10:10:21 -0600, Richard Owlett wrote:

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

You have no more atypical desires and are no more special than many
other Debian users.
 
> 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.

Getting a minimal system is easy. You are aware of two accounts on
the wiki which you have never criticised. Whether you have ever tried
them is a different matter.

-- 
Brian.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web