Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #196695 > unrolled thread

Debmirror error - balks when "?" in URL

Started byZenaan Harkness <zenaan@freedbms.net>
First post2018-06-15 08:00 +0200
Last post2018-06-16 02:50 +0200
Articles 4 — 3 participants

Back to article view | Back to linux.debian.user


Contents

  Debmirror error - balks when "?" in URL Zenaan Harkness <zenaan@freedbms.net> - 2018-06-15 08:00 +0200
    Re: Debmirror error - balks when "?" in URL Abdullah Ramazanoğlu <ar018@yahoo.com> - 2018-06-15 19:10 +0200
      Re: Debmirror error - balks when "?" in URL Ben Caradoc-Davies <ben@transient.nz> - 2018-06-16 00:30 +0200
        Re: Debmirror error - balks when "?" in URL Zenaan Harkness <zenaan@freedbms.net> - 2018-06-16 02:50 +0200

#196695 — Debmirror error - balks when "?" in URL

FromZenaan Harkness <zenaan@freedbms.net>
Date2018-06-15 08:00 +0200
SubjectDebmirror error - balks when "?" in URL
Message-ID<w0PW9-40F-3@gated-at.bofh.it>
I recently changed ISP from Telstra to iiNet, and now debmirror balks
as follows:

The problem is the iiNet debian repo mirror URL is as follows:

 http://ftp.iinet.net.au/dir.php?debian
 http://ftp.iinet.net.au/dir.php?debian/dists/stretch

(note that dodgy as question mark in the URL) and so debmirror has a
spack:


 @ERROR: Unknown module 'dir.php?debian'


Here's the general form of my humble debmirror attempt:

$ /usr/bin/debmirror --nocleanup --nosource --verbose --progress \
 --allow-dist-rename --arch=amd64 --section=main --dist=stretch \
 --host=ftp.iinet.net.au \
 --method=http \
 --root=dir.php?debian \
 --diff=none --exclude-deb-section=games \
 --exclude='/Translation-.*$' \
 --include='/Translation-(en).*$' \
 --include='/Translation-en.*$' \
 /media/h500g/repos/debian/debian


Note, the relevant line of course is:
 --root=dir.php?debian \

and I've tried variants such as:

 --root="dir.php?debian" \
 --root='dir.php?debian' \
 '--root=dir.php?debian' \

yet each variant is not unique in its ability to cause the module
innards of debmirror to spuke.


If anyone knows how to modify this annoying URL such that debmirror
will humbly continue on its way, I would be much obliged.

Cheers,
Zenaan

[toc] | [next] | [standalone]


#196707

FromAbdullah Ramazanoğlu <ar018@yahoo.com>
Date2018-06-15 19:10 +0200
Message-ID<w10ox-2b9-1@gated-at.bofh.it>
In reply to#196695
On Fri, 15 Jun 2018 15:34:29 +1000 Zenaan Harkness said:

> I recently changed ISP from Telstra to iiNet, and now debmirror balks
> as follows:
> 
> The problem is the iiNet debian repo mirror URL is as follows:
> 
>  http://ftp.iinet.net.au/dir.php?debian
>  http://ftp.iinet.net.au/dir.php?debian/dists/stretch
> 
> (note that dodgy as question mark in the URL) and so debmirror has a
> spack:
> 
> 
>  @ERROR: Unknown module 'dir.php?debian'

I have followed the mirror link you have given for a random package, up to:

http://ftp.iinet.net.au/dir.php?debian/pool/contrib/a/afbinit

There I have noted the actual download link:

ftp://ftp.iinet.net.au/pub/debian/pool/contrib/a/afbinit/afbinit_1.0-4.diff.gz

And visited the main part of the link:

ftp://ftp.iinet.net.au/pub/debian/

It works.

So your sources.list entry should be along the lines of:

ftp://ftp.iinet.net.au/pub/debian/ stretch main contrib non-free

Note that http also works for that site, so the line below is equally good:

http://ftp.iinet.net.au/pub/debian/ stretch main contrib non-free

Regards
-- 
Abdullah Ramazanoğlu

[toc] | [prev] | [next] | [standalone]


#196712

FromBen Caradoc-Davies <ben@transient.nz>
Date2018-06-16 00:30 +0200
Message-ID<w15od-599-1@gated-at.bofh.it>
In reply to#196707
On 16/06/18 05:01, Abdullah Ramazanoğlu wrote:
> Note that http also works for that site, so the line below is equally good:
> http://ftp.iinet.net.au/pub/debian/  stretch main contrib non-free

<http://ftp.iinet.net.au/debian/debian/> was the URL I used for years 
when I used iiNet in Perth. It is still the URL published in the Debian 
mirrors list <https://www.debian.org/mirror/list>.

Kind regards,

-- 
Ben Caradoc-Davies <ben@transient.nz>
Director
Transient Software Limited <https://transient.nz/>
New Zealand

[toc] | [prev] | [next] | [standalone]


#196715

FromZenaan Harkness <zenaan@freedbms.net>
Date2018-06-16 02:50 +0200
Message-ID<w17zH-6nT-1@gated-at.bofh.it>
In reply to#196712
On Sat, Jun 16, 2018 at 10:21:02AM +1200, Ben Caradoc-Davies wrote:
> On 16/06/18 05:01, Abdullah Ramazanoğlu wrote:
> > Note that http also works for that site, so the line below is equally good:
> > http://ftp.iinet.net.au/pub/debian/  stretch main contrib non-free
> 
> <http://ftp.iinet.net.au/debian/debian/> was the URL I used for years when I used iiNet in Perth. It is still the URL
> published in the Debian mirrors list <https://www.debian.org/mirror/list>.
> 
> Kind regards,

Thank you both. Really appreciated,

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web