Re: pkgdb & clone disks (second chance)

2003-03-20 Thread Olivier Dony
On Tue, Mar 18, 2003 at 12:18:16PM +0100, Erwane Breton wrote:
> No response first time. I try again.
> 
> hi all
> 
> First, i've installed perl5.6.1 with the system, and later i upgrade (install 
> ?) to perl5.8.0. I ran the script "use.perl port", and i deinstall perl5.6.1. 
> And now always i want to upgrade a ports who need perl, i must run 'pkgdb -F' 
> for fix the dependency with ... perl 5.6.1. when i install a ports with 
> 'portinstall', i always see "cleaning perl5.6.1". How i can tell to 
> "portinstall" or "make" to use perl5.8.0 and remove perl5.6.1 ?

That's what you did with 'use.perl port', and you can check that it appended a
couple of lines about the perl version to use to /etc/make.conf. From now on
make will use the port version when installing perl stuff, and perl scripts
will too.
Although ports that had been installed before might need to be rebuilt indeed,
or have at least their dependencies fixed.

> #
> The second is a project

For best results you should keep different questions on different e-mails with
relevant subjects.

> I have a server running FreeBSD5.0 and client running win98
> and i want to dump disk of client to create snapshot of the system for restore 
> it later when it crashes :o). Like ghost in fact but on FreeBSD.
> 
> thanks for idea too :)

You can have a look at rsync from the ports, it's easy to use for snapshot
backups. A good tutorial on using it for this very purpose is located at :
http://www.mikerubel.org/computers/rsync_snapshots/
IIRC, it even explains how this can be used in conjunction with samba to
backup windows stuff.

Hope this helps.

Olivier

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


pkgdb & clone disks (second chance)

2003-03-18 Thread Erwane Breton
No response first time. I try again.

hi all

First, i've installed perl5.6.1 with the system, and later i upgrade (install 
?) to perl5.8.0. I ran the script "use.perl port", and i deinstall perl5.6.1. 
And now always i want to upgrade a ports who need perl, i must run 'pkgdb -F' 
for fix the dependency with ... perl 5.6.1. when i install a ports with 
'portinstall', i always see "cleaning perl5.6.1". How i can tell to 
"portinstall" or "make" to use perl5.8.0 and remove perl5.6.1 ?

# uname -a
FreeBSD athena.erwane.net 5.0-RELEASE-p4 FreeBSD 5.0-RELEASE-p4 #1: Thu Mar  6 
15:40:49 CET 2003 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/ATHENA  i386

# pkg_info | grep perl
p5-DBI-1.34_1   The perl5 Database Interface.  Required for DBD::* modules
perl-5.8.0_4Practical Extraction and Report Language

# ls /usr/local/lib/perl5
5.6.1   5.8.0   site_perl
# ls /usr/local/lib/perl5/site_perl
5.6.1   5.8.0

if need more info, ask.
thanks for idea

#
The second is a project

I have a server running FreeBSD5.0 and client running win98
and i want to dump disk of client to create snapshot of the system for restore 
it later when it crashes :o). Like ghost in fact but on FreeBSD.

thanks for idea too :)

Erwane Breton



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message