[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debmirror



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.

> > Next step...
> > I'm setting up a Debian mirror (don't know if it will be very useful
> > because I already have one nearby (iweb.ca)...
> > 
> > But as I'm only carrying Buster and Bullseye (possibly the next testing
> > too).
> > 
> With only the security update mirror.
> Please don't write me (again) it's bad to create a local copy of
> security-update.
> 
> 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.)

Cheers,
David.


Reply to: