April 2005 Archives
I run rdate every night to sync the clock and recently, it kept failing. I tested it manually, and found that when I ran "rdate -p" it kept outputting "Alarm Clock". I had to update rdate from source (http://freshmeat.net/redir/rdate/8862/url_tgz/rdate-1.4.tar.gz) and it works fine now. (and this was on RedHat 9)
There are several third-party apt and yum repositories for Fedora that provide additional software and some provide support for playing DVDs and MP3 files. Some of these are just the mirrors of Official Fedora Core 3 project site.
Let us configure 3 of such mirrors: FreshRPMS, livna and atrpms.
Since we use package verification using GPG (default setup for Yum), we need to import the GPG keys of the respective repositories. We can do that by,
#> rpm --import http://freshrpms.net/packages/RPM-GPG-KEY.txt #> rpm --import http://rpm.livna.org/RPM-LIVNA-GPG-KEY-x86_64 #> rpm --import http://rpm.livna.org/RPM-LIVNA-GPG-KEY-i386 #> rpm --import http://atrpms.net/RPM-GPG-KEY.atrpms
Now, we need to setup the repositories for yum to download from. The repo configuration files are located in /etc/yum.repos.d.
FreshRPMS
create /etc/yum.repos.d/freshrpms.repo, with the following entries:
[freshrpms] name=Fedora Linux $releasever - $basearch - freshrpms baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms gpgcheck=1
Livna
create /etc/yum.repos.d/livna.repo, with the following entries:
[livna-stable] name=Livna.org Fedora Compatible Packages (stable) baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.stable gpgcheck=1 [livna-unstable] name=Livna.org Fedora Compatible Packages (unstable) baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.unstable gpgcheck=1 [livna-testing] name=Livna.org Fedora Compatible Packages (testing) baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.testing gpgcheck=1
ATRPMS
create /etc/yum.repos.d/atrpms.repo, with the following entries:
[at-stable] name=ATrpms for Fedora Core $releasever stable baseurl=http://apt.atrpms.net/fedora/$releasever/en/$basearch/at-stable [at-good] name=ATrpms for Fedora Core $releasever good baseurl=http://apt.atrpms.net/fedora/$releasever/en/$basearch/at-good [at-testing] name=ATrpms for Fedora Core $releasever testing baseurl=http://apt.atrpms.net/fedora/$releasever/en/$basearch/at-testing [at-bleeding] name=ATrpms for Fedora Core $releasever bleeding baseurl=http://apt.atrpms.net/fedora/$releasever/en/$basearch/at-bleeding
Now that the entries are done, you can use yum to install/upgrade packages.
While compiling ht://dig (htdig) on RedHat 9, I got the following Error:
configure: error: To compile ht://Dig, you will need a C++ library.
Try installing libstdc++
The solution would be to run "./configure" like this:
CXXFLAGS=-Wno-deprecated CPPFLAGS=-Wno-deprecated ./configure <your params>
This is for installing htdig versions prior to 3.2.0b5, to work with GCC 3.2
