Re: Aptitude cannot upgrade libperl5.10
On Sun, 29 Aug 2010 22:11:21 +0200, Florian Kulzer wrote:
>> % aptitude show libperl5.10 | awk '/^Package/,/^Version/' Package:
>> libperl5.10
>> State: not installed
>> Automatically installed: no
>> Version: 5.10.1-14
>>
>> . . .
>>
>> $ apt-cache policy libperl5.10
>> libperl5.10:
>> Installed: 5.10.1-12
>> Candidate: 5.10.1-14
>> Version table:
>> 5.10.1-14 0
>> 360 http://cdn.debian.net testing/main Packages
>> 50 http://cdn.debian.net unstable/main Packages
>> *** 5.10.1-12 0
>> 100 /var/lib/dpkg/status
: : :
>> OK, now I think the problem is that my aptitude's status log is messed
>> up. . .
>
> Indeed, there seems to be a problem with aptitude's databases. Please
> check what dpkg itself thinks about libperl, i.e.
>
> dpkg -l libperl\* | awk '/^[^D|+]/{print $1,$2,$3}'
$ dpkg -l libperl\* | awk '/^[^D|+]/{print $1,$2,$3}'
ii libperl5.10 5.10.1-12
un libperl5.8 <none>
So both dpkg and apt-get think libperl is installed, except aptitude.
Is there any way for me to rebuild my aptitude's databases?
--
Tong (remove underscore(s) to reply)
http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/
Reply to: