fde2 Packagesite for pkgng - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Ports & Packages > Installation and Maintenance of FreeBSD Ports or Packages

Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software).

Reply
 
Thread Tools Display Modes
  #1  
Old October 12th, 2012, 18:18
Majorix's Avatar
Majorix Majorix is offline
Member
 
Join Date: Dec 2011
Location: Turkey
Posts: 145
Thanks: 40
Thanked 5 Times in 5 Posts
Default Packagesite for pkgng

I have upgraded my VM to 10-CURRENT, and now I am using pkg for package management.

However, when I ran it for the first time, it spit out this:
# pkg install emacs
Code:
Updating repository catalogue
pkg: PACKAGESITE is not defined.
I have looked a bit and so far there is no official 10-CURRENT packagesite. What do you guys use for packagesite, and is there any "official" ones out there?

Last edited by Majorix; October 15th, 2012 at 19:11.
Reply With Quote
  #2  
Old October 12th, 2012, 18:45
bkouhi bkouhi is online now
Member
 
Join Date: Sep 2011
Posts: 135
Thanks: 148
Thanked 58 Times in 41 Posts
Default

Hi, try this:

# cp /usr/local/etc/pkg.conf.sample /usr/local/etc/pkg.conf
# pkg update

Or check http://pkgbeta.FreeBSD.org and set PACKAGESITE variable in /usr/local/etc/pkg.conf. For example:

Code:
PACKAGESITE: http://pkgbeta.freebsd.org/freebsd-9-i386/latest/
Reply With Quote
The Following 2 Users Say Thank You to bkouhi For This Useful Post:
htutt (October 12th, 2012), Majorix (October 12th, 2012)
  #3  
Old October 12th, 2012, 19:02
Majorix's Avatar
Majorix Majorix is offline
Member
 
Join Date: Dec 2011
Location: Turkey
Posts: 145
Thanks: 40
Thanked 5 Times in 5 Posts
Default

Thanks, it is now installing emacs in the background

You don't have to really edit the configuration file though, it is fine as it is.

I am so far VERY impressed with pkg.
Reply With Quote
  #4  
Old October 15th, 2012, 17:03
Majorix's Avatar
Majorix Majorix is offline
Member
 
Join Date: Dec 2011
Location: Turkey
Posts: 145
Thanks: 40
Thanked 5 Times in 5 Posts
Default

Sorry for the double post.

My PACKAGESITE as set by the configuration file does not work.

It reads: http://pkg.freebsd.org/freebsd:10:x8...atest/repo.txz and it cannot connect there. When I replace "pkg" with "pkgbeta" it works. However I looked at the repos on pkgbeta and they seem outdated.

What can I do?

EDIT: It works now and I didn't change anything. Interesting...

EDIT 2: It doesn't work now again.... :/

Last edited by Majorix; October 15th, 2012 at 19:11.
Reply With Quote
  #5  
Old October 16th, 2012, 00:00
SNK SNK is offline
Member
 
Join Date: May 2011
Location: The Netherlands
Posts: 130
Thanks: 6
Thanked 32 Times in 28 Posts
Default

The packages for i386 are a month old. You are not using amd64?

During September the online repo did not get updated so I started to compile packages myself in a jail with ports-mgmt/poudriere.

Currently it is still pkgbeta instead of pkg.
Reply With Quote
  #6  
Old October 16th, 2012, 13:15
Majorix's Avatar
Majorix Majorix is offline
Member
 
Join Date: Dec 2011
Location: Turkey
Posts: 145
Thanks: 40
Thanked 5 Times in 5 Posts
Default

No, I am not using amd64. This is an old netbook that does not even support 64-bit
Reply With Quote
  #7  
Old October 17th, 2012, 07:30
Majorix's Avatar
Majorix Majorix is offline
Member
 
Join Date: Dec 2011
Location: Turkey
Posts: 145
Thanks: 40
Thanked 5 Times in 5 Posts
Default

Anyone? I am stuck with these old packages. Will there be new packages for x86?
Reply With Quote
  #8  
Old October 17th, 2012, 10:31
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,725
Thanks: 47
Thanked 2,023 Times in 1,862 Posts
Default

You can always set up your own repository. I actually recommend doing that.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
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
pkg (aka pkgng) 1.0 Released wblock@ Installation and Maintenance of FreeBSD Ports or Packages 13 October 10th, 2012 16:10
pkgng Beta wblock@ Installation and Maintenance of FreeBSD Ports or Packages 55 July 28th, 2012 11:33
[Solved] Correct syntax for set PACKAGESITE macunkie Installation and Maintenance of FreeBSD Ports or Packages 2 July 8th, 2012 04:45
[Solved] Looking for a pkgng PACKAGESITE srivo Installation and Maintenance of FreeBSD Ports or Packages 4 June 22nd, 2012 20:15
[Solved] 9.0-CURRENT packagesite error Beeblebrox Installation and Maintenance of FreeBSD Ports or Packages 10 December 10th, 2010 20:05


All times are GMT +1. The time now is 15:23.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0