[kwlug-disc] how to install fedora rpms on ubuntu 10.04?

Lori Paniak ldpaniak at fourpisolutions.com
Thu May 27 15:02:35 EDT 2010


If you do need the 1.99 version, it might be easier to get the source
and doctor the existing deb packaging to make your own deb.  All the
pre/post-inst scripts should already be there.  Not to mention the
dependencies (your next note). It is just a bunch of perl script, right?

Debian unstable appears to have a newer version too (1.6.3).  You can
often install Debian packages in ubuntu without issue.

I doubt alien does all/any of the deps correctly.

Maybe test in a VM if you want to avoid nasty surprises.


On Thu, 2010-05-27 at 14:28 -0400, Robert P. J. Day wrote:
> i think i have most of what i need but it would be nice if someone
> could fill in the remaining gaps to make sure this goes smoothly.
> 
>   i have two "noarch" rpms here:
> 
> http://rlandmann.fedorapeople.org/publican/
> 
> that i'd like to install on my ubuntu 10.04 system.  the first benefit
> is that they're "noarch" which should simplify things in the sense of
> not having to worry about library inconsistencies.
> 
>   my next worry is when rpms have complicated pre or post install
> scripts which might not be compatible, but again, i'm lucking out:
> 
> $ rpm -qp --scripts publican-1.99-0.fc12.t47.noarch.rpm
> $
> 
> $ rpm -qp --scripts publican-website-1.99-0.fc12.t47.noarch.rpm
> postinstall scriptlet (using /bin/sh):
> /usr/bin/perl -e 'use Publican::WebSite; my $ws = Publican::WebSite->new(); $ws->regen_all_toc();'
> $
> 
>   so that second rpm package has all of one perl command as a
> postinstall scriptlet, which means i could simply lose that script and
> run it later manually, i would think.
> 
>   so, finally, run "alien" to do the conversion:
> 
> $ sudo alien publican-1.99-0.fc12.t47.noarch.rpm
> error: incorrect format: unknown tag
> publican_1.99-1_all.deb generated
> $
> 
> $ sudo alien publican-website-1.99-0.fc12.t47.noarch.rpm
> error: incorrect format: unknown tag
> Warning: Skipping conversion of scripts in package publican-website: postinst
> Warning: Use the --scripts parameter to include the scripts.
> publican-website_1.99-1_all.deb generated
> $
> 
>   actually, that looks pretty good -- a predictable warning about
> leaving a post-install script behind.  now ... what can i do to sanity
> check those two .deb packages before manually installing them?    and
> what would be the safest strategy?  the system already has a
> native (old) version of publican that i'll uninstall first.  but once
> that's done, then what?  so i don't do mysterious damage to my
> packaging database.  thanks.
> 
> rday
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://astoria.ccjclearline.com/pipermail/kwlug-disc_kwlug.org/attachments/20100527/56c53e15/attachment.bin>


More information about the kwlug-disc_kwlug.org mailing list