|
|
|
|
|
|
| Author |
Message |
Helmutt *nix forums beginner
Joined: 12 May 2005
Posts: 8
|
Posted: Fri May 13, 2005 3:00 pm Post subject:
Do I have to update pkgsrc?
|
|
|
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?  |
|
| Back to top |
|
 |
Wouter Schoot *nix forums beginner
Joined: 09 Apr 2005
Posts: 11
|
Posted: Fri May 13, 2005 5:49 pm Post subject:
Re: Do I have to update pkgsrc?
|
|
|
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...
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?
|
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 |
|
 |
|
|
The time now is Fri Jan 09, 2009 1:52 am | All times are GMT
|
|
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
|
|