RE: [expert] urpmi --auto-select Couple of new questions abouturpmi and installing big apps...

2002-12-02 Thread Franki
yeah, I imagine that is /var/lib/urpmi and /etc/urpmi

will that change anything else???

my machines don't all have the same packages installed and I don't want to
mess with the rpm database...

is it safe to do this??


rgds

Frank

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Tony S. Sykes
Sent: Monday, 2 December 2002 4:16 PM
To: [EMAIL PROTECTED]
Subject: RE: [expert] urpmi --auto-select Couple of new questions
abouturpmi and installing big apps...


Frank,

No need for scripts, their is a directory you can copy across some of
the files and it will update, I did it 3 weeks ago. I think it is
/etc/urpmi, I will check tonight when I get home. But you copy the
config file and the lists, then do an update.

Tony.

-Original Message-
From: Franki [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 02, 2002 7:22 AM
To: [EMAIL PROTECTED]
Subject: RE: [expert] urpmi --auto-select Couple of new questions
abouturpmi and installing big apps...


I'll have to give some thought to this..

a shell script seems the most likely candidate...

its a shame you can't export sources to a shell script from urpmi..

automate the process as it were, that would be handy.. guess it'll
probably
happen at
some stage down the line..

rgds

Frank

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of James Sparenberg
Sent: Monday, 2 December 2002 5:48 AM
To: Expert List
Subject: Re: [expert] urpmi --auto-select Couple of new questions
abouturpmi and installing big apps...


What would be helpful in a case like this is to be able to do what PLF
did. (actually I got it from Ranger's site) but somehow a PLF CD was
created that you install from as if it was CD1 and it contains PLF's
rpms This gets moved into a new category called PLF (duh!) and then it
hands off to disc ... continues the install and asks for PLF at the
end,  Even if it were just possible to redo disk 3 (there is a ton of
room on it) You would then have the disks available and could create
rpms of data files you need.  Just my 2 cents.

James


On Sun, 2002-12-01 at 10:36, Hoyt Duff wrote:
> On Sunday 01 December 2002 10:43 am, Franki scribbled in crayon on a
yellow
> legal pad:
> > 1. I have two dozen mdk 9.0 boxes around town..  and I have set most
of
> > them up to use the same urpmi sources.
> > But its a time consuming process to do so.. is there some config
file or
> > directory that I can copy to the new servers to give them the same
sources?
> > (texstar, contrib, plf, updates etc)??? that would be very handy if
I
could
> > just copy across some  files and issue urpmi an update..
>
> Why can't you tar /etc/urpmi and /var/lib/urpmi and install that
tarball
on
> each new machine? You could even write a .spec file to create an .rpm
with
> them  and install and update all the sources easily
>
> --
> Hoyt
> http://www.MaximumHoyt.com/
> "Fix it until it breaks."
>
>
> 
>

> Want to buy your Pack or Services from MandrakeSoft?
> Go to http://www.mandrakestore.com


-+-+-+-+-+-+-+- Business Computer Projects - Disclaimer -+-+-+-+-+-+-+-

This message, and any associated attachment is confidential. If you have
received it in error, please delete it from your system, do not use or
disclose the information in any way, and notify either Tony S. Sykes
or the postmaster <mailto:[EMAIL PROTECTED]>
immediately.

The contents of this message may contain personal views which are not
necessarily the views of Business Computer Projects Ltd., unless
specifically stated.

Whilst every effort has been made to ensure that emails and their
attachments are virus free, it is the responsibility of the recipient(s)
to verify the integrity of such emails.


Business Computer Projects Ltd
BCP House
151 Charles Street
Stockport
Cheshire
SK1 3JY

Tel: +44 (0)161 355-3000
Fax: +44 (0)161 355-3001
Web: http://www.bcpsoftware.com <http://www.bcpsoftware.com/>




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



RE: [expert] urpmi --auto-select Couple of new questions abouturpmi and installing big apps...

2002-12-02 Thread Tony S. Sykes
Frank,

No need for scripts, their is a directory you can copy across some of
the files and it will update, I did it 3 weeks ago. I think it is
/etc/urpmi, I will check tonight when I get home. But you copy the
config file and the lists, then do an update.

Tony.

-Original Message-
From: Franki [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 02, 2002 7:22 AM
To: [EMAIL PROTECTED]
Subject: RE: [expert] urpmi --auto-select Couple of new questions
abouturpmi and installing big apps...


I'll have to give some thought to this..

a shell script seems the most likely candidate...

its a shame you can't export sources to a shell script from urpmi..

automate the process as it were, that would be handy.. guess it'll
probably
happen at
some stage down the line..

rgds

Frank

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of James Sparenberg
Sent: Monday, 2 December 2002 5:48 AM
To: Expert List
Subject: Re: [expert] urpmi --auto-select Couple of new questions
abouturpmi and installing big apps...


What would be helpful in a case like this is to be able to do what PLF
did. (actually I got it from Ranger's site) but somehow a PLF CD was
created that you install from as if it was CD1 and it contains PLF's
rpms This gets moved into a new category called PLF (duh!) and then it
hands off to disc ... continues the install and asks for PLF at the
end,  Even if it were just possible to redo disk 3 (there is a ton of
room on it) You would then have the disks available and could create
rpms of data files you need.  Just my 2 cents.

James


On Sun, 2002-12-01 at 10:36, Hoyt Duff wrote:
> On Sunday 01 December 2002 10:43 am, Franki scribbled in crayon on a
yellow
> legal pad:
> > 1. I have two dozen mdk 9.0 boxes around town..  and I have set most
of
> > them up to use the same urpmi sources.
> > But its a time consuming process to do so.. is there some config
file or
> > directory that I can copy to the new servers to give them the same
sources?
> > (texstar, contrib, plf, updates etc)??? that would be very handy if
I
could
> > just copy across some  files and issue urpmi an update..
>
> Why can't you tar /etc/urpmi and /var/lib/urpmi and install that
tarball
on
> each new machine? You could even write a .spec file to create an .rpm
with
> them  and install and update all the sources easily
>
> --
> Hoyt
> http://www.MaximumHoyt.com/
> "Fix it until it breaks."
>
>
> 
>

> Want to buy your Pack or Services from MandrakeSoft?
> Go to http://www.mandrakestore.com
  

-+-+-+-+-+-+-+- Business Computer Projects - Disclaimer -+-+-+-+-+-+-+-

This message, and any associated attachment is confidential. If you have
received it in error, please delete it from your system, do not use or
disclose the information in any way, and notify either Tony S. Sykes
or the postmaster <mailto:[EMAIL PROTECTED]>
immediately.

The contents of this message may contain personal views which are not
necessarily the views of Business Computer Projects Ltd., unless
specifically stated.  

Whilst every effort has been made to ensure that emails and their
attachments are virus free, it is the responsibility of the recipient(s)
to verify the integrity of such emails.

 
Business Computer Projects Ltd
BCP House
151 Charles Street
Stockport
Cheshire
SK1 3JY
 
Tel: +44 (0)161 355-3000
Fax: +44 (0)161 355-3001
Web: http://www.bcpsoftware.com <http://www.bcpsoftware.com/> 


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



RE: [expert] urpmi --auto-select Couple of new questions abouturpmi and installing big apps...

2002-12-01 Thread Franki
I'll have to give some thought to this..

a shell script seems the most likely candidate...

its a shame you can't export sources to a shell script from urpmi..

automate the process as it were, that would be handy.. guess it'll probably
happen at
some stage down the line..

rgds

Frank

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of James Sparenberg
Sent: Monday, 2 December 2002 5:48 AM
To: Expert List
Subject: Re: [expert] urpmi --auto-select Couple of new questions
abouturpmi and installing big apps...


What would be helpful in a case like this is to be able to do what PLF
did. (actually I got it from Ranger's site) but somehow a PLF CD was
created that you install from as if it was CD1 and it contains PLF's
rpms This gets moved into a new category called PLF (duh!) and then it
hands off to disc ... continues the install and asks for PLF at the
end,  Even if it were just possible to redo disk 3 (there is a ton of
room on it) You would then have the disks available and could create
rpms of data files you need.  Just my 2 cents.

James


On Sun, 2002-12-01 at 10:36, Hoyt Duff wrote:
> On Sunday 01 December 2002 10:43 am, Franki scribbled in crayon on a
yellow
> legal pad:
> > 1. I have two dozen mdk 9.0 boxes around town..  and I have set most of
> > them up to use the same urpmi sources.
> > But its a time consuming process to do so.. is there some config file or
> > directory that I can copy to the new servers to give them the same
sources?
> > (texstar, contrib, plf, updates etc)??? that would be very handy if I
could
> > just copy across some  files and issue urpmi an update..
>
> Why can't you tar /etc/urpmi and /var/lib/urpmi and install that tarball
on
> each new machine? You could even write a .spec file to create an .rpm with
> them  and install and update all the sources easily
>
> --
> Hoyt
> http://www.MaximumHoyt.com/
> "Fix it until it breaks."
>
>
> 
>

> Want to buy your Pack or Services from MandrakeSoft?
> Go to http://www.mandrakestore.com






Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] urpmi --auto-select Couple of new questions abouturpmi and installing big apps...

2002-12-01 Thread James Sparenberg
What would be helpful in a case like this is to be able to do what PLF
did. (actually I got it from Ranger's site) but somehow a PLF CD was
created that you install from as if it was CD1 and it contains PLF's
rpms This gets moved into a new category called PLF (duh!) and then it
hands off to disc ... continues the install and asks for PLF at the
end,  Even if it were just possible to redo disk 3 (there is a ton of
room on it) You would then have the disks available and could create
rpms of data files you need.  Just my 2 cents.  

James


On Sun, 2002-12-01 at 10:36, Hoyt Duff wrote:
> On Sunday 01 December 2002 10:43 am, Franki scribbled in crayon on a yellow 
> legal pad:
> > 1. I have two dozen mdk 9.0 boxes around town..  and I have set most of
> > them up to use the same urpmi sources.
> > But its a time consuming process to do so.. is there some config file or
> > directory that I can copy to the new servers to give them the same sources?
> > (texstar, contrib, plf, updates etc)??? that would be very handy if I could
> > just copy across some  files and issue urpmi an update..
> 
> Why can't you tar /etc/urpmi and /var/lib/urpmi and install that tarball on 
> each new machine? You could even write a .spec file to create an .rpm with 
> them  and install and update all the sources easily
> 
> -- 
> Hoyt
> http://www.MaximumHoyt.com/
> "Fix it until it breaks."
> 
> 
> 
> 

> Want to buy your Pack or Services from MandrakeSoft? 
> Go to http://www.mandrakestore.com




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



RE: [expert] urpmi --auto-select Couple of new questions abouturpmi and installing big apps...

2002-12-01 Thread Jack Coates
On Sun, 2002-12-01 at 07:43, Franki wrote:
> That leads to a couple of interesting questions...
> 
> 
> 1. I have two dozen mdk 9.0 boxes around town..  and I have set most of them
> up to use the same urpmi sources.
> But its a time consuming process to do so.. is there some config file or
> directory that I can copy to the new servers to give them the same sources?
> (texstar, contrib, plf, updates etc)??? that would be very handy if I could
> just copy across some  files and issue urpmi an update..
> 

I don't think so -- this was my complaint to Todd Lyons here 
http://marc.theaimsgroup.com/?l=mandrake-expert&m=103834832226012&w=2
and is why I don't think urpmi is maintaining good data/configuration
separation. 

To get it to work, you'll need to construct a shell script containing
the urpmi.addmedia commands for each source, get it to the machines, and
run it.

> 2. All my mail servers use amavisd and a virus scanner to scan all main, (in
> and out.) for spam and virus's... now I'm using amavis-new which requires
> spamassasin, and both have need of a good many perl modules, and helper
> apps...
> 
> Is there any application that I can use to create a shapshot of an
> installation process. (like installing all the requirements of spamassasin
> and amavis-new as well as the programs themselves.) so I can copy that
> snapshot to another mdk9.0 system and install the exact same snapshot?
> 

Again, shell-scripting is probably the best way to go -- a little tricky
with the CPAN stuff if you haven't set up CPAN already on each box
though. If you're in full control of all 24, you should be able to just
copy the config from the /root/.cpan/ before running the perl -mCPAN
-i[bundle] commands.

> It takes ages to setup a fully functional amavis-new/spamassasin/Trend
> filescan mailserver. mostly due to installing many many perl modules.. (alot
> of which are not included in mdk9.0 and have to be compiled from cpan.)
> 
> 
> I'd love a way to automate it.
> 
> Anyone got any tips on how I might do that?? (I know I could build the lot
> into an RPM, but that would take longer then installing it 2 dozen times. at
> least it would for me to do it.)
> 

If the boxes are all the same or similar (e.g. same CPU architecture,
distribution, and set of packages) then I would force installation of
the whole package into a single directory, then tar that up and copy it.

I work with an application server called Zope that is a seriously
massive PITA to set up, and I've been using this trick to back it up and
migrate it to new boxes for ages now.

> 
> regards
> 
> Frank
> 
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Jack Coates
> Sent: Sunday, 1 December 2002 11:30 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [expert] urpmi --auto-select getting jiggy with apache
> 
> 
> No, but I do have plf, mandrakeclub-testing, contrib and texstar -- One
> of these days I'll have to figure out how MandrakeUpdate chooses the
> update source only when it looks.
> 
> On Sat, 2002-11-30 at 23:06, James Sparenberg wrote:
> > Do you perhaps have a cooker list in your urpmi database.  I've noticed
> > on occasion that urpmi can get confused vs Mandrakeupdate almost as if
> > they aren't reading the same files. Unfortunately I've never managed to
> > make it reproduceable.
> >
> > James
> >
> >
> > On Sat, 2002-11-30 at 21:24, Jack Coates wrote:
> > > I've got a 9.0 box with Apache 1.3.26 on it, and urpmi is trying to
> > > upgrade me to Apache 2.0 without my consent. Oddly enough, if I export X
> > > and use MandrakeUpdate instead, I get a completely different set of
> > > packages to upgrade.
> > >
> > > what gives?
> > > --
> > > Jack Coates
> > > Monkeynoodle: A Scientific Venture...
> > >
> > >
> > > 
> > >
> >
> > > Want to buy your Pack or Services from MandrakeSoft?
> > > Go to http://www.mandrakestore.com
> >
> >
> >
> > 
> >
> 
> > Want to buy your Pack or Services from MandrakeSoft?
> > Go to http://www.mandrakestore.com
> --
> Jack Coates
> Monkeynoodle: A Scientific Venture...
> 
> 
> 
> 
> 
> 

> Want to buy your Pack or Services from MandrakeSoft? 
> Go to http://www.mandrakestore.com
-- 
Jack Coates
Monkeynoodle: A Scientific Venture...



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com