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


Groups > linux.debian.user > #206633

Re: need sources.list example for lan with approx-server

From rlharris@oplink.net
Newsgroups linux.debian.user
Subject Re: need sources.list example for lan with approx-server
Date 2019-03-26 18:00 +0100
Message-ID <xFXAB-5O3-1@gated-at.bofh.it> (permalink)
References <xFL6p-6Hj-1@gated-at.bofh.it> <xFPWp-1d5-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 2019.03.26 03:40, David wrote:
> On Tue, 26 Mar 2019 at 14:33, <rlharris@oplink.net> wrote:
>> 
>> Would someone kindly point me to (or email me) an example sources.list
>> for machines running Debian-9 (Stretch) in a LAN with an approx 
>> server?
>> 
<snip>
> I have used approx for many releases. But I've never used Synaptic.
> I suggest to avoid using Synaptic until you have fixed command-line
> apt. Synaptic might be what caused the problem.
<snip>

I saw Debian documentation which says that "apt" has been revised to 
correct errors made when coding "apt-get".  But then I saw other 
documentation which recommended "apt-get" over "apt".  I suppose this 
question belongs in another thread...


> I don't think 'approx' is responsible for the error message you 
> provided.
> It appears to be a permissions problem of apt-get failing to read a 
> local
> file /etc/apt/trusted.gpg

I agree.


> On stretch, I don't have that file.

It appears to be created by the menu item SETTINGS -> REPOSITORY menu of 
synaptic.  I found a discussion thread about the problem:

One reply said that the trouble was caused when the SETTINGS -> 
REPOSITORY menu of synaptic was used, and that getting things running 
right again required removal of the file /etc/apt/trusted.gpg.  Another 
reply lambasted that solution; however, in my experience it worked.

However, "apt update" did not run without error, because of my botched 
editing of sources.list; I still needed a pristine copy of sources.list 
which corresponded to installation with a mirror (approx).  Thankfully, 
I found the file on another machine here, so I copied that pristine 
sources.list to the broken system.  Then I executed "apt update" and 
everything appeared to be good.

Then I started Synaptic, and RELOAD ran without error, so I used 
Synaptic to install a file I needed, and now the system appears to be 
running properly.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

need sources.list example for lan with approx-server rlharris@oplink.net - 2019-03-26 04:40 +0100
  Re: need sources.list example for lan with approx-server David <bouncingcats@gmail.com> - 2019-03-26 09:50 +0100
    Re: need sources.list example for lan with approx-server rlharris@oplink.net - 2019-03-26 18:00 +0100
      Re: need sources.list example for lan with approx-server David <bouncingcats@gmail.com> - 2019-03-27 01:10 +0100
        Re: need sources.list example for lan with approx-server Greg Wooledge <wooledg@eeg.ccf.org> - 2019-03-27 13:20 +0100
          Re: need sources.list example for lan with approx-server rlharris@oplink.net - 2019-03-27 17:50 +0100
            Re: need sources.list example for lan with approx-server Greg Wooledge <wooledg@eeg.ccf.org> - 2019-03-27 18:20 +0100
              Re: need sources.list example for lan with approx-server Curt <curty@free.fr> - 2019-03-27 18:40 +0100
            Re: need sources.list example for lan with approx-server Curt <curty@free.fr> - 2019-03-27 18:20 +0100
          Re: need sources.list example for lan with approx-server Brian <ad44@cityscape.co.uk> - 2019-03-27 21:10 +0100
          Re: need sources.list example for lan with approx-server Andrei POPESCU <andreimpopescu@gmail.com> - 2019-06-07 08:40 +0200

csiph-web