Subject: Re: /usr/bin/make upgrade
To: NetBSD tech-pkg <tech-pkg@netbsd.org>
From: Robert Cates <robert@kormar.net>
List: netbsd-users
Date: 05/09/2005 16:38:32
actually I think I need to correct myself...  I think the command was more 
like '/usr/bin/make update'

and the message block I got was like this...

=> Unwrapping files-to-be-installed.
===> Installing for atk-1.9.1
===> atk-1.9.0 is already installed - perhaps an older version?
*** If so, you may use either of:
***  - "pkg_delete atk-1.9.0" and "/usr/bin/make reinstall" to upgrade 
properly
***  - "/usr/bin/make update" to rebuild the package and all of its 
dependencies
***  - "/usr/bin/make replace" to replace only the package without 
re-linking
***    dependencies, risking various problems.
*** Error code 1

I got the above because I tried to upgrade gnome to 2.10.0 from pkgsrc.
When I give the command 'pkg_delete atk-1.9.0' I get a long list of 
dependencies, but I don't want to delete everything just to upgrade/update 
an application.

And as I said before, it's installing Koffice-1.3.5 a 2nd time.  Why?

All help is appreciated!
-Robert

----- Original Message ----- 
From: "Davide Zanon" <d.zanon@ininito.it>
To: "Robert Cates" <robert@kormar.net>
Sent: Monday, May 09, 2005 2:11 PM
Subject: Re: /usr/bin/make upgrade


> On Monday 09 May 2005 07:04, Robert Cates wrote:
>> Hi,
>>
>> about a week ago I upgraded my NetBSD 2.0 to 2.0.2.  Then I tried to
>> upgrade my nessus installation from 2.2.3 to 2.2.4 so I went to my pkgsrc
>> and started 'make'.  That gave me a message (something about
>> 'pkg_install-20050318' needed to be upgraded or reinstalled(?)) with 3
>> options.  Two of the options did not work, so I tried '/usr/bin/make
>> upgrade' from within the pkgsrc tree (nessus), and now after upgrading 
>> most
>> everything but 'nessus', it's upgrading my koffice-1.3.5 a 2nd time. 
>> Would
>> somebody please explain to me what's going on, and what I can/should do
>> about this.?  I hope this is not in some kind of loop.?
>
> Hi,
> I'm a bit of a newbie, so I don't know if my reply is appropriate, but are 
> you
> sure it gave you three options and not three commands to execute in 
> series?
> like cd /usr/pkgsrc/pkgtools/........../ && make clean && make upgrade or 
> what
> it said...?
> I've never tried to make upgrade in /usr/pkgsrc, as the whole things 
> frightens
> me a lot (as you can see, it rebuilds *all* packages from source (!))
>
>> Thanks,
>> Robert
>
> I hope this is useful, but I don't know :)
>
> david
>