libapt-pkg and apt-get are not Turkish locale safe
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Fix Released
|
Medium
|
Michael Vogt | ||
Intrepid |
Invalid
|
Undecided
|
Unassigned | ||
Jaunty |
Won't Fix
|
Medium
|
Unassigned | ||
update-manager (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Intrepid |
Invalid
|
Undecided
|
Unassigned | ||
Jaunty |
Invalid
|
Undecided
|
Unassigned |
Bug Description
libapt-pkg and apt-get use the "tolower"/"toupper" and
"strcasecmp"
locale-dependent. In the Turkish locale, toupper('i') != 'I'
and tolower('I') != 'i'. Package headers are hashed using
"tolower" in the user's locale in
"apt-
even though the package headers are ASCII-only data. And
when the locale happens to be Turkish (tr_TR.UTF-8), the
"tolower()" function's behaviour is different on "I" compared
to its behaviour on "I" in the "C" locale. When this function
("VersionHash", that is) operates on headers like
Depends: ... ,e2fsprogs (>= 1.32+1.
in the Turkish locales, the hashes it produces are "improper"
because of the complications of the Turkish "i"s. Hence,
packages whose headers contain capital "i"s trigger
this problem and seem to have updates when in reality
they don't.
Please read
https:/
for more information.
=== Old description follows ===
Update manager shows 3 available updates;
"e2fsprogs, initscripts and volumeid"
When I click update button it downloads&installs them but they keep staying in the update list.
One more strange thing they're upgrading from same version to same version:
e2fsprogs -> from 1.39-1 to 1.39-1
initscripts -> from 2.86.ds1-
volumeid -> from 093-0ubuntu18 to 093-0ubuntu18
I tried both sudo aptitude upgrade & sudo apt-get upgrade ;but no change.
On ubuntuforums.org a Turkish Ubuntu user, like me, having the same problem:
http://
Changed in update-manager: | |
status: | Unconfirmed → Needs Info |
Changed in update-manager: | |
status: | Invalid → Confirmed |
Changed in update-manager: | |
status: | Incomplete → Confirmed |
description: | updated |
description: | updated |
Changed in apt (Ubuntu Jaunty): | |
status: | Confirmed → In Progress |
Changed in update-manager (Ubuntu Intrepid): | |
status: | New → Invalid |
Thank you for your report. What version of Ubuntu are you using ?
Would it be possible for you to provide the same screen shot but in english ?