Re: Only one who have parse error in /var/lib/dpkg/available?
On Wed, 25 Apr 2001, Shaul Karl wrote: Package: ng-cjk Priority: optional Section: editors Installed-Size: 164 Maintainer: Yasuhiro Take [EMAIL PROTECTED] 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]$ Is there a final new line? Yes there is: [12:36:41 /tmp]$ ls -l /var/lib/dpkg/available -rw-r--r--1 root root 2547713 Apr 25 00:46 /var/lib/dpkg/available [12:39:36 /tmp]$ od -cj 2547700 /var/lib/dpkg/available 11557764 c e 9 1 8 0 f a 4 2 d f \n 11560001 [12:39:42 /tmp]$ and dpkg -l doc-linux-text works too. I do not know what was changed. Shouldn't there be a Description field after the MD5sum? -- Shaul Karl [EMAIL PROTECTED]
Re: Only one who have parse error in /var/lib/dpkg/available?
Shaul Karl [EMAIL PROTECTED] wrote: Is there a final new line? Yes there is: [12:36:41 /tmp]$ ls -l /var/lib/dpkg/available -rw-r--r--1 root root 2547713 Apr 25 00:46 /var/lib/dpkg/available [12:39:36 /tmp]$ od -cj 2547700 /var/lib/dpkg/available 11557764 c e 9 1 8 0 f a 4 2 d f \n 11560001 [12:39:42 /tmp]$ I'm not sure if this is your problem, but there should be two final new lines. One to terminate the the MD5sum line, and one to terminate the record. -- Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ ) Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Re: Only one who have parse error in /var/lib/dpkg/available?
On Thu, 26 Apr 2001, Shaul Karl wrote: Yes there is: [12:36:41 /tmp]$ ls -l /var/lib/dpkg/available -rw-r--r--1 root root 2547713 Apr 25 00:46 /var/lib/dpkg/available [12:39:36 /tmp]$ od -cj 2547700 /var/lib/dpkg/available 11557764 c e 9 1 8 0 f a 4 2 d f \n 11560001 [12:39:42 /tmp]$ and dpkg -l doc-linux-text works too. I do not know what was changed. No, there is no final new line. debian-devel1:/# od -cj 5199880 /var/lib/dpkg/available 23654010 r d . \n \n It looks like the file got truncated. Disk corruption? What apt-cache dumpavail(called from dselect [2]) interrupted?
Re: Only one who have parse error in /var/lib/dpkg/available?
At Thu, 26 Apr 2001 00:14:01 -0500 (CDT), [EMAIL PROTECTED] wrote: On Thu, 26 Apr 2001, Shaul Karl wrote: Yes there is: [12:36:41 /tmp]$ ls -l /var/lib/dpkg/available -rw-r--r--1 root root 2547713 Apr 25 00:46 /var/lib/dpkg/available [12:39:36 /tmp]$ od -cj 2547700 /var/lib/dpkg/available 11557764 c e 9 1 8 0 f a 4 2 d f \n 11560001 [12:39:42 /tmp]$ and dpkg -l doc-linux-text works too. I do not know what was changed. No, there is no final new line. debian-devel1:/# od -cj 5199880 /var/lib/dpkg/available 23654010 r d . \n \n It looks like the file got truncated. Disk corruption? What apt-cache dumpavail(called from dselect [2]) interrupted? I guess it is my fault. Maybe the description of ng-cjk lacks final new-line like below, and i guess that's the cause. sed 's/^ /+/' control | grep -A 11 '^Package: ng-cjk$' Package: ng-cjk Architecture: any Depends: ${shlibs:Depends}, ng-common Description: Nihongo MicroGnuEmacs with CJK support. +Ng is Nihongo Mg, MicroGnuEmacs. It is a small lightweight Emacs-like +editor. It can handle both Latin and CJK. +. +ng-cjk can handle ISO-2022-JP, Shift-JIS, EUC-JP as well as EUC-KR and +EUC-CN(GB only). Latin is not supported. + Package: ng-cjk-canna Architecture: any I'll fix this right now and dupload it. Thanks, hirot pgp0h8bN2Eevh.pgp Description: PGP signature
Re: Only one who have parse error in /var/lib/dpkg/available?
On Thu, 26 Apr 2001, Shaul Karl wrote: Yes there is: [12:36:41 /tmp]$ ls -l /var/lib/dpkg/available -rw-r--r--1 root root 2547713 Apr 25 00:46 /var/lib/dpkg/available [12:39:36 /tmp]$ od -cj 2547700 /var/lib/dpkg/available 11557764 c e 9 1 8 0 f a 4 2 d f \n 11560001 [12:39:42 /tmp]$ and dpkg -l doc-linux-text works too. I do not know what was changed. No, there is no final new line. debian-devel1:/# od -cj 5199880 /var/lib/dpkg/available 23654010 r d . \n \n It looks like the file got truncated. Disk corruption? What apt-cache dumpavail(called from dselect [2]) interrupted? I am not sure but the reason could also be a problem with a local server. At least for now, after an apt-get update from another server, it looks O.K: 1) The size of the file has grown a lot. 2) Now there is the terminating \n\n. [22:49:47 /tmp]$ od -cj 4462910 /var/lib/dpkg/available 21014476 f o r m s . \n \n 21014507 [22:52:04 /tmp]$ 3) The Description is the last field. I will watch it. Thank you for the help. -- Shaul Karl [EMAIL PROTECTED]
Re: Only one who have parse error in /var/lib/dpkg/available?
--pgp-sign-Multipart_Fri_Apr_27_01:25:02_2001-1 Content-Type: text/plain; charset=US-ASCII At Thu, 26 Apr 2001 00:14:01 -0500 (CDT), [EMAIL PROTECTED] wrote: On Thu, 26 Apr 2001, Shaul Karl wrote: Yes there is: [12:36:41 /tmp]$ ls -l /var/lib/dpkg/available -rw-r--r--1 root root 2547713 Apr 25 00:46 /var/lib/dpkg/available [12:39:36 /tmp]$ od -cj 2547700 /var/lib/dpkg/available 11557764 c e 9 1 8 0 f a 4 2 d f \n 11560001 [12:39:42 /tmp]$ and dpkg -l doc-linux-text works too. I do not know what was changed. No, there is no final new line. debian-devel1:/# od -cj 5199880 /var/lib/dpkg/available 23654010 r d . \n \n It looks like the file got truncated. Disk corruption? What apt-cache dumpavail(called from dselect [2]) interrupted? I guess it is my fault. Maybe the description of ng-cjk lacks final new-line like below, and i guess that's the cause. I am quite sure it is not your fault. Although I do not know the cause I run an apt-get update for testing from another server. Now everything seems to be fine. There is here a problem with the local server and I hope that this, and not my machine, are the cause. In addition, no one else has reported to have the same problem. [01:24:48 /tmp]$ grep -A20 '^Package: ng-cjk$' /var/lib/dpkg/available Package: ng-cjk Priority: optional Section: editors Installed-Size: 164 Maintainer: Yasuhiro Take [EMAIL PROTECTED] 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: dcf8a20ce9180fa42df4bd7dc512d6f8 Description: Nihongo MicroGnuEmacs with CJK support. Ng is Nihongo Mg, MicroGnuEmacs. It is a small lightweight Emacs-like editor. It can handle both Latin and CJK. . ng-cjk can handle ISO-2022-JP, Shift-JIS, EUC-JP as well as EUC-KR and EUC-CN(GB only). Latin is not supported. Package: ng-cjk-canna Priority: optional [01:24:51 /tmp]$ sed 's/^ /+/' control | grep -A 11 '^Package: ng-cjk$' Package: ng-cjk Architecture: any Depends: ${shlibs:Depends}, ng-common Description: Nihongo MicroGnuEmacs with CJK support. +Ng is Nihongo Mg, MicroGnuEmacs. It is a small lightweight Emacs-like +editor. It can handle both Latin and CJK. +. +ng-cjk can handle ISO-2022-JP, Shift-JIS, EUC-JP as well as EUC-KR and +EUC-CN(GB only). Latin is not supported. + Package: ng-cjk-canna Architecture: any I'll fix this right now and dupload it. Thanks, hirot --pgp-sign-Multipart_Fri_Apr_27_01:25:02_2001-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQA66EvhfGUzr9MtPXERAoN0AKDKOojJg/Ooun07mLXhJc+6qE50sgCgrHZZ NoU5vW2XMI+BDAW+w62aHxE= =ru2q -END PGP SIGNATURE- --pgp-sign-Multipart_Fri_Apr_27_01:25:02_2001-1-- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Shaul Karl [EMAIL PROTECTED]
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 \ | [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED]
Re: Only one who have parse error in /var/lib/dpkg/available?
On Wed, 25 Apr 2001, Shaul Karl wrote: Package: ng-cjk Priority: optional Section: editors Installed-Size: 164 Maintainer: Yasuhiro Take [EMAIL PROTECTED] 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]$ Is there a final new line?
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 \ | [EMAIL PROTECTED] http://www.liacs.nl/~wichert/ | | 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0 2805 3CB8 9250 2FA3 BC2D |