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

Re: Errors in upgrading old Woody. Help?



On Mon, Sep 09, 2002 at 03:51:55PM -0400, David Teague wrote:

[snip]

> 
> 	dpkg --audit
> 
> 	dpkg: parse error, in file `/var/lib/dpkg/status' near line 16531 package
> 	`cpp-3.0':
>  	`Depends' field, reference to `gcc-3.0-base': version contains ` '
> 

It look like there is a problem with /var/lib/dpkg/status. the prior
version of the file is /var/lib/dpkg/status-old. Older versions of the
file should be found in /var/backups. 

You could try "cp /var/lib/dpkg/status-old  /var/lib/dpkg/status" and
see if that allows you to finish installing dpkg and debconf. If that
doesn't work, an older version in /var/backups may work, but the older
the version, the more out of sync it will be with what is actually installed.

Also, consider using dselect for your dist-upgrade. 
See http://www.debian.org/doc/manuals/reference/ch-woody.en.html#s5.2
The reference manual is a little dated; "testing" in the manual is
woody, which is now stable.

[snip]

> # apt-get install dpkg apt debconf
> Reading Package Lists... Done
> Building Dependency Tree... Done
> Sorry, apt is already the newest version.
> 2 packages upgraded, 0 newly installed, 0 to remove and 451  not upgraded.
> Need to get 1167kB of archives. After unpacking 147kB will be freed.
> Get:1 http://http.us.debian.org stable/main dpkg 1.9.21 [1073kB]
> Get:2 http://http.us.debian.org stable/main debconf 1.0.32 [94.0kB]            
> Fetched 1167kB in 13s (87.1kB/s)                                               
> Preconfiguring packages ...
> dpkg: parse error, in file `/var/lib/dpkg/status' near line 16532 package `cpp-3.0':
>  `Depends' field, reference to `gcc-3.0-base': error in version: epoch in version is not number
> E: Sub-process /usr/bin/dpkg returned an error code (2)

-- 
Jerome

Attachment: pgpUcANU7b8zK.pgp
Description: PGP signature


Reply to: