niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » BSD » NetBSD
Do I have to update pkgsrc?
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
Author Message
Helmutt
*nix forums beginner


Joined: 12 May 2005
Posts: 8

PostPosted: Fri May 13, 2005 3:00 pm    Post subject: Do I have to update pkgsrc? Reply with quote

Hello!
I'm pretty green to NetBSD, and I'm feeling a bit confused... :S
I've downloaded the tarball with pkgsrc, and unpacked it in /usr/pkgsrc

when I tried to install elinks, I executed:

cd /usr/pkgsrc/www/elinks
make

Now I get an error telling me to update my package tools. I do so, and
now elinks is sucessfully installed... :D

I wonder if I need to update those package tools frequently, or update
the pkgsrc tree... like I had to use cvsup to update the FreeBSD ports
collection

Can somebody help meout? Smile
Back to top
Wouter Schoot
*nix forums beginner


Joined: 09 Apr 2005
Posts: 11

PostPosted: Fri May 13, 2005 5:49 pm    Post subject: Re: Do I have to update pkgsrc? Reply with quote

On 2005-05-13, calle.erlandsson@gmail.com <calle.erlandsson@gmail.com> wrote:
Quote:
I'm pretty green to NetBSD, and I'm feeling a bit confused... :S
I've downloaded the tarball with pkgsrc, and unpacked it in /usr/pkgsrc
when I tried to install elinks, I executed:
cd /usr/pkgsrc/www/elinks
make
Now I get an error telling me to update my package tools. I do so, and
now elinks is sucessfully installed... Very Happy
I wonder if I need to update those package tools frequently, or update
the pkgsrc tree... like I had to use cvsup to update the FreeBSD ports
collection
Can somebody help meout? Smile

Sure. pkgsrc is nothing but a bunch of infofiles and a makefile. One of
the files (distinfo), tells what files/versions of the elinks pkg (or
all the others) is being used. When a new pkg is committed, the distinfo
file will get a new version. Hence, updating is required. Use the cvs
update command.

"To get pkgsrc via CVS, make sure you have .cvs. installed. If not
present on your system, it can be found as precompiled binary on
ftp.NetBSD.org. To do an initial (full) checkout of pkgsrc, do the
following steps:

% setenv CVSROOT anoncvs@anoncvs.NetBSD.org:/cvsroot
% setenv CVS_RSH ssh
% cd /usr
% cvs checkout -P pkgsrc

This will create the pkgsrc directory in your /usr, and all the package
source will be stored under /usr/pkgsrc. To update pkgsrc after the
initial checkout, make sure you have CVS_RSH set as above, then do:

% cd /usr/pkgsrc
% cvs -q update -dP"

As written on http://www.netbsd.org/Documentation/pkgsrc/getting.html.

--
mvg,

Wouter

--
Er was eens een boer. Hij had 3 koeien, 2 witte en 1 witte.
Maar dat gaf niet, want de koe gaf ook niet. De boer vond een
horloge, de koe vond van niet. Ra-ra kameel politiepet.
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
The time now is Fri Jan 09, 2009 1:52 am | All times are GMT
navigation Forum index » *nix » BSD » NetBSD
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts C# MSSQL2000 update pln C 5 Fri Jul 21, 2006 7:41 am
No new posts HPSBMA02133 SSRT061201 rev.1 - HP Oracle for OpenView (Of... Security Alert HP-UX 0 Thu Jul 20, 2006 6:43 pm
No new posts HPSBMA02133 SSRT061201 rev.1 - HP Oracle for OpenView (Of... Security Alert HP-UX 0 Thu Jul 20, 2006 5:53 pm
No new posts Problem w/ Yast2, can't install new software or update Emmanuel Durand Suse 0 Thu Jul 20, 2006 5:50 am
No new posts HOW-TO Full update from 5.3 to 6.0-6.1 ? Vlad Mfk FreeBSD 2 Wed Jul 19, 2006 5:52 am

Bentley Autos | Web Advertising | Keeping Aquarium Fish | Debt Consolidation | Debt Consolidation
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1309s ][ Queries: 16 (0.0604s) ][ GZIP on - Debug on ]