LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-25-2012, 02:09 AM   #1
yasaswisrikanth
LQ Newbie
 
Registered: Nov 2010
Location: India
Distribution: Linuxmint
Posts: 15

Rep: Reputation: 0
How to install rpm's without dependency .


Hello ,

I have created a local directory called home/srikanth/Documents/rpms and copied all the required .rpms into this directory. My intention now is to install the software present here.

I tried rpm -ivh eclipse-* by navigating into this directory . But the dependencies cannot be resolved. Is there any way to install softwares using rpm itself?

I have tried yum also , but in fedora16 there are several yum configuration files, I don't which one to edit. I have created repo using createrepo command and copied the lines



[fedora_core16]
name=Fedora Core $releasever - $basearch - fedora_core
baseurl=file:///home/srikanth/Documents/rpms
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

to
1./etc/yum.repos.d/fedora.repo
2./etc/yum.repos.d/rpmfusion-free-updates.repo





But the following errors keep on coming :

http://virror.hanoilug.org/fedora/up...ts.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found : http://virror.hanoilug.org/fedora/up...sts.sqlite.bz2
Trying other mirror.
http://ftp.isu.edu.tw/pub/Linux/Fedo...ts.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found : http://ftp.isu.edu.tw/pub/Linux/Fedo...sts.sqlite.bz2
Trying other mirror.
http://mirror.cse.iitk.ac.in/fedora/...ts.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found : http://mirror.cse.iitk.ac.in/fedora/...sts.sqlite.bz2
Trying other mirror.
http://mirror.nus.edu.sg/fedora/linu...ts.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found : http://mirror.nus.edu.sg/fedora/linu...sts.sqlite.bz2
Trying other mirror.
http://ftp.cuhk.edu.hk/pub/linux/fed...ts.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found : http://ftp.cuhk.edu.hk/pub/linux/fed...sts.sqlite.bz2
Trying other mirror.
http://www.ftp.ne.jp/Linux/distribut...ts.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found : http://ftp-srv2.kddilabs.jp/Linux/di...sts.sqlite.bz2
Trying other mirror.
http://ftp.jaist.ac.jp/pub/Linux/Fed...ts.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found : http://ftp.jaist.ac.jp/pub/Linux/Fed...sts.sqlite.bz2
Trying other mirror.
http://ftp.riken.jp/Linux/fedora/upd...ts.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found : http://ftp.riken.jp/Linux/fedora/upd...sts.sqlite.bz2
Trying other mirror.
http://ftp.yz.yamagata-u.ac.jp/pub/l...ts.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found : http://ftp.yz.yamagata-u.ac.jp/pub/l...sts.sqlite.bz2
Trying other mirror.
http://ftp.kddilabs.jp/Linux/package...ts.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found : http://ftp-srv2.kddilabs.jp/Linux/pa...sts.sqlite.bz2
Trying other mirror.
http://mirrors.ustc.edu.cn/fedora/li...ts.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found : http://mirrors.ustc.edu.cn/fedora/li...sts.sqlite.bz2
Trying other mirror.
http://mirror.bjtu.edu.cn/fedora/upd...ts.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found : http://mirror.bjtu.edu.cn/fedora/upd...sts.sqlite.bz2
Trying other mirror.
http://ftp.cs.pu.edu.tw/Linux/Fedora...ts.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found : http://ftp.cs.pu.edu.tw/Linux/Fedora...sts.sqlite.bz2
Trying other mirror.
Error: failure: repodata/f119ba5897cbcf5c19040b59d69c3a9df434be56864b2acad68ea652ef235987-filelists.sqlite.bz2 from updates: [Errno 256] No more mirrors to try.


The repository is enabled because when I use the command :

[root@localhost rpms]# yum repolist enabled
Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit
Repository fedora_core16 is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* fedora: ftp.stu.edu.tw
* rpmfusion-free: mirror.cse.iitk.ac.in
* rpmfusion-free-updates: mirror.cse.iitk.ac.in
* rpmfusion-nonfree: mirror.cse.iitk.ac.in
* rpmfusion-nonfree-updates: mirror.cse.iitk.ac.in
* updates: virror.hanoilug.org
repo id repo name status
fedora Fedora 16 - i386 20,176
fedora_core16 Fedora Core 16 - i386 - fedora_core 3,117
rpmfusion-free RPM Fusion for Fedora 16 - Free 355
rpmfusion-free-updates RPM Fusion for Fedora 16 - Free - Updates 1,044
rpmfusion-nonfree RPM Fusion for Fedora 16 - Nonfree 150
rpmfusion-nonfree-updates RPM Fusion for Fedora 16 - Nonfree - Updates 549
updates Fedora 16 - i386 - Updates 7,441
repolist: 32,832

It shows on line 2.

i would like to resolve the situation mostly using rpm command , if its not possible say about yum .

Last edited by yasaswisrikanth; 06-25-2012 at 02:10 AM.
 
Old 06-25-2012, 04:24 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Looks like you have no internet connection ?

May be start with the main package eclipse-cdt, 39 MB.
And : Install the dependencies before you install the package :
http://dl.fedoraproject.org/pub/fedo...6/os/Packages/
+ Updates http://dl.fedoraproject.org/pub/fedo...dates/16/i386/

The package eclipse-cdt-8.0.1-4.fc16.i686.rpm (updates) depends on :
autoconf automake eclipse-platform eclipse-rse gcc-c++ gdb
libtool make objectweb-asm

Note : The total count of the Fedora 16 Eclipse packages = 147 !

.
 
  


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
RH 8.0 - Minimal package install- RPM dependency issue johnrams Red Hat 3 02-17-2009 08:32 PM
How to using rpm to install software with its dependency? cylix2000 Linux - Newbie 6 03-30-2007 01:01 AM
RPM Install help needed, dependency problem. NOVA5 Red Hat 4 10-20-2003 11:42 AM
Help : rpm dependency error when install video driver rpm ymdwxm Linux - Software 1 04-04-2003 04:55 PM
How to install dependency after verying with RPM x2000koh Linux - Software 1 07-07-2002 08:21 AM

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

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