139ef
![]() |
|
|
|
|
|||||||
| 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
|
|||
|
|||
|
Does anyone have any hints for using portmaster.
Is it actually any good for anything? Every time I use it, like tonight, I spend 8 hours trying to get my system to work again. I have currently resorted to using the twm window manager trying to fix all the things portmaster breaks. At least it didn't break X windows. Nearly everything I touch after using portmaster requests an earlier library/port. So now I'm writing /etc/libmap.conf files. It's a real pain. Last edited by bigearsbilly; July 26th, 2010 at 14:07. |
|
#2
|
|||
|
|||
|
It's actually a great tool. Can't even remember the last time I broke anything.
Did you read /usr/ports/UPDATING before updating? |
|
#3
|
||||
|
||||
|
Search the forums. Most issues with the ports tree arise from people blindly using -a and/or -f, not reading /usr/ports/UPDATING before beginning, not doing things in small batches, and not reading relevant man pages (ports(7), portmaster(8) for starters).
For example, using the following portmaster options is highly recommended: -b -d -w Last edited by phoenix; July 26th, 2010 at 19:43. |
|
#4
|
|||
|
|||
|
well I guess all tools are good if you know how to use 'em!
Having a powercut mid stream probably didn't help. I've read all the docs, I even have the book, Absolute FreeBSD. Monday morning still at it. phew! |
|
#5
|
||||
|
||||
|
Quote:
Quote:
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
|
#6
|
||||
|
||||
|
I would really suggest you wipe your current ports and start over again. Read:
man portmaster | less +/" Using portmaster to do a complete reinstallation of all your ports"You could consider using a /usr/loca/etc/portmaster.rcfile to speed things up. It is described here: man portmaster | less +/^FILESI use this one (stripped): Code:
# Always save the backup packages of the old port (-b)
BACKUP=bopt
# Always delete stale distfiles without prompting (-d)
ALWAYS_SCRUB_DISTFILES=dopt
# Arguments to pass to make (-m)
PM_MAKE_ARGS='-DFORCE_PKG_REGISTER'
# Save copies of old shared libraries (recommended) (-w)
SAVE_SHARED=wopt
# Install a package if available (-P or packages)
PM_PACKAGES=first
# Suppress the build confirmation message (no-confirm)
PM_NO_CONFIRM=pm_no_confirm
__________________
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 Adminstrator/Moderator do? ---> Do not PM me with FreeBSD questions. I do not work here. <--- |
| The Following 3 Users Say Thank You to DutchDaemon For This Useful Post: | ||
|
#7
|
|||
|
|||
|
thanks chaps, most helpful.
yes I started building a .rc file for portmaster but thanks DutchDaemon for the hints I will try them. I guess there's no substitute for hard work. Thanks guys I'll get on with it. I like the --list-origins. I guess that would be a way of loading a consistent set of ports after a fresh install. edit: I can't figure out how to mark as [solved]. Last edited by bigearsbilly; July 26th, 2010 at 14:06. |
|
#8
|
||||
|
||||
|
Edit your first post in this thread. Go to "advanced".
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
|
#9
|
||||
|
||||
|
Quote:
Code:
0 22 * * * /usr/local/sbin/portmaster --list-origins > /root/ports_today
__________________
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 Adminstrator/Moderator do? ---> Do not PM me with FreeBSD questions. I do not work here. <--- |
| The Following User Says Thank You to DutchDaemon For This Useful Post: | ||
carlton_draught (November 18th, 2010) | ||
|
#10
|
|||
|
|||
|
you are a lucky man DutchDaemon.
I've never found a working environment here in england that uses FreeBSD. Always linux now, occasional solaris. BTW I managed to get myself out of the hole without reinstalling all the ports. thanks chaps. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| freebsd-updates and linker.hints | WildChild | Installing & Upgrading | 3 | February 8th, 2013 01:29 |
| milter-greylist config hints | qsecofr | Web & Network Services | 1 | June 15th, 2010 06:26 |
| OSNEWS: Google Hints at HTML5 Video Version of YouTube | graudeejs | Multimedia | 48 | May 20th, 2010 00:55 |
| what I must do portmaster do not ask me yes or no | mfaridi | Installation and Maintenance of FreeBSD Ports or Packages | 1 | May 12th, 2009 10:05 |
| Making sense of snd_hda device.hints | Brandybuck | System Hardware | 1 | February 18th, 2009 07:31 |