Jester wrote:So I googled pidgin to see if I could just download something and install it bc I wasn't entirely sure how to create my own SRPM plus the -uvh command doesn't work for me... I'm not entirely sure if I was logged into the root user on my terminal or not so I suppose that could have been the problem.
Anyway I found a really nice place that seemed like it would have been easy enough, "http://rpm.pidgin.im/fedora/pidgin.repo" only that once you run yum install pidgin, it outputs a http:// 404 error.
"http://rpm.pidgin.im/fedora/6.1/ppc/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found"
The download page has a .repo file for fedora core 4, 5, 6, and 7 that you download and save in the location, (obviously) /etc/yum.repos.d once that is done you run the yum install. But like I said I get that error once I do the yum install, the pidgin repo looks like this
[pidgin]
name=Pidgin for Fedora Core $releasever - $basearch
baseurl=http://rpm.pidgin.im/fedora/$releasever/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://rpm.pidgin.im/RPM-GPG-KEY-pidgin
[pidgin-debuginfo]
name=Pidgin for Fedora Core $releasever - $basearch - Debug
baseurl=http://rpm.pidgin.im/fedora/$releasever/$basearch/debug/
enabled=0
gpgcheck=1
gpgkey=http://rpm.pidgin.im/RPM-GPG-KEY-pidgin
[pidgin-source]
name=Pidgin for Fedora Core $releasever - $basearch - Source
baseurl=http://rpm.pidgin.im/SRPMS/
enabled=0
gpgcheck=1
gpgkey=http://rpm.pidgin.im/RPM-GPG-KEY-pidgin
This is what you get from the link at the beginning of this post. I tried to enable the other 2 (debug info and source but it didn't help) then I tried enabling them individually, leaving the initial pidgin repo enabled the whole time. I think I also tried to disable the gpgcheck as well, but that didn't help either. Any info would be awesome.
These repos are a little special - they use your machine's internal variables to find the correct processor architecture on the servers. This is the $releasever & $basearch variables.
So - there's two problems with using the scripts as is.
First - YDL release numbers do not correspond to Fedora release numbers. Our $releasever is 6.1 - there was never a Fedora Core 6.1, so this won't work as is.
If we look on the actual server
http://rpm.pidgin.im/fedora/we see this:
- Code: Select all
Index of /fedora/
Name Last Modified Size Type
Parent Directory/ - Directory
4/ 2007-Jun-15 10:09:20 - Directory
5/ 2007-Jun-15 10:09:35 - Directory
6/ 2007-Jun-15 10:09:48 - Directory
7/ 2008-Jul-03 11:29:37 - Directory
.htaccess 2008-Mar-25 21:22:22 0.1K application/octet-stream
FOOTER.html 2008-Mar-25 21:22:28 0.7K text/html
pidgin.repo 2007-May-07 13:42:47 0.5K application/octet-stream
Okay - that's not bad - there's a 6 directory. So - first step is remove the $releasever and replace it with a 6 in the repo scripts.
HOWEVER
Second - the processor arch - $basearch - is PowerPC - or ppc. If we look in our new
http://rpm.pidgin.im/fedora/6directory, we see this:
- Code: Select all
Index of /fedora/6/
Name Last Modified Size Type
Parent Directory/ - Directory
i386/ 2009-Jun-29 09:48:16 - Directory
x86_64/ 2009-Jun-29 09:48:30 - Directory
Uh oh - bad news. No PowerPC - ppc - version here. So - we can't use any of these repos.
Cheers,
Paul
P.S. For future reference, if you look here:
http://rpm.pidgin.im/you will see this listing:
- Code: Select all
Index of /
Name Last Modified Size Type
Parent Directory/ - Directory
SRPMS/ 2009-Jun-29 09:50:25 - Directory
centos/ 2007-Jun-15 10:07:49 - Directory
fedora/ 2008-Jul-03 11:29:27 - Directory
rhel/ 2007-Jun-15 10:07:49 - Directory
.htaccess 2008-Oct-06 22:13:44 0.4K application/octet-stream
404.html 2007-Sep-28 09:22:54 3.2K text/html
FOOTER.html 2008-Mar-25 21:15:45 0.6K text/html
HEADER.html 2007-Sep-28 09:51:50 2.7K text/html
HEADER.txt 2008-Oct-07 14:49:56 2.7K text/plain
RPM-GPG-KEY-pidgin 2007-May-04 10:34:02 1.2K application/octet-stream
It's always better to pick CentOS over Fedora or RHEL. YDL 6.1 corresponds to CentOS 5.2 - we are built directly from CentOS sources. Unfortunately - this doesn't help us either, since there are no ppc directories in the CentOS directories either.