LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-18-2012, 01:31 AM   #1
ravi_nandula
Member
 
Registered: Sep 2011
Posts: 81

Rep: Reputation: Disabled
Question how to download packages


Hi everyone,

I am new to linux.And at present I am learning Linux .

My problem....when ever I am trying to install a package in my OS...that package is not avaiable in my repos....So Im downloading manually in the browser and trying to install the rpm package Im getting following error...

warning: vsftpd-2.0.5-12.el5.i386.rpm: Header V3 DSA/SHA1 Signature, key ID 82fd17b2: NOKEY
error: Failed dependencies:
/lib/security/pam_loginuid.so is needed by vsftpd-2.0.5-12.el5.i386
libc.so.6 is needed by vsftpd-2.0.5-12.el5.i386
libc.so.6(GLIBC_2.0) is needed by vsftpd-2.0.5-12.el5.i386
libc.so.6(GLIBC_2.1) is needed by vsftpd-2.0.5-12.el5.i386
libc.so.6(GLIBC_2.1.3) is needed by vsftpd-2.0.5-12.el5.i386
libc.so.6(GLIBC_2.2) is needed by vsftpd-2.0.5-12.el5.i386
libc.so.6(GLIBC_2.3) is needed by vsftpd-2.0.5-12.el5.i386
libc.so.6(GLIBC_2.3.4) is needed by vsftpd-2.0.5-12.el5.i386
libc.so.6(GLIBC_2.4) is needed by vsftpd-2.0.5-12.el5.i386
libcap.so.1 is needed by vsftpd-2.0.5-12.el5.i386
libcrypto.so.6 is needed by vsftpd-2.0.5-12.el5.i386
libdl.so.2 is needed by vsftpd-2.0.5-12.el5.i386
libnsl.so.1 is needed by vsftpd-2.0.5-12.el5.i386
libpam.so.0 is needed by vsftpd-2.0.5-12.el5.i386
libpam.so.0(LIBPAM_1.0) is needed by vsftpd-2.0.5-12.el5.i386
libssl.so.6 is needed by vsftpd-2.0.5-12.el5.i386
libwrap.so.0 is needed by vsftpd-2.0.5-12.el5.i386
Im getting Failed dependencies.....I can't download and list those many dependecies for a single package.....So please tell me the any best way to get package and install it.

My system is not registered with RHN......
 
Old 06-18-2012, 01:36 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
If your system is not registered to RHN (which would cost you money) then you shouldn't use RHEL in the first place. Install CentOS instead, it is a free version of RHEL without the branding. It will function in the same way and you will be able to install packages using the yum package manager.
 
Old 06-18-2012, 01:38 AM   #3
ravi_nandula
Member
 
Registered: Sep 2011
Posts: 81

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TobiSGD View Post
If your system is not registered to RHN (which would cost you money) then you shouldn't use RHEL in the first place. Install CentOS instead, it is a free version of RHEL without the branding. It will function in the same way and you will be able to install packages using the yum package manager.
ooh ok .....So in order to install the Packages in my RHEL 6....I should compulsory resgisted with Redhat Network (RHN)???????????
otherwise I can't install any packages.....which are not in my repos
 
Old 06-18-2012, 01:43 AM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
You can install any package that is meant for your distribution. Your first problem is that you downloaded the packages for RHEL 5, they won't work on RHEL 6. The second problem is that you also have to download and install all packages that are listed as dependencies for the package you want to install. Normally this would be done by the yum package manager automatically, but since you aren't registered (the cheapest option is 49$/year, IIRC) you have to do it manually. With CentOS you will get this functionality for free.
 
Old 06-18-2012, 04:37 AM   #5
ravi_nandula
Member
 
Registered: Sep 2011
Posts: 81

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TobiSGD View Post
You can install any package that is meant for your distribution. Your first problem is that you downloaded the packages for RHEL 5, they won't work on RHEL 6. The second problem is that you also have to download and install all packages that are listed as dependencies for the package you want to install. Normally this would be done by the yum package manager automatically, but since you aren't registered (the cheapest option is 49$/year, IIRC) you have to do it manually. With CentOS you will get this functionality for free.
Installed CentOS 6.2 .....After completing reboot......I gave command " yum list all "..........and I got the following output....


Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?releas...h=i386&repo=os error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
Error: Cannot find a valid baseurl for repo: base
 
Old 06-18-2012, 04:41 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
that's a generic network error. check your DNS settings, default gateway etc. until you can run "ping mirrorlist.centos.org" don't look at anything more complex.
 
Old 06-18-2012, 04:43 AM   #7
ravi_nandula
Member
 
Registered: Sep 2011
Posts: 81

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by acid_kewpie View Post
that's a generic network error. check your DNS settings, default gateway etc. until you can run "ping mirrorlist.centos.org" don't look at anything more complex.
yah I am able to ping it
 
  


Reply


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
[SOLVED] Can't Download Packages Please HELP!!! Fcukinyahoo Linux - Newbie 4 11-16-2011 01:57 PM
Necessary to Download all Packages? rtrahan Linux - Software 2 02-15-2009 04:02 PM
Need to download packages in windows nightwalker1977 Ubuntu 4 11-19-2007 12:35 AM
Download all packages from one place muczy Linux From Scratch 3 06-17-2004 01:29 AM
Download packages from cds /home/kyle Linux - Software 3 03-10-2004 12:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:06 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