RE: [Fink-users] KOffice fails to install

2003-04-12 Thread Alexander K. Hansen
One thing to check is whether you have update-alternatives.  Here's what I
get from dlocate (Ben H's package info tool):

% dlocate update-alternatives
dpkg: /sw/sbin/update-alternatives
dpkg: /sw/share/man/fr/man8/update-alternatives.8
dpkg: /sw/share/man/ja/man8/update-alternatives.8
dpkg: /sw/share/man/man8/update-alternatives.8
dpkg: /sw/share/man/pt_BR/man8/update-alternatives.8

See if /sw/sbin/update-alternatives is around.  [I think I got the path
right this time ;-) ]

Alexander K. Hansen
Associate Research Scientist, Columbia University
visiting MIT Plasma Science and Fusion Center
Levitated Dipole Experiment
175 Albany Street, NW17-219
Cambridge, MA  02139-4213
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michèle Garoche
Sent: Saturday, April 12, 2003 9:04 PM
To: [EMAIL PROTECTED]
Subject: [Fink-users] KOffice fails to install

I've just tried to install koffice from cvs.

First Fink wanted to install kde from stable, it was strange as I have  
unstable tree configured as first element.
Then it tried to install openssl 0.9.6i-2 over openssl097, not what I  
wanted, but well consistent with the first choice.
And finally openssl fails to install with the following error:

dpkg: error processing  
/sw/fink/dists/stable/crypto/binary-darwin-powerpc/openss
l-dev_0.9.6i-2_darwin-powerpc.deb (--install):
  subprocess pre-removal script returned error exit status 127
/sw/var/lib/dpkg/info/openssl097-dev.postinst: update-alternatives:  
command not
found
dpkg: error while cleaning up:
  subprocess post-installation script returned error exit status 127
Selecting previously deselected package openssl-shlibs.
Unpacking openssl-shlibs (from  
.../openssl-shlibs_0.9.6i-2_darwin-powerpc.deb) .
..
/sw/var/lib/dpkg/info/openssl097-dev.prerm: update-alternatives:  
command not fou
nd
dpkg: error processing  
/sw/fink/dists/stable/crypto/binary-darwin-powerpc/openss
l-shlibs_0.9.6i-2_darwin-powerpc.deb (--install):
  subprocess pre-removal script returned error exit status 127
/sw/var/lib/dpkg/info/openssl097-dev.postinst: update-alternatives:  
command not
found
dpkg: error while cleaning up:
  subprocess post-installation script returned error exit status 127
Errors were encountered while processing:
   
/sw/fink/dists/stable/crypto/binary-darwin-powerpc/openssl-dev_0.9.6i- 
2_darwin-
powerpc.deb
   
/sw/fink/dists/stable/crypto/binary-darwin-powerpc/openssl- 
shlibs_0.9.6i-2_darw
in-powerpc.deb
### execution of dpkg failed, exit code 1
Failed: can't batch-install packages:  
/sw/fink/dists/stable/crypto/binary-darwin
-powerpc/openssl-dev_0.9.6i-2_darwin-powerpc.deb  
/sw/fink/dists/stable/crypto/bi
nary-darwin-powerpc/openssl-shlibs_0.9.6i-2_darwin-powerpc.deb

I've tried to access the mailing-list archives as I know there were  
discussions on KDE recently, but they seem to be unaccessible at the  
moment.

Michèle
http://micmacfr.homeunix.org/


---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users



---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] KOffice fails to install

2003-04-12 Thread Michèle Garoche
Le dimanche, 13 avr 2003, à 04:00 Europe/Paris, Alexander K. Hansen a 
écrit :

For my next trick, lets see if the prerm script looks OK:

cat /sw/var/lib/dpkg/info/openssl097-dev.prerm
#!/bin/sh
# prerm script for package openssl097-dev, auto-created by fink
set -e

if [ $1 != upgrade ]; then
update-alternatives --remove md5.3 /sw/share/man/man3/md5.3.openssl097
fi
exit 0
Yes, I have:

#!/bin/sh
# prerm script for package openssl097-dev, auto-created by fink
set -e

if [ $1 != upgrade ]; then
update-alternatives --remove md5.3 /sw/share/man/man3/md5.3.openssl097
fi
exit 0

Also, what do you get if you run update-alternatives by itself.  For
comparison:
% /sw/sbin/update-alternatives
I have no /sw/sbin/update-alternatives

Michèle
http://micmacfr.homeunix.org/


---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users


RE: [Fink-users] KOffice fails to install

2003-04-12 Thread Alexander K. Hansen
It looks like you need to reinstall dpkg:  the package database thinks you
have /sw/sbin/install-info and /sw/sbin/update-alternatives, but they are
absent on your system.

Alexander K. Hansen
Associate Research Scientist, Columbia University
visiting MIT Plasma Science and Fusion Center
Levitated Dipole Experiment
175 Albany Street, NW17-219
Cambridge, MA  02139-4213
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michèle Garoche
Sent: Saturday, April 12, 2003 10:19 PM
To: Alexander K. Hansen
Cc: [EMAIL PROTECTED]
Subject: Re: [Fink-users] KOffice fails to install


Le dimanche, 13 avr 2003, à 04:00 Europe/Paris, Alexander K. Hansen a 
écrit :

 For my next trick, lets see if the prerm script looks OK:

 cat /sw/var/lib/dpkg/info/openssl097-dev.prerm
 #!/bin/sh
 # prerm script for package openssl097-dev, auto-created by fink

 set -e

 if [ $1 != upgrade ]; then
 update-alternatives --remove md5.3 /sw/share/man/man3/md5.3.openssl097
 fi


 exit 0
Yes, I have:

#!/bin/sh
# prerm script for package openssl097-dev, auto-created by fink

set -e

if [ $1 != upgrade ]; then
update-alternatives --remove md5.3 /sw/share/man/man3/md5.3.openssl097
fi


exit 0


 Also, what do you get if you run update-alternatives by itself.  For
 comparison:

 % /sw/sbin/update-alternatives
I have no /sw/sbin/update-alternatives

Michèle
http://micmacfr.homeunix.org/



---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users



---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] KOffice fails to install

2003-04-12 Thread Michèle Garoche
Le dimanche, 13 avr 2003, à 04:33 Europe/Paris, Alexander K. Hansen a 
écrit :

It looks like you need to reinstall dpkg:  the package database thinks 
you
have /sw/sbin/install-info and /sw/sbin/update-alternatives, but they 
are
absent on your system.
I reinstall dpkg, now I have:

% update-alternatives
update-alternatives: need --display, --config, --install, --remove or 
--auto

Debian update-alternatives 1.10.9.
Copyright (C) 1995 Ian Jackson.
Copyright (C) 2000-2002 Wichert Akkerman
This is free software; see the GNU General Public Licence
version 2 or later for copying conditions.  There is NO warranty.
Usage: update-alternatives --install link name path priority
  [--slave link name path] ...
   update-alternatives --remove name path
   update-alternatives --auto name
   update-alternatives --display name
   update-alternatives --list name
   update-alternatives --config name
name is the name in /etc/alternatives.
path is the name referred to.
link is the link pointing to /etc/alternatives/name.
priority is an integer; options with higher numbers are chosen.
Options:  --verbose|--quiet  --test  --help  --version
  --altdir directory  --admindir directory
Seems to be like yours.

Michèle
http://micmacfr.homeunix.org/


---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users


RE: [Fink-users] KOffice fails to install

2003-04-12 Thread Alexander K. Hansen
Looks good.  Do the which install-info, and if that gives
/sw/sbin/install-info, then try to upgrade libtool14 and KDE again.


-Original Message-
From: Michèle Garoche [mailto:[EMAIL PROTECTED] 
Sent: Saturday, April 12, 2003 10:43 PM
To: Alexander K. Hansen
Cc: [EMAIL PROTECTED]
Subject: Re: [Fink-users] KOffice fails to install


Le dimanche, 13 avr 2003, à 04:33 Europe/Paris, Alexander K. Hansen a 
écrit :

 It looks like you need to reinstall dpkg:  the package database thinks 
 you
 have /sw/sbin/install-info and /sw/sbin/update-alternatives, but they 
 are
 absent on your system.

I reinstall dpkg, now I have:

% update-alternatives
update-alternatives: need --display, --config, --install, --remove or 
--auto

Debian update-alternatives 1.10.9.
Copyright (C) 1995 Ian Jackson.
Copyright (C) 2000-2002 Wichert Akkerman
This is free software; see the GNU General Public Licence
version 2 or later for copying conditions.  There is NO warranty.

Usage: update-alternatives --install link name path priority
   [--slave link name path] ...
update-alternatives --remove name path
update-alternatives --auto name
update-alternatives --display name
update-alternatives --list name
update-alternatives --config name
name is the name in /etc/alternatives.
path is the name referred to.
link is the link pointing to /etc/alternatives/name.
priority is an integer; options with higher numbers are chosen.

Options:  --verbose|--quiet  --test  --help  --version
   --altdir directory  --admindir directory

Seems to be like yours.

Michèle
http://micmacfr.homeunix.org/




---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] KOffice fails to install

2003-04-12 Thread Michèle Garoche
Le dimanche, 13 avr 2003, à 04:48 Europe/Paris, Alexander K. Hansen a 
écrit :

Looks good.  Do the which install-info, and if that gives
/sw/sbin/install-info, then try to upgrade libtool14 and KDE again.
Yes, that's it. I must wait a while to upgrade since I'm currently 
trying to install koffice, hence kde without ssl support and I'm not 
sure it would be wise to kill the process like a savage :-)

Many, many thanks. I'll give you feedback in a few hours (as soon as 
the process has terminated).

Michèle
http://micmacfr.homeunix.org/


---
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users