Re: Problem on running aptitude/apt-get upgrade
On Fri, Sep 12, 2008 at 00:46:37 +0800, Stephen Liu wrote:
> Hi folks,
>
> Debian Etch - fresh installation
>
> $ sudo aptitude upgrade
> Reading package lists... Done
> Building dependency tree... Done
> Reading extended state information
> Initializing package states... Done
> Reading task descriptions... Done
> Building tag database... Done
> The following packages will be upgraded:
> linux-image-2.6.18-6-486
> 1 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> Need to get 0B/16.2MB of archives. After unpacking 1839kB will be used.
> Do you want to continue? [Y/n/?] y
> Preconfiguring packages ...
> dpkg: parse error, in file `/var/lib/dpkg/available' near line 8090
> package `gtk2-engines-pixbuf':
> `Depends' field, reference to `libglib2.0-0': version contains ` '
> E: Sub-process /usr/bin/dpkg returned an error code (2)
> A package failed to install. Trying to recover:
> dpkg: parse error, in file `/var/lib/dpkg/available' near line 8090
> package `gtk2-engines-pixbuf':
> `Depends' field, reference to `libglib2.0-0': version contains ` '
> * end *
It seems that /var/lib/dpkg/available has been corrupted. This might be
the result of a problem with your hard disk, so we should probably have
a closer look the entry of gtk2-engines-pixbuf. Please post the output
of the following command:
awk '/^Package: gtk2-engines-pixbuf/,/^$/' /var/lib/dpkg/available | head -n 100
--
Regards, | http://users.icfo.es/Florian.Kulzer
Florian |
Reply to: