Re: Why can't I reinstall locales? [SOLVED]
For future reference, the solution to this problem is to manually download
the .deb file from the Debian website, then force the install like this:
dpkg -i --force-depends locales_2.7-18lenny2_all.deb
This works without issue because the package dependency 'glibc-2.7-1' is a
dummy package, and the real package that locales really requires is
already installed, but the installer doesn't know this.
This issue may also exist because of a system that was upgraded (this
system used to run Etch) or one that is in limbo between Testing and
Stable (which may be the case here, but I can't recall).
> libc6 is already the newest version.
> Says apt-get install.
>> On 2010-03-31 16:50, Ernie Dunbar wrote:
>>> So today, Debsecan warns me about this issue:
>>> CVE-2010-0015 nis/nss_nis/nis-pwd.c in the GNU C Library (aka glibc...
>>> - locales, libc6 (remotely exploitable, medium urgency)
>>> And I figure, it's a good time to upgrade locales. Apt-get upgrade
>>> think this needs to be upgraded, so I manually remove it and then try
> to reinstall it.
>>> Except it doesn't reinstall - I just get this error:
>>> # apt-get install locales
>>> Reading package lists... Done
>>> Building dependency tree
>>> Reading state information... Done
>>> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created or
> been moved out of Incoming.
>>> The following information may help to resolve the situation:
>>> The following packages have unmet dependencies:
>>> locales: Depends: glibc-2.7-1
>>> E: Broken packages
>>> Apparently, glibc-2.7-1 is a dummy package, one which I can't install.
>>> What do I do about this? I have perl scripts complaining loudly about
>>> lack of Locale.
>> For as long as I can remember, though, package containing "the C
> library" has been named libc6.
>> "History does not long entrust the care of freedom to the weak
>> or the timid." Dwight Eisenhower
>> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
>> with a subject of "unsubscribe". Trouble? Contact
>> Archive: http://lists.debian.org/4BB3CF2F.email@example.com
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact