updating pkgsrc with git trouble

Siju George sgeorge.ml at gmail.com
Thu Sep 24 07:45:58 PDT 2009


On Thu, Sep 24, 2009 at 11:31 AM, Stathis Kamperis <ekamperi at gmail.com> wrote:
> 2009/9/24 Siju George <sgeorge.ml at gmail.com>:
>> Hi,
>> ...
>> Should I do
>>
>> #rm -rf /usr/pkgsrc
>> # make pkgsrc-checkout
>>
>> to get a git repository instead of a cvs one?
>
> Yes. And you only need to do this once.
>

It doesnot seem to work :-(

dfly-bkpsrv# cd /usr/
dfly-bkpsrv# make pkgsrc-update
cd /usr/pkgsrc && git pull
fatal: Not a git repository (or any of the parent directories): .git
*** Error code 128

Stop in /usr.
dfly-bkpsrv# rm -rf pkgsrc/
recursively remove pkgsrc/? y
dfly-bkpsrv# make pkgsrc-checkout
cd /usr/pkgsrc && git checkout vendor
cd: can't cd to /usr/pkgsrc
*** Error code 2

Stop in /usr.
dfly-bkpsrv# mkdir pkgsrc
dfly-bkpsrv# make pkgsrc-checkout
cd /usr/pkgsrc && git checkout vendor
fatal: Not a git repository (or any of the parent directories): .git
*** Error code 128

Stop in /usr.
dfly-bkpsrv#

Thanks

--Siju





More information about the Users mailing list