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 10th October 2016
billy_bazooka billy_bazooka is offline
New User
 
Join Date: Sep 2016
Posts: 4
Default pkgin install cant find packages

Code:
PKG_PATH=http://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/amd64/7.0.1/All
i use netbsd 7.0.1

pkgin install cant find firefox, smplayer, mplayer or other common packages..
is the link bad?
why arent there those packages? i thought "http://ftp.netbsd.org/pub..." was the "official" link?

what am i missing?

Last edited by ocicat; 10th October 2016 at 03:16 AM. Reason: Fixed errant [code] & [/code] tags.
Reply With Quote
  #2   (View Single Post)  
Old 10th October 2016
IdOp's Avatar
IdOp IdOp is offline
Too dumb for a smartphone
 
Join Date: May 2008
Location: twisting on the daemon's fork(2)
Posts: 720
Default

Welcome to daemonforums!

I've been wondering about this type of question too. My favourite browser, SeaMonkey, has been MIA as a binary package for quite some time, and lately firefox too. (I use i386/6.1.5_PATCH.)

Prompted by your question I poked around ftp.netbsd.org just now with lynx. There is a directory pub/pkgsrc/packages/NetBSD/amd64/7.0_current/All which was new to me. It has firefox and seamonkey binaries, but no mplayer (yet?). Don't know if they'll work with 7.0.1, but quite possibly so ... worth a try?
Reply With Quote
  #3   (View Single Post)  
Old 10th October 2016
DaBSD DaBSD is offline
Shell Scout
 
Join Date: Jan 2013
Location: Russia/Iceland
Posts: 93
Default

Have you tried the command pkgin update before going install these programs? It updates the package database to the latest version.
Reply With Quote
  #4   (View Single Post)  
Old 10th October 2016
darktrym's Avatar
darktrym darktrym is offline
standard-bearer
 
Join Date: Feb 2011
Location: Germany
Posts: 86
Default

PKG_PATH is used for pkg_add not by pkgin.
__________________
NetBSD 7.99.53(AMD64)@x220
Reply With Quote
  #5   (View Single Post)  
Old 11th October 2016
shep shep is offline
Rc.conf Instructor
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 947
Default

As the Quarterly build directory is populated, the developers change the link from 7.0.1 -> 2016Q2 to 7.0.1 -> 2016Q3. This just happened a few days ago.

You can either wait for the builds to show up in 2016Q3 or edit the configuration file to pull from Q2.
Reply With Quote
  #6   (View Single Post)  
Old 11th October 2016
joseyluis joseyluis is offline
New User
 
Join Date: Oct 2016
Posts: 2
Default

the file formats mplayer are/can be patented in some countries, and its legal status is uncertain in several countries. Because of this, mplayer packages aren't build.

From the source of pkgsrc :
file: ...multimedia/mplayer-share/Makefile.common
RESTRICTED= Prohibited by USAs DMCA and patent law
NO_BIN_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
NO_SRC_ON_FTP= ${RESTRICTED}
......

You can build mplayer and other related mplayer packages building yourself from pkgsrc: http://cdn.netbsd.org/pub/pkgsrc/stable/pkgsrc.tar.bz2

Uncompress it under /usr.

# cd /usr/pkgsrc/multimedia/mplayer
# make install
Reply With Quote
  #7   (View Single Post)  
Old 16th October 2016
darktrym's Avatar
darktrym darktrym is offline
standard-bearer
 
Join Date: Feb 2011
Location: Germany
Posts: 86
Default

I think NetBSD changed the architecture name for packages from amd64 to x86_64.
__________________
NetBSD 7.99.53(AMD64)@x220
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
Can't find packages for amd64 -current Daffy OpenBSD Packages and Ports 6 8th June 2011 02:44 PM
Can't install binaries packages via network ahlsner NetBSD Package System (pkgsrc) 10 29th August 2009 08:29 PM
Can't install binaries packages via network ahlsner NetBSD General 2 21st August 2009 07:38 PM
official openbsd recommendation to install packages (not ports)? boder OpenBSD Packages and Ports 6 3rd January 2009 05:12 AM
There is an alternative way to find a packages? aleunix OpenBSD Packages and Ports 23 6th June 2008 07:18 AM


All times are GMT. The time now is 07:51 PM.


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