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

Bug#635053: marked as done (Choose-mirror overrides mirror/suite and mirror/codename)



Your message dated Mon, 22 Aug 2011 20:48:15 +0000
with message-id <E1QvbPr-0004wO-5f@franck.debian.org>
and subject line Bug#635053: fixed in choose-mirror 2.39
has caused the Debian Bug report #635053,
regarding Choose-mirror overrides mirror/suite and mirror/codename
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.)


-- 
635053: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=635053
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: choose-mirror
Version: 2.37

Hello,

I am maintaining a repository that consists of Debian packages merged with a couple of our modifications using reprepro. I have two codenames in the repo, beta3 and beta4, but actually the system behind this is Debian Stable, so I expect that the installer would behave just as Debian Stable (squeeze).

For installs I am using the mini-iso generated from the source package and provide my own preseed file. According to the documentation:
http://d-i.alioth.debian.org/manual/en.i386/apbs04.html#preseed-mirror

I should be able to specify my own mirror server with:

d-i mirror/country string manual
d-i mirror/http/hostname string wro-linux.eu.tieto.com
d-i mirror/http/directory string /debian

# Suite to install.
d-i mirror/suite string beta4
# Suite to use for loading installer components (optional).
d-i mirror/udeb/suite string beta4

Unfortunately I noticed that choose-mirror in its choose-mirror.postinst script takes the values from /etc/lsb-release
and overrides the values provided in the preseed file:

if [ -f /etc/lsb-release ]; then
  . /etc/lsb-release
  if [ -n "$DISTRIB_CODENAME" ]; then
    db_set mirror/suite "$DISTRIB_CODENAME"
  fi
fi

Thus I am actually unable to specify the repository in any reasonable format
like I would use in sources.list:
deb http://wro-linux.eu.tieto.com/debian beta4 main

Next installation steps fail due to being unable to find the stable suite that was found in lsb-release.

I know I could use a link from beta4 to stable on the repository, but mini-iso which take preseed with beta3 suite would also end up
in 'stable' which is linked to beta4.

I also noticed that I would have to edit debootstrap as well, as it seems there is no other preseed value which actually specifies
the distribution but mirror/suite and mirror/codename, as when I changed the lsb-release package to beta3/beta4,
debootstrap fails to find the beta3/beta4 scripts in his package (while it should actually look for squeeze). But this is out of the scope.

Thus long story short:
I believe that choose-mirror should first check if the user has not specified the mirror/suite with preseed before setting his own default value.

Best regards,
Boleslaw Tokarski




--- End Message ---
--- Begin Message ---
Source: choose-mirror
Source-Version: 2.39

We believe that the bug you reported is fixed in the latest version of
choose-mirror, which is due to be installed in the Debian FTP archive:

choose-mirror-bin_2.39_i386.udeb
  to main/c/choose-mirror/choose-mirror-bin_2.39_i386.udeb
choose-mirror_2.39.dsc
  to main/c/choose-mirror/choose-mirror_2.39.dsc
choose-mirror_2.39.tar.gz
  to main/c/choose-mirror/choose-mirror_2.39.tar.gz
choose-mirror_2.39_all.udeb
  to main/c/choose-mirror/choose-mirror_2.39_all.udeb



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 635053@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <cjwatson@debian.org> (supplier of updated choose-mirror 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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 22 Aug 2011 21:33:45 +0100
Source: choose-mirror
Binary: choose-mirror choose-mirror-bin
Architecture: source all i386
Version: 2.39
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Colin Watson <cjwatson@debian.org>
Description: 
 choose-mirror - Choose mirror to install from (menu item) (udeb)
 choose-mirror-bin - Choose mirror to install from (program) (udeb)
Closes: 635053 638877
Changes: 
 choose-mirror (2.39) unstable; urgency=low
 .
   [ Tollef Fog Heen ]
   * Update URL for master mirror list. Closes: #638877
 .
   [ Otavio Salvador ]
   * Do not overwrite the contents of mirror/suite and mirror/codename in
     case those has been preseeded. Thanks to Tokarski Boleslaw
     <boleslaw.tokarski@tieto.com> for the patch. Closes: #635053.
 .
   [ Colin Watson ]
   * Fix broken check for "://" in proxy value.
 .
   [ Updated translations ]
   * Czech (cs.po) by Miroslav Kure
   * German (de.po) by Holger Wansing
   * Basque (eu.po)
   * Hebrew (he.po) by Lior Kaplan
   * Italian (it.po) by Milo Casagrande
   * Japanese (ja.po) by Kenshi Muto
   * Macedonian (mk.po) by Arangel Angov
   * Simplified Chinese (zh_CN.po) by YunQiang Su
Checksums-Sha1: 
 44a3f6a1f73d849a46b797a267efaa13ff809181 1736 choose-mirror_2.39.dsc
 58b51e20d268765c5afa397bcbbe7aa0c0cef4c4 214556 choose-mirror_2.39.tar.gz
 388749ec19ce4a2346cbcf9fffd16a7d40894ab6 948 choose-mirror_2.39_all.udeb
 0f74df1eaa5259dc0d7adca5d72ed7ebd3e9f852 183680 choose-mirror-bin_2.39_i386.udeb
Checksums-Sha256: 
 6479dbdf872d3f90f2cb4354dd4d7688893f4d0e997d47b330ead05ee9260d3a 1736 choose-mirror_2.39.dsc
 fa8a6e4b9d39d67d2d4816bc28f0e7ef522adcb0e6f77aef8c06b0b0bf3123f6 214556 choose-mirror_2.39.tar.gz
 40da291bdf2acf70253733d744c539669753084db8de2c165a5f933a4bc31625 948 choose-mirror_2.39_all.udeb
 d7a78638e114945c158bb1151a5540423a9fd6230a4e6aab65bb04a031a76fd0 183680 choose-mirror-bin_2.39_i386.udeb
Files: 
 26a95be9eb33caca1583e247dbac88ea 1736 debian-installer extra choose-mirror_2.39.dsc
 5739caebf387142988465d88142626a2 214556 debian-installer extra choose-mirror_2.39.tar.gz
 5ad044c5c9113951a7b3e69b1e133a0e 948 debian-installer extra choose-mirror_2.39_all.udeb
 2397603d4f3f3d1279648813cc54d219 183680 debian-installer extra choose-mirror-bin_2.39_i386.udeb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Colin Watson <cjwatson@debian.org> -- Debian developer

iQIVAwUBTlK+Dzk1h9l9hlALAQi5sxAAhp1HB8+fECAgl4fF5FIipCqmVNpl5aox
6z0x/ub1QpdeTHmYzAeob04p7SDICOvj6pE4I7OsPyyR4MYERH7RFv8cbw1P9mrz
1+wJQxlNFTV+dfnlEP3UBbl0X35j2bOYLBYpAnoDEO5tJohrR0TPBZQuSkmdrYGT
mmS1d4J7dzVwy+VFTLd0l4GxTbgin9dGPIW27EalJAWgbTmA1pWku499rC3QQxAi
DWNPlrnGfepGLvrCAIyKv9oL+CWCI7v/FLybO+fSCovdWgsl3NIozzhwrzosk4SF
T4pNXeSiKjiF7M13cYTXYYP3eO8Vg17eDZl/Yax3fKtXVt8cvSge1J9ItXPGbNsJ
Y0COToCxihMNhblv+7LDfCjhvEhS+ZYBZ+xbOv+kjY/F8feA1uhfAifUbWRvgs//
XkOD7r27jWVAo6pRJsQ6KLRq2TzK9KkvTf3LlcdgVo4/xfZ57IpKoeUAeESE0YrO
uQjYhfP2lVhUhX7EtbaSiDhEqqNlRc81/7cU03hCK+s94uhcWUaQ+KBPUU6sKbR9
aIhIY8noJpYXl3ognKS7LokXOrmR+hoaLQJECmxtLdrf10Pch8TVeWGwuvzi4Nrm
8L/nuRcNxHsTaIrmSnGR1KXCMdBcxcozVfgl1hBbRUGa9d84kpjbj6tpoZdqIAQX
Wvwqke56mJY=
=crhm
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: