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


Groups > linux.debian.user > #178984

Re: Where is data stored when Synaptic scans DVDs?

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: Where is data stored when Synaptic scans DVDs?
Date 2017-03-18 04:50 +0100
Message-ID <tmdxn-ec-1@gated-at.bofh.it> (permalink)
References <tm0qt-7b2-1@gated-at.bofh.it> <tm2LE-KO-15@gated-at.bofh.it> <tm6Pg-3DI-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri 17 Mar 2017 at 15:29:58 (-0500), Richard Owlett wrote:
> On 03/17/2017 11:15 AM, songbird wrote:
> >Richard Owlett wrote:
> >>As I have limited bandwidth, I install from DVDs.
> >>Also I frequently experiment with various options by doing a fresh
> >>install to a different partition.
> >>It is annoying to keep re-scanning a set of 13 DVDs.
> >>Where is the information stored?
> >>/etc/apt/sources.list is obvious, but where is the data about contents
> >>of each DVD stored?
> >
> >  man apt-get
> 
> It implies *BUT DOES _NOT_ STATE* the all the requested data is in
> the /var/lib/apt directory.

(Three levels of emphasis?)

IIRC the command to scan is apt-cdrom. Are DVDs handled any
differently? Anyway,   man apt-cdrom   says:

    "APT uses a CD-ROM ID to track which disc is currently in the drive
     and maintains a database of these IDs in /var/lib/apt/cdroms.list"

I don't think the apt suite has much choice about where to put this
information; the FHS mandates it in §5.8.1.

But I don't think /var/lib is designed to be shared between systems,
and so I think you may need to delve into the intricacies of how
the information is stored if you're going to share it in any way.

I assume you can find out which files are involved just by scanning a
disc and looking at the file timestamps. I would also assume that one
disc≡one file rather like the Packages files, but have nothing to
check this out with. If it's that simple, it then just comes down to
how the files link with the contents of cdroms.list. Looking at the
latter, I would imagine they use the GUID in there for the
lists/<filename>. I'm not sure about the -2 suffix I see in there.

> I hadn't thought of looking at apt-get when I posted, even though I
> had just chased down some differences on how synaptic and apt-get
> differed in how they logged some trans action. mea culpa ;>
> 
> >  and as i've previously said, you can copy the
> >dvds to spinning rust or a SSD and avoid all
> >future needs to reload from them again...
> 
> Yes but <smile>
> in my peculiar situation it is better to know on which DVD something
> resides than to spend ~1000 times more storage space to duplicate
> the data.

I thought you had copied your DVDs back in 2015. I remember only
because you incorrectly shouted that you'd used the past tense when
you wrote "I have copied…". No, it was also because I objected to
the word "VIOLATES" (also shouted).

> >  and futhermore, if you are doing partitions
> >you can do some minimal install to get the base
> >system going, then do a partition copy of that
> >and you'll not have to redo the previous steps
> >again to recover if you want to try something
> >else.

I presume it's those "previous steps" that interest you,
in continuance of your research into preseeding installations.

Cheers,
David.

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