pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: changing install location



On Wed 13 Apr 2011 at 07:07:48 AM -0700, George Georgalis wrote:
>On Wed 13 Apr 2011 at 01:55:37 PM +0200, Benny Siegert wrote:
>>On Wed, Apr 13, 2011 at 09:01, George Georgalis <george%galis.org@localhost> 
>>wrote:
>>> Hi - I'd like to install a set of packages with tag 2011Q1 in
>>> /usr/pkg-2011Q1 while I continue to use an older tag in /usr/pkg
>>
>>You should be able to do this easily with bootstrap, I think:
>>
>>cd /usr/pkgsrc/bootstrap ; ./bootstrap --prefix /usr/pkg-2011Q1
>>--pkgdbdir /usr/pkg-2011Q1/db
>>
>>Ideally, make sure that your existing /usr/pkg is not in your PATH
>>when you run the command and when you install 2011Q1 packages. Maybe
>>you can define a shell alias that switches the PATH around. The
>>pkgtools installed in /usr/pkg-2011Q1/bin will use the right database
>>and prefix.
>
>That looks more representative of what I'm trying to do :)

Well the bootstrap went fine,

./bootstrap --prefix /usr/pkg-2011Q1 --pkgdbdir /usr/pkg-2011Q1/db

and my new path is now set via /etc/profile, but my first package
seems to use the old db?

+ cd /usr/pkgsrc/misc/colorls
+ make install
=> Bootstrap dependency digest>=20010302: found digest-20080510
===> Checking for vulnerabilities in colorls-2.2nb1
===> Installing for colorls-2.2nb1
ERROR: colorls-2.2nb1 is already installed - perhaps an older version?
ERROR: If so, you may use either of:
ERROR:     - "pkg_delete colorls-2.2nb1" and "/usr/bin/make reinstall"
ERROR:       to upgrade properly
ERROR:     - "/usr/bin/make update" to rebuild the package and all
ERROR:       of its dependencies
ERROR:     - "/usr/bin/make replace" to replace only the package without
ERROR:       re-linking dependencies, risking various problems.
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/misc/colorls
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/misc/colorls
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/misc/colorls


Seems I've missed a part? Ideas?

-George


Home | Main Index | Thread Index | Old Index