Package: aptitude
Version: 0.4.6.1-1
Severity: important

recently it happens sometimes, that after an update dpkg stops
with the message, that the available file is corrupt. its
output looks like this:

--->
Extracting templates from packages: 100%
Preconfiguring packages ...
dpkg: parse error, in file `/var/lib/dpkg/available' near line 177036 package 
`beancounter':
 EOF during value of field `Description' (missing final newline)
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 177036 package 
`beancounter':
 EOF during value of field `Description' (missing final newline)
Press return to continue.
<---

I suspect aptitude to truncate the file - this is just a guess
though.

running dselect and doing the update there will fix this:
deselect output reads like:

--->
Fetched 1464kB in 5s (273kB/s)                    
Reading package lists... Done
Merging available information
Replacing available packages info, using /var/cache/apt/available.
Information about 21808 package(s) was updated.
<---

thank you for your attention

peter



-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22 (PREEMPT)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages aptitude depends on:
ii  apt [libapt-pkg-libc6.6-6 0.7.6          Advanced front-end for dpkg
ii  libc6                     2.6.1-1+b1     GNU C Library: Shared libraries
ii  libgcc1                   1:4.2.1-4      GCC support library
ii  libncursesw5              5.6+20070825-1 Shared libraries for terminal hand
ii  libsigc++-2.0-0c2a        2.0.17-2       type-safe Signal Framework for C++
ii  libstdc++6                4.2.1-4        The GNU Standard C++ Library v3

Versions of packages aptitude recommends:
pn  aptitude-doc-en | aptitude-do <none>     (no description available)
pn  libparse-debianchangelog-perl <none>     (no description available)

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to