Subject: | |
From: | |
Reply To: | |
Date: | Sun, 16 Oct 2005 21:46:52 -0400 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Brian McGonagill wrote:
>For SL4.x I had to change enabled=0 to enabled=1
>in /etc/yum.repos.d/dag.repo
>
>can't find that file in SLF304, and when I do a yum search netspped
>nothing comes up.
>
>
Try editing "/etc/yum.conf". There should an existing entry for DAG's
packages in that file that you can uncomment. If the entry is not
therre, the one that I use on one of my typical SL3 machines is:
[dag]
name=DAG rpms
baseurl=ftp://ftp.scientificlinux.org/linux/extra/dag/redhat/el3/en/$basearch/dag/
The package is still called netspeed_applet.
>I'm sure I'm doing something wrong.
>
>
They changed the configuration mechanism on you between releases. The
advantage of the /etc/yum.repos.d/* over the single-file configuration
used in SL3 is that it's easier to drop a portion of the configuration
in from a .rpm package. No messy automatic editing of text files in an
RPM packages' install script. It's also easier to write instructions
for the /etc/yum.repos.d/* system because I can guarantee that the
person reading the instructions will be in the correct "section" of the
configuration.
If you end up playing with a lot of Linux distributions of varying ages,
you'll see the same kind of change taking place with inetd, and probably
some other services as well. Traditional inetd uses a configuration
file called /etc/inetd.conf. Older distributions (and traditional
Unixes) use /etc/inetd.conf, while the new stuff uses /etc/xinetd.d/* to
configure the individual services. The tradeoff between these methods
is more obvious with inetd than it is with yum.
I hope this helps,
-Luke
|
|
|