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


Groups > linux.debian.user > #179063

Re: Where is data stored when Synaptic scans DVDs?

From Brian <ad44@cityscape.co.uk>
Newsgroups linux.debian.user
Subject Re: Where is data stored when Synaptic scans DVDs?
Date 2017-03-21 00:10 +0100
Message-ID <tneB4-3ga-27@gated-at.bofh.it> (permalink)
References (5 earlier) <tmvNE-56R-3@gated-at.bofh.it> <tmHlM-4XF-17@gated-at.bofh.it> <tmIUy-68o-19@gated-at.bofh.it> <tmJxg-6on-23@gated-at.bofh.it> <tmX7b-7Lq-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun 19 Mar 2017 at 23:25:47 -0500, David Wright wrote:

> On Sun 19 Mar 2017 at 08:50:55 (-0500), Richard Owlett wrote:
> > On 03/19/2017 08:08 AM, David Wright wrote:
> > >[snip ;]
> > >
> > >How's the other research coming along?
> > >Did you see if there were files whose timestamps change?
> > >Did you see whether you can find the files which are apparently
> > >indexed in /var/lib/apt/cdroms.list?
> > >And if/when you find them, what are you going to use them for,
> > >in view of your new philosophy of working from the DVDs anyway?
> > 
> > It's not new. People just assumed that I would do things a certain
> > way because that would be the way they would do it.
> > I put effort into asking narrowly focused questions.
> 
> And I put effort into answering it as best I could.
> The first answer to the thread may well be correct, but
> you don't appear to have looked to see if it was correct.

The question asked is clear enough. The responses are muddy. I do not
think there is an agenda [1] here.

 > ...where is the data about contents of each DVD stored?

> I suggested /var/lib as another possibility, partly because
> I think it would be easier to eliminate. All the files in
> my /var/lib/apt are plain text, so it would be hard to hide
> the information from scanned CDs.

It isn't hidden.

> OTOH /var/cache/apt contains a couple of .bin files which
> have package names in them. Not having CDs to scan, I can't
> test the file timestamp idea. If they changed, it would
> suggest Jonathan was correct, but be trickier to prove.
> Hence checking, and possibly eliminating, /var/lib.
> Also there's the point that those .bin files may contain more
> than just some CD indexes, so sharing them between different
> systems would be high-risk.

I dug out my trusty set of Slink CDs [2] and popped CD1 into the cdrom
drive.

  root@gnome-stable:~# apt-cdrom ident
  Using CD-ROM mount point /media/cdrom/
  Mounting CD-ROM...
  Identifying... [312b07c10c39c9ce1e89be115088d562-2]
  Stored label: Debian GNU/Linux slink (2.1) 1/4 main binary-i386 section 1 SAM19990617
  Unmounting CD-ROM...

  root@gnome-stable:~# apt-cdrom add
  Using CD-ROM mount point /media/cdrom/
  Unmounting CD-ROM...
  Waiting for disc...
  Please insert a Disc in the drive and press enter
  Mounting CD-ROM...
  Identifying... [312b07c10c39c9ce1e89be115088d562-2]
  Scanning disc for index files...
  Found 4 package indexes, 0 source indexes, 0 translation indexes and 0 signatures
  This disc is called:
  'Debian GNU/Linux slink (2.1) 1/4 main binary-i386 section 1 SAM19990617'
  Reading Package Indexes... Done
  Writing new source list
  Source list entries for this disc are:
  deb cdrom:[Debian GNU/Linux slink (2.1) 1/4 main binary-i386 section 1 SAM19990617]/ slink contrib main non-US non-free
  Unmounting CD-ROM...
  Repeat this process for the rest of the CDs in your set.

A portion of the output:

  root@gnome-stable:~# ls -l /var/lib/apt/lists
  -rw-r--r-- 1 root root   873670 Mar 20 22:30 Debian%20GNU_Linux%20slink%20(2.1)%201_4%20main%20binary-i386%20section%201%20SAM19990617_dists_slink_main_binary-i386_Packages

There we are - a complete answer to the question and a completely
satisfied customer. :)

-- 
Brian

[1] I've given up on "agenda"; but not on "data". The World will
eventually see the error of its ways.

[2] I wonder whether Steve McIntyre still uses green ink to label
    his CDs.

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


Thread

Where is data stored when Synaptic scans DVDs? Richard Owlett <rowlett@cloud85.net> - 2017-03-17 14:50 +0100
  Re: Where is data stored when Synaptic scans DVDs? Jonathan Dowland <jmtd@debian.org> - 2017-03-17 15:30 +0100
  Re: Where is data stored when Synaptic scans DVDs? songbird <songbird@anthive.com> - 2017-03-17 17:20 +0100
    Re: Where is data stored when Synaptic scans DVDs? Richard Owlett <rowlett@cloud85.net> - 2017-03-17 21:40 +0100
      Re: Where is data stored when Synaptic scans DVDs? Brian <ad44@cityscape.co.uk> - 2017-03-17 22:00 +0100
        Re: Where is data stored when Synaptic scans DVDs? Richard Owlett <rowlett@cloud85.net> - 2017-03-17 23:30 +0100
        Re: Where is data stored when Synaptic scans DVDs? GiaThnYgeia <GiaThnYgeia@openmailbox.org> - 2017-03-18 18:40 +0100
          Re: Where is data stored when Synaptic scans DVDs? Brian <ad44@cityscape.co.uk> - 2017-03-18 19:00 +0100
            Re: Where is data stored when Synaptic scans DVDs? GiaThnYgeia <GiaThnYgeia@openmailbox.org> - 2017-03-18 20:30 +0100
              Re: Where is data stored when Synaptic scans DVDs? Brian <ad44@cityscape.co.uk> - 2017-03-19 00:20 +0100
                Re: Where is data stored when Synaptic scans DVDs? Richard Owlett <rowlett@cloud85.net> - 2017-03-19 12:40 +0100
                Re: Where is data stored when Synaptic scans DVDs? David Wright <deblis@lionunicorn.co.uk> - 2017-03-19 14:20 +0100
                Re: Where is data stored when Synaptic scans DVDs? Richard Owlett <rowlett@cloud85.net> - 2017-03-19 15:00 +0100
                Re: Where is data stored when Synaptic scans DVDs? David Wright <deblis@lionunicorn.co.uk> - 2017-03-20 05:30 +0100
                Re: Where is data stored when Synaptic scans DVDs? Brian <ad44@cityscape.co.uk> - 2017-03-21 00:10 +0100
                Re: Where is data stored when Synaptic scans DVDs? David Wright <deblis@lionunicorn.co.uk> - 2017-03-21 02:30 +0100
                Re: Where is data stored when Synaptic scans DVDs? Brian <ad44@cityscape.co.uk> - 2017-03-21 21:40 +0100
                Re: Where is data stored when Synaptic scans DVDs? Richard Owlett <rowlett@cloud85.net> - 2017-03-22 11:00 +0100
                Re: Where is data stored when Synaptic scans DVDs? Lisi Reisz <lisi.reisz@gmail.com> - 2017-03-21 03:30 +0100
                Re: Where is data stored when Synaptic scans DVDs? Greg Wooledge <wooledg@eeg.ccf.org> - 2017-03-21 13:20 +0100
                Re: Where is data stored when Synaptic scans DVDs? Lisi Reisz <lisi.reisz@gmail.com> - 2017-03-25 13:00 +0100
          Re: Where is data stored when Synaptic scans DVDs? Curt <curty@free.fr> - 2017-03-18 19:10 +0100
      Re: Where is data stored when Synaptic scans DVDs? David Wright <deblis@lionunicorn.co.uk> - 2017-03-18 04:50 +0100
        Re: Where is data stored when Synaptic scans DVDs? Richard Owlett <rowlett@cloud85.net> - 2017-03-18 11:40 +0100
      Re: Where is data stored when Synaptic scans DVDs? songbird <songbird@anthive.com> - 2017-03-18 19:40 +0100
        Re: Where is data stored when Synaptic scans DVDs? deloptes <deloptes@gmail.com> - 2017-03-18 20:30 +0100
          Re: Where is data stored when Synaptic scans DVDs? songbird <songbird@anthive.com> - 2017-03-19 04:00 +0100
  Re: Where is data stored when Synaptic scans DVDs? Curt <curty@free.fr> - 2017-03-18 12:00 +0100
  An INCOMPLETE solution - was [Re: Where is data stored when Synaptic  scans DVDs?] Richard Owlett <rowlett@cloud85.net> - 2017-03-23 02:10 +0100
    Re: An INCOMPLETE solution - was [Re: Where is data stored when  Synaptic scans DVDs?] Brian <ad44@cityscape.co.uk> - 2017-03-23 10:50 +0100
    Re: An INCOMPLETE solution - was [Re: Where is data stored when  Synaptic scans DVDs?] Darac Marjal <mailinglist@darac.org.uk> - 2017-03-23 11:20 +0100
      Re: An INCOMPLETE solution - was [Re: Where is data stored when  Synaptic scans DVDs?] Brian <ad44@cityscape.co.uk> - 2017-03-23 12:30 +0100
        Re: An INCOMPLETE solution - was [Re: Where is data stored when  Synaptic scans DVDs?] David Wright <deblis@lionunicorn.co.uk> - 2017-03-24 22:40 +0100
          Re: An INCOMPLETE solution - was [Re: Where is data stored when  Synaptic scans DVDs?] Curt <curty@free.fr> - 2017-03-25 12:00 +0100
            Re: An INCOMPLETE solution - was [Re: Where is data stored when  Synaptic scans DVDs?] David Wright <deblis@lionunicorn.co.uk> - 2017-03-26 00:30 +0100
              Re: An INCOMPLETE solution - was [Re: Where is data stored when  Synaptic scans DVDs?] Curt <curty@free.fr> - 2017-03-26 13:40 +0200
                Re: An INCOMPLETE solution - was [Re: Where is data stored when  Synaptic scans DVDs?] David Wright <deblis@lionunicorn.co.uk> - 2017-03-28 04:50 +0200
                Re: An INCOMPLETE solution - was [Re: Where is data stored when  Synaptic scans DVDs?] Curt <curty@free.fr> - 2017-03-28 18:20 +0200
                Re: An INCOMPLETE solution - was [Re: Where is data stored when  Synaptic scans DVDs?] David Wright <deblis@lionunicorn.co.uk> - 2017-03-28 21:10 +0200
                Re: An INCOMPLETE solution - was [Re: Where is data stored when  Synaptic scans DVDs?] Brian <ad44@cityscape.co.uk> - 2017-03-29 20:20 +0200
          Re: An INCOMPLETE solution - was [Re: Where is data stored when  Synaptic scans DVDs?] Brian <ad44@cityscape.co.uk> - 2017-03-25 14:10 +0100
            Re: An INCOMPLETE solution - was [Re: Where is data stored when  Synaptic scans DVDs?] David Wright <deblis@lionunicorn.co.uk> - 2017-03-25 22:10 +0100
              Re: An INCOMPLETE solution - was [Re: Where is data stored when  Synaptic scans DVDs?] Richard Owlett <rowlett@cloud85.net> - 2017-03-26 14:30 +0200
    Re: An INCOMPLETE solution - was [Re: Where is data stored when  Synaptic scans DVDs?] Brian <ad44@cityscape.co.uk> - 2017-03-24 19:40 +0100

csiph-web