[WBEL-users] Switch over to APT

Ed Cooley ecooley@strategy5.com
Mon, 27 Dec 2004 12:01:25 -0600


You might have better luck maintaining a copy of the updates on your server
using rsync, then edit the /etc/sysconfig/rhn/sources and replace the
entries with one pointing to your local directory or local machine.

We have several servers and maintain a copy of the updates and os on one
server and do the updates locally and it works well.  It allows us to update
much faster and check for updates more often on the repository machine.

Here are the commands I use to keep the repository updated on our u1
file-system:

rsync -avz rsync://mirror.physics.ncsu.edu/whitebox/3.0/en/updates
/u1/whitebox/3.0/en/updates
rsync -avz rsync://mirror.physics.ncsu.edu/whitebox/3.0/en/os/i386
/u1/whitebox/3.0/en/os
rsync -avz rsync://mirror.physics.ncsu.edu/whitebox/3.0/en/extras
/u1/whitebox/3.0/en/extras

The entries for the sources file will look something like this:

Local repository:

yum WBEL3 file:///u1/whitebox/3.0/en/os/$ARCH
yum WBEL3-Updates file:///u1/whitebox/3.0/en/updates
yum WBEL3-Extras file:///u1/whitebox/3.0/en/extras

repository on another machine using ftp:


yum WBEL-3.0 ftp://repository_machine/whitebox/3.0/en/os/i386/
yum WBEL3-Updates ftp://repository_machine/whitebox/3.0/en/updates/
yum WBEL-3.0-Extras ftp://repository_machine/whitebox/3.0/en/extras/


---
Ed Cooley
Strategy Systems, Inc.


-----Original Message-----
From: whitebox-users-admin@beau.org [mailto:whitebox-users-admin@beau.org]
On Behalf Of offline.2800382@bloglines.com
Sent: Monday, December 27, 2004 10:18 AM
To: Whitebox-users@beau.org
Subject: [WBEL-users] Switch over to APT

I've been running yum on WBEL for a fair while now, and I've basically given
up on it -- It's slow, it doesn't permit me to terminate operations reliably
on SIGINT, etc...  Essentially, for all that I'm sure it has its advantages,
I don't like it much.

I'd like to move my package management over to apt
for WBEL (which otherwise I love).  Is this possible?  Are there apt
repositories
that are roughly equivalent to the Yum one?  Can the Yum DB even be migrated
so that I'm not stuch with a useless collection of unknown rpms?
_______________________________________________
Whitebox-users mailing list
Whitebox-users@beau.org
http://beau.org/mailman/listinfo/whitebox-users