LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   yum (https://www.linuxquestions.org/questions/linux-software-2/yum-712392/)

cmontr 03-17-2009 10:20 PM

yum
 
Hello,

I have uninstalled yum on Fedora 10. I am trying to reinstall and at the dir yum-2.0.7, make fails.

Could someone provide installatation steps from scratch please?

errors I got was:

/bin/sh: line 2: msgmerge: command not found
msgmerge -v of cs failed
/bin/sh: line 2: msgmerge: command not found
msgmerge -v of es failed
/bin/sh: line 2: msgmerge: command not found
msgmerge -v of ru failed
/bin/sh: line 2: msgmerge: command not found
msgmerge -v of uk failed
msgfmt --statistics --verbose -o cs.mo cs.po
make[1]: msgfmt: Command not found
make[1]: *** [cs.mo] Error 127
make[1]: Leaving directory `/root/yum/yum-2.0.7/po'
make: *** [all] Error 2



2nd issue I had was installation of JDK, it also failed...

Please let me know if you can help.

Thanks

cmontr 03-17-2009 10:30 PM

Quote:

Originally Posted by cmontr (Post 3478925)
Hello,

I have uninstalled yum on Fedora 10. I am trying to reinstall and at the dir yum-2.0.7, make fails.

Could someone provide installatation steps from scratch please?

errors I got was:

/bin/sh: line 2: msgmerge: command not found
msgmerge -v of cs failed
/bin/sh: line 2: msgmerge: command not found
msgmerge -v of es failed
/bin/sh: line 2: msgmerge: command not found
msgmerge -v of ru failed
/bin/sh: line 2: msgmerge: command not found
msgmerge -v of uk failed
msgfmt --statistics --verbose -o cs.mo cs.po
make[1]: msgfmt: Command not found
make[1]: *** [cs.mo] Error 127
make[1]: Leaving directory `/root/yum/yum-2.0.7/po'
make: *** [all] Error 2



2nd issue I had was installation of JDK, it also failed...

Please let me know if you can help.

Thanks

rpm -ivh http://download.fedora.redhat.com/pu...fc3.noarch.rpm
Retrieving http://download.fedora.redhat.com/pu...fc3.noarch.rpm
curl: (22) The requested URL returned error: 404
error: skipping http://download.fedora.redhat.com/pu...fc3.noarch.rpm - transfer failed

lazlow 03-17-2009 10:48 PM

Why are you trying to install such an old version of yum?

Assuming you are using 32bit FC10 go to the following link and double click on the yum rpm.

Edit:
I guess it is a noarch rpm so 32/64bit will not matter.

yum-3.2.20-3.fc10.noarch.rpm

cmontr 03-17-2009 11:35 PM

Quote:

Originally Posted by lazlow (Post 3478942)
Why are you trying to install such an old version of yum?

Assuming you are using 32bit FC10 go to the following link and double click on the yum rpm.



Edit:
I guess it is a noarch rpm so 32/64bit will not matter.

yum-3.2.20-3.fc10.noarch.rpm


Hi - I tried that link but it is not working...have any othr suggestions?

Thanks

lazlow 03-17-2009 11:53 PM

That server is quite slow but it is working. I checked both here at home and a remote server I have several states away.

Edit: You should also be able to look in your install media and pull it from there.

cmontr 03-18-2009 12:35 AM

Quote:

Originally Posted by lazlow (Post 3478984)
That server is quite slow but it is working. I checked both here at home and a remote server I have several states away.

Edit: You should also be able to look in your install media and pull it from there.

That part worked, however, now I am getting this error. Can you please help on that?

yum update

http://livna.cat.pdx.edu/repo/10/i38...ta/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
livna | 2.4 kB 00:00
livna/primary_db | 2.7 kB 00:00
http://directory.fedoraproject.org/y...ta/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: idmcommon-noarch. Please verify its path and try again

lazlow 03-18-2009 12:56 AM

Both of paths in those links are bad. Post the results of yum repolist.

cmontr 03-18-2009 01:06 AM

Quote:

Originally Posted by lazlow (Post 3479027)
Both of paths in those links are bad. Post the results of yum repolist.

This is what it was:
yum repolist
http://directory.fedoraproject.org/y...ta/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: idmcommon-noarch. Please verify its path and try again


COuld you tell me how to fix it? Thanks.

lazlow 03-18-2009 01:49 AM

It looks like the idmcommon-noarch repo is bad (never heard of it either). Copy and paste the contents of the /etc/yum.repos.d/idmcommon.repo file. The name may be a little off but it will be one of the files in that directory.

cmontr 03-18-2009 08:47 AM

Quote:

Originally Posted by lazlow (Post 3479057)
It looks like the idmcommon-noarch repo is bad (never heard of it either). Copy and paste the contents of the /etc/yum.repos.d/idmcommon.repo file. The name may be a little off but it will be one of the files in that directory.

Hi - This is what i got...dont know if it makes any sense...

cat /etc/yum.repos.d/idmcommon.repo
[idmcommon]
name=Fedora IDM Common - $releasever - $basearch
baseurl=http://directory.fedoraproject.org/yum/idmcommon/fedora/$releasever/$basearch/RPMS

[idmcommon-noarch]
name=Fedora IDM Common - $releasever - noarch
baseurl=http://directory.fedoraproject.org/yum/idmcommon/fedora/$releasever/noarch/RPMS

lazlow 03-18-2009 02:14 PM

If you look back to the root of that link:

Quote:

directory.fedoraproject.org/yum/idmcommon/fedora/
You will see that there is no F10 section. So wherever you got that repo from it was not meant to be used with F10.

I will look around and see if I can find the standard F10 repo file.

cmontr 03-18-2009 02:19 PM

Quote:

Originally Posted by lazlow (Post 3479715)
If you look back to the root of that link:



You will see that there is no F10 section. So wherever you got that repo from it was not meant to be used with F10.

I will look around and see if I can find the standard F10 repo file.

Thanks a lot ... Please let me know how to fix it...

lazlow 03-18-2009 02:25 PM

The way you fix it is to remove that repo and just use the standard one. I do not currently have a F10 system around so I cannot just post the standard repo file.

lazlow 03-18-2009 03:12 PM

Quote:

[fedora]
name=Fedora $releasever - $basearch
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[fedora-debuginfo]
name=Fedora $releasever - $basearch - Debug
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/debug/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-debug-$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[fedora-source]
name=Fedora $releasever - Source
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/source/SRPMS/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
I found this one. No guarantees but give it a try.

cmontr 03-20-2009 11:13 AM

Quote:

Originally Posted by lazlow (Post 3479770)
I found this one. No guarantees but give it a try.

appreciated for your time. so far no luck. I will look at it later again.


All times are GMT -5. The time now is 08:39 PM.