Re: [SLUG] Anyone know of a LISP Users group in Sydney ?

2005-10-26 Thread Taryn East
* Mark Jonathan Greenaway [EMAIL PROTECTED] spake thus:
 [EMAIL PROTECTED] wrote:
 Does anyone know of any LISP user groups in our fair city ?
 Nope, but I'm willing to get involved with one.
 
 I'd probably pop along to such a thing largely out of curiousity. I
 think there are many people on this list who have at least had a passing
 infatuation with LISP, or something like it. If you like LISP, you might
 like Smalltalk as well.

looks like the beginning of a good-size small interest group of some
sort - count me in as one of the have had a passing infatuation.
Mostly by reading Paul Graham: Hackers and painters and remembering
back to using it at uni.

 http://www.paulgraham.com/books.html is probably worth browsing through
 as well.

yeah, pretty good from what I've read so far... of course there are so
many things I want to learn and not enough time to do all of them :P


Cheers,
Taryn
-- 
This .sig temporarily out-of-order.
We apologise for any inconvenience
- The Management
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Anyone know of a LISP Users group in Sydney ?

2005-10-26 Thread Bruce Badger
On 10/26/05, Mark Jonathan Greenaway [EMAIL PROTECTED] wrote:
 [EMAIL PROTECTED] wrote:
 Hello fellow SLUGers,
 Does anyone know of any LISP user groups in our fair city ?
 Nope, but I'm willing to get involved with one.
 I'd probably pop along to such a thing largely out of curiousity. I
 think there are many people on this list who have at least had a passing
 infatuation with LISP, or something like it. If you like LISP, you might
 like Smalltalk as well.

And, if Smalltalk *does* interest you, there is a Sydney Smalltalk
user group.  We tend to meet on demand (when someone has something
interesting to show), and needless to say we have a mailing list,
which you can sign up for here:

  http://lists.openskills.org/cgi-bin/mailman/listinfo/sydney-stug

Lispers would also be most welcome :-)

All the best,
Bruce
--
Make the most of your skills - with OpenSkills
http://www.openskills.org/
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Anyone know of a LISP Users group in Sydney ?

2005-10-26 Thread Hal Ashburner
If the Scheme dialect of LISP is ok with you, make sure you haven't
missed the awsomeness of MIT:

Full textbook online
http://mitpress.mit.edu/sicp/full-text/book/book.html

Lecture Notes
http://ocw.mit.edu/OcwWeb/Electrical-Engineering-and-Computer-Science/6-001Structure-and-Interpretation-of-Computer-ProgramsFall2002/LectureNotes/index.htm

Online Tutor (yep!)
http://icampustutor.csail.mit.edu/6.001-public/

Downloadable video lectures (yep!)
http://swiss.csail.mit.edu/classes/6.001/abelson-sussman-lectures/

Example problem sets
http://mitpress.mit.edu/sicp/psets/index.html

MIT Scheme itself (apt-get installable as well)
http://www.gnu.org/software/mit-scheme/

And that is how an academic institution does *that* :)
Have fun!

--
Kind regards,
Hal Ashburner
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Albert introducing himself

2005-10-26 Thread Phil Scarratt

albert wrote:

Hello everyone at SLUG,

My name is Albert, I am from Barcelona, Spain and I just arrived to Sydney
two weeks ago. I am into the Open Source movement and computer technologies
in general, have been working on the GNU/Linux for aobut 5 years, and as it is
my first visit in Australia, don't have many contacts yet.

I would like to get to meet you all as well as contribute to your organization's
events, help setting up linux systems, share linux knowledge (although I am not
very well in public speeches as for my rusty english yet), or whatever
other ways you may find a need for.

feel free to drop me an email or reach me at my mobile 0423 738 403.

Best regards to all
Albert Casals


Beinvenido
Fil
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] SOLVED: Xorg -- No Core Pointer !

2005-10-26 Thread Adam Bogacki
Google led me to a suggestion that the PS/2 mouse and the nvidia driver
don't work with 'the new kernel' (in his case 2.6.7, in mine 2.6.5) 
and that you needed to add 'psmouse', 'mousedev',  'usbhid' to
/etc/modules .. which I duly did.

Simple .. but it took a while to get there. I think I need a break.

Now to work out why ALSA modules are not being loaded and fix sound ...

Cheers,

Adam Bogacki,
[EMAIL PROTECTED]


signature.asc
Description: Digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Xserver/Xclient

2005-10-26 Thread Bill
I'm currently using my new laptop on my home LAN ( dual booting Kanotix and 
XP) to access my 4 other PCS  (3 of which are headless) running 
Kanotix/Kubuntu and/or XP and run programs on these PCs remotely.


I'm using NX/FreeNx which is included in the Kanotix distro by default, and 
which is also available for Windows. FreeNx includes both client and 
server  - see http://freenx.berlios.de/


One PC is a file/print server and one is a multimedia machine incl hdtv 
card output to TV, but is mainly used for playing streaming Shoutcast audio 
through my Stereo.


Bill

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Fwd: Re: [SLUG] Xserver/Xclient

2005-10-26 Thread Rev Simon Rumble

Forgot to copy this to the list

--- Original Message ---
Date: 10/25/2005
From: Rev Simon Rumble [EMAIL PROTECTED]
Subject: Re: [SLUG] Xserver/Xclient


On 25/10/2005, Phill [EMAIL PROTECTED] wrote:

I'm told that one of the big pros of the X server/client is that the
server and the client can be on separate machines ( I  guess like a remote
desktop). How can I use my windows machine to run applications on the
linux machine. Currently I'm just using a vnc setup.

VNC is one way to do it, the other is to run an X server on your desktop.
 Note the terminology used here: the client is actually an X
application, like xcalc; the server is actually what takes its
output and displays it.

This isn't about remote desktop though, there is a subtle
difference.  Each X client can point to any X server, so you can quite
happily run one application here, another there, another on a third X
server.  The desktop (Window Manager, kind of, in X terminology) is
just another X client.

Once you've got an X server running on your machine (and set up to
accept clients from the remote machine), you set an environment variable
called DISPLAY to point to the X server, for example:

DISPLAY=192.168.1.1:0 xcalc

or

export DISPLAY=192.168.1.1:0
xcalc
xeyes

(the :0 refers to the number of the X server at that IP address)
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Live Show

2005-10-26 Thread James Purser
Okay here's a question for you late night sluggers, what would be the
reaction if we wanted to do a live show from SLUG on the weekend after
your November meeting?
-- 
James Purser
Chief Talking Guy - Linux Australia Update
http://k-sit.com - My Blog
http://la-pod.k-sit.com - Linux Australia Update Blog and Forums
Skype: purserj1977

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] SecuryTeam Order #117457 will be processed manually by our staff.txt

2005-10-26 Thread Distinguished P. Natal


Thank you for your order (#117457).
We will manually process your order and contact you soon by phone or email

Below you can find the summary of the order:

KEZAAM! Software distribution service

746 Comalli Street, Laguna Niguel
CA 92677, USA 

Purchased at http://activeconsultants.co.uk/info.html
-

Order id: #117457
Order date:   20.10.2005 03:21
Order status: Q


Total:
---
Payment method:  Credit Card 
Subtotal:EUR 164.95
Discount:EUR 0.00
Coupon saving:   EUR 0.00
Shipping cost:   EUR 0.00
Tax: EUR 0.00

Total:   EUR 164.95 |  (USD 199.59)

--
Thank you for your interest in our products.

Best regards, SecuryTeam!

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Linux drive on iMac

2005-10-26 Thread Kevin Waterson

Hi all,
I need to rescue some data from my linux box after the MoBo died.
I have a SCSI drive and several macs running OSX. Is there any
toy I can use to connect the drive to the mac and rescue my beloved
files?

Kind regards
kevin

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Xming for X on Windows [Was: Xserver/Xclient]

2005-10-26 Thread Jeff Waugh
quote who=Phil Scarratt

  I'm told that one of the big pros of the X server/client is that the
  server and the client can be on separate machines ( I  guess like a
  remote desktop). How can I use my windows machine to run applications on
  the linux machine. Currently I'm just using a vnc setup.
 
 Short answer: install cygwin on your windows machine, making sure to
 install whatever X server is included with it.

An even faster route to satisfaction: Xming. It's really easy to install and
has a little startup wizard to configure it how you want, eg. running full
screen or using managed windows, using PuTTY to set up a compressed ssh
forward for you, etc. It's really sweet.

- Jeff

-- 
linux.conf.au 2006: Dunedin, New Zealand   http://linux.conf.au/
 
   Stupidity is used to run 98% of the world's corporations, which tops
  UNIX server usage by quite a bit. - George Lebl
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Automatic response to your mail

2005-10-26 Thread admin
admin does not receive email
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Automatic response to your mail

2005-10-26 Thread admin
admin does not receive email
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Live Show

2005-10-26 Thread James Purser
On Wed, 2005-10-26 at 22:38 +1000, James Purser wrote:
 Okay here's a question for you late night sluggers, what would be the
 reaction if we wanted to do a live show from SLUG on the weekend after
 your November meeting?

Okay a bit more detail on the Grand Plan.

After discussing the idea on irc last night I've refined the idea a bit.
Instead of holding the broadcast on the weekend after next months
meeting, it was suggested that I do it during the meeting. Depending on
who I can drag up to talk to and so on, the show would go for an hour to
an hour and a half.

I need to get some live interviews organised so if you have a project
that you want to spruik or you know of any news F/OSS wise then let me
know so we can organise you a slot.

Music will be provided care of Shayne O'Conner's machinehasnoagenda
Creative Commons website.

-- 
James Purser
Chief Talking Guy - Linux Australia Update
http://k-sit.com - My Blog
http://la-pod.k-sit.com - Linux Australia Update Blog and Forums
Skype: purserj1977

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] Xserver/Xclient

2005-10-26 Thread Phill

Hi all

I guess I thought (not really understanding the concept.. but now I do)
that it could be used as a remote desktop with the gui bacically being
redirected to a remote output.

I do use a vnc at the momement. It is a bit slow and I was wondering about
a more efficient way to run programs on a server

Phill



smime.p7s
Description: S/MIME cryptographic signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Xming for X on Windows [Was: Xserver/Xclient]

2005-10-26 Thread Phil Scarratt

Jeff Waugh wrote:

quote who=Phil Scarratt


I'm told that one of the big pros of the X server/client is that the
server and the client can be on separate machines ( I  guess like a
remote desktop). How can I use my windows machine to run applications on
the linux machine. Currently I'm just using a vnc setup.


Short answer: install cygwin on your windows machine, making sure to
install whatever X server is included with it.



An even faster route to satisfaction: Xming. It's really easy to install and
has a little startup wizard to configure it how you want, eg. running full
screen or using managed windows, using PuTTY to set up a compressed ssh
forward for you, etc. It's really sweet.

- Jeff



Excellent! I'll tuck that away for future reference. I would revise my 
statement to the original poster - xming appears to be the way if you 
just want X. :)


Fil
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Xserver/Xclient

2005-10-26 Thread Phil Scarratt

Phill wrote:

Hi all

I guess I thought (not really understanding the concept.. but now I do)
that it could be used as a remote desktop with the gui bacically being
redirected to a remote output.

I do use a vnc at the momement. It is a bit slow and I was wondering about
a more efficient way to run programs on a server

Phill




There's no reason why you couldn't use cygwin or xming(??) to do that. 
VNC or FreeNX (never used it so can't vouch for their claims as to being 
faster but its certainly worth a go) is possibly better or easier. If 
you wanted to run the odd application or two then xming might be better.


Try them and see.

Fil
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Xserver/Xclient

2005-10-26 Thread Matthew Hannigan
On Thu, Oct 27, 2005 at 09:25:24AM +1000, Phill wrote:
 I guess I thought (not really understanding the concept.. but now I do)
 that it could be used as a remote desktop with the gui bacically being
 redirected to a remote output.

That's certainly possible -- that's what xdmcp is about.

 I do use a vnc at the momement. It is a bit slow and I was wondering about
 a more efficient way to run programs on a server

Vnc is fastER (but still not _fast_) and less hassle (only one port to worry 
about) on a WAN.
Straight X is much faster on a LAN.

Matt
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] fpdi = file damaged and cannot be repaired

2005-10-26 Thread pesoy misak
Hi there

I'm trying to use fpdi for my project. fpdi generating
pdf perfectly fine under Linux Fedora with evince pdf
viewer but when i am trying to view them on Acrobat
reader it throwing me a error said file damaged and
cannot be repaired. Does anyone have ever experince
this problem and found the solution

any ideas welcome

cheers 




__ 
Start your day with Yahoo! - Make it your home page! 
http://www.yahoo.com/r/hs
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Linux drive on iMac

2005-10-26 Thread Mark Chandler
I think hardware is going to be the issue. If you've got a Mac system 
that has a SCSI controller compatible with the drive, then you could 
always try using one of the recent Ubuntu 5.10 Live CD's for PowerPC. 
That way, you don't have to destroy an installed OS to do the recovery, 
and you don't have to worry about OSX not understanding the partitions.



Kevin Waterson wrote:

Hi all,
I need to rescue some data from my linux box after the MoBo died.
I have a SCSI drive and several macs running OSX. Is there any
toy I can use to connect the drive to the mac and rescue my beloved
files?

Kind regards
kevin


--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Question about getting a certification on Linux

2005-10-26 Thread 高 远

Hi all

 I'm a uni student and am interested in getting a job in the Linux area. 
Is it worth (or important) to get an certification on these topics? I know 
there are exams from LPI and RedHat, but for a general interesting in 
system administrator (and possibly in development area), which is worth to 
get? Are they helping much at all when finding a job?

 Thanks.
 Regards.

 Ryan


--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Purging YUM repositories

2005-10-26 Thread Howard Lowndes
Because I have a large number of boxen to support behind a firewall, I 
find it preferable to maintain my own yum repository behind the firewall 
and do a wget from the Internet master repo to the local repo then run 
local updates from the local repo, hence saving bandwidth.


Now this all works fine and if wget finds an update out there that it 
doesn't have then it downloads it, but if it already has it (I assume 
HTTP date changed logic is happening here) then  it goes onto the next file.


My problem is that my local repo is full of old updates that I would 
like to cull, but the naming conventions on the various files do not 
appear to be consistent, thus making auto cull difficult, eg


this-file-1.2.9.i386.rpm is obvious to the human eye earlier than 
this-file-1.2.10.i386.rpm as well as having a later create date, but, 
sortwise, it orders differently (yes, I know that sort has the -n option 
but the variance is not always numeric).


The added problem is that the change detail in the file name is not in a 
consistent position either, so trying awk or cut or anything else 
doesn't get the right detail.


Has anyone resolved this problem on their own networks?

--
Howard.
LANNet Computing Associates - Your Linux people http://lannet.com.au
--
When you just want a system that works, you choose Linux;
When you want a system that works, just, you choose Microsoft.
--
Flatter government, not fatter government;
Get rid of the Australian states.

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Purging YUM repositories

2005-10-26 Thread Martin
$quoted_author = Howard Lowndes ;
 
 Has anyone resolved this problem on their own networks?

I solved something similar by purging .rpm files that were two months old
using a 'find | xargs rm' once a week out of cron.

cheers
marty

-- 
Life's Little Mysteries. Noel Hunter of Chippendale is one of many to be 
confused, and amused, by the pair of professionally produced No Regrets 
street signs near the corner of Greens Road and Albion Avenue, Paddington. 
Printed in the same style as No Standing signs, their proximity to the 
College of Fine Arts may give a clue to their origins. Whatever, having 
regrets while between the signs is subject to a $144 fine from the NSW 
Dept of Second Thoughts. [1]

[1] - http://www.smh.com.au/articles/2004/03/31/1080544560873.html
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Linux drive on iMac

2005-10-26 Thread Amos Shapira
On 10/27/05, Mark Chandler [EMAIL PROTECTED] wrote:
 I think hardware is going to be the issue. If you've got a Mac system
 that has a SCSI controller compatible with the drive, then you could
 always try using one of the recent Ubuntu 5.10 Live CD's for PowerPC.
 That way, you don't have to destroy an installed OS to do the recovery,
 and you don't have to worry about OSX not understanding the partitions.

Maybe SCSI-to-Firewire (e.g. http://www.meritline.com/ulscsifircon.html)
or SCSI-to-USB 
(http://www.mozillaquest.com/Hardware/Belkin/Belkin-SCSI-USB_story01.html)
may help you connect your disk to a Mac?

(The links above are just samples from a quick scsi to usb and scsi
to firewire
google search).

I don't know how Ubunutu may handle these converters but it sounds like
an appealing way to teach the Mac to read your Linux disk.

HTH,

--Amos
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Purging YUM repositories

2005-10-26 Thread Howard Lowndes



Martin wrote:

$quoted_author = Howard Lowndes ;


Has anyone resolved this problem on their own networks?



I solved something similar by purging .rpm files that were two months old
using a 'find | xargs rm' once a week out of cron.


But that would also get rid of rpms that have not needed to be updated 
in the past two months, hence necessitating wget re-getting them.


cheers
marty



--
Howard.
LANNet Computing Associates - Your Linux people http://lannet.com.au
--
When you just want a system that works, you choose Linux;
When you want a system that works, just, you choose Microsoft.
--
Flatter government, not fatter government;
Get rid of the Australian states.

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Purging YUM repositories

2005-10-26 Thread Howard Lowndes



Amos Shapira wrote:

On 10/27/05, Howard Lowndes [EMAIL PROTECTED] wrote:


this-file-1.2.9.i386.rpm is obvious to the human eye earlier than
this-file-1.2.10.i386.rpm as well as having a later create date, but,
sortwise, it orders differently (yes, I know that sort has the -n option
but the variance is not always numeric).



Assuming the file dates are preserved - how about just ignoring the version
altogether and remove all files with the same basename but the newest one?


Therein lies the rub.  You tell me what is the basename in these:

zlib-1.2.2.2-4.fc4.i386.rpm
zlib-1.2.2.2-5.fc4.i386.rpm

xorg-x11-Xvfb-6.8.2-37.FC4.45.i386.rpm
xorg-x11-Xvfb-6.8.2-37.FC4.48.1.i386.rpm
xorg-x11-Xvfb-6.8.2-37.FC4.49.2.i386.rpm
xorg-x11-Xvfb-6.8.2-37.i386.rpm

util-linux-2.12p-9.10.i386.rpm
util-linux-2.12p-9.11.i386.rpm
util-linux-2.12p-9.12.i386.rpm
util-linux-2.12p-9.5.i386.rpm
util-linux-2.12p-9.7.i386.rpm
util-linux-2.12p-9.9.i386.rpm



It's still crude - what about packages which changed names, for instance, or
packages you are just not interested in anymore?

Another possible option(?) - move to apt and manage an apt cache - then
you can just run apt-get autoclean once in a while.


That's an option.



Yet another option to achieve your original goal (share a downloaded file
among multiple local machines) - setup an HTTP proxy which will automatically
keep a copy the first time a file is accessed and cull old files like any other
unused cache entries.


...but at some stage the cache has to be allowed to expire.




HTH,

--Amos


--
Howard.
LANNet Computing Associates - Your Linux people http://lannet.com.au
--
When you just want a system that works, you choose Linux;
When you want a system that works, just, you choose Microsoft.
--
Flatter government, not fatter government;
Get rid of the Australian states.

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Purging YUM repositories

2005-10-26 Thread Phil Scarratt
Surely there are tools out there to do this, but if not, wouldn't a 
script that did the following work:


1. Obtained a list of contents of the upstream repository
2. Compare that list to the local contents
3. Wget anything not in the local contents list
4. rm anything not in the upstream repository

Fil
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Purging YUM repositories

2005-10-26 Thread Howard Lowndes



Phil Scarratt wrote:
Surely there are tools out there to do this, but if not, wouldn't a 
script that did the following work:


1. Obtained a list of contents of the upstream repository


Good thinking 99, I think wget has a spider mode


2. Compare that list to the local contents
3. Wget anything not in the local contents list
4. rm anything not in the upstream repository

Fil


--
Howard.
LANNet Computing Associates - Your Linux people http://lannet.com.au
--
When you just want a system that works, you choose Linux;
When you want a system that works, just, you choose Microsoft.
--
Flatter government, not fatter government;
Get rid of the Australian states.

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Purging YUM repositories

2005-10-26 Thread Amos Shapira
On 10/27/05, Howard Lowndes
[EMAIL PROTECTED] wrote:
 Therein lies the rub.  You tell me what is the basename in these:

 zlib-1.2.2.2-4.fc4.i386.rpm
 zlib-1.2.2.2-5.fc4.i386.rpm

 xorg-x11-Xvfb-6.8.2-37.FC4.45.i386.rpm
 xorg-x11-Xvfb-6.8.2-37.FC4.48.1.i386.rpm
 xorg-x11-Xvfb-6.8.2-37.FC4.49.2.i386.rpm
 xorg-x11-Xvfb-6.8.2-37.i386.rpm

 util-linux-2.12p-9.10.i386.rpm
 util-linux-2.12p-9.11.i386.rpm
 util-linux-2.12p-9.12.i386.rpm
 util-linux-2.12p-9.5.i386.rpm
 util-linux-2.12p-9.7.i386.rpm
 util-linux-2.12p-9.9.i386.rpm

I don't consider myself an RPM wizard (I'm a debian person, forced to
learn RedHat admin at work) but a quick look at man rpm came up with:

rpm -q --qf=%{NAME} -p rpm-file-name

will print out the package's name.

Now how about about that? :)

Actually - maybe you can extract the build date from the rpm file as well using
--qf %{BUILDTIME}. So maybe something like (untested):

rpm -q --qf=%{NAME} %{BUILDTIME} %{NAME}-%{VERSION}-%{RELEASE}-%{ARCH}.rpm\n \
 | sort -n --key 2 | sort -u --key 1 | awk '{ print $3 }'

Will print out the names of files you should KEEP (maybe you'll have
to reverse the sort order). You might use comm(1) to reverse this to the
list of files you should delete.

  Yet another option to achieve your original goal (share a downloaded file
  among multiple local machines) - setup an HTTP proxy which will 
  automatically
  keep a copy the first time a file is accessed and cull old files like any 
  other
  unused cache entries.

 ...but at some stage the cache has to be allowed to expire.

Yes, right.

Actually - what's exactly is the issue with keeping around very old
packages?  As far as I understand the situation he can take advantage
of a local copy for new packages (when upgrading the entire hen house)
but once a package was upgraded then how much does he expect to
really take advantage of that .rpm file lying around?

Cheers,

--Amos
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Purging YUM repositories

2005-10-26 Thread Amos Shapira
On 10/27/05, Phil Scarratt [EMAIL PROTECTED] wrote:
 Surely there are tools out there to do this, but if not, wouldn't a
 script that did the following work:

 1. Obtained a list of contents of the upstream repository
 2. Compare that list to the local contents
 3. Wget anything not in the local contents list
 4. rm anything not in the upstream repository

It's called mirror, for instance. Or use rsync if that's provided.

The question is whether he'd like to have a full local mirror of the
repository or just the package he actually installs.

--Amos
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Purging YUM repositories

2005-10-26 Thread Ben Stringer
On Thu, 2005-10-27 at 11:56 +1000, Howard Lowndes wrote:

 
 Has anyone resolved this problem on their own networks?
 

Hi Howard,

Here is the script I use to mirror updates from my ISP's server. The
mirror option on lftp is doing all the work. It also creates the repo
locally, and set SELinux labels, which you may or may not need to do.

Cheers, Ben



--- cut here ---
#!/bin/sh

export TERM=Linux

perform_mirror()
# $1 - Description
# $2 - URL
# $3 - Destination
{
MIRROR=$2
REPODIR=$3

echo `date` Mirroring $1

cd ${REPODIR}
lftp -e 'mirror -e -x debuginfo  exit' ${MIRROR}

# Report changed files

find ${REPODIR} -name *.rpm -mtime -3 -ls

createrepo ${REPODIR}  /dev/null 21

chcon -R -t httpd_sys_content_t ${REPODIR}

# Do /usr/local/downloads while we are here.
chcon -R -t httpd_sys_content_t /usr/local/download/

}

# mirror Fedora C3 updates

#perform_mirror FC3 Updates
http://mirror.vic.3fl.net/pub/fedora/linux/core/up
dates/3/i386 /usr/local/download/fedora/3/updates

perform_mirror Redhat 9 Legacy Updates \

http://mirror.vic.3fl.net/pub/fedoralegacy/redhat/9/updates/i386/ \
/usr/local/download/rh9/updates

perform_mirror FC4 Updates \
http://mirror.vic.3fl.net/pub/fedora/linux/core/updates/4/i386 \
/usr/local/download/fedora/4/updates

echo `date` Mirroring completed



--- cut here ---

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Purging YUM repositories

2005-10-26 Thread Matthew Hannigan
On Thu, Oct 27, 2005 at 11:56:47AM +1000, Howard Lowndes wrote:

Not that it necessarily helps, but do you know you can rsync?

e.g. for fedora extras; 
rsync://rsync.planetmirror.com/fedora/linux/extras/

 My problem is that my local repo is full of old updates that I would 
 like to cull, but the naming conventions on the various files do not 
 appear to be consistent, thus making auto cull difficult, eg
 
 this-file-1.2.9.i386.rpm is obvious to the human eye earlier than 
 this-file-1.2.10.i386.rpm as well as having a later create date, but, 
 sortwise, it orders differently (yes, I know that sort has the -n option 
 but the variance is not always numeric).

-v does version number sorting:

$ ls -1 (that's a one for one column, not an ell)
this-file-1.2.10.i386.rpm
this-file-1.2.9.i386.rpm
$ ls -v
this-file-1.2.9.i386.rpm  this-file-1.2.10.i386.rpm
$ ls -v1
this-file-1.2.9.i386.rpm
this-file-1.2.10.i386.rpm

 Has anyone resolved this problem on their own networks?

I just haven't bothered, it's not that much extra space used.

--
Matt
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html