Re: pakages questione, 2

2004-03-14 Thread Mark Weinem
> I've `./configure && gmake && gmake install`-ed lot of tools (have a
> fun of such kind :-)..

Some of us prefer the ports system ;-)


> later when I wanted to use a pkg_add ability to add some pkg, I found
> that I have a poor registerd pkgs on my box. So: I know -- I do really
> have such util, but it's unregistered. And the pkg, I want to add
> depends on it, but a pkg_add says ``was not found''. I use a force
> method of pkg_add

I'm not sure if I understand your problem correctly: 

You want to pkg_ add a package but it needs additional software you
have already installed "by hand" (configure, make, make install)

or do you want to install (register?) "hand-built" software as
a package via pkg_add? 

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


Re: pakages questione

2004-03-14 Thread Matthew Seaman
On Sun, Mar 14, 2004 at 01:20:18PM +0300, CBuH. wrote:


> have a question: suppose I've pkg_add'ed a pkg-B-1.1 on which a pkg-A depends, 
> later I've pkg_add'ed the next v. of pkg-B-1.2 now `pkg_delete pkg-B-1.1` 
> says that pkg-A depends on it
> 
> May I use ``force'' to deinstall oldest version... or I must keep all the tree 
> for old dependant pkgs to work fine?

Essentially yes.  However, you should 'pkg_delete -f' the old version
of pkg-B first, and then pkg_add the new one.  (Mostly because the
different versions of pkg-B will have a large number of files in
common, and pkg_delete will delete them even if they really belong to
the newer version.)

You'll still find that pkg-A says it depends on the older version of
pkg-B -- you can either ignore this, as it has no effect on the
functionality of pkg-A, or you can delete and re-install pkg-A after
you do pkg-B, or you can go into /var/db/pkg/pkg-A/ and edit the
+REQUIRED_BY file to correct the version numbers.

Or you can install portupgrade, in which case all you need to do is
copy the pkg-B-1.2.tgz file to /usr/ports/packages/All and then run
the command:

# portupgrade -f -P pkg-B

and all of the necessary deleting and re-installing and fiddling with
the /var/db/pkg/ files will be done for you.

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


pakages questione

2004-03-14 Thread CBuH.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



Hi all,... 
have a question: suppose I've pkg_add'ed a pkg-B-1.1 on which a pkg-A depends, 
later I've pkg_add'ed the next v. of pkg-B-1.2 now `pkg_delete pkg-B-1.1` 
says that pkg-A depends on it

May I use ``force'' to deinstall oldest version... or I must keep all the tree 
for old dependant pkgs to work fine?


- -- 

CBuH. CG[CX] XVyGYjau 479001600(at)mail.ru, ICQ#70929413
GnuPG(PGP) public key is: http://www.vinnied.narod.ru/pubkey.asc
http://www.vinnied.narod.ru


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFAVDHj5Cj3gqxcdCoRAmkHAJ98qonTiTmmzYG+Bpy9l/13QjzWSACcDn0Z
PqYeKG2aZlUdo82MOUz+InU=
=4SDB
-END PGP SIGNATURE-

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