On Sun, Dec 17, 2000 at 09:16:06AM +0100, Emmanuel Charpentier,,, wrote:
>
>
> Bob Nielsen wrote:
>
> > Caldera is supported, but not Debian or any other distributions which
> > use the Debian .deb packaging format (Stormix, Progeny, Corel, etc.)
> > Unfortunately more and more packages are becoming available in .rpm
> > format exclusively (although some others are available only in .deb
> > format). There was some talk a few years ago of Red Hat and Debian
> > trying to agree on a new format which would include the best features
> > of each of these, but I guess that never happened.
> >
> > I am not familiar with unpacking .rpm files, but if you converted it to
> > a .deb (with alien), you can unpack that with 'ar -x <filename>.deb'.
> > ar is included in the 'binutils' package.
>
> Never mind. It was a moment of stupidity : I forgot the C switch that
> tells to alien to convert the installation scripts. Silly me ...
>
> alien -d -c <rpm> did the job : the resultant .deb file installs and
> runs OK.
>
>
> > As far as I can tell, the previously supplied .deb files were converted
> > from .rpm with alien. Unfortunately, there appear to be problems when
> > the converted Win4Lin 2.0 package is installed. As I previously
> > posted, I get the following error when running 'win &' (also when just
> > running 'dos'):
> >
> > dos: ERROR CODESET_NS: 8859 /usr/lib/merge/lcs 8859 -1
> >
> > I don't know if this implies there is a problem with alien or ???
>
> Do you have the iso 8859-1 codepage in your kernel (or installed as a
> module) ? It seems necessary for a lot of utilities ...
Yes I do.
I tried alien -d -c <rpm> as you suggested, but can't even install the
resulting file. I get the following error:
$ sudo dpkg -i win4lin_5.1.0ga-2_i386.deb
Selecting previously deselected package win4lin.
(Reading database ... 72421 files and directories currently installed.)
Unpacking win4lin (from win4lin_5.1.0ga-2_i386.deb) ...
Setting up win4lin (5.1.0ga-2) ...
dpkg (subprocess): unable to execute post-installation script: Exec
format errordpkg: error processing win4lin (--install):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
win4lin
I expect that the -c didn't properly handle the scripts.
I also tried to install the .rpm but got a message that
/var/lib/rpm/packages.rpm didn't exist. I created a zero-length file
of that name, but the install process bombed because it couldn't find
/bin/sh. I think rpm requires it's own copy of /bin/sh somewhere
instead of using the one in $PATH. The Debian rpm package is minimal
and only intended for running alien.
At least beta 5 still works (for another 26 days, at least). I hope
either that Netraverse supports Debian packaging (as Trelos did for
version 1) or someone comes up with a foolproof way to install version
2 by that time. Otherwise I'll have to revert to version 1. :-(
Bob
_______________________________________________
Win4Lin-users mailing list
[EMAIL PROTECTED]
https://lists.netraverse.com/mailman/listinfo/win4lin-users