Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #209509
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Using ISO image of installer DVD as repository - How? |
| Date | 2019-06-02 00:20 +0200 |
| Message-ID | <y4kw1-5Um-1@gated-at.bofh.it> (permalink) |
| References | <y3Qoi-4bC-3@gated-at.bofh.it> <y3UBA-6HF-5@gated-at.bofh.it> <y4d1w-1g1-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sat 01 Jun 2019 at 09:12:16 (-0500), Richard Owlett wrote:
> On 05/31/2019 01:31 PM, Thomas Schmitt wrote:
> > Hi,
> >
> > new idea after googling and finding several examples like Dan Ritter's
> > proposal:
> >
> > Try the "exact path" form of "suite":
> >
> > deb file:///home/richard/dvdmount pool/main/
> > deb file:///home/richard/dvdmount pool/contrib/
> >
> > or the usual form without mentioning (demanding ?) "stretch":
> >
> > deb file:///home/richard/dvdmount pool main contrib
> >
> > Reasoning:
> >
> > You report this program message:
> > > The repository 'file:/home/richard/dvdmount/pool stretch Release'
> > > does not have a Release file.
> >
> > /mnt/iso/pool has "main" and "contrib" but no "stretch".
> >
> > man 5 sources.list says:
> >
> > deb [ options ] uri suite [component1] [component2] [...]
> > [...]
> > can specify an exact path, in which case the components must be omitted
> > and suite must end with a slash (/). This is useful for the case when
> > only a particular sub-section of the archive denoted by the URI is of
> > interest. If suite does not specify an exact path, at least one
> > component must be present.
> >
> > Suite "stretch" is neither "exact path" nor does it appear in the pool
> > tree of DVD 1.
> >
> > Further for the "exact path" case:
> >
> > In the traditional style sources.list format since only one
> > distribution can be specified per line it may be necessary to have
> > multiple lines for the same URI, if a subset of all available
> > distributions or components at that location is desired.
> >
>
> I first tried
> deb file:///home/richard/dvdmount pool main contrib
> Then
> deb file:///home/richard/dvdmount pool/main/
> deb file:///home/richard/dvdmount pool/contrib/
>
> Both gave " ... does not have a Release file" messages.
> The later also said:
> > Updating from such a repository can't be done securely, and
> > is therefore disabled by default.See apt-secure(8) manpage
> > for repository creation and user configuration details.
>
> I suspect I'm running up against two things:
> 1. Documentation (esp man pages) authors assume *ALL* readers have
> the same background they do. I don't. {I was on the other side
> ~50 years ago as an Engineering Co-op student writing the
> inspection manual for a new oscilloscope ;}
> 2. Changes in what apt identifies acceptable repositories.
>
> I'm reading or re-reading:
> https://www.debian.org/doc/manuals/debian-handbook/index.en.html
>
> https://www.debian.org/doc/manuals/aptitude/index.en.html
>
> https://manpages.debian.org/stretch/apt/apt.8.en.html
>
> https://manpages.debian.org/jessie/apt/apt.8.en.html
>
> https://wiki.debian.org/SecureApt/TufDerivedImprovements
>
> https://manpages.debian.org/stretch/apt/apt-secure.8.en.html
>
> https://manpages.debian.org/stretch/apt/sources.list.5.en.html
> with special focus on
> https://www.debian.org/doc/manuals/aptitude/index.en.html
> https://www.debian.org/doc/manuals/debian-handbook/apt.en.html
> "Chapter 6. Maintenance and Updates: The APT Tools"
>
> I intend to experiment with modifying files in /etc/apt/apt.conf.d
> rather than modifying sources.list. This will require I dedicate a
> separate machine to the experiment. I will also use that machine to
> compare stretch to earlier releases.
If you have multiple machines, then there's a method I haven't seen
mentioned, which might be worth a try. It doesn't require any unusual
configuration parameters.
Install apt-cacher-ng on one of the systems, then copy all the .debs
into /var/cache/apt-cacher-ng/_import and let it place them all into
a repository. You control the package by pointing your browser at
http://localhost:3142/acng-report.html on the caching machine, and
use the cache by inserting into /etc/apt/apt.conf a line like
Acquire::http::Proxy "http://192.168.1.NNN:3142/"
depending on your network configuration.
Cheers,
David.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Using ISO image of installer DVD as repository - How? Richard Owlett <rowlett@cloud85.net> - 2019-05-31 14:30 +0200
Re: Using ISO image of installer DVD as repository - How? Brian <ad44@cityscape.co.uk> - 2019-05-31 14:40 +0200
Re: Using ISO image of installer DVD as repository - How? Brian <ad44@cityscape.co.uk> - 2019-06-01 11:40 +0200
Re: Using ISO image of installer DVD as repository - How? Brian <ad44@cityscape.co.uk> - 2019-06-01 17:40 +0200
Re: Using ISO image of installer DVD as repository - How? Brian <ad44@cityscape.co.uk> - 2019-06-01 21:10 +0200
Re: Using ISO image of installer DVD as repository - How? Curt <curty@free.fr> - 2019-06-01 22:00 +0200
Re: Using ISO image of installer DVD as repository - How? Richard Owlett <rowlett@cloud85.net> - 2019-06-02 13:20 +0200
Re: Using ISO image of installer DVD as repository - How? Curt <curty@free.fr> - 2019-06-02 13:50 +0200
Re: Using ISO image of installer DVD as repository - How? Brian <ad44@cityscape.co.uk> - 2019-06-02 14:10 +0200
Re: Using ISO image of installer DVD as repository - How? Greg Wooledge <wooledg@eeg.ccf.org> - 2019-06-03 14:40 +0200
Re: Using ISO image of installer DVD as repository - How? Richard Owlett <rowlett@cloud85.net> - 2019-06-03 16:10 +0200
Re: Using ISO image of installer DVD as repository - How? Brian <ad44@cityscape.co.uk> - 2019-06-03 17:20 +0200
Re: Using ISO image of installer DVD as repository - How? Brian <ad44@cityscape.co.uk> - 2019-06-02 19:30 +0200
Re: Using ISO image of installer DVD as repository - How? Brian <ad44@cityscape.co.uk> - 2019-06-03 10:30 +0200
Re: Using ISO image of installer DVD as repository - How? Dan Ritter <dsr@randomstring.org> - 2019-05-31 14:40 +0200
Re: Using ISO image of installer DVD as repository - How? Richard Owlett <rowlett@cloud85.net> - 2019-05-31 15:20 +0200
Re: Using ISO image of installer DVD as repository - How? Richard Owlett <rowlett@cloud85.net> - 2019-05-31 15:40 +0200
Re: Using ISO image of installer DVD as repository - How? "Thomas Schmitt" <scdbackup@gmx.net> - 2019-05-31 16:00 +0200
Re: Using ISO image of installer DVD as repository - How? Richard Owlett <rowlett@cloud85.net> - 2019-05-31 16:10 +0200
Re: Using ISO image of installer DVD as repository - How? "Thomas Schmitt" <scdbackup@gmx.net> - 2019-05-31 20:40 +0200
Re: Using ISO image of installer DVD as repository - How? Richard Owlett <rowlett@cloud85.net> - 2019-06-01 16:20 +0200
Re: Using ISO image of installer DVD as repository - How? David Wright <deblis@lionunicorn.co.uk> - 2019-06-02 00:20 +0200
Re: Using ISO image of installer DVD as repository - How? Richard Owlett <rowlett@cloud85.net> - 2019-06-02 12:50 +0200
Re: Using ISO image of installer DVD as repository - How? Brian <ad44@cityscape.co.uk> - 2019-05-31 21:10 +0200
Re: Using ISO image of installer DVD as repository - How? Dan Ritter <dsr@randomstring.org> - 2019-05-31 15:40 +0200
Re: Using ISO image of installer DVD as repository - How? Brian <ad44@cityscape.co.uk> - 2019-05-31 21:20 +0200
Re: Using ISO image of installer DVD as repository - How? mick crane <mick.crane@gmail.com> - 2019-06-02 02:10 +0200
Re: Using ISO image of installer DVD as repository - How? Richard Owlett <rowlett@cloud85.net> - 2019-06-02 13:50 +0200
Re: Using ISO image of installer DVD as repository - How? mick crane <mick.crane@gmail.com> - 2019-06-03 07:10 +0200
Re: Using ISO image of installer DVD as repository - How? Richard Owlett <rowlett@cloud85.net> - 2019-06-03 14:00 +0200
csiph-web