-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 06 February 2007 17:54
To: Harrison Peter CSA BIRKENHEAD
Subject: Re: Portupgrade out of swap - corrupt pkg info...
On Tue, 6 Feb 2007, Harrison Peter CSA BIRKENHEAD wrote:
I updated the ports on my laptop last night ran:
portsnap fetch update
followed by:
portupgrade -arR
This ran normally until it hit vim-gtk2. It built fine but
whilst it was registering the installation became unresponsive.
Hard rebooted, and found that in /var/log/messages it
referred to being out of swap (I don't have the exact message to hand).
pkg_info did not show vim as installed, so when portupgrade
finished a cd'd to /usr/ports/editors/vim and ran make install
clean. This installed without error.
If you ran make install clean then it should have installed
the pkg info.
However, now when I run pkg_info it reports that the pkg
info for vim-gtk2 is corrupt.
Hmmm...
Could anyone help with 2 questions:
~ How do I fix the package database entry for vim?
pkg_install should do the trick, but you already cleaned out
the package build directory . make install for vim-gtk2
should do the trick now.
OK thanks for this. I've fiddled around and it seems to be working alright now.
Thanks for this.
~ What might have caused my machine to run out of swap? It
was running X and twm with 1 xterm open. For hardware it has
256MB RAM and a 470MB swap partition. I've not had this problem before.
Ouch.. you should actually have more swap than that
(2*(Physical RAM amount) = 512MB swap would be a better idea
in the future).
As for running out of swap, what are your make options for
ruby? Having the ruby doc (or whatever it was) option selected
ate up a lot of memory on machines a few months back; having
this option deselected and rebuilding ruby fixes the memory bloat.
make config in the lang/ruby* ports directory will yield the
desired result here.
I take your point over the amount of swap - and I guess 256 RAM is getting a
little light for a desktop/laptop these days.
I don't recall portupgrade touching ruby - but I'll check what options I have
enabled for it.
-Garrett
Thanks,
Peter Harrison
PLEASE NOTE: THE ABOVE MESSAGE WAS RECEIVED FROM THE INTERNET.
On entering the GSI, this email was scanned for viruses by the
Government Secure Intranet (GSi) virus scanning service
supplied exclusively by Cable Wireless in partnership with
MessageLabs.
In case of problems, please call your organisational IT Helpdesk.
The MessageLabs Anti Virus Service is the first managed
service to achieve the CSIA Claims Tested Mark (CCTM
Certificate Number 2006/04/0007), the UK Government quality
mark initiative for information security products and
services. For more information about this please visit
www.cctmark.gov.uk
**
This document is strictly confidential and is intended only for use by the
addressee.
If you are not the intended recipient, any disclosure, copying, distribution or
other
action taken in reliance of the information contained in this e-mail is
strictly prohibited.
Any views expressed by the sender of this message are not necessarily those of
the Department
for Work and Pensions.
If you have received this transmission in error, please use the reply function
to tell us
and then permanently delete what you have received.
Please note: Incoming and outgoing e-mail messages are routinely monitored for
compliance
with our policy on the use of electronic communications.
**
The original of this email was scanned for viruses by Government Secure
Intranet (GSi) virus scanning service supplied exclusively by Cable Wireless
in partnership with MessageLabs.
On leaving the GSI this email was certified virus free.
The MessageLabs Anti Virus Service is the first managed service to achieve the
CSIA Claims Tested Mark (CCTM Certificate Number 2006/04/0007), the UK
Government quality mark initiative for information security products and
services. For more information about this please visit www.cctmark.gov.uk
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]