Unix Technical Forum

need help with dependencies for apt-get

This is a discussion on need help with dependencies for apt-get within the Linux Operating System forums, part of the Unix Operating Systems category; --> Hi Guys, I am really new in the Linux world, and I come across some problem with installing rpm ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-18-2008, 06:06 PM
shahin
 
Posts: n/a
Default need help with dependencies for apt-get

Hi Guys,

I am really new in the Linux world, and I come across some problem with
installing rpm pakag.
I did download apt-get, when I try to install it with;
rpm -ivh apt-5.0 I get the Error saying;

error failed dependencies:
libreadline.so.4 is needed by apt-o.5
librmp-4.3.so is need by apt-0.5
librpmdb-4.3.so is need by apt-o.5
and so on, I know that I have to first install all of this
dependencies, but I do not know how do it.
could any one help me on this subject?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-18-2008, 06:07 PM
chuckcar
 
Posts: n/a
Default Re: need help with dependencies for apt-get

"shahin" <s_mortazave@hotmail.com> wrote in
news:1150985510.121489.13800@m73g2000cwd.googlegro ups.com:

> Hi Guys,
>
> I am really new in the Linux world, and I come across some problem
> with installing rpm pakag.
> I did download apt-get, when I try to install it with;
> rpm -ivh apt-5.0 I get the Error saying;
>
> error failed dependencies:
> libreadline.so.4 is needed by apt-o.5
> librmp-4.3.so is need by apt-0.5
> librpmdb-4.3.so is need by apt-o.5
> and so on, I know that I have to first install all of this
> dependencies, but I do not know how do it.
> could any one help me on this subject?
>
>

What kernel do you have? maybe the more accurate question is: how recent
is your distribution? you should be able to find those packages at
http://freshmeat.net, but you would have to ./configure and make them.
If you're not comfortable with that then a more recent distribution
would be the only other way I see. You could theoretically get the
binary distributions, but practically they pretty much are distribution
specific, so if you don't get one for (debian?) then the odds go down
dramatically that it will work properly.


--
(setq (chuck nil) car(chuck) )
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-18-2008, 06:07 PM
Nico Kadel-Garcia
 
Posts: n/a
Default Re: need help with dependencies for apt-get


"chuckcar" <chuck@nil.car> wrote in message
news:Xns97EADFD4CA2C6chucknilcar@85.227.11.7...
> "shahin" <s_mortazave@hotmail.com> wrote in
> news:1150985510.121489.13800@m73g2000cwd.googlegro ups.com:
>
>> Hi Guys,
>>
>> I am really new in the Linux world, and I come across some problem
>> with installing rpm pakag.
>> I did download apt-get, when I try to install it with;
>> rpm -ivh apt-5.0 I get the Error saying;
>>
>> error failed dependencies:
>> libreadline.so.4 is needed by apt-o.5
>> librmp-4.3.so is need by apt-0.5
>> librpmdb-4.3.so is need by apt-o.5
>> and so on, I know that I have to first install all of this
>> dependencies, but I do not know how do it.
>> could any one help me on this subject?
>>
>>

> What kernel do you have? maybe the more accurate question is: how recent
> is your distribution? you should be able to find those packages at
> http://freshmeat.net, but you would have to ./configure and make them.
> If you're not comfortable with that then a more recent distribution
> would be the only other way I see. You could theoretically get the
> binary distributions, but practically they pretty much are distribution
> specific, so if you don't get one for (debian?) then the odds go down
> dramatically that it will work properly.


Did you get apt-*.rpm for the appropriate operating system? Seriously, many
of those are basic libraries indeed, and I'm guessing that you have one from
a wildly divergent operating system. What OS are you working with?


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-18-2008, 06:07 PM
chuckcar
 
Posts: n/a
Default Re: need help with dependencies for apt-get


> Did you get apt-*.rpm for the appropriate operating system?
> Seriously, many of those are basic libraries indeed, and I'm guessing
> that you have one from a wildly divergent operating system. What OS
> are you working with?
>
>
>


Me or the OP? me personally am using 2.4.16 (upgrading gcc beyond 2.95
is a b*tch for me) upgraded from slackware 7.0. the OP is either using
redhat or debian, what kernel I have no idea. As for the versions, he
may just have an old distribution. I last got 2.2.16 in a distribution
and have about 2 gig of tar.gz's that I used to upgrade to where I am
now, so anything's possible in that respect.

P.S. My xnews shows you replying to me not the OP.

--
(setq (chuck nil) car(chuck) )
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-18-2008, 06:07 PM
Nico Kadel-Garcia
 
Posts: n/a
Default Re: need help with dependencies for apt-get

chuckcar wrote:
>> Did you get apt-*.rpm for the appropriate operating system?
>> Seriously, many of those are basic libraries indeed, and I'm guessing
>> that you have one from a wildly divergent operating system. What OS
>> are you working with?
>>
>>
>>

>
> Me or the OP? me personally am using 2.4.16 (upgrading gcc beyond 2.95
> is a b*tch for me) upgraded from slackware 7.0. the OP is either using
> redhat or debian, what kernel I have no idea. As for the versions, he
> may just have an old distribution. I last got 2.2.16 in a distribution
> and have about 2 gig of tar.gz's that I used to upgrade to where I am
> now, so anything's possible in that respect.
>
> P.S. My xnews shows you replying to me not the OP.


I was speaking to the OP: I see how my reply may have looked confusing.

But "2.4.16" is a kernel, not the OS. Slackware 7.0 is the OS. And frankly,
I don't see how the kernel has anything to do with Shahin's problem. The
dependency problems he mentioned were with other packages, such as ncurses,
not the kernel.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-18-2008, 06:07 PM
chuckcar
 
Posts: n/a
Default Re: need help with dependencies for apt-get

"Nico Kadel-Garcia" <nkadel@comcast.net> wrote in
news:jrWdnUTBcqBMTQbZnZ2dnUVZ_s2dnZ2d@comcast.com:

> chuckcar wrote:
>>> Did you get apt-*.rpm for the appropriate operating system?
>>> Seriously, many of those are basic libraries indeed, and I'm
>>> guessing that you have one from a wildly divergent operating system.
>>> What OS are you working with?
>>>
>>>
>>>

>>
>> Me or the OP? me personally am using 2.4.16 (upgrading gcc beyond
>> 2.95 is a b*tch for me) upgraded from slackware 7.0. the OP is either
>> using redhat or debian, what kernel I have no idea. As for the
>> versions, he may just have an old distribution. I last got 2.2.16 in
>> a distribution and have about 2 gig of tar.gz's that I used to
>> upgrade to where I am now, so anything's possible in that respect.
>>
>> P.S. My xnews shows you replying to me not the OP.

>
> I was speaking to the OP: I see how my reply may have looked
> confusing.
>
> But "2.4.16" is a kernel, not the OS. Slackware 7.0 is the OS. And


Well the OS is linux actually, Slackware is the distribution

> frankly, I don't see how the kernel has anything to do with Shahin's
> problem. The dependency problems he mentioned were with other
> packages, such as ncurses, not the kernel.
>
>


Not the kernel per say, but the packages that come in a distribution
with a kernel version, say a 5 year old version of debian which would be
2.2 or so. Especially if you haven't been upgrading packages all along,
which as I say is a heck of a job, and getting linux in stores is a joke
arround my parts at least.

--
(setq (chuck nil) car(chuck) )
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:01 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com