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

Bug#798996: marked as done (Please refer to deb.debian.org over ftp.debian.org in commented-out examples)



Your message dated Sat, 26 Jan 2019 17:42:17 +0100
with message-id <[🔎] 20190126174217.f5e0a017bf392bb093213e39@mailbox.org>
and subject line apt-setup: Please refer to deb.debian.org over ftp.debian.org in commented-out examples
has caused the Debian Bug report #798996,
regarding Please refer to deb.debian.org over ftp.debian.org in commented-out examples
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 owner@bugs.debian.org
immediately.)


-- 
798996: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798996
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt-setup
Version: 1:0.102
Severity: wishlist
Tags: patch

Hi,

Now that httpredir is under debian.org, it makes sense to refer to
httpredir.debian.org over ftp.debian.org in the (NB.) commented-out
example entries.

Patch attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-
diff --git a/generators/92updates b/generators/92updates
index d68ca89..982be73 100755
--- a/generators/92updates
+++ b/generators/92updates
@@ -47,7 +47,7 @@ else
 	echo "# are provided as examples, but you should amend them as appropriate" >> $file
 	echo "# for your mirror of choice." >> $file
 	echo "#" >> $file
-	echo "# deb http://ftp.debian.org/debian/ ${codename}-updates $dists" >> $file
+	echo "# deb http://httpredir.debian.org/debian/ ${codename}-updates $dists" >> $file
 fi
 if db_get netcfg/dhcp_options && \
    [ "$RET" = "Do not configure the network at this time" ]; then
@@ -72,7 +72,7 @@ fi
 if [ -n "$protocol" ] && [ -n "$host" ]; then
 	echo "deb-src $protocol://${host}${directory} ${codename}-updates $dists" >> $file
 else
-	echo "# deb-src http://ftp.debian.org/debian/ ${codename}-updates $dists" >> $file
+	echo "# deb-src http://httpredir.debian.org/debian/ ${codename}-updates $dists" >> $file
 fi
 
 exit $CODE
diff --git a/generators/93backports b/generators/93backports
index 1021d5f..11b12ff 100755
--- a/generators/93backports
+++ b/generators/93backports
@@ -47,7 +47,7 @@ else
 	echo "# are provided as examples, but you should amend them as appropriate" >> $file
 	echo "# for your mirror of choice." >> $file
 	echo "#" >> $file
-	echo "# deb http://ftp.debian.org/debian/ ${codename}-backports $dists" >> $file
+	echo "# deb http://httpredir.debian.org/debian/ ${codename}-backports $dists" >> $file
 fi
 if db_get netcfg/dhcp_options && \
    [ "$RET" = "Do not configure the network at this time" ]; then
@@ -72,7 +72,7 @@ fi
 if [ -n "$protocol" ] && [ -n "$host" ]; then
 	echo "deb-src $protocol://${host}${directory} ${codename}-backports $dists" >> $file
 else
-	echo "# deb-src http://ftp.debian.org/debian/ ${codename}-backports $dists" >> $file
+	echo "# deb-src http://httpredir.debian.org/debian/ ${codename}-backports $dists" >> $file
 fi
 
 exit $CODE

--- End Message ---
--- Begin Message ---
> Chris Lamb wrote:
> 
> > apt-setup: Please refer to httpredir.debian.org over
> > ftp.debian.org in commented-out examples
> 
> I find httpredir too unreliable these days, so an updated patch
> is attached that uses http://deb.debian.org instead.

This has been fixed in 
https://tracker.debian.org/news/844054/accepted-apt-setup-10127-source-all-i386-into-unstable/

So closing this (forgotten) bug.


Holger


-- 
Holger Wansing <hwansing@mailbox.org>
PGP-Finterprint: 496A C6E8 1442 4B34 8508  3529 59F1 87CA 156E B076

--- End Message ---

Reply to: