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

Bug#615634: marked as done (sed use of 0 instead of 1 start addess leads to no locales behing selected)



Your message dated Thu, 24 Mar 2011 06:17:32 +0100
with message-id <f08e496c-2ef4-4a0c-98fa-1ebf6012f41b@email.android.com>
and subject line Re: Bug#615634: sed use of 0 instead of 1 start addess leads to no locales behing selected
has caused the Debian Bug report #615634,
regarding sed use of 0 instead of 1 start addess leads to no locales behing selected
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.)


-- 
615634: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=615634
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: locales
Version: 2.13-0exp2
Severity: important

In postinst:
  # Uncomment selected locales
        echo "$SELECTED_LOCALES" | while read locale ; do
            sed -i -e "0,/^[# ]*$locale *$/ s/^[# ]*$locale *$/$locale/" $LG
        done
should become :

  # Uncomment selected locales
        echo "$SELECTED_LOCALES" | while read locale ; do
            sed -i -e "1,/^[# ]*$locale *$/ s/^[# ]*$locale *$/$locale/" $LG
        done

ie sed 1, not sed 0, .

this fixes locales selection and let any locale behing generated in the non select
all use case.

best regards,
Alban

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-rc6-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages locales depends on:
ii  debconf [debconf-2.0]         1.5.38     Debian configuration management sy
ii  libc6 [glibc-2.13-1]          2.13-0exp2 Embedded GNU C Library: Shared lib

locales recommends no packages.

locales suggests no packages.

-- debconf information:
* locales/default_environment_locale: fr_FR.UTF-8
* locales/locales_to_be_generated: en_IE.UTF-8 UTF-8, en_US.UTF-8 UTF-8, fr_FR.UTF-8 UTF-8



--- End Message ---
--- Begin Message --- I found out I had busybox sed due to a faulty initramfs unpack. Closing this bug as indeed this is working with debian sed.
Sorry for the noise
Alban


--- End Message ---

Reply to: