Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #177112 > unrolled thread
| Started by | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| First post | 2017-01-29 16:20 +0100 |
| Last post | 2017-02-14 22:10 +0100 |
| Articles | 13 — 4 participants |
Back to article view | Back to linux.debian.user
Having scanned set of installation DVDs... Richard Owlett <rowlett@cloud85.net> - 2017-01-29 16:20 +0100
Re: Having scanned set of installation DVDs... <tomas@tuxteam.de> - 2017-01-29 17:30 +0100
Re: Having scanned set of installation DVDs... Richard Owlett <rowlett@cloud85.net> - 2017-01-29 20:20 +0100
[FOLLOW-UP] Re: Having scanned set of installation DVDs... Richard Owlett <rowlett@cloud85.net> - 2017-02-11 23:30 +0100
Re: [FOLLOW-UP] Re: Having scanned set of installation DVDs... David Wright <deblis@lionunicorn.co.uk> - 2017-02-12 02:50 +0100
Re: [FOLLOW-UP] Re: Having scanned set of installation DVDs... Richard Owlett <rowlett@cloud85.net> - 2017-02-12 13:50 +0100
Re: [FOLLOW-UP] Re: Having scanned set of installation DVDs... songbird <songbird@anthive.com> - 2017-02-12 06:10 +0100
Re: [FOLLOW-UP] Re: Having scanned set of installation DVDs... Richard Owlett <rowlett@cloud85.net> - 2017-02-12 14:00 +0100
Re: [FOLLOW-UP] Re: Having scanned set of installation DVDs... songbird <songbird@anthive.com> - 2017-02-12 16:30 +0100
Re: [FOLLOW-UP] Re: Having scanned set of installation DVDs... Richard Owlett <rowlett@cloud85.net> - 2017-02-12 20:40 +0100
Re: [FOLLOW-UP] Re: Having scanned set of installation DVDs... songbird <songbird@anthive.com> - 2017-02-14 02:00 +0100
Re: [FOLLOW-UP] Re: Having scanned set of installation DVDs... Richard Owlett <rowlett@cloud85.net> - 2017-02-14 13:10 +0100
Re: [FOLLOW-UP] Re: Having scanned set of installation DVDs... songbird <songbird@anthive.com> - 2017-02-14 22:10 +0100
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Date | 2017-01-29 16:20 +0100 |
| Subject | Having scanned set of installation DVDs... |
| Message-ID | <t4ZqN-cH-15@gated-at.bofh.it> |
I'm tracking down some problems related to chosen install options. I expect to be making _multiple_ clean installs. Besides /etc/apt/sources.list, where is information stored after having scanned the complete set of DVDs. I wish to store it to a safe location for use after doing EACH clean install. TIA
[toc] | [next] | [standalone]
| From | <tomas@tuxteam.de> |
|---|---|
| Date | 2017-01-29 17:30 +0100 |
| Message-ID | <t50wx-QR-7@gated-at.bofh.it> |
| In reply to | #177112 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sun, Jan 29, 2017 at 09:17:34AM -0600, Richard Owlett wrote: > I'm tracking down some problems related to chosen install options. > I expect to be making _multiple_ clean installs. > Besides /etc/apt/sources.list, where is information stored after > having scanned the complete set of DVDs. > > I wish to store it to a safe location for use after doing EACH clean > install. > TIA Perhaps there are more places, but the package lists are at least in /var/lib/apt/lists one file for each source (or mirror). I haven't packages from CDROM, but I'd assume that they might end up there as well. Moreover there's a list in /var/lib/apt/cdroms.list containing references to the CDROMs themselves (what exactly is in there I can't say, but I'd expect the gory details over there: https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_debian_package_management_internals Regards - -- t -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAliOF74ACgkQBcgs9XrR2kZtIwCfXIamnCtKVrfcT8J2PNf//eDS X7AAn2LdnsSgdH5ZjzhKRHZhq8pOEEX7 =YpoX -----END PGP SIGNATURE-----
[toc] | [prev] | [next] | [standalone]
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Date | 2017-01-29 20:20 +0100 |
| Message-ID | <t53b3-2yO-7@gated-at.bofh.it> |
| In reply to | #177114 |
On 01/29/2017 10:26 AM, tomas@tuxteam.de wrote: > On Sun, Jan 29, 2017 at 09:17:34AM -0600, Richard Owlett wrote: >> I'm tracking down some problems related to chosen install options. >> I expect to be making _multiple_ clean installs. >> Besides /etc/apt/sources.list, where is information stored after >> having scanned the complete set of DVDs. >> >> I wish to store it to a safe location for use after doing EACH clean >> install. >> TIA > > Perhaps there are more places, but the package lists are at least in > /var/lib/apt/lists one file for each source (or mirror). I haven't > packages from CDROM, but I'd assume that they might end up there > as well. It looks to have everything. I'll discover whether or not it IS everything I need later this week. > > Moreover there's a list in /var/lib/apt/cdroms.list containing > references to the CDROMs themselves (what exactly is in there > I can't say, but I'd expect the gory details over there: > > https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_debian_package_management_internals I think it will be worthwhile to read the whole chapter. Only had a chance to browse its table of contents. Thank you. >
[toc] | [prev] | [next] | [standalone]
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Date | 2017-02-11 23:30 +0100 |
| Subject | [FOLLOW-UP] Re: Having scanned set of installation DVDs... |
| Message-ID | <t9Ol3-6nD-7@gated-at.bofh.it> |
| In reply to | #177117 |
On 01/29/2017 01:18 PM, Richard Owlett wrote: > On 01/29/2017 10:26 AM, tomas@tuxteam.de wrote: > >> On Sun, Jan 29, 2017 at 09:17:34AM -0600, Richard Owlett wrote: >>> I'm tracking down some problems related to chosen install options. >>> I expect to be making _multiple_ clean installs. >>> Besides /etc/apt/sources.list, where is information stored after >>> having scanned the complete set of DVDs. >>> >>> I wish to store it to a safe location for use after doing EACH clean >>> install. >>> TIA >> >> Perhaps there are more places, but the package lists are at least in >> /var/lib/apt/lists one file for each source (or mirror). I haven't >> packages from CDROM, but I'd assume that they might end up there >> as well. > > It looks to have everything. I'll discover whether or not it IS everything I > need later this week. Didn't get to it as soon as expected. Just copying /etc/apt/sources.list and /var/lib/apt/lists is not enough. Using either synaptic or apt-get I get an error message telling me to run apt-cdrom so the cdrom can be recognized. The information about what package is on which CD is present as it reports which CD it is looking for. I've not yet read https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_debian_package_management_internals . Don't know when I'll be able to follow-up further. Thanks again. > >> >> Moreover there's a list in /var/lib/apt/cdroms.list containing >> references to the CDROMs themselves (what exactly is in there >> I can't say, but I'd expect the gory details over there: >> >> >> https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_debian_package_management_internals >> > > I think it will be worthwhile to read the whole chapter. Only had a chance to > browse its table of contents. > > Thank you. > > >> > >
[toc] | [prev] | [next] | [standalone]
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Date | 2017-02-12 02:50 +0100 |
| Subject | Re: [FOLLOW-UP] Re: Having scanned set of installation DVDs... |
| Message-ID | <t9RsC-8i6-7@gated-at.bofh.it> |
| In reply to | #177718 |
[Multipart message — attachments visible in raw view] — view raw
On Sat 11 Feb 2017 at 16:25:50 (-0600), Richard Owlett wrote: > On 01/29/2017 01:18 PM, Richard Owlett wrote: > >On 01/29/2017 10:26 AM, tomas@tuxteam.de wrote: > > > >>On Sun, Jan 29, 2017 at 09:17:34AM -0600, Richard Owlett wrote: > >>>I'm tracking down some problems related to chosen install options. > >>>I expect to be making _multiple_ clean installs. > >>>Besides /etc/apt/sources.list, where is information stored after > >>>having scanned the complete set of DVDs. > >>> > >>>I wish to store it to a safe location for use after doing EACH clean > >>>install. > >>>TIA > >> > >>Perhaps there are more places, but the package lists are at least in > >>/var/lib/apt/lists one file for each source (or mirror). I haven't > >>packages from CDROM, but I'd assume that they might end up there > >>as well. > > > >It looks to have everything. I'll discover whether or not it IS everything I > >need later this week. > > Didn't get to it as soon as expected. > Just copying /etc/apt/sources.list and /var/lib/apt/lists is not enough. No, but ... > Using either synaptic or apt-get I get an error message telling me > to run apt-cdrom so the cdrom can be recognized. > The information about what package is on which CD is present as it > reports which CD it is looking for. > > I've not yet read https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_debian_package_management_internals > . > > Don't know when I'll be able to follow-up further. > Thanks again. > > > > > >> > >>Moreover there's a list in /var/lib/apt/cdroms.list containing > >>references to the CDROMs themselves (what exactly is in there > >>I can't say, but I'd expect the gory details over there: ... did you copy this too? (Example of contents attached.) > >> > >> > >>https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_debian_package_management_internals > >> > > > >I think it will be worthwhile to read the whole chapter. Only had a chance to > >browse its table of contents. > > > >Thank you. Cheers, David.
[toc] | [prev] | [next] | [standalone]
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Date | 2017-02-12 13:50 +0100 |
| Subject | Re: [FOLLOW-UP] Re: Having scanned set of installation DVDs... |
| Message-ID | <ta1Lj-6lZ-9@gated-at.bofh.it> |
| In reply to | #177726 |
On 02/11/2017 07:45 PM, David Wright wrote: > On Sat 11 Feb 2017 at 16:25:50 (-0600), Richard Owlett wrote: >> On 01/29/2017 01:18 PM, Richard Owlett wrote: >>> On 01/29/2017 10:26 AM, tomas@tuxteam.de wrote: >>> >>>> On Sun, Jan 29, 2017 at 09:17:34AM -0600, Richard Owlett wrote: >>>>> I'm tracking down some problems related to chosen install options. >>>>> I expect to be making _multiple_ clean installs. >>>>> Besides /etc/apt/sources.list, where is information stored after >>>>> having scanned the complete set of DVDs. >>>>> >>>>> I wish to store it to a safe location for use after doing EACH clean >>>>> install. >>>>> TIA >>>> >>>> Perhaps there are more places, but the package lists are at least in >>>> /var/lib/apt/lists one file for each source (or mirror). I haven't >>>> packages from CDROM, but I'd assume that they might end up there >>>> as well. >>> >>> It looks to have everything. I'll discover whether or not it IS everything I >>> need later this week. >> >> Didn't get to it as soon as expected. >> Just copying /etc/apt/sources.list and /var/lib/apt/lists is not enough. > > No, but ... > >> Using either synaptic or apt-get I get an error message telling me >> to run apt-cdrom so the cdrom can be recognized. >> The information about what package is on which CD is present as it >> reports which CD it is looking for. >> >> I've not yet read https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_debian_package_management_internals >> . >> >> Don't know when I'll be able to follow-up further. >> Thanks again. >> >> >>> >>>> >>>> Moreover there's a list in /var/lib/apt/cdroms.list containing >>>> references to the CDROMs themselves (what exactly is in there >>>> I can't say, but I'd expect the gory details over there: > > ... did you copy this too? (Example of contents attached.) How does look sheepish in ASCII ;/ One might think that being past three score and ten one might actually READ what one has LOOKED at. Owl now goes Baaaa Baaaa ... Thanks all > >>>> >>>> >>>> https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_debian_package_management_internals >>>> >>> >>> I think it will be worthwhile to read the whole chapter. Only had a chance to >>> browse its table of contents. >>> >>> Thank you. > > Cheers, > David. > > > cdroms.list > > > CD::92992b192b1db5aa8ea1f957b90a485d-2 "Debian GNU/Linux 6.0.0 _Squeeze_ - Official i386 CD Binary-1 20110205-17:27"; > CD::92992b192b1db5aa8ea1f957b90a485d-2::Label "Debian GNU/Linux 6.0.0 _Squeeze_ - Official i386 CD Binary-1 20110205-17:27"; > CD::e1ec6fcc84c6cc777fa638b8f6d5403e-2 "Debian GNU/Linux testing _Jessie_ - Official Snapshot i386 NETINST Binary-1 20150126-04:46"; > CD::e1ec6fcc84c6cc777fa638b8f6d5403e-2::Label "Debian GNU/Linux testing _Jessie_ - Official Snapshot i386 NETINST Binary-1 20150126-04:46"; >
[toc] | [prev] | [next] | [standalone]
| From | songbird <songbird@anthive.com> |
|---|---|
| Date | 2017-02-12 06:10 +0100 |
| Subject | Re: [FOLLOW-UP] Re: Having scanned set of installation DVDs... |
| Message-ID | <t9UA9-1Yw-1@gated-at.bofh.it> |
| In reply to | #177718 |
Richard Owlett wrote: ... > Didn't get to it as soon as expected. > Just copying /etc/apt/sources.list and /var/lib/apt/lists is not enough. > Using either synaptic or apt-get I get an error message telling me to run > apt-cdrom so the cdrom can be recognized. > The information about what package is on which CD is present as it reports which > CD it is looking for. years ago i copied from dvds to a subdirectory on an external USB drive. it worked ok, but i did have to tell in the apt sources list that i was using a file and not a dvd. i am pretty sure i used a "cp -r" to do it too... fwiw, :) songbird
[toc] | [prev] | [next] | [standalone]
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Date | 2017-02-12 14:00 +0100 |
| Subject | Re: [FOLLOW-UP] Re: Having scanned set of installation DVDs... |
| Message-ID | <ta1UZ-6pw-5@gated-at.bofh.it> |
| In reply to | #177732 |
On 02/11/2017 10:55 PM, songbird wrote: > Richard Owlett wrote: > ... >> Didn't get to it as soon as expected. >> Just copying /etc/apt/sources.list and /var/lib/apt/lists is not enough. >> Using either synaptic or apt-get I get an error message telling me to run >> apt-cdrom so the cdrom can be recognized. >> The information about what package is on which CD is present as it reports which >> CD it is looking for. > > years ago i copied from dvds to a subdirectory > on an external USB drive. it worked ok, but i did > have to tell in the apt sources list that i was > using a file and not a dvd. > > i am pretty sure i used a "cp -r" to do it too... > > fwiw, :) I have that on my TO-DO list. There's an additional step - creating packages.gz so apt related tools look at it as a large DVD.
[toc] | [prev] | [next] | [standalone]
| From | songbird <songbird@anthive.com> |
|---|---|
| Date | 2017-02-12 16:30 +0100 |
| Subject | Re: [FOLLOW-UP] Re: Having scanned set of installation DVDs... |
| Message-ID | <ta4g9-7XF-17@gated-at.bofh.it> |
| In reply to | #177738 |
Richard Owlett wrote: >songbird wrote: ... >> years ago i copied from dvds to a subdirectory >> on an external USB drive. it worked ok, but i did >> have to tell in the apt sources list that i was >> using a file and not a dvd. >> >> i am pretty sure i used a "cp -r" to do it too... >> >> fwiw, :) > > I have that on my TO-DO list. > There's an additional step - creating packages.gz so apt related tools look at > it as a large DVD. the package list is in there, should be no need to regenerate it. if your apt sources list points to the right directory (use file not cd or dvd in the list) it should find it and use it. i saved a ton of disk io when i was testing things out back then. i doubt the disk/structure has changed that much where this wouldn't still work. if you need the specific syntax i used for the sources list i can probably dig it up. i think i have backups. :) songbird
[toc] | [prev] | [next] | [standalone]
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Date | 2017-02-12 20:40 +0100 |
| Subject | Re: [FOLLOW-UP] Re: Having scanned set of installation DVDs... |
| Message-ID | <ta8a6-1S5-25@gated-at.bofh.it> |
| In reply to | #177747 |
On 02/12/2017 09:26 AM, songbird wrote: > Richard Owlett wrote: >> songbird wrote: > ... >>> years ago i copied from dvds to a subdirectory >>> on an external USB drive. it worked ok, but i did >>> have to tell in the apt sources list that i was >>> using a file and not a dvd. >>> >>> i am pretty sure i used a "cp -r" to do it too... >>> >>> fwiw, :) >> >> I have that on my TO-DO list. >> There's an additional step - creating packages.gz so apt related tools look at >> it as a large DVD. > > the package list is in there, should be no need > to regenerate it. > > if your apt sources list points to the right > directory (use file not cd or dvd in the list) > it should find it and use it. We have different goals/assumptions. You are creating a directory for each CD/DVD. I have a situation in mind that mounting more than one directory would be a problem. Thus my solution for Jessie would take 13 DVDs and create one humongous pseudo-DVD. P.S. I've never been described as "normal", much less "typical" ;/ > > i saved a ton of disk io when i was testing > things out back then. > > i doubt the disk/structure has changed that > much where this wouldn't still work. > > if you need the specific syntax i used for the > sources list i can probably dig it up. i think i > have backups. :) >
[toc] | [prev] | [next] | [standalone]
| From | songbird <songbird@anthive.com> |
|---|---|
| Date | 2017-02-14 02:00 +0100 |
| Subject | Re: [FOLLOW-UP] Re: Having scanned set of installation DVDs... |
| Message-ID | <tazDp-2Pb-9@gated-at.bofh.it> |
| In reply to | #177753 |
Richard Owlett wrote: > On 02/12/2017 09:26 AM, songbird wrote: >> Richard Owlett wrote: >>> songbird wrote: >> ... >>>> years ago i copied from dvds to a subdirectory >>>> on an external USB drive. it worked ok, but i did >>>> have to tell in the apt sources list that i was >>>> using a file and not a dvd. >>>> >>>> i am pretty sure i used a "cp -r" to do it too... >>>> >>>> fwiw, :) >>> >>> I have that on my TO-DO list. >>> There's an additional step - creating packages.gz so apt related tools look at >>> it as a large DVD. >> >> the package list is in there, should be no need >> to regenerate it. >> >> if your apt sources list points to the right >> directory (use file not cd or dvd in the list) >> it should find it and use it. > > We have different goals/assumptions. > You are creating a directory for each CD/DVD. > I have a situation in mind that mounting more than one directory would be a > problem. Thus my solution for Jessie would take 13 DVDs and create one humongous > pseudo-DVD. > P.S. I've never been described as "normal", much less "typical" ;/ but you do understand that i only had them copied to one device, one mount point, one directory which contained them all, but apt doesn't care, it scans them all the one time when you update and then they are available just like any other repository. really, i think you are doing more work than is needed here for no real gain in anything that i can determine. mounting the device as i did caused absolutely no problems that i recall. each disk was an entry in the apt sources list, but if i didn't need that device (it was an external USB device so not always turned on for use) i just commented out those lines in the apt sources list. songbird
[toc] | [prev] | [next] | [standalone]
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Date | 2017-02-14 13:10 +0100 |
| Subject | Re: [FOLLOW-UP] Re: Having scanned set of installation DVDs... |
| Message-ID | <taK5H-1IO-5@gated-at.bofh.it> |
| In reply to | #177780 |
On 02/13/2017 05:40 PM, songbird wrote: > Richard Owlett wrote: >> On 02/12/2017 09:26 AM, songbird wrote: >>> Richard Owlett wrote: >>>> songbird wrote: >>> ... >>>>> years ago i copied from dvds to a subdirectory >>>>> on an external USB drive. it worked ok, but i did >>>>> have to tell in the apt sources list that i was >>>>> using a file and not a dvd. >>>>> >>>>> i am pretty sure i used a "cp -r" to do it too... >>>>> >>>>> fwiw, :) >>>> >>>> I have that on my TO-DO list. >>>> There's an additional step - creating packages.gz so apt related tools look at >>>> it as a large DVD. >>> >>> the package list is in there, should be no need >>> to regenerate it. >>> >>> if your apt sources list points to the right >>> directory (use file not cd or dvd in the list) >>> it should find it and use it. >> >> We have different goals/assumptions. >> You are creating a directory for each CD/DVD. >> I have a situation in mind that mounting more than one directory would be a >> problem. Thus my solution for Jessie would take 13 DVDs and create one humongous >> pseudo-DVD. >> P.S. I've never been described as "normal", much less "typical" ;/ > > but you do understand that i only had them copied > to one device, one mount point, one directory which > contained them all, but apt doesn't care, it scans > them all the one time when you update and then they > are available just like any other repository. > > really, i think you are doing more work than is > needed here for no real gain in anything that i > can determine. > > mounting the device as i did caused absolutely > no problems that i recall. > > each disk was an entry in the apt sources list, > but if i didn't need that device (it was an > external USB device so not always turned on for > use) i just commented out those lines in the apt > sources list. > Light begins to dawn. I just carefully read manpage for sources.list . Seems that I "knew" things that just weren't so ;/ I have the morning free and will do some experimenting. Thank you for your patience.
[toc] | [prev] | [next] | [standalone]
| From | songbird <songbird@anthive.com> |
|---|---|
| Date | 2017-02-14 22:10 +0100 |
| Subject | Re: [FOLLOW-UP] Re: Having scanned set of installation DVDs... |
| Message-ID | <taSwi-6Vg-15@gated-at.bofh.it> |
| In reply to | #177785 |
Richard Owlett wrote: ... > Light begins to dawn. I just carefully read manpage for sources.list . > Seems that I "knew" things that just weren't so ;/ > I have the morning free and will do some experimenting. > Thank you for your patience. i'm glad for that, especially if it does save you tons of needless bit moving. :) songbird
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web