Re: Debmirror
On Thu 29 Jul 2021 at 04:12:47 (-0400), Polyna-Maude Racicot-Summerside wrote:
> On 2021-07-29 12:58 a.m., David Wright wrote:
> > On Sun 25 Jul 2021 at 09:37:14 (-0400), Polyna-Maude Racicot-Summerside wrote:
> >>> On Sun, 25 Jul 2021, 04:41 Polyna-Maude Racicot-Summerside wrote:
> >>> On 2021-07-24 9:33 p.m., David Wright wrote:
> >>> > On Sat 24 Jul 2021 at 19:52:36 (-0400), Polyna-Maude Racicot-Summerside wrote:
> >>> >> Here are the message I get after my debmirror when I do apt-get update
> >>> >>
> >>> >> Err:31 file:/mnt/mirror/debian buster-updates/main amd64 Contents (deb)
> >>> >> File not found -
> >>> >> /mnt/mirror/debian/dists/buster-updates/main/Contents-amd64 (2: No such
> >>> >> file or directory)
> >>> >> Reading package lists... Done
> >>> >> E: Failed to fetch
> >>> >> file:/mnt/mirror/debian/dists/buster/main/Contents-amd64 File not found
> >>> >> - /mnt/mirror/debian/dists/buster/main/Contents-amd64 (2: No such file
> >>> >> or directory)
> >>> >> E: Failed to fetch
> >>> >> file:/mnt/mirror/debian/dists/buster-updates/main/Contents-amd64 File
> >>> >> not found - /mnt/mirror/debian/dists/buster-updates/main/Contents-amd64
> >>> >> (2: No such file or directory)
> >>> >>
> >>> >> The command I used for creating the mirror is
> >>> >>
> >>> >> debmirror --all --progress --verbose --method=http
> >>> >> --dist=buster,buster-updates,buster-backports
> >>> >> --section=main,contrib,non-free --arch=amd64,i386 --rsync-extra=none
> >>> >> --source --i18n --keyring /usr/share/keyrings/debian-archive-keyring.gpg
> >>> >> --root=debian --host=debian.mirror.iweb.ca <http://debian.mirror.iweb.ca> /mnt/mirror/debian
> >>> >>
> >>> >> Got idea ?
> >>> >
> >>> > --getcontents ?
> >>> >
> >>> Giving this one a try....
> >>>
> >> I'm not sure you have close to a clue what my problem is.
> >> Because when I simply change my repository to the usual Debian one, I
> >> can do my apt cache update properly.
> >
> > and then
> >
> > On Mon 26 Jul 2021 at 01:12:14 (-0400), Polyna-Maude Racicot-Summerside wrote:
> >>>>>
> >>>>> --getcontents ?
> >>>>>
> >>>> Giving this one a try....
> >>>>
> >>>>
> >>> Gave this one a try and it worked.
> >
> > Difficult to keep up.
> >
> Difficult to keep up ?
Yes. Your first message appeared to say that I hadn't a clue.
The second appeared to say that my suggestion worked.
> I'll give you a hint...
> --getcontents = option for debmirror
What else would it be? You sensibly gave the debmirror command that
you typed. I merely typed man mirror and read there:
--getcontents
Additionally download Contents.<arch>.gz files. Note that these
files can be relatively big and can change frequently,
especially for the testing and unstable suites. Use of the
available diff files is strongly recommended (see the --diff
option).
and saw that you hadn't used it. So I suggested it.
> And maybe I shall have only sent this message to the person who told me
> to try --getcontents. Only wanted to say thanks for the help.
No problem.
> >> Now getting this problem :
> >>
> >> E: The repository 'file:/mnt/mirror/security-debian buster/updates
> >> Release' does not have a Release file.
> >> N: Updating from such a repository can't be done securely, and is
> >> therefore disabled by default.
> >
> > Just copy the files *Release* from the website with wget?
> > (In no way condoning what you are attempting to do.)
> >
> Yes, just copy the *Release* file.
The "*"s were wildcards, not emphasis.
> But doing things like trained monkey doesn't go nowhere.
> [ … ] First thing is understanding why, so that the
> choice I'll make …
Sure. It generally behoves one to understand any post here
before acting on it, especially when it involves security.
As I said, I don't condone what you're doing, so I'm not
going to spend time thinking about it.
BTW,
> Please don't write me (again) it's bad to create a local copy of
> security-update.
I don't think I did, in either post. But neither do I want the
appearance of supporting what you're doing, by replying to your posts.
Cheers,
David.
Reply to:
- Follow-Ups:
- Re: Debmirror
- From: Polyna-Maude Racicot-Summerside <debian@polynamaude.com>
- References:
- Debmirror
- From: Polyna-Maude Racicot-Summerside <debian@polynamaude.com>
- Re: Debmirror
- From: David Wright <deblis@lionunicorn.co.uk>
- Re: Debmirror
- From: Polyna-Maude Racicot-Summerside <debian@polynamaude.com>
- Re: Debmirror
- From: Polyna-Maude Racicot-Summerside <debian@polynamaude.com>
- Re: Debmirror
- From: Polyna-Maude Racicot-Summerside <debian@polynamaude.com>
- Re: Debmirror
- From: David Wright <deblis@lionunicorn.co.uk>
- Re: Debmirror
- From: Polyna-Maude Racicot-Summerside <debian@polynamaude.com>