Your message dated Thu, 07 May 2026 11:05:58 +0000
with message-id <[email protected]>
and subject line Bug#1135891: fixed in debmirror 1:2.48
has caused the Debian Bug report #1135891,
regarding debmirror: User-Agent blocked by Ubuntu/Launchpad repositories
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1135891: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1135891
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: debmirror
Version: 1:2.48
Severity: important
Tags: patch
Dear developers,
Since last week-end's DDOS attack, Canonical made some changes in their
infrastructure and libwww-perl's default User-Agent string
(libwww-perl/X.XX) is now blocked, making debmirror unable to mirror
Ubuntu and Launchpad repositories.
This simple patch adds a User-Agent header specific to debmirror
(debmirror/version), making it work again with those repositories.
Regards,
--
Raphaël Halimi
From 26c7c1915090a3a81bba5bce21e299e66cb83154 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rapha=C3=ABl=20Halimi?= <[email protected]>
Date: Thu, 7 May 2026 08:58:56 +0200
Subject: [PATCH] Add debmirror-specific User-Agent header
---
debmirror | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/debmirror b/debmirror
index a6dd865..bd4fdec 100755
--- a/debmirror
+++ b/debmirror
@@ -927,6 +927,7 @@ sub init_connection {
downloads_via_http() && do {
$ua = LWP::UserAgent->new(keep_alive => 1);
+ $ua->agent("debmirror/$version");
$ua->timeout($timeout);
$ua->proxy('http', $ENV{http_proxy}) if $ENV{http_proxy};
$ua->proxy('http', $proxy) if $proxy;
@@ -941,6 +942,7 @@ sub init_connection {
downloads_via_https() && do {
$ua = LWP::UserAgent->new(keep_alive => 1, ssl_opts => {
verify_hostname => ! $disable_ssl_verification });
+ $ua->agent("debmirror/$version");
$ua->timeout($timeout);
$ua->proxy('https', $ENV{https_proxy}) if $ENV{https_proxy};
$ua->proxy('https', $proxy) if $proxy;
@@ -956,6 +958,7 @@ sub init_connection {
downloads_via_ftp() && do {
if ($proxy || $ENV{ftp_proxy}) {
$ua = LWP::UserAgent->new;
+ $ua->agent("debmirror/$version");
$ua->timeout($timeout);
$ua->proxy('ftp', $proxy ? $proxy : $ENV{ftp_proxy});
}
@@ -972,6 +975,7 @@ sub init_connection {
downloads_via_file() && do {
$ua = LWP::UserAgent->new;
+ $ua->agent("debmirror/$version");
$ua->timeout($timeout);
$ua->show_progress($progress);
$host='localhost';
--
2.53.0
--- End Message ---
--- Begin Message ---
Source: debmirror
Source-Version: 1:2.48
Done: Colin Watson <[email protected]>
We believe that the bug you reported is fixed in the latest version of
debmirror, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Colin Watson <[email protected]> (supplier of updated debmirror package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 07 May 2026 11:45:40 +0100
Source: debmirror
Architecture: source
Version: 1:2.48
Distribution: unstable
Urgency: medium
Maintainer: Colin Watson <[email protected]>
Changed-By: Colin Watson <[email protected]>
Closes: 1135891
Changes:
debmirror (1:2.48) unstable; urgency=medium
.
[ Colin Watson ]
* Refresh mirror_size documentation.
.
[ Raphaël Halimi ]
* Add debmirror-specific User-Agent header (closes: #1135891).
Checksums-Sha1:
dbaa5c9029166868e210c0ceaf4d713958ea1920 1895 debmirror_2.48.dsc
4226b523d09f1782b4046e570f9f56fc44c056d3 57640 debmirror_2.48.tar.xz
0b28eb8d109ffd76eabf5e2d1898bf0383c9ef1b 94344 debmirror_2.48.git.tar.xz
1b812c794370304793a03642fca7e2a2e2996ef7 17346 debmirror_2.48_source.buildinfo
Checksums-Sha256:
50e9cc821fabd66b3c296dcb7acf8575c3d558ed3a113fef896ef9e8958e8fc8 1895
debmirror_2.48.dsc
ac79f3ccfb7c5e9b2b27bec5c10ab3ff8dd0a078c0e1182c592f364bfbd1c7ca 57640
debmirror_2.48.tar.xz
c481de312c0645d76d0575d08f0e52dfe9e824690d999538afbefb158f01757a 94344
debmirror_2.48.git.tar.xz
f57bc891adde8493cb49052efc50a92379fa7802c183db77e755c8de3463397b 17346
debmirror_2.48_source.buildinfo
Files:
413a14469999c54c819837befbc1108f 1895 net optional debmirror_2.48.dsc
fc13ab6926811a6dfdb30f0389c9bd2e 57640 net optional debmirror_2.48.tar.xz
5ea1015425de61de9e511beebe701fdc 94344 net optional debmirror_2.48.git.tar.xz
58f4cb0ca60cb5b8f39a27ef7e9e29e1 17346 net optional
debmirror_2.48_source.buildinfo
Git-Tag-Info: tag=a5f83f619c78f4debb16b9c028c15f317cb2a2e7
fp=ac0a4ff12611b6fccf01c111393587d97d86500b
Git-Tag-Tagger: Colin Watson <[email protected]>
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmn8bawACgkQYG0ITkaD
wHne8g//YE34LHn0y95r7XdkQxa/Q9dA5+e4GKjW7URK9trDLtZJveJ0g/QNp6ps
ZpwRr5LxpeOFKe+kx3OmkCXGnZjhVd3lL1LdqWvth7WK67BpICvjvNb7Oq4wrxO0
9h00GVgsBvsvQ7uBxoOg2Ttqwed4cijug7o/nktqOPUCeJcxjcAaUFa6cTMheEoR
758nWFtV0a5g3XgKHokYiVzA821AoaU6qIpPINIETqDKbECk2KkQJWoAVXKO/jhe
AWb+m50IBoYB7v5dGaOvaUT82B7xY6IRQJdGi0Z7XxDDbCkJTaEwEis6TuCAcRd9
PIiDUmzqKLeaZOJ3t4q7xBw5tCqQX2VY0NODy77eu9BoEE3cnU0i7QLMkCL+tzuH
F72Q/ArkvzyZ1q9MAavPiRMrPgcDz/Idc4hlAtlXOLxk3ZytmAmtn2phtu/0UA59
SgwELx8+tWB8dGP+mCgxNryfgreF+ArXJnH0Ibhet1+JjNXmsSkO6nvfbGc4QBdk
hVAr7IxvnzlP6kZpPtrBoZmH+B7r01MRbRMyEZwdIPSla1FHuHaUJQctqLE9uoTT
Rk8CArihp03AX1xSB775JrRDs46vSjwGUiQLfc+EBRhGgKADCY37CcuRYh3aNGfd
lsfInfziUMFqYV9w8g2eL2zARdahsva/1AFTDjrrmvvcAmGBjsU=
=Fkpg
-----END PGP SIGNATURE-----
pgplayGIU3zcq.pgp
Description: PGP signature
--- End Message ---