/usr/bin/locale missing during upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glibc (Ubuntu) |
Fix Released
|
High
|
Martin Pitt | ||
Jaunty |
Fix Released
|
High
|
Martin Pitt |
Bug Description
Preparing to replace libc6-pic 2.9-0ubuntu9 (using .../libc6-
Unpacking replacement libc6-pic ...
dpkg: belocs-locales-bin: dependency problems, but removing anyway as you request:
locales depends on belocs-locales-bin (>= 2.4-2.2ubuntu2).
(Reading database ... 243956 files and directories currently installed.)
Removing belocs-locales-bin ...
Processing triggers for man-db ...
(Reading database ... 243937 files and directories currently installed.)
Preparing to replace locales 2.7.9-5 (using .../locales_
Removing obsolete conffile /etc/belocs/
Removing obsolete conffile /etc/belocs/
Unpacking replacement locales ...
Preparing to replace libc6-dev 2.9-0ubuntu9 (using .../libc6-
Unpacking replacement libc6-dev ...
Preparing to replace libc6-dev-amd64 2.9-0ubuntu9 (using .../libc6-
Unpacking replacement libc6-dev-amd64 ...
Preparing to replace libc6-amd64 2.9-0ubuntu9 (using .../libc6-
Unpacking replacement libc6-amd64 ...
Preparing to replace libc6 2.9-0ubuntu9 (using .../libc6_
Can't exec "locale": No such file or directory at /usr/share/
Use of uninitialized value $Debconf:
Unpacking replacement libc6 ...
Processing triggers for man-db ...
Setting up libc6 (2.9-0ubuntu10) ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
/usr/bin/locale is now shipped by libc6, so it isn't available between belocs-locales-bin being removed and the new libc6 being unpacked. debconf is relying on this being treated like an essential component of an Essential package, and always being available.
In this case the problem was non-fatal and debconf recovered, but I'm concerned that this might cause some more serious problems in bigger upgrades. The Conflicts forces belocs-locales-bin to be removed - perhaps this is too heavyweight?
Changed in langpack-locales (Ubuntu): | |
importance: | Undecided → High |
affects: | langpack-locales (Ubuntu Jaunty) → glibc (Ubuntu Jaunty) |
I saw that error as well, but since debconf also triggers at postinst time again, I deemed it non-fatal.
However, if this is considered a potential trap, then dropping the Conflicts: would work as well (and just keep the Replaces:). I just added the Conflicts: so that belocs-locales-bin would be cleaned up during upgrade, since we don't want to support/use it any more.