Reply
 
Thread Tools Display Modes
  #1  
Old 08-07-2012, 01:13 PM
SolarCatcher SolarCatcher is offline
Member
 
Join Date: Jul 2010
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Default Installed ports are frequently uninstalled by PC-BSD
I am a bit puzzled because the handbook seems to indicate that I can normally use the ports collection to install software in PC-BSD when it is not available as PBI. This works ok, but frequently PC-BSD seems to uninstall the software I had installed via portmaster. I assume that this has to do with selecting/unselecting additional system packages through PCBSD control panel -> System Manager. This somehow seems to revert the system to its earlier state.

My question: Is this a feature I do not understand? Is this just a nuisance I have to live with? Or is this a real bug?

The ports I had installed and which (frequently) disappear are e.g.
ports-mgmt/portmaster
net-im/skype
graphics/optipng

Thanks to anyone for a clarification.
Reply With Quote
  #2  
Old 08-08-2012, 02:22 AM
purgatori purgatori is offline
Senior Member
 
Join Date: May 2010
Posts: 234
Thanks: 6
Thanked 15 Times in 14 Posts
Default
Originally Posted by SolarCatcher View Post
I am a bit puzzled because the handbook seems to indicate that I can normally use the ports collection to install software in PC-BSD when it is not available as PBI. This works ok, but frequently PC-BSD seems to uninstall the software I had installed via portmaster. I assume that this has to do with selecting/unselecting additional system packages through PCBSD control panel -> System Manager. This somehow seems to revert the system to its earlier state.

My question: Is this a feature I do not understand? Is this just a nuisance I have to live with? Or is this a real bug?

The ports I had installed and which (frequently) disappear are e.g.
ports-mgmt/portmaster
net-im/skype
graphics/optipng

Thanks to anyone for a clarification.
Yep, I've encountered this problem myself. Once, even parts of LXDE were removed when I installed XFCE from the system manager.
__________________
My Blog About Emacs and (PC)BSD
Promethean Machines
Reply With Quote
  #3  
Old 08-08-2012, 08:07 AM
Tigersharke Tigersharke is offline
Senior Member
 
Join Date: Sep 2010
Location: Saint Paul, MN
Posts: 142
Thanks: 23
Thanked 26 Times in 20 Posts
Default
This is not really a bug.

Both system updates and system meta-pkg changes will cause anything installed via ports or packages to vanish. The small detail that may have been overlooked, is that the use of portjail (or a standard jail) prevents this side-effect. Meaning that if you want to build anything from ports, construct either type of jail and do your 'make install clean' from within it, and the same for FreeBSD packages.

Another way to prevent loss while also obtaining things you desire from the ports tree, is to create your own local PBI. This is simplified with EasyPBI, but still can have wrinkles to adjust, which means that some ports will happily build into a PBI, but may not function as desired. Either spend time figuring it out or just request that a PBI be built of that port.

I am rather certain that the side-effect was emphasized on the wiki for v9.1, and was mentioned in the v9.0 handbook but maybe not so blatantly.
Reply With Quote
  #4  
Old 08-08-2012, 07:09 PM
purgatori purgatori is offline
Senior Member
 
Join Date: May 2010
Posts: 234
Thanks: 6
Thanked 15 Times in 14 Posts
Default
The side-effect doesn't particularly vex me (except when it uninstalled parts of LXDE), but if it did, I would not consider jails to be a particularly good solution. Getting stuff you've built in jails to speak/inter-operate with stuff outside of jails can sometimes be a frustrating mess. Sure, if you're building something just to mess around with it, all well and good, but if you intend to use it as part of your normal work-flow, you're bound to run into problems.

Building one's own PBIs is a much better solution, although it's not one I'm using myself. I simply request PBIs for the stuff I need, and maintain a list of the few components I have installed via packages, so that I can easily re-install them after an update.
__________________
My Blog About Emacs and (PC)BSD
Promethean Machines
Reply With Quote
  #5  
Old 08-08-2012, 08:06 PM
kmoore134's Avatar
kmoore134 kmoore134 is offline
Administrator
 
Join Date: May 2005
Location: Knoxville, TN
Posts: 2,442
Thanks: 0
Thanked 106 Times in 88 Posts
Default Installed ports are frequently uninstalled by PC-BSD
Good news:

I'm about to commit a change to the package system, so it wont remove /
prune custom added ports/pkgs now. This will be in 9.1-RC1.
__________________
----
Kris Moore
PC-BSD Founder
Reply With Quote
  #6  
Old 08-08-2012, 10:14 PM
purgatori purgatori is offline
Senior Member
 
Join Date: May 2010
Posts: 234
Thanks: 6
Thanked 15 Times in 14 Posts
Default
Originally Posted by kmoore134 View Post
Good news:

I'm about to commit a change to the package system, so it wont remove /
prune custom added ports/pkgs now. This will be in 9.1-RC1.
That is good news
__________________
My Blog About Emacs and (PC)BSD
Promethean Machines
Reply With Quote
  #7  
Old 08-13-2012, 12:37 PM
SolarCatcher SolarCatcher is offline
Member
 
Join Date: Jul 2010
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Originally Posted by kmoore134 View Post
Good news:

I'm about to commit a change to the package system, so it wont remove /
prune custom added ports/pkgs now. This will be in 9.1-RC1.
Hi Kris,

this sounds really promising. Unfortunately it comes too late for me. Due to the aforementioned problem, I decided to switch back to vanilla FreeBSD. As I really like the ideas underlying PC-BSD and because I see good development, I am sure I will give it another try in the future.

Until then: Thank you and all the best
SolarCatcher
Reply With Quote
  #8  
Old 08-14-2012, 12:44 AM
jwele jwele is offline
Member
 
Join Date: Aug 2012
Posts: 33
Thanks: 5
Thanked 0 Times in 0 Posts
Default Ports
This is fantastic news. Im used to freebsd since version 8 and ports uninstalling themselves sounds like bad news
Reply With Quote
  #9  
Old 02-20-2013, 12:11 PM
Digi-Quick Digi-Quick is offline
Junior Member
 
Join Date: Feb 2013
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Any News?
Version 9.1 is released, but:
ftp://ftp.pcbsd.org/pub/handbook/9.1...c2\xae_Updated

AND

ftp://ftp.pcbsd.org/pub/handbook/9.1...PC-BSD\xc2\xae

The Handbook for Verrsion 9.1 states again, That userinstalled ports and packages will be removed.
bye
Lothar
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


All times are GMT. The time now is 04:45 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, 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.