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


Groups > linux.debian.user > #196695

Debmirror error - balks when "?" in URL

From Zenaan Harkness <zenaan@freedbms.net>
Newsgroups linux.debian.user
Subject Debmirror error - balks when "?" in URL
Date 2018-06-15 08:00 +0200
Message-ID <w0PW9-40F-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

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

csiph-web