Re: not updating XFree86 related stuff while performing portupgrade

2003-10-21 Thread Matthew Seaman
On Tue, Oct 21, 2003 at 11:05:22AM +0800, Michael Lee(HINET) wrote:

> There is one thing that I am not sure of. I read again an article in FreeBSD
> Diary
> http://www.freebsddiary.org/portupgrade.php
> and it said that if I force it to pkg_delete a certain package that other
> packages depend on,
> there might be problems of broken dependencies.

Ah -- that is true, unless you immediately replace the deleted package
with an equivalent alternative as I instructed.  Subsequently running
'pkgdb -Fvu' will help you fix up any remaining dependency problems.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: not updating XFree86 related stuff while performing portupgrade

2003-10-20 Thread Michael Lee(HINET)
On Mon, 20 Oct 2003 11:04:20 +0100, Matthew Seaman wrote
> On Mon, Oct 20, 2003 at 05:31:49PM +0800, Michael Lee(HINET) wrote:
>
> > Now I know the way to manipulate the actions of portupgrade for not
> > upgrading everything.
> > I just posted earlier another question for portupgrade not being able to
> > upgrade
> > the installed apache-1.3.27_4 to apache-1.3.28
>
> You should just be able to 'pkg_delete -f apache-1.3.27_4' and then
> 'portinstall www/apache' and then run 'pkgdb -Fvu' and everything
> should be happy.
>

Yes it worked. Thank you.
There is one thing that I am not sure of. I read again an article in FreeBSD
Diary
http://www.freebsddiary.org/portupgrade.php
and it said that if I force it to pkg_delete a certain package that other
packages depend on,
there might be problems of broken dependencies.
I tried the way you teach me first then read the article and then I decided
to first uninstall them all
and do the portupgrade -N again from the begining.

After the whole installation process, pkg_version shows me that every
packages installed are consistent
to the port tree. ( and it is good to me )

Thank you again for your help.

Michael Lee

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: not updating XFree86 related stuff while performing portupgrade

2003-10-20 Thread Matthew Seaman
On Mon, Oct 20, 2003 at 05:31:49PM +0800, Michael Lee(HINET) wrote:

> Now I know the way to manipulate the actions of portupgrade for not
> upgrading everything.
> I just posted earlier another question for portupgrade not being able to
> upgrade
> the installed apache-1.3.27_4 to apache-1.3.28

You should just be able to 'pkg_delete -f apache-1.3.27_4' and then
'portinstall www/apache' and then run 'pkgdb -Fvu' and everything
should be happy.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: not updating XFree86 related stuff while performing portupgrade

2003-10-20 Thread Michael Lee(HINET)
> On Monday 20 October 2003 01:18 am, Matthew Seaman wrote:
> > On Mon, Oct 20, 2003 at 03:49:33PM +0800, Michael Lee(HINET) wrote:
> > > Is there anyway to avoid updating XFree86 related stuff while
performing
> > > portupgrade ?
> > > XFree86 related stuffs are just too big and take too long for my poor
PC
> > > to compile them all.
> >
> > Take a look at the pkgtools.conf file, especially the stuff about
HOLD_PKGS
> > which does exactly what you want.
> >
>
> Also look at the man page for portupgrade. The example for -x is exactly
what
> you are talking about.
>

Thanks Kent and Matthew.

Now I know the way to manipulate the actions of portupgrade for not
upgrading everything.
I just posted earlier another question for portupgrade not being able to
upgrade
the installed apache-1.3.27_4 to apache-1.3.28

Some applications ( phpMyAdmin, mod_php4, mod_fastcgi ) that depends on
apache could not be
upgraded either.

I tried to portupgrade -rR apache but after a series of compilation, it
failed.

Here I would like to repost the error messages ( snip some ) and hope that
someone can help me.

I wonder if I should uninstall them all first and then portupgrade -N
( apache-1.3.28, mod_php4, mod_fastcgi, phpMyAdmin )

or I can just do portupgrade -f to force it update to the newer version ?

Thank you again!

Michael Lee

Stop in /usr/ports/www/apache13.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade5405.2
make WITH_APACHE_SUEXEC=yes reinstall
egrep: /var/db/pkg/apache-1.3.27_4/+CONTENTS: No such file or directory
--->  Restoring the old version
** Fix the installation problem and try again.
[Updating the pkgdb  in /var/db/pkg ... - 78 packages
found (-0 +1) . done]
--->  Skipping 'www/mod_fastcgi' (mod_fastcgi-2.2.12) because 'www/apache13'
(apache-1.3.27_4) failed
--->  Skipping 'www/mod_php4' (mod_php4-4.3.1,1) because 'www/apache13'
(apache-1.3.27_4) failed
--->  Skipping 'www/mod_gzip' (mod_gzip-1.3.26.1a) because 'www/apache13'
(apache-1.3.27_4) failed
--->  Skipping 'databases/phpmyadmin' (phpMyAdmin-2.3.2) because
'www/mod_php4' (mod_php4-4.3.1,1) failed
** The following packages were not installed or upgraded (*:skipped /
!:failed)
! www/apache13 (apache-1.3.27_4)(install error)
* www/mod_fastcgi (mod_fastcgi-2.2.12)
* www/mod_php4 (mod_php4-4.3.1,1)
* www/mod_gzip (mod_gzip-1.3.26.1a)
* databases/phpmyadmin (phpMyAdmin-2.3.2)

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: not updating XFree86 related stuff while performing portupgrade

2003-10-20 Thread Kent Stewart
On Monday 20 October 2003 01:18 am, Matthew Seaman wrote:
> On Mon, Oct 20, 2003 at 03:49:33PM +0800, Michael Lee(HINET) wrote:
> > Is there anyway to avoid updating XFree86 related stuff while performing
> > portupgrade ?
> > XFree86 related stuffs are just too big and take too long for my poor PC
> > to compile them all.
>
> Take a look at the pkgtools.conf file, especially the stuff about HOLD_PKGS
> which does exactly what you want.
>

Also look at the man page for portupgrade. The example for -x is exactly what 
you are talking about. 

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: not updating XFree86 related stuff while performing portupgrade

2003-10-20 Thread Matthew Seaman
On Mon, Oct 20, 2003 at 03:49:33PM +0800, Michael Lee(HINET) wrote:

> Is there anyway to avoid updating XFree86 related stuff while performing
> portupgrade ?
> XFree86 related stuffs are just too big and take too long for my poor PC to
> compile them all.

Take a look at the pkgtools.conf file, especially the stuff about HOLD_PKGS
which does exactly what you want.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


not updating XFree86 related stuff while performing portupgrade

2003-10-20 Thread Michael Lee(HINET)
Hi,

Is there anyway to avoid updating XFree86 related stuff while performing
portupgrade ?
XFree86 related stuffs are just too big and take too long for my poor PC to
compile them all.
I wonder if I should :

(1) disable fetching the XFree86 related stuffs in the port tree ( to set
something in pkgtools.conf
to avoid future updating XFree86 related stuffs while cvsupping  )
(2) cvsup'd the whole port tree and set some parameters ( and where should I
set them ? )
to prevent portupgrade from upgrading XFree86 related stuffs ?

Thanks!

Michael Lee

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"