LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to install rpm's without dependency . (https://www.linuxquestions.org/questions/linux-software-2/how-to-install-rpms-without-dependency-4175413217/)

yasaswisrikanth 06-25-2012 02:09 AM

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 .

knudfl 06-25-2012 04:24 AM

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 !

.


All times are GMT -5. The time now is 12:21 PM.