Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: SoftDux on February 18, 2008, 02:13:30 PM

Title: SME 7.3 doesn't want to use aditional repositories to install software
Post by: SoftDux on February 18, 2008, 02:13:30 PM
Hi all

I'm trying to install some software from either the dag, or atrpms repositories, but SME doesn't "see" them?

Quote

[root@intranet ~]# yum --enablerepo=atrpms --enablerepo=dag search dkms kernel-devel
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "smeserver" plugin
Loading "fastestmirror" plugin
Searching Packages:
Setting up repositories
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Excluding Packages from atrpms - EL4
Finished
Excluding Packages from Dag - EL4
Finished
Excluding Packages from CentOS - updates
Finished
Excluding Packages from CentOS - os
Finished
No Matches found
================================================================
No new rpms were installed. No additional commands are required.
================================================================


Yet, I have both these repositories in my yum.conf:

Quote
[dag]
enabled=1
baseurl=http://apt.sw.be/redhat/el4/en/$basearch/dag
name=Dag - EL4
gpgcheck=1
enablegroups=1
exclude=freetype htop iptraf rsync syslinux
gpgkey=http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt


[atrpms]
enabled=1
baseurl=http://dl.atrpms.net/el4-$basearch/atrpms/stable
name=atrpms - EL4
gpgcheck=0
enablegroups=0
exclude=clamav spamassassin libselinux perl-HTML-Parser lm_sensors perl-IO-stringy perl-XML-Parser razor-agents libgcrypt rpm-python libxml2 zli
b gnupg libxml2-python yum module-init-tools rpm gettext librpm4 glib2 perl-libwww-perl perl-Convert-ASN1 beecrypt fetchmail libacl libtool-ltdl
 popt libgpg-error freetype perl-MIME-tools mutt gd perl-TimeDate librpm4.4
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms




What am I doing wrong?
Title: Re: SME 7.3 doesn't want to use aditional repositories to install software
Post by: cactus on February 18, 2008, 02:19:16 PM
What am I doing wrong?
Did you expand the configuration file after adding the entries like this:
Code: [Select]
expand-template /etc/yum.conf
Title: Re: SME 7.3 doesn't want to use aditional repositories to install software
Post by: SoftDux on February 18, 2008, 03:02:15 PM
Did you expand the configuration file after adding the entries like this:
Code: [Select]
expand-template /etc/yum.conf

yup :)

The Wiki explains this very clearly: http://wiki.contribs.org/SME_Server:Documentation:FAQ#Repositories_Adding_Removing_Disabling

But, a reboot (actually I changed the NIC) seems to have cleared things up. I've added & removed the repositories a few times, but it's working now. odd
Title: Re: SME 7.3 doesn't want to use aditional repositories to install software
Post by: SoftDux on February 18, 2008, 04:31:42 PM
Just an update.

I currently have 3 NIC's in the machine, which is in a 2U case, with a christmas-tree / draugtherboard PCI card to enable the aditional PCI cards to sit horizontally in the case. The problem is, only one of the PCI slots on the addon card works, so the 1 NIC doesn't work. Even though I can see it, and give it an IP, it doesn't transmit any IP traffic. This caused a problem, since the SME through it was the default gw NIC. Only after disabling it, and changing my routing tables to use the ONLY working NIC in the system, can I download the drivers for the Realtek 8169c from the DAG repositories :)
Title: Re: SME 7.3 doesn't want to use aditional repositories to install software
Post by: william_syd on February 18, 2008, 11:20:11 PM
Hi all

I'm trying to install some software from either the dag, or atrpms repositories, but SME doesn't "see" them?

Yet, I have both these repositories in my yum.conf:


What am I doing wrong?

Nothing I would say.

What you posted shows those new repos excluding packages.

edit2:

You have them set as enabled=1. That will mess up your updates from the server-manager.