[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Only one who have parse error in /var/lib/dpkg/available?



> Previously Shaul Karl wrote:
> > [00:44:26 /tmp]$ dpkg -l doc-linux-text
> > dpkg: parse error, in file `/var/lib/dpkg/available' near line 69953 package 
> > `ng-cjk':
> >  EOF during value of field `MD5sum' (missing final newline)
> 
> Show is that line and the few lines around it please.
> 
> Wichert.
> 
> -- 
>    ________________________________________________________________
>  / Generally uninteresting signature - ignore at your convenience  \
> | wichert@cistron.nl                  http://www.liacs.nl/~wichert/ |
> | 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0  2805 3CB8 9250 2FA3 BC2D |
> 


[22:46:04 /tmp]$ grep -A15 -B3 ng-cjk /var/lib/dpkg/available 
 some awkwardnesses in the semantics (for instance, moving a file to a
 different directory will render its file handle invalid).

Package: ng-cjk
Priority: optional
Section: editors
Installed-Size: 164
Maintainer: Yasuhiro Take <take@debian.org>
Architecture: i386
Source: ng
Version: 1.4.3.1-1
Depends: libc6 (>= 2.2.1), libncurses5, ng-common
Filename: pool/main/n/ng/ng-cjk_1.4.3.1-1_i386.deb
Size: 73550
MD5sum: dcf8a20ce9180fa42df
[22:46:18 /tmp]$ wc /var/lib/dpkg/available 
  69953  307766 2547713 /var/lib/dpkg/available
[22:46:41 /tmp]$ 


It looks like the MD5sum is the last line on this file. Another thing is that 

    dpkg -l doc-linux-text

now doesn't care - do not know why. Could be that I have added a '\n' there by hand, but I am not sure.

-- 
	
	Shaul Karl <shaulka@bezeqint.net>




Reply to: