
08-07-2012, 01:13 PM
|
|
Member
|
|
Join Date: Jul 2010
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|
|

08-08-2012, 02:22 AM
|
|
Senior Member
|
|
Join Date: May 2010
Posts: 234
Thanks: 6
Thanked 15 Times in 14 Posts
|
|
Originally Posted by SolarCatcher
|
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.
|
|

08-08-2012, 08:07 AM
|
|
Senior Member
|
|
Join Date: Sep 2010
Location: Saint Paul, MN
Posts: 142
Thanks: 23
Thanked 26 Times in 20 Posts
|
|
|
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.
|
|

08-08-2012, 07:09 PM
|
|
Senior Member
|
|
Join Date: May 2010
Posts: 234
Thanks: 6
Thanked 15 Times in 14 Posts
|
|
|
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.
|
|

08-08-2012, 08:06 PM
|
 |
Administrator
|
|
Join Date: May 2005
Location: Knoxville, TN
Posts: 2,438
Thanks: 0
Thanked 105 Times in 87 Posts
|
|
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
|
|

08-08-2012, 10:14 PM
|
|
Senior Member
|
|
Join Date: May 2010
Posts: 234
Thanks: 6
Thanked 15 Times in 14 Posts
|
|
Originally Posted by kmoore134
|
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
|
|

08-13-2012, 12:37 PM
|
|
Member
|
|
Join Date: Jul 2010
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Originally Posted by kmoore134
|
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
|
|

08-14-2012, 12:44 AM
|
|
Member
|
|
Join Date: Aug 2012
Posts: 33
Thanks: 5
Thanked 0 Times in 0 Posts
|
|
Ports
This is fantastic news. Im used to freebsd since version 8 and ports uninstalling themselves sounds like bad news
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT. The time now is 07:31 AM.
|
|