[Fink-users] Can't install new dpkg w/ cvs

2003-01-17 Thread Gary Olson
When the cvs server came up, I did a fink selfupdate-cvs.  It could not  
install dpkg.  Here is the error message:

Reading package info...
Updating package index... done.
Information about 2093 packages read in 29 seconds.

The following 3 packages will be installed or updated:
 apt apt-shlibs dpkg
curl -f -L -P - -O ftp.debian.org/pool/main/d/dpkg/dpkg_1.10.9.tar.gz

then after compiling and building debs:

Writing control file...
Writing package script postinst...
dpkg-deb -b root-dpkg-1.10.9-2  
/sw/fink/dists/unstable/main/binary-darwin-powerpc/base
dpkg-deb: building package `dpkg' in  
`/sw/fink/dists/unstable/main/binary-darwin-powerpc/base/dpkg_1.10.9- 
2_darwin-powerpc.deb'.
ln -sf  
/sw/fink/dists/unstable/main/binary-darwin-powerpc/base/dpkg_1.10.9- 
2_darwin-powerpc.deb /sw/fink/debs/
rm -rf /sw/src/root-dpkg-1.10.9-2
dpkg -i  
/sw/fink/dists/unstable/main/binary-darwin-powerpc/base/dpkg_1.10.9- 
2_darwin-powerpc.deb
(Reading database ... dpkg: error processing  
/sw/fink/dists/unstable/main/binary-darwin-powerpc/base/dpkg_1.10.9- 
2_darwin-powerpc.deb (--install):
 files list file for package `xml-parser-pm' is missing final newline
Errors were encountered while processing:
  
/sw/fink/dists/unstable/main/binary-darwin-powerpc/base/dpkg_1.10.9- 
2_darwin-powerpc.deb
Processing was halted because there were too many errors.
### execution of dpkg failed, exit code 1
Failed: can't install package dpkg-1.10.9-2

I tried to remove xml-parser-pm (which requires removing some other  
perlmods first) thinking that I could then download and recompile this  
perlmod.  Then I would try updating again.  However, I can not remove  
it using apt-get, dselect, or fink.  Is Fink  broken because dpkg is  
only partially installed.?

Here are error messages I got when using dselect to install and remove  
xml-parser-pm and its dependencies:

Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
  gtk-perl-pm* libxml-pm* lyx natbib revtex system-tetex xdvi  
xml-dom-pm* xml-parser-pm* xml-rss-pm*
  xml-simple-pm* xml-twig-pm*
0 packages upgraded, 0 newly installed, 12 to remove and 0  not  
upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Do you want to continue? [Y/n]
(Reading database ... dpkg: error processing gtk-perl-pm (--purge):
 files list file for package `xml-parser-pm' is missing final newline
Errors were encountered while processing:
 gtk-perl-pm
Processing was halted because there were too many errors.
E: Sub-process /sw/bin/dpkg returned an error code (1)
Some errors occurred while unpacking. I'm going to configure the
packages that were installed. This may result in duplicate errors
or errors caused by missing dependencies. This is OK, only the errors
above this message are important. Please fix them and run [I]nstall  
again
Press enter to continue.


installation script returned error exit status 100.
Press enter to continue.

dselect decided it had to remove system-tetex and its dependencies  
including revtex. I expected to have to do this later when I did a fink  
update-all.  I should not have used the install and remove selection of  
dselect.

Then I tried  to remove only with dselect:

running dpkg --pending --remove ...
(Reading database ... dpkg: error processing revtex (--remove):
 files list file for package `xml-parser-pm' is missing final newline
Errors were encountered while processing:
 revtex
Processing was halted because there were too many errors.

dpkg --remove returned error exit status 1.
Press enter to continue.

Then I tried using apt-get to remove one of the xml-parser-pm  
dependencies:

[Gary-K-Olsons-Computer:~]:-bash:164$: sudo apt-get remove xml-twig-pm

Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
  xml-twig-pm
0 packages upgraded, 0 newly installed, 1 to remove and 0  not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Do you want to continue? [Y/n] y
(Reading database ... dpkg: error processing xml-twig-pm (--remove):
 files list file for package `xml-parser-pm' is missing final newline
Errors were encountered while processing:
 xml-twig-pm
Processing was halted because there were too many errors.
E: Sub-process /sw/bin/dpkg returned an error code (1)

Does anyone know how I can fix Fink well enough to to get this mess  
straightened out?  I sure don't want to erase /sw and start over as I  
had everything working perfectly.  Thanks in advance for your help!

Gary K. Olson



---
This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will
allow you to extend the highest allowed 128 bit encryption to all your 
clients even if they use browsers that are limited to 40 bit encryption. 
Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en
___
Fink-users mailing list
[EMAIL PROTECTED]

Re: [Fink-users] Can't install new dpkg w/ cvs

2003-01-17 Thread Ben Hines

On Friday, January 17, 2003, at 01:20  PM, Gary Olson wrote:


I tried to remove xml-parser-pm (which requires removing some other 
perlmods first) thinking that I could then download and recompile this 
perlmod.  Then I would try updating again.  However, I can not remove 
it using apt-get, dselect, or fink.  Is Fink  broken because dpkg is 
only partially installed.?

Just rebuild it. fink rebuild xml-parser-pm

-Ben



---
This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will
allow you to extend the highest allowed 128 bit encryption to all your 
clients even if they use browsers that are limited to 40 bit encryption. 
Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users