Koozali.org: home of the SME Server

Cannot instlall DAG repository

Offline cjvrensburg

  • *
  • 11
  • +0/-0
Cannot instlall DAG repository
« on: January 06, 2010, 01:33:29 PM »
Hi,

I am trying to install SQUIDGUARD on my SME SERVER.
following these instructions  http://wiki.contribs.org/SquidGuard#References
But I can't seem to install the DAG Repository
it fails with error 225 in WINSCP

I dont know if you can maybe help me

regards

Offline mmccarn

  • *
  • 2,657
  • +10/-0
Re: Cannot instlall DAG repository
« Reply #1 on: January 07, 2010, 03:37:29 PM »
From the SME dag repository page, you need to run the following TWO commands (the first command extends over 9 lines because of the back slashes at the end of the first 8 lines):

Code: [Select]
/sbin/e-smith/db yum_repositories set dag repository \
Name 'Dag - EL4' \
BaseURL 'http://apt.sw.be/redhat/el4/en/$basearch/dag' \
EnableGroups no \
GPGCheck yes \
GPGKey http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt \
Visible no \
Exclude freetype,htop,iptraf,rsync,syslinux \
status disabled

signal-event yum-modify

On my SME servers, I do this as follows:

1) Use putty to login to my SME server as root
2) copy all of the above code to my system clipboard
3) move the mouse cursor over the putty window and right-click to paste the system clipboard to the command prompt on my SME
4) verify the results using
Code: [Select]
db yum_repositories show dag
The resulting output should look like:
dag=repository
    BaseURL=http://apt.sw.be/redhat/el4/en/$basearch/dag
    EnableGroups=no
    Exclude=freetype,htop,iptraf,rsync,syslinux
    GPGCheck=yes
    GPGKey=http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
    Name=Dag - EL4
    Visible=no
    status=disabled
« Last Edit: January 07, 2010, 03:39:18 PM by mmccarn »

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Cannot instlall DAG repository
« Reply #2 on: January 07, 2010, 03:46:04 PM »
But I can't seem to install the DAG Repository
it fails with error 225 in WINSCP
AFAIK WinSCP is not a shell, but a file browser/transfer tool. It does not accept commands line the ones to install DAG. You should SSH (PuTTy is a nice tool for that indeed).
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 cjvrensburg

  • *
  • 11
  • +0/-0
Re: Cannot instlall DAG repository
« Reply #3 on: January 07, 2010, 05:04:24 PM »
Mine looks like this - the VISIBLE command is not here
i can't get squidguard installed

dag=repository
    Exclude=freetype,htop,iptraf,rsync,syslinux
    Name=Dag -EL4
    baseurl=http://apt.sw.be/redhat/e14/en/$basearch/dag
    enablegroups=no
    gpgcheck=yes
    gpgkey=http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
    status=disable

Offline cjvrensburg

  • *
  • 11
  • +0/-0
Re: Cannot instlall DAG repository
« Reply #4 on: January 07, 2010, 05:27:46 PM »
Thanks for all the help i got it done!!!!

Just re did every step, and is working now