Re: How can I use dpkg to decompress *.deb files on a Redhat system?
Hi Guy,
Thanks for the help...but I've still got problems! I
created the status file and touched it. But I was then
told:
dpkg: failed to open package info file
'/var/lib/dpkg/available' for reading: No such file of
directory
So I created the available file, touched it as well,
and tried my luck...and this time I got the following
error message:
dpkg: 'start-stop-daemon' not found on PATH.
dpkg: 1 expected program(s) not found on PATH.
NB: root's PATH should usually contain
/usr/local/sbin, /usr/sbin and /sbin.
So I ruled out using touch and went on to the next
option you mentioned - Alien.
I installed Alien using the instructions in INSTALL.
And then I downloaded alien-extra.rpm which is
supposed to have some stuff for running Alien on a
RedHat system.
Then when I ran rpm:
#rpm --install alien-extra.rpm, this is what I got:
error: failed dependencies:
libncurses.so.3.0 is needed by alien-extra-6-4-1
But after a search, I found it to be in
/usr/i486-linux-libc5/lib/. Creating a symbolic link
to the file in /lib didn't help either.
So I simply ignored the error and once again tried my
luck:
#./alien.pl -r libreadline4_4.1-1.deb
And that gave me:
Can't locate object method "new" via package
"Alien::Package::Deb" at ./alien. line 321.
So as you can see...I'm completely stumped! Are there
any other alternatives left? Or will my worst
nightmare come true? - Set up a another system using
Debian *just* to get the library files out of the
*.deb files!! :)
My my....I had no idea that I would be spending an
entire day trying to extract files out of a package!
:)
Thanks again for all the help!
Regards,
Supriyo
--- Guy Maor <maor@debian.org> wrote: > Supriyo
Chatterjea <supriyo_chatterjea@yahoo.com.sg>
> writes:
>
> > dpkg: failed to open package info file
> > /var/lib/dpkg/status
>
> You can just touch that file into existence and go
> from there.
>
> Better would be to use alien to convert the deb to
> an rpm
> http://www.kitenet.net/programs/alien/
>
> I'll refrain from repeating my answer two more
> times. :)
>
>
> Guy
__________________________________________________
Do You Yahoo!?
Yahoo! Y! Pages - Search or browse for business listings.
http://yp.yahoo.com.sg/
Reply to: