Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #209453 > unrolled thread
| Started by | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| First post | 2019-05-31 14:30 +0200 |
| Last post | 2019-06-03 14:00 +0200 |
| Articles | 10 on this page of 30 — 8 participants |
Back to article view | Back to linux.debian.user
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
Page 2 of 2 — ← Prev page 1 [2]
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Date | 2019-06-01 16:20 +0200 |
| Message-ID | <y4d1w-1g1-3@gated-at.bofh.it> |
| In reply to | #209478 |
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.
[toc] | [prev] | [next] | [standalone]
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Date | 2019-06-02 00:20 +0200 |
| Message-ID | <y4kw1-5Um-1@gated-at.bofh.it> |
| In reply to | #209497 |
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.
[toc] | [prev] | [next] | [standalone]
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Date | 2019-06-02 12:50 +0200 |
| Message-ID | <y4wdP-4FK-3@gated-at.bofh.it> |
| In reply to | #209509 |
On 06/01/2019 05:11 PM, David Wright wrote:
> On Sat 01 Jun 2019 at 09:12:16 (-0500), Richard Owlett wrote:
>> [snip]
>>
>> 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.
>
For idiosyncratic reasons I do not have a network.
However, when I purchased the second machine, it was with the intention
of occasionally erasing the disk for new experiments. IIRC a single
machine can physically have both a server and a client. More reading to do.
You addresses a related issue, download bandwidth.
My current project is explicitly focused on using installation DVDs, or
preferably their ISO images, as a 'repository'.
Why that is my goal is long and involved.
Part of my motivation is self-education.
What I want "should just work" <chuckle>
"Why doesn't it?" is my current assignment {essay}.
[toc] | [prev] | [next] | [standalone]
| From | Brian <ad44@cityscape.co.uk> |
|---|---|
| Date | 2019-05-31 21:10 +0200 |
| Message-ID | <y3V4B-77k-1@gated-at.bofh.it> |
| In reply to | #209464 |
On Fri 31 May 2019 at 09:08:52 -0500, Richard Owlett wrote: > On 05/31/2019 08:53 AM, Thomas Schmitt wrote: > > Hi, > > > > Dan Ritter wrote: > > > > > deb file:///home/richard/dvdmount stretch main contrib > > > > Richard Owlett wrote: > > > > I now get a different error message: > > > > How about adding "/pool" to the URI ? > > > > deb file:///home/richard/dvdmount/pool stretch main contrib > > > > because i see in a mounted 9.4.0-amd64-DVD-1.iso > > > > /mnt/iso/pool/main/a/a2ps/a2ps_4.14-2_amd64.deb > > > > (The man page and wiki are remarkably diffuse about "file:".) > > > > Error message now: > > The repository 'file:/home/richard/dvdmount/pool stretch Release' > > does not have a Release file. > > I've been using Synaptic primarily for current convenience. > Would I be better off using one of the apt family of command line tools? You would be better off with a bit of lateral thinking. Your declared problem is to use the files on the ISO image of an installer DVD as repository. So, you could create a package archive from them as described at https://wiki.debian.org/Installation+Archive+USBStick and go from there. But, you say, the ISO is not being directly accessed. Quite possibly. However, the method advocated has the advantage of working and (up 'til now) nobody has come up with a working something to satisfy you. -- Brian.
[toc] | [prev] | [next] | [standalone]
| From | Dan Ritter <dsr@randomstring.org> |
|---|---|
| Date | 2019-05-31 15:40 +0200 |
| Message-ID | <y3PVf-3LF-3@gated-at.bofh.it> |
| In reply to | #209459 |
Richard Owlett wrote: > On 05/31/2019 07:30 AM, Dan Ritter wrote: > > Richard Owlett wrote: > > > With the first DVD of Debian 9.8.0 I did: > > > dd if=/dev/cdrom of=dvd.iso bs=4M > > > I edited sources.list to read > > > deb file:///home/richard/dvd.iso stretch main contrib trusted=yes > > > > > > When running Synaptic's > > > Edit->Reload Package Information > > > I receive an error message: > > > > The repository 'file:/home/richard/dvd.iso stretch Release' > > > > does not have a Release file. > > > > > > What is the problem? > > > > The problem is that the .iso is not a mounted filesystem. > > > > You could: > > > > $ mkdir /home/richard/dvdmount > > $ sudo mount /home/richard/dvd.iso /home/richard/dvdmount > > > > If it complains about the filetype, try -t udf or -t iso9660. > > It did not complain. > > > > > and then you can use this sources.list line: > > > > deb file:///home/richard/dvdmount stretch main contrib trusted=yes > > > > (or similar; I don't recall if the debian repository on disc > > starts in the root of the disc) > > I now get a different error message: > > The repository 'file:/home/richard/dvdmount stretch Release' is not signed. > > I also added "allow-insecure=yes" to sources.list with the same result. Try [trusted=yes] and/or [allow-insecure=yes] --- the brackets are part of the syntax. -dsr-
[toc] | [prev] | [next] | [standalone]
| From | Brian <ad44@cityscape.co.uk> |
|---|---|
| Date | 2019-05-31 21:20 +0200 |
| Message-ID | <y3Vei-7aL-9@gated-at.bofh.it> |
| In reply to | #209456 |
On Fri 31 May 2019 at 08:30:35 -0400, Dan Ritter wrote: > Richard Owlett wrote: > > With the first DVD of Debian 9.8.0 I did: > > dd if=/dev/cdrom of=dvd.iso bs=4M > > I edited sources.list to read > > deb file:///home/richard/dvd.iso stretch main contrib trusted=yes > > > > When running Synaptic's > > Edit->Reload Package Information > > I receive an error message: > > > The repository 'file:/home/richard/dvd.iso stretch Release' > > > does not have a Release file. > > > > What is the problem? > > The problem is that the .iso is not a mounted filesystem. Indeed. > You could: > > $ mkdir /home/richard/dvdmount > $ sudo mount /home/richard/dvd.iso /home/richard/dvdmount That command leaves users without root privileges out in the cold. udevil is one remedy on the command line to stop them shivering. Along the same lines - I imagine a modern DE can mount an ISO for a user without the need for her to become root. -- Brian.
[toc] | [prev] | [next] | [standalone]
| From | mick crane <mick.crane@gmail.com> |
|---|---|
| Date | 2019-06-02 02:10 +0200 |
| Message-ID | <y4met-71a-1@gated-at.bofh.it> |
| In reply to | #209453 |
On 2019-05-31 13:20, Richard Owlett wrote: > With the first DVD of Debian 9.8.0 I did: > dd if=/dev/cdrom of=dvd.iso bs=4M > I edited sources.list to read > deb file:///home/richard/dvd.iso stretch main contrib trusted=yes > > When running Synaptic's > Edit->Reload Package Information > I receive an error message: >> The repository 'file:/home/richard/dvd.iso stretch Release' >> does not have a Release file. > > What is the problem? > TIA I'm going to get in trouble for this but if I could offer advice. You seem more interested in the actual install process than getting it running and doing something with it. Fair enough, it is like a hobby, When came across this stuff I was the same, installed whatever distribution on awkward hardware just to see. But I had no idea what I was doing. There is so much to know and if you have a memory like a sieve like me it is really hard to grasp how it all works. These days I accept the default installation and that which is needed to do bits of image manipulation and I really like having the email and webserver software and that's it. cheers mick -- Key ID 4BFEBB31
[toc] | [prev] | [next] | [standalone]
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Date | 2019-06-02 13:50 +0200 |
| Message-ID | <y4x9T-5eM-3@gated-at.bofh.it> |
| In reply to | #209512 |
On 06/01/2019 07:08 PM, mick crane wrote: > On 2019-05-31 13:20, Richard Owlett wrote: >> With the first DVD of Debian 9.8.0 I did: >> dd if=/dev/cdrom of=dvd.iso bs=4M >> I edited sources.list to read >> deb file:///home/richard/dvd.iso stretch main contrib trusted=yes >> >> When running Synaptic's >> Edit->Reload Package Information >> I receive an error message: >>> The repository 'file:/home/richard/dvd.iso stretch Release' >>> does not have a Release file. >> >> What is the problem? >> TIA > > I'm going to get in trouble for this but if I could offer advice. > You seem more interested in the actual install process than getting it > running and doing something with it. Close ;} Debian can do every real-world task I've tried. > Fair enough, it is like a hobby, > When came across this stuff I was the same, installed whatever > distribution on awkward hardware just to see. > But I had no idea what I was doing. My 'hobby' might be described as "Why does Debian do things the way it does?" > There is so much to know and if you have a memory like a sieve like me > it is really hard to grasp how it all works. > These days I accept the default installation and that which is needed to > do bits of image manipulation and I really like having the email and > webserver software and that's it. > > cheers > > mick > >
[toc] | [prev] | [next] | [standalone]
| From | mick crane <mick.crane@gmail.com> |
|---|---|
| Date | 2019-06-03 07:10 +0200 |
| Message-ID | <y4Nol-75L-1@gated-at.bofh.it> |
| In reply to | #209524 |
On 2019-06-02 12:47, Richard Owlett wrote: > On 06/01/2019 07:08 PM, mick crane wrote: >> On 2019-05-31 13:20, Richard Owlett wrote: >>> With the first DVD of Debian 9.8.0 I did: >>> ???? dd if=/dev/cdrom of=dvd.iso bs=4M >>> I edited sources.list to read >>> ???? deb file:///home/richard/dvd.iso stretch main contrib trusted=yes >>> >>> When running Synaptic's >>> ?????? Edit->Reload Package Information >>> I receive an error message: >>>> The repository 'file:/home/richard/dvd.iso stretch Release' >>>> does not have a Release file. >>> >>> What is the problem? >>> TIA On one installation the installer requested if I would like to use the CDROM as a repository and put this line in sources.list which I later commented out because I didn't want to have to keep searching for the CD. # deb cdrom:[Debian GNU/Linux testing _Buster_ - Official Snapshot amd64 DVD Binary-1 20180326-04:08]/ buster contrib main -- Key ID 4BFEBB31
[toc] | [prev] | [next] | [standalone]
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Date | 2019-06-03 14:00 +0200 |
| Message-ID | <y4TN7-2mB-5@gated-at.bofh.it> |
| In reply to | #209541 |
On 06/03/2019 12:07 AM, mick crane wrote: > On 2019-06-02 12:47, Richard Owlett wrote: >> On 06/01/2019 07:08 PM, mick crane wrote: >>> On 2019-05-31 13:20, Richard Owlett wrote: >>>> With the first DVD of Debian 9.8.0 I did: >>>> ???? dd if=/dev/cdrom of=dvd.iso bs=4M >>>> I edited sources.list to read >>>> ???? deb file:///home/richard/dvd.iso stretch main contrib trusted=yes >>>> >>>> When running Synaptic's >>>> ?????? Edit->Reload Package Information >>>> I receive an error message: >>>>> The repository 'file:/home/richard/dvd.iso stretch Release' >>>>> does not have a Release file. >>>> >>>> What is the problem? >>>> TIA > > On one installation the installer requested if I would like to use the > CDROM as a repository and put this line in sources.list which I later > commented out because I didn't want to have to keep searching for the CD. > Due to bandwidth constraints [originally on dial-up, now just a low data cap] all but one of my installs have been from purchased DVD sets. Although I tend to accept defaults, I habitually use the installer's "Expert" mode. The closest to "...if I would like to use the CDROM as a repository..." I've been asked was if I wished to scan additional CDs. I often did. After leaving dial-up I began installing new packages from the online repositories, although I continue to upgrade my system by doing a fresh install from DVD sets.
[toc] | [prev] | [standalone]
Page 2 of 2 — ← Prev page 1 [2]
Back to top | Article view | linux.debian.user
csiph-web