eb7e
![]() |
|
|
|
|
|||||||
| Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software). |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi,
I'm new to FreeBSD, I downloaded and tried FreeBSD v8.0 for about two weeks now. I played with PC-BSD 7 before and it encouraged me to give FreeBSD another try. The last time I tried FreeBSD it was on v5.4, at that time I was still a new comer to Free and Open Source world. I've switched full-time to GNU/Linux since 2006 and I'm a Arch Linux user since mid 2008. I've played PC-BSD 8.0 for a while but unfortunately it wasn't as polished as 7.0, maybe 8.1 will do better. But why wait for PC-BSD 8.1 when I can install FreeBSD 8.0 and customized to my needs!? and I've done just that ![]() FreeBSD (v8.0) is a great operation system, it has excellent documentation and provide some advanced features. It was made to server. Back to topic now. I did two installs, in the first I installed KDE 4.3, Firefox, GIMP etc using packages then decided to upgrade everything using Ports. It took 30 hours to finish on a 2.6Ghz, no big deal if it was going to be once in few months but that's not the case. KDE 4.4 for instance was released less than 3 weeks now and at the moment I'm writing this 4.4.1 was released. So I think grabbing everything from source and compiling it every now and then is not suitable for a single user using a single machine. I'm not criticizing here, it just not what I needed. Afterward, I did the second install this time using only packages and XFCE4 instead of KDE, so far so good but then again I used ports to install flash player and its deps and VBox-ose-additions and its deps. 1. Is there a way to upgrade applications, which were installed using packages, only by packages when they become available ? 2. Is there a way to let portupgrade or any other tool to specifically upgrade applications installed using ports without touching the ones that were installed using packages ? It would be great if I can do that. I'm sorry for this long post, thanks in advance for those who'll take the time to answer my questions. I'm honestly will to use FreeBSD no matter what it takes or costs. Regards, Med Last edited by DutchDaemon; March 3rd, 2010 at 02:09. Reason: moved to the correct forum |
|
#2
|
||||
|
||||
|
Portupgrade doesn't differentiate between ports and packages once they're installed. Use the -PP flag to use packages only, or the -P flag to use a port when a newer package isn't available. You need to have an up-to-date ports tree. Alternatively, use the sysutils/bsdadminscripts port/package, which contains a package upgrade script that doesn't need the ports tree. This information has been posted quite a few times now, as recent as earlier today. Use the Search function next time. And post in the correct forum ("Installation and Maintenance of FreeBSD Ports or Packages" should be a no-brainer ...).
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki Before you post: How to ask questions the smart way If you must know .. So, what does an Administrator/Moderator do? ---> Do not PM me with FreeBSD questions. I do not work here. <--- |
|
#3
|
|||
|
|||
|
Concerning bsdadminscripts I didn't find any good answer, just hints which seems like it's not the way to go.
Anyway, thanks for pointing that out. Last edited by DutchDaemon; March 3rd, 2010 at 04:00. |
|
#4
|
||||
|
||||
|
Really? I've only read good things about pkg_upgrade, which is part of the bsdadminscripts port. The rest of the port may not be useful, but pkg_upgrade certainly is.
|
|
#5
|
|||
|
|||
|
Greetings,
I am fairly new to FreeBSD too, and I have a suggestion to make : please let the handbook tell newbies about pkg_upgrade. Currently (from what I noticed) it seems the handbook only explains how to upgrade ports, not packages; and this is a bit confusing. gryzor Last edited by DutchDaemon; January 18th, 2011 at 16:42. |
|
#6
|
||||
|
||||
|
The confusion stems from not realizing that a package and a port are actually the same thing once they are installed. The only difference is how they are installed. The preferred and recommended way is to use ports, not packages.
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
![]() |
| Tags |
| packages, ports, upgrading |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Solved] Upgrading packages without ports | luckytaxi | Installation and Maintenance of FreeBSD Ports or Packages | 11 | May 10th, 2010 18:34 |
| upgrade all packages from ports | ccc | Installation and Maintenance of FreeBSD Ports or Packages | 4 | May 2nd, 2010 00:42 |
| Ports or packages? | ciol | Installation and Maintenance of FreeBSD Ports or Packages | 40 | April 13th, 2010 06:47 |
| [Solved] Updating: ports and packages | nikolajg | Installation and Maintenance of FreeBSD Ports or Packages | 5 | April 9th, 2010 13:38 |
| A few ports and packages not available | calande | Installation and Maintenance of FreeBSD Ports or Packages | 4 | April 2nd, 2010 12:46 |