LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-14-2009, 02:20 PM   #1
Chenchu
Member
 
Registered: Nov 2009
Location: Mars
Distribution: CentOS
Posts: 50

Rep: Reputation: 20
rpm response: libtinfow.so.5 is needed for pico


Hi, I'm on CentOS 5.2 and i'm trying to install pico on the system.
when I execute rpm -Uvh pico-4.62-1.i386.rpm this is what I get:
Code:
[root@localhost temp]# ls
ncurses-5.6-7.20070612.i386.rpm  pico-4.62-1.i386.rpm
[root@localhost temp]# rpm -Uvh ncurses-5.6-7.20070612.i386.rpm 
Preparing...                ########################################### [100%]
   1:ncurses                ########################################### [100%]
[root@localhost temp]# rpm -Uvh pico-4.62-1.i386.rpm 
error: Failed dependencies:
        libtinfow.so.5 is needed by pico-4.62-1.i386
[root@localhost temp]#
now the reason I installed ncurses is I found out that lib is part of it, so I tried to install that rpm before but still get the same results.

p.s, i'm a newbie, so be gentle
thank you.
 
Old 11-14-2009, 05:52 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
rpm -U is used to upgrade an existing installation.

What happens if you use rpm -i <packagename> instead?
 
Old 11-15-2009, 02:33 AM   #3
Chenchu
Member
 
Registered: Nov 2009
Location: Mars
Distribution: CentOS
Posts: 50

Original Poster
Rep: Reputation: 20
Code:
bash-3.2# rpm -i pico-4.62-1.i386.rpm 
error: Failed dependencies:
        libtinfow.so.5 is needed by pico-4.62-1.i386
bash-3.2#
 
Old 11-15-2009, 12:56 PM   #4
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
Try using the yum package manager to install pico.
yum install pico (see the man page for the correct format of the command if this is incorrect).

If pico is in the CentOS repository, it should handle dependency problems.
 
Old 11-15-2009, 04:46 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2021 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,430

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
' rpm -Uvh ' is the universal command to install
.. or upgrade a package. See 'man rpm'.

'pico' is not in the repo's. 'nano' is.
.. nano is a pico clone.

There is a special ncurses here, providing libtinfow.so.5 :
( May be it will fit )
http://rpm.pbone.net/index.php3/stat....i586.rpm.html

.. or you can rebuild to rpm from this source package, "src.rpm"
http://rpm.pbone.net/index.php3/stat...-5.7-8.src.rpm
.. using rpmbuild -bb ncurses.spec ..
.....

Last edited by knudfl; 11-15-2009 at 04:48 PM.
 
Old 11-15-2009, 06:44 PM   #6
Chenchu
Member
 
Registered: Nov 2009
Location: Mars
Distribution: CentOS
Posts: 50

Original Poster
Rep: Reputation: 20
hmmm... can you please explain how should I do that?

it just I watched a CBT video where he installed pico, and those were the steps he took. but when I did it, I got into this problem..
thanks mate
 
Old 11-16-2009, 08:58 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2021 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,430

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
Did you try the ' ncurses-5.7-8.i586.rpm '

from
http://rpm.pbone.net/index.php3/stat....i586.rpm.html
? ? ?

> > # rpm -Uvh ncurses-5.7-8.i586.rpm
 
Old 11-16-2009, 05:03 PM   #8
Chenchu
Member
 
Registered: Nov 2009
Location: Mars
Distribution: CentOS
Posts: 50

Original Poster
Rep: Reputation: 20
I tried to use this one:
ncurses-5.6-7.20070612.i386.rpm
which is the pack for CentOS. I installed it, and I still get the same result.

Code:
bash-3.2# rpm -Uvh ncurses-5.6-7.20070612.i386.rpm 
Preparing...                ########################################### [100%]
        package ncurses-5.6-7.20070612.i386 is already installed
bash-3.2# rpm -Uvh pico-4.62-1.i386.rpm 
error: Failed dependencies:
        libtinfow.so.5 is needed by pico-4.62-1.i386
bash-3.2#
 
Old 11-16-2009, 05:30 PM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2021 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,430

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
The only package providing libtinfow.so.5 is ncurses-5.7-8.i586.rpm
But it doesn't fit CentOS5.

I will try to build a package, if possible.
And let you know the result.
.....

The latest package I can find for CentOS 5.4
is ncurses-5.5-24.20060715.i386.rpm
http://mirror.centos.org/centos/5.4/os/i386/CentOS/

And why are you not using the Package Manager
or ' yum ' for install ? ? ?
.....

Last edited by knudfl; 11-16-2009 at 06:08 PM.
 
Old 11-16-2009, 06:12 PM   #10
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594
'rpm -qf /usr/bin/pico' shows it to be part of Alpine (as in "The Alpine Formerly Known As Pine") which is in the RPMForge repo.
 
Old 11-16-2009, 06:40 PM   #11
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2021 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,430

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
The final and perfect solution from unSpawn : alpine.


# yum install alpine nano

.. and you will probably see no difference between 'pico' and 'nano'.
 
Old 11-16-2009, 06:48 PM   #12
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594
Code:
# yum install alpine^H^H^H^H^H^H nano
Hmm. Come to think of it your suggestion may be better. After all it's a bit odd to have to install a MUA to get an editor. And would one really want an editor that has dependencies TCL, LDAP, SASL, Kerberos, et cetera?..
 
Old 11-17-2009, 02:57 AM   #13
Chenchu
Member
 
Registered: Nov 2009
Location: Mars
Distribution: CentOS
Posts: 50

Original Poster
Rep: Reputation: 20
Code:
bash-3.2# yum install alpine nano
http://mirrors.ee.teiath.gr/CentOS/5.4/os/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Trying other mirror.
ftp://ftp.cs.hacettepe.edu.tr/pub/mirrors/CentOS/5.4/os/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Trying other mirror.
http://centos.fastbull.org/centos/5.4/os/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Trying other mirror.
http://helios.imbb.forth.gr/mirrors/centos/5.4/os/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Trying other mirror.
http://centos.skknet.net/5.4/os/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Trying other mirror.
ftp://ftp.eutelia.it/CentOS/5.4/os/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Trying other mirror.
http://mi.mirror.garr.it/mirrors/CentOS/5.4/os/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Trying other mirror.
http://ftp.ntua.gr/pub/linux/centos/5.4/os/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Trying other mirror.
http://ftp.otenet.gr/linux/centos/5.4/os/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Trying other mirror.
http://ftp.cc.uoc.gr/CentOS/5.4/os/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again
bash-3.2#
guys i'm trying to install this just because it was part of the CBT videos. I guess i'll figure out the problem as I get forward with my studies
to the application installation part.. thanks for tryig solving this
 
Old 11-17-2009, 06:01 AM   #14
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2021 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,430

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
Please do the command
cat /etc/yum.repos.d/CentOS-Base.repo
.. and show the sections 'base' and 'updates'

Should look like this ...
Code:
[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

#released updates 
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
Alternatively : use a repo file with a static URL,
like the 'CentOS-Base54.repo' , attached here ( post # 5 )
http://www.linuxquestions.org/questi...19/highlight#5
.....

Last edited by knudfl; 11-17-2009 at 07:54 AM.
 
Old 11-17-2009, 01:22 PM   #15
Chenchu
Member
 
Registered: Nov 2009
Location: Mars
Distribution: CentOS
Posts: 50

Original Poster
Rep: Reputation: 20
Code:
[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

#released updates 
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
this is how it looks like
 
  


Reply

Tags
nano


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Fedora 8, rpm and CD 1 needed CEStanley Linux - Software 3 08-05-2008 07:44 PM
rpm needed maooah Red Hat 4 01-10-2008 07:34 PM
Quick Response needed syedjanu Linux - General 3 06-15-2006 04:21 AM
Rpm Needed For Fedora t3gah Fedora 3 02-27-2005 01:00 AM
help needed updating RPM drmartin Linux - Newbie 11 07-10-2002 10:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:37 PM.

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