Koozali.org: home of the SME Server

SME 7.3 doesn't want to use aditional repositories to install software

Offline SoftDux

  • *****
  • 240
  • +0/-0
    • http://www.SoftDux.com
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?

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: SME 7.3 doesn't want to use aditional repositories to install software
« Reply #1 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
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline SoftDux

  • *****
  • 240
  • +0/-0
    • http://www.SoftDux.com
Re: SME 7.3 doesn't want to use aditional repositories to install software
« Reply #2 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

Offline SoftDux

  • *****
  • 240
  • +0/-0
    • http://www.SoftDux.com
Re: SME 7.3 doesn't want to use aditional repositories to install software
« Reply #3 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 :)

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: SME 7.3 doesn't want to use aditional repositories to install software
« Reply #4 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.

« Last Edit: February 18, 2008, 11:35:15 PM by william_syd »
Regards,
William

IF I give advise.. It's only if it was me....