View Full Version : How to install Yum?
bezawada
02-05-2005, 05:32
I am totally a linux newbie.
I got my server yesterday.
I want to install Yum auto updater on my server (linux - dedicated) from my desktop (XP) using SSH and SFTP.
Could any body help me in this regard?
Also I am getting this error when I am trying to install Fantastico.
Fatal Error
The wget binaries "wget" can not be found. Please make sure you are submitting the full path including filename.
Please go back and retry.
:hey: :help:
if you cant install wget, your lost, no chance in helping you. Pay for a real sysadmin. typical reply but its true, no one can help!
ChronoCross
02-05-2005, 16:42
if you cant install wget, your lost, no chance in helping you. Pay for a real sysadmin. typical reply but its true, no one can help!
boy you just made and ass of yourself. How do you expect a newbie to learn stuff if he doesn't have anywhere to turn for real help. For a non super tech person who's been using windows their entire life the concepts of needing to do all these steps to instal something manually are unheard of. Perhaps instead of giving that shitty response you should have helped him/her get started, then perhaps one day they could be a full fleged sysadmin.
bezawada
02-06-2005, 07:16
boy you just made and ass of yourself. How do you expect a newbie to learn stuff if he doesn't have anywhere to turn for real help. For a non super tech person who's been using windows their entire life the concepts of needing to do all these steps to instal something manually are unheard of. Perhaps instead of giving that shitty response you should have helped him/her get started, then perhaps one day they could be a full fleged sysadmin.
Thanks for your support.
No problem,one of my friends installed it for me. :cool:
littlewhitey
02-06-2005, 08:57
When I try to install Yum on my VDS I always get failed dependencies errors...When I try to install the dependencies they need something else and when I try to install the something else it says it can't install for some reason :( :help:
mikron15
02-06-2005, 19:43
download the .tar source and set it up..it isnt hard..read the readme file in it..Pretty easy..
As root,
cd ~
mkdir setups
cd setups
wget http://linux.duke.edu/projects/yum/download/2.0/yum-2.0.7.tar.gz
tar -xvzf yum-2.0.7.tar.gz
cd yum-2.0.7
./configure
make
make install
Voila..ur all set :)
bezawada
02-07-2005, 21:08
download the .tar source and set it up..it isnt hard..read the readme file in it..Pretty easy..
As root,
cd ~
mkdir setups
cd setups
wget http://linux.duke.edu/projects/yum/download/2.0/yum-2.0.7.tar.gz
tar -xvzf yum-2.0.7.tar.gz
cd yum-2.0.7
./configure
make
make install
Voila..ur all set :)
Hi,
Thanks for your support.
I did it.
When I am running "yum update",I am getiing 404 error ,the path of the url is invalid message.
One more question.
Can I use FDC name servers as my name servers?
LOD-squa
02-28-2005, 02:32
Same, same. I installed yum yet it says:
root@server1 [~]# yum update
Gathering header information file(s) from server(s)
Server: Red Hat Linux 2 - i386 - Base
retrygrab() failed for:
http://mirror.dulug.duke.edu/pub/yum-repository/redhat/2/i386/headers/header.info
Executing failover method
failover: out of servers to try
Error getting file http://mirror.dulug.duke.edu/pub/yum-repository/redhat/2/i386/headers/header.info
[Errno 4] IOError: HTTP Error 404: Not Found
mikron15
02-28-2005, 05:21
that mirror is down.. you can get some more mirrors from yum website, if ur having difficulties in modifying it, let me know what OS both u guys have
LOD-squa
03-02-2005, 01:55
How would I make it pick from another mirror? o.O; Always that I run yum update I get that.
KaiserDragon
03-30-2005, 02:16
Anither mirror would more likely be up and therefor no 404 error
mikron15
03-30-2005, 05:32
if ur using fedora Core 2, make sure ur /etc/yum.conf looks like:
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=fedora-release
tolerant=1
exactarch=1
[core]
name=Fedora Linux $releasever - $basearch - core
baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/core
gpgcheck=1
[updates]
name=Fedora Linux $releasever - $basearch - updates
baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/updates
gpgcheck=1
[freshrpms]
name=Fedora Linux $releasever - $basearch - freshrpms
baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms
gpgcheck=1
#[tupdates]
#name=Fedora Linux $releasever - $basearch - testing updates
#baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/tupdates
mikron15
03-30-2005, 05:34
For Fc1:
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=fedora-release
tolerant=1
exactarch=1
retries=20
[base]
name=Fedora Core $releasever - $basearch - Base
baseurl=http://mirror.cs.wisc.edu/pub/mirrors/linux/download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
ftp://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
baseurl=http://mirror.cs.wisc.edu/pub/mirrors/linux/download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
ftp://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
#[updates-testing]
#name=Fedora Core $releasever - $basearch - Unreleased Updates
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/$releasever/$$
if FC 4 .... the setting still same or different?
need help here .... when i try to install it have error ...
make[1]: msgfmt: Command not found
make[1]: *** [cs.mo] Error 127
make[1]: Leaving directory `/home/admin/yum-2.0.7/po'
make: *** [all] Error 2
if FC 4 .... the setting still same or different?
need help here .... when i try to install it have error ...
make[1]: msgfmt: Command not found
make[1]: *** [cs.mo] Error 127
make[1]: Leaving directory `/home/admin/yum-2.0.7/po'
make: *** [all] Error 2
This topic is fairly old, some methods maybe expired please read below.
Next time open new topic, people maybe confused with reading old methods.
Uninstall & Re-install Yum on FC4:
rpm -e yum
wget ftp://rpmfind.net/linux/fedora/core/4/i386/os/Fedora/RPMS/yum-2.3.2-7.noarch.rpm
rpm -ivh yum-2.3.2-7.noarch.rpm
done.
Clear install first time on FC4:
wget ftp://rpmfind.net/linux/fedora/core/4/i386/os/Fedora/RPMS/yum-2.3.2-7.noarch.rpm
rpm -ivh yum-2.3.2-7.noarch.rpm
Yum Conf for FC4: pico /etc/yum.conf
[main]
exclude=apache* courier* exim* httpd* mod_ssl* mysql* perl* php* proftpd* pure-ftpd* spamassassin* squirrelmail*
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=fedora-release
tolerant=1
exactarch=1
retries=20
obsoletes=1
gpgcheck=1
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
[atomic]
name=Atomic Rocket Turtle - $releasever - Atomic PSA-Compatible RPMS
baseurl=http://3es.atomicrocketturtle.com/atomic/art/$releasever/
wget http://www.atomicrocketturtle.com/RPM-GPG-KEY.art.txt
rpm --import RPM-GPG-KEY.art.txt
yum -y upgrade
now i get another error
18:33:37 (592.58 KB/s) - `yum-2.3.2-7.noarch.rpm' saved [379636]
error: Failed dependencies:
rpm-python is needed by yum-2.3.2-7.noarch
urlgrabber is needed by yum-2.3.2-7.noarch
[root@server ~]# cd rpm
-bash: cd: rpm: No such file or directory
[root@server ~]# cd rpms/
[root@server rpms]# ls
freshrpms-release-1.1-1.fc.noarch.rpm rpm-python-4.4.2.4-1.fc4.pyv.i386.rpm
libxml2-python-2.6.20-1.FC4.i386.rpm rpm-python24-4.4.2.4-1.fc4.pyv.i386.rpm
python-elementtree-1.2.6-4.i386.rpm rpmforge-release-0.2-2.2.fc4.rf.i386.rpm
python-sqlite-1.1.6-1.i386.rpm yum-2.4.1-1.fc4.noarch.rpm
python24-urlgrabber-2.9.6-3.py24.noarch.rpm
[root@server rpms]# rpm -iUvh rpm-python-4.4.2.4-1.fc4.pyv.i386.rpm
warning: rpm-python-4.4.2.4-1.fc4.pyv.i386.rpm: Header V3 DSA signature: NOKEY, key ID 4ad653e1
error: Failed dependencies:
rpm-python24 = 4.4.2.4 is needed by rpm-python-4.4.2.4-1.fc4.pyv.i386
[root@server rpms]# rpm -iUvh rpm-python24-4.4.2.4-1.fc4.pyv.i386.rpm
warning: rpm-python24-4.4.2.4-1.fc4.pyv.i386.rpm: Header V3 DSA signature: NOKEY, key ID 4ad653e1
error: Failed dependencies:
rpm-python = 4.4.2.4 is needed by rpm-python24-4.4.2.4-1.fc4.pyv.i386
[root@server rpms]#
Yes you need install python first I have question for you are you FDC customer ? Because all our FC4 servers coming with yum.
Try:
rpm -q python or rpm -q python*
find if is there any old python has been installed or not if yes, remove it first
rpm -e python or rpm -e python*
try install python now, also you need system administrator you have missing Header V3 DSA signature. If you cant solve this problem and need sys admin, my contact information under my sig.
vBulletin® v3.7.3, Copyright ©2000-2009, Jelsoft Enterprises Ltd.