DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD Package System (pkgsrc)

NetBSD Package System (pkgsrc) Installation and upgrading of packages on NetBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 4th May 2008
anomie's Avatar
anomie anomie is offline
Local
 
Join Date: Apr 2008
Location: Texas
Posts: 445
Question NetBSD 4.0: your experiences with binary / source pkgs?

[ I posted a similar query on the other forum just before it imploded, so this may sound familiar to some of you. ]

The situation is this:
  • I'm a NetBSD novice.
  • I have installed NetBSD 4.0 on an old laptop.
  • I want to install binary packages only.

Due to some issues I've run into installing binary packages (which I am not interested in discussing in this particular thread), I thought it would be a good idea if I solicited feedback from other NetBSD users.

My questions: Have you installed binary packages on NetBSD 4.0? If so, did you find the experience to be mostly trouble free?

I am asking this to try to determine whether binary packages are really a viable option, or if source packages are the way to go for things to work smoothly. (Either outcome is OK. I just want to know where I should be spending my time and energy.)

Any feedback gratefully received.
__________________
Kill your t.v.
Reply With Quote
  #2   (View Single Post)  
Old 4th May 2008
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by anomie View Post
Have you installed binary packages on NetBSD 4.0? If so, did you find the experience to be mostly trouble free?
I run NetBSD on old, obsolete, & exotic hardware. Since the project cross-compiles everything on AMD64 boxes, I am doing more for the microscopic community who still uses Cobalt boxes by testing via this route than taking a more obvious path. If I was using more generic Intel hardware, I might do approach system management differently, but this isn't the case.
Reply With Quote
  #3   (View Single Post)  
Old 4th May 2008
anomie's Avatar
anomie anomie is offline
Local
 
Join Date: Apr 2008
Location: Texas
Posts: 445
Default

And, ironically (or not), it may be that usage cases resembling yours will be more common than what I'm trying to do. Thanks for the reply.

If any additional NetBSD 4.0 users would be willing to share their experiences I'd appreciate it.
__________________
Kill your t.v.
Reply With Quote
  #4   (View Single Post)  
Old 4th May 2008
disi's Avatar
disi disi is offline
New User
 
Join Date: May 2008
Location: Europe/Dublin
Posts: 5
Default

I am a newbie to BSD, too

What I noticed is that if you go away from standard compiler settings, it breaks packages. I just added my arch like "COPTS?=-march=pentium -mcpu=pentium4 -O2 -pipe" and got compiler errors in a few packages.

That shows me, that there is no need to compile from source if I have to use generic settings. Doing an update with pkg_chk shows there is no outdated package in source or binary.
Reply With Quote
  #5   (View Single Post)  
Old 4th May 2008
anomie's Avatar
anomie anomie is offline
Local
 
Join Date: Apr 2008
Location: Texas
Posts: 445
Default

Quote:
Originally Posted by disi
That shows me, that there is no need to compile from source if I have to use generic settings.
That's an interesting point. And (assuming for now it is true) I am inclined to agree; the main issue then becomes whether all the binary packages I need are being offered from the mirrors. I think I'm going to need to hit the docs again and practice some more.

Thanks for the note.
__________________
Kill your t.v.
Reply With Quote
  #6   (View Single Post)  
Old 4th May 2008
disi's Avatar
disi disi is offline
New User
 
Join Date: May 2008
Location: Europe/Dublin
Posts: 5
Default

Just checked again:

Code:
DISI-NetBSD# pkg_chk -uskn
pkgtools/pkg_chk - pkg_chk-1.91 < pkg_chk-1.92
16:46 /usr/pkg/sbin/pkg_delete -K /var/db/pkg -r pkg_chk-1.91
This is the package, that would get upgraded from source.

here, if I switch to binary:
Code:
DISI-NetBSD# pkg_chk -bnP ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD-3.1/i386/All/ -u
converters/php-iconv - php4-iconv-4.4.8 missing (binary package available)
databases/php-mysql - php4-mysql-4.4.8 missing (binary package available)
devel/autoconf - autoconf-2.62 < autoconf-2.61 (binary package available)
devel/glib2 - glib2-2.16.3nb1 < glib2-2.14.6 (binary package available)
devel/libidn - libidn-1.8 < libidn-1.5 (binary package available)
devel/m4 - m4-1.4.11nb1 < m4-1.4.11 (binary package available)
devel/popt - popt-1.14 < popt-1.10.7 (binary package available)
devel/yasm - yasm-0.7.0 < yasm-0.6.2 (binary package available)
graphics/MesaLib - MesaLib-7.0.3.2 < MesaLib-6.4.2nb3 (binary package available)
graphics/glu - glu-7.0.3.2 < glu-6.4.2 (binary package available)
multimedia/libtheora - libtheora-1.0beta3 < libtheora-1.0beta2 (binary package available)
net/wget - wget-1.11.1 < wget-1.11 (binary package available)
pkgtools/pkg_chk - pkg_chk-1.91 < pkg_chk-1.90 (binary package available)
pkgtools/pkg_install - pkg_install-20080423 < pkg_install-20080313 (binary package available)
security/php-mcrypt - php4-mcrypt-4.4.8 missing (binary package available)
textproc/libxml2 - libxml2-2.6.32 < libxml2-2.6.31 (binary package available)
www/ap-php - ap13-php4-4.4.8nb1 missing (binary package available)
As you see, the packages are a bit different in the version

//edit: grmpf that would be the update to 3.1 NetBSD it should be the URL ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD-4.0/i386/All/

Last edited by disi; 5th May 2008 at 06:02 PM.
Reply With Quote
  #7   (View Single Post)  
Old 5th May 2008
anomie's Avatar
anomie anomie is offline
Local
 
Join Date: Apr 2008
Location: Texas
Posts: 445
Default

Some closure to this thread for now: I decided to reinstall NetBSD 4.0 from scratch, this time with a more comprehensive selection of "sets". (My first install was pretty minimalist.) For whatever reason(s), I am not seeing the plethora of issues I had previously when trying to install binary packages.

Anyway, thanks to both of you for providing feedback for me to mull over.

I'm posting this from my NetBSD 4.0 laptop.
__________________
Kill your t.v.
Reply With Quote
  #8   (View Single Post)  
Old 7th May 2008
s0xxx's Avatar
s0xxx s0xxx is offline
Package Pilot
 
Join Date: May 2008
Posts: 192
Default

Quote:
Originally Posted by anomie
My questions: Have you installed binary packages on NetBSD 4.0? If so, did you find the experience to be mostly trouble free?
I run NetBSD on a laptop myself, and have used binary packages without any problems. I am fairly new to NetBSD too, but also see that binary packages come late a bit in comparison to source packages (FreeBSD ports also?). To me that is not much of a problem.
Reply With Quote
  #9   (View Single Post)  
Old 20th May 2008
anomie's Avatar
anomie anomie is offline
Local
 
Join Date: Apr 2008
Location: Texas
Posts: 445
Default

Quote:
Originally Posted by anomie
My questions: Have you installed binary packages on NetBSD 4.0? If so, did you find the experience to be mostly trouble free?
Well, this 'binary package-only' idea has come to an end.

Today I needed to install the Sun JRE. Of course, there is no package for it due to that annoying legal stuff. So I finally graduated up to installing from source. It works just fine.
__________________
Kill your t.v.
Reply With Quote
Old 20th May 2008
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by anomie View Post
Today I needed to install the Sun JRE. Of course, there is no package for it due to that annoying legal stuff.
Note this is only short-lived. With Sun's announcements to open Java fully as Open Source, this restriction will be lifted in time.
Reply With Quote
Old 23rd December 2008
Randux Randux is offline
Disgruntled desktop user
 
Join Date: May 2008
Location: Siberia
Posts: 100
Default

I ran a "laptop from hell" with OpenBSD, FreeBSD, NetBSD, and Solaris just to say I did it.

I learned a lot (but not nearly enough) about the first three and still can't figure out Solaris' file structure. Depending on what platform you use, you may find that most things you want and I don't mean just huge stuff like JRE just doesn't have a binary package. I built virtually everything from source on NetBSD. Pkgsrc is fantastic.
__________________
BSDForums.org refugee #27
Multibooting with LILO
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wine: Your Experiences ninjatux Off-Topic 10 4th June 2013 12:48 PM
Opera Port - conflicting pkgs in "make install" IronForge OpenBSD Packages and Ports 5 29th October 2009 05:10 AM
Soekris experiences Carpetsmoker General Hardware 42 21st August 2009 01:52 PM
minicom binary csimmons0 FreeBSD Ports and Packages 2 29th January 2009 09:18 PM
In search of: NetBSD and pkgsrc maintainer for open source projects mdh NetBSD Package System (pkgsrc) 0 16th October 2008 12:42 AM


All times are GMT. The time now is 02:46 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick