LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-17-2003, 03:02 AM   #1
abd_bela
Member
 
Registered: Dec 2002
Location: algeria
Distribution: redhat 7.3, debian lenny
Posts: 627

Rep: Reputation: 31
rpm on debian (knoppix) problem


Hi, every body,

want to install an rpm package say lyx-1.3.3.rpm on knoppix
first problem : couldn't find /var/..../rpm.
No problem, here create the directory, and the problem is fixed.
second problem: the package needs /bin/sh , very strange,
the /bin/sh exists of course which a link to bash
lrwxrwxrwx 1 root root 4 Jan 12 2003 /bin/sh -> bash
and the bash program exists ???!!!

thank you for help.
bela
 
Old 11-17-2003, 04:21 AM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Re: rpm on debian (knoppix) problem

Quote:
Originally posted by abd_bela
Hi, every body,

want to install an rpm package say lyx-1.3.3.rpm on knoppix
first problem : couldn't find /var/..../rpm.
No problem, here create the directory, and the problem is fixed.
second problem: the package needs /bin/sh , very strange,
the /bin/sh exists of course which a link to bash
lrwxrwxrwx 1 root root 4 Jan 12 2003 /bin/sh -> bash
and the bash program exists ???!!!

thank you for help.
bela
You can try alien -i lyx-1.3.3.rpm to convert and install. BTW this package is available in Debian:
Code:
[08:04 AM Mon Nov 17: stephen @ ~]
>$ apt-cache policy lyx
lyx:
  Installed: (none)
  Candidate: 1.3.1-5
  Version Table:
     1.3.2-1 0
        600 http://ftp.de.debian.org unstable/main Packages
     1.3.1-5 0
        990 http://ftp.de.debian.org testing/main Packages
     1.1.6fix4-2 0
        500 http://ftp.de.debian.org stable/contrib Packages
You can get in in Knoppix by using apt-get -s install lyx/unstable if everything looks good then remove the -s and repeat to actually install.
 
Old 11-17-2003, 05:44 AM   #3
abd_bela
Member
 
Registered: Dec 2002
Location: algeria
Distribution: redhat 7.3, debian lenny
Posts: 627

Original Poster
Rep: Reputation: 31
thank you Happy tux,
but the problem is not lyx or another software,
the problem is how to install with rpm on debian , you know you can find an rpm package and not a debian one.

thanks
bela
 
Old 11-17-2003, 06:25 AM   #4
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Re: Re: rpm on debian (knoppix) problem

Read HappyTux' response again.

Quote:
Originally posted by HappyTux
You can try alien -i lyx-1.3.3.rpm to convert and install.
Håkan
 
Old 11-18-2003, 01:47 AM   #5
pe2338
Member
 
Registered: Dec 2002
Location: Bucharest,RO
Distribution: debian etch, sarge and sid
Posts: 407

Rep: Reputation: 30
Re: rpm on debian (knoppix) problem

Quote:
Originally posted by abd_bela
Hi, every body,

want to install an rpm package say lyx-1.3.3.rpm on knoppix
first problem : couldn't find /var/..../rpm.
No problem, here create the directory, and the problem is fixed.

:tisk: :tisk: :tisk: :tisk: :tisk: :tisk: :tisk: :tisk: :tisk: :tisk: :tisk:

second problem: the package needs /bin/sh , very strange,
the /bin/sh exists of course which a link to bash
lrwxrwxrwx 1 root root 4 Jan 12 2003 /bin/sh -> bash
and the bash program exists ???!!!

thank you for help.
bela
Never ever (try to) install rpms with rpm on a debian based system!!!!!!!!

the software will not appear as installed, you could brake packages, u could make your system unbootable(ok, seldom), the sky could break in half and lots of Mr. Smith-es will take you and your system into the matrix :D

Ok, I went too far, but listen the men: use alien. he knows what it's doing, and does it very well.

If you want to change the package a little (a simlink from /usr/bin/yourapp to /opt/yourapp/bin/yourapp) you can use the -g or the -s options, but _please_ use alien.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What's the difference between debian and other debian-based distro like knoppix? Akhran Debian 11 08-28-2005 06:07 PM
Debian: Problem installing 'Source RPM package' driver for winmodem Steerpike_jhb Linux - Newbie 8 03-17-2005 03:33 AM
knoppix rpm/kpackage help System_Phreak Linux - Newbie 3 08-22-2004 07:12 PM
Knoppix Debian RPM can't find DB3 kewbonium Linux - Software 2 07-03-2003 10:25 PM
Knoppix Debian DEB, RPM woes kewbonium Linux - Software 3 07-03-2003 11:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration