[DPKG] Fails to install package with UTF-8 filenames on any UTF-8 locale
Bug #28163 reported by
Debian Bug Importer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dpkg (Debian) |
Fix Released
|
Unknown
|
|||
dpkg (Ubuntu) |
Invalid
|
High
|
Scott James Remnant (Canonical) |
Bug Description
Automatically imported from Debian bug report #346436 http://
To post a comment you must log in.
Message-ID: <email address hidden>
Date: Sun, 08 Jan 2006 01:27:14 +0200
From: Konstantinos Margaritis <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: [DPKG] Fails to install package with UTF-8 filenames on any UTF-8 locale
--===== ======= ===0858751245= = Transfer- Encoding: 7bit Disposition: inline
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-
Content-
Package: dpkg
Version: 1.13.11.0.1
Severity: serious
I created a package to be used in Greek Debian- Edu/Skolelinux
installations, which includes many Greek (UTF-8) filenames, but dpkg fails
to install it on any UTF-8 locale I tried (el_GR, en_GB, en_US, pt_BR,
fr_FR).UTF-8. This was reproduced by others in #debian-devel channel.
When using a UTF-8 locale, dpkg falls into some kind of endless loop and
fails with a 'Cannot allocate memory' error (debug log of dpkg with when
run thus:
# dpkg -D7777 -i /home/markos/ Debian/ ancient- greek-literatur e/ancient- greek-literatur e_1.0-1_ all.deb
is attached)
The package is located at:
http:// people. debian. org/~markos/ ancient- greek-literatur e/ancient- greek-literatur e_1.0-1_ all.deb
(with accompanying sources)
Thanks
Konstantinos
-- System Information: el_GR.UTF- 8 (charmap=UTF-8)
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12
Locale: LANG=el_GR.UTF-8, LC_CTYPE=
Versions of packages dpkg depends on:
ii coreutils [textutils] 5.2.1-2.1 The GNU core utilities
ii libc6 2.3.5-8 GNU C Library: Shared libraries an
dpkg recommends no packages.
-- no debconf information
--===== ======= ===0858751245= = Transfer- Encoding: 8bit Disposition: attachment; filename="dpkg.out"
MIME-Version: 1.0
Content-
Content-Type: text/plain; charset="utf-8"
Content-
D000010: ensure_ pathname_ nonexisting `/var/lib/ dpkg/tmp. ci' greek-literatur e. greek-literatur e (from .../ancient- greek-literatur e_1.0-1_ all.deb) ... s=not installed script_ new nonexistent preinst `/var/lib/ dpkg/tmp. ci/preinst' pathname_ nonexisting `/..dpkg-new' pathname_ nonexisting `/..dpkg-tmp' pathname_ nonexisting `/usr.dpkg-new' pathname_ nonexisting `/usr.dpkg-tmp' `./usr/ bin' Mode=755 owner=0.0 Type=53(d) ti->LinkName=`' namenode=`/usr/bin' flags=2 instead=`<none>'...
Selecting previously deselected package ancient-
(Reading database ... 174755 files and directories currently installed.)
Unpacking ancient-
D000001: process_archive oldversionstatu
D000002: maintainer_
D000010: tarobject ti->Name=`.' Mode=755 owner=0.0 Type=53(d) ti->LinkName=`' namenode=`/.' flags=2 instead=`<none>'
D000100: setupvnamevbs main=`/.' tmp=`/..dpkg-tmp' new=`/..dpkg-new'
D000100: tarobject already exists
D000100: tarobject Directory exists
D000010: ensure_
D000010: ensure_
D000010: tarobject ti->Name=`./usr' Mode=755 owner=0.0 Type=53(d) ti->LinkName=`' namenode=`/usr' flags=2 instead=`<none>'
D000100: setupvnamevbs main=`/usr' tmp=`/usr.dpkg-tmp' new=`/usr.dpkg-new'
D000100: tarobject already exists
D000100: tarobject Directory exists
D000010: ensure_
D000010: ensure_
D000010: tarobject ti->Name=