Re: "apt-cache show" shows wrong version of package
On Mon, Jul 22, 2002 at 08:55:43AM +0200, Holger Rauch wrote:
> Hi!
>
> I'm running Debian Woody and I'm noticing strange differences in the
> package version of glibc that I've installed on my system. Doing a
>
> dpkg -l | grep libc6
>
> reports
>
> ii libc6 2.2.5-10 GNU C Library: Shared libraries and
> Timezone
> ii libc6-dev 2.2.5-10 GNU C Library: Development Libraries and
> Hea
> ii libc6-pic 2.2.5-10 GNU C Library: PIC archive library
>
> (This is correct). But doing "apt-cache show libc6" reports
>
> Package: libc6
> [...]
> Version: 2.2.5-10
>
> AND in addition
>
> Package: libc6
> [...]
> Version: 2.2.5-9.woody.4
>
> (This was the previous version)
>
> AND another one
>
> Package: libc6
> [...]
> Version: 2.2.5-6
>
> (The version before 2.2.5-9.woody.4)
>
> Why does "apt-cache show" show so many different versions instead of just
> mentioning the one that is currently installed on the system? I
> tried running "apt-get clean" and "apt-get autoclean" didn't seem to
> help.
Run from root:
# dselect update
This fix descrepancy, I hope. dpkg and apt use different database. apt
alone will not update dpkg database.
--
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ +++++
Osamu Aoki @ Cupertino CA USA
See "User's Guide": http://www.debian.org/doc/manuals/users-guide/
See "Debian reference": http://www.debian.org/doc/manuals/debian-reference/
"Debian reference" Project at: http://qref.sf.net
I welcome your constructive criticisms and corrections.
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: