Reply
 
Thread Tools Display Modes
  #1  
Old 06-12-2013, 03:58 PM
Beanpole's Avatar
Beanpole Beanpole is offline
Senior Member
 
Join Date: May 2010
Posts: 2,398
Thanks: 12
Thanked 395 Times in 325 Posts
Exclamation Rolling Release Package Updates
There have been a number of situations that users have been experiencing with the system seeing the latest package updates. While there might still be a bit of a delay for the mirrors to synchronize with the main ftp server, all of the package sets and mirrors should be available and ready for use.

If you are still experiencing issues with package updates not being available, I have a couple steps for you to take:

1) Open a terminal and switch to the root user (su)
2) Edit the file "/usr/local/etc/pkg.conf"
3) Make sure the "packagesite:" variable is NOT pointing to getmirror.pcbsd.org, it should be pointing instead to something like: http://ftp.pcbsd.org/pub/mirror/packages/9.1-RELEASE/[i386 or amd64]
with the "ftp.pcbsd.org/pub/mirror/" part adjusted to point to your local mirror.

The "HTTP_MIRROR" variable can be completely removed if you still have it as well.

Once this is done and the file has been saved, the update manager should be able to pick up the available package updates and work properly after that.
__________________
~ Ken Moore ~
PC-BSD/iXsystems
Reply With Quote
The Following 3 Users Say Thank You to Beanpole For This Useful Post:
bds (06-12-2013), nemysis (06-13-2013), sg1efc (07-12-2013)
  #2  
Old 06-17-2013, 01:32 PM
Beanpole's Avatar
Beanpole Beanpole is offline
Senior Member
 
Join Date: May 2010
Posts: 2,398
Thanks: 12
Thanked 395 Times in 325 Posts
Default
Just to follow up with this, if you run the package update commands manually (pkg upgrade) you will also need to run the following commands to replace the PC-BSD overlay on your system (default backgrounds, other PC-BSD theming, etc..)
Code:
pc-extractoverlay ports
pc-extractoverlay desktop  #(or "server" if running TrueOS instead of PC-BSD)
__________________
~ Ken Moore ~
PC-BSD/iXsystems
Reply With Quote
The Following User Says Thank You to Beanpole For This Useful Post:
sg1efc (07-12-2013)
  #3  
Old 06-25-2013, 09:11 AM
Zagzigger Zagzigger is offline
Junior Member
 
Join Date: May 2012
Location: Sydney, Australia
Posts: 11
Thanks: 0
Thanked 1 Time in 1 Post
Default Conflicts during upgrade
Newbie question:

Very useful, however I get the following after I "proceed to upgrade packages":

Checking integrity. . .
Conflict found on path /usr/local/bin/nmblookup between samba36-3.6.13 (net/samba36) and samba36-nmblookup-3.6.13(net/samba-nmblookup)

(had to retype as working in xterminal)
and another to do with man entries for samba.

Don't really understand what's going on here - should I remove samba and let the updater sort it out. If so - how do I do that?

Thanks
Reply With Quote
The Following User Says Thank You to Zagzigger For This Useful Post:
sg1efc (07-12-2013)
  #4  
Old 06-25-2013, 01:01 PM
Beanpole's Avatar
Beanpole Beanpole is offline
Senior Member
 
Join Date: May 2010
Posts: 2,398
Thanks: 12
Thanked 395 Times in 325 Posts
Default
I would recommend just removing the conflicting packages, because it will then install the appropriate (non-conflicting) packages during the upgrade after that. (pkg delete -f <package>)

If you use the new Package Manager UI in the control panel, it should handle all the conflict resolution for you, but this step might be necessary to upgrade you to the version that has the new package management UI in the first place.
__________________
~ Ken Moore ~
PC-BSD/iXsystems
Reply With Quote
The Following User Says Thank You to Beanpole For This Useful Post:
sg1efc (07-12-2013)
  #5  
Old 07-07-2013, 10:34 AM
lurch lurch is offline
Senior Member
 
Join Date: May 2005
Location: Barnstaple. U.K.
Posts: 128
Thanks: 1
Thanked 0 Times in 0 Posts
Default
I have tried to manually upgrade using this post.
The "pkg upgrade" command downloads all the new packages, but install fails with numerous conflict messages about locally installed packages conflicting with the new.
I take it that this is something to do with this post "pc-extractoverlay ports
pc-extractoverlay desktop".
When I try to run "pc-extractoverlay ports" both as "SU" or ordinary user the following message is given "pc-extractoverlay: Command not found".
Any help would be appreciated
Ken
Reply With Quote
  #6  
Old 07-08-2013, 12:49 PM
Beanpole's Avatar
Beanpole Beanpole is offline
Senior Member
 
Join Date: May 2010
Posts: 2,398
Thanks: 12
Thanked 395 Times in 325 Posts
Default
As mentioned in my previous post, if you run into package conflicts you will need to run the "pkg delete -f <package>" command to remove those conflicting packages before re-running the package update to complete the installation/upgrade of the new packages.

"pc-extractoverlay" will get installed as part of the pcbsd-sh package, so if you did not have it previously, you might need to run the "rehash" command to rebuild the list of available binaries that your shell session knows about.
__________________
~ Ken Moore ~
PC-BSD/iXsystems
Reply With Quote
  #7  
Old 08-02-2013, 10:38 PM
monsee monsee is offline
Senior Member
 
Join Date: Jun 2010
Location: Italy
Posts: 157
Thanks: 9
Thanked 6 Times in 6 Posts
Default
I would attempt to switch my (stable) PC-BSD 9.1 64-bit XFCE to a "rolling" system, but...

... I have not the file "/usr/local/etc/pkg.conf"

I have no file called "pkg.conf" inn that directory at all...
Instead,, I have a file called "pkgtools.conf", but this file is not the same that I need...
Reply With Quote
Reply

Tags
packages, rolling release, update, upgrade

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


All times are GMT. The time now is 07:34 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.