I once coded a shellscript to do that, restore from corrupted pkgdb
I have it at work (if you can wait until next monday)
the easyest way I found was to pkg_add -Ff every package missing in
pkg_info, and extract missing files from packages still there
but you would need a package list to do that
On Wed, 21 Apr 2010 20:57:59 +0200
Julian H. Stacey j...@berklix.com wrote:
Hi hack...@freebsd.org
with amd64, but not with i386,
/sys/amd64/conf/GENERIC COMPAT_FREEBSD7 is an undocemneted
pre-requisite for COMPAT_IA32
(so those who enable COMPAT_IA32 for ports/emulators, but disable
Hi,
Reference:
From: Gary Jennejohn gary.jennej...@freenet.de
Reply-to: gary.jennej...@freenet.de
Date: Thu, 22 Apr 2010 11:14:40 +0200
Message-id: 20100422111440.69a01...@ernst.jennejohn.org
Gary Jennejohn wrote:
On Wed, 21 Apr 2010 20:57:59 +0200
Julian H. Stacey
Sergey Babkin bab...@verizon.net writes:
I wonder if a version control system, like SVN, could be used to keep
track of all the changes in /etc. (Or maybe it already is and I'm
simply out of date).
arch is commonly used for things like this.
DES
--
Dag-Erling Smørgrav - d...@des.no
On Wed, Apr 21, 2010 at 08:57:59PM +0200, Julian H. Stacey wrote:
Hi hack...@freebsd.org
with amd64, but not with i386,
/sys/amd64/conf/GENERIC COMPAT_FREEBSD7 is an undocemneted
pre-requisite for COMPAT_IA32
(so those who enable COMPAT_IA32 for ports/emulators, but disable
COMPAT_FREEBSD7
Hi Kostik,
Kostik Belousov wrote:
On Wed, Apr 21, 2010 at 08:57:59PM +0200, Julian H. Stacey wrote:
Hi hack...@freebsd.org
with amd64, but not with i386,
/sys/amd64/conf/GENERIC COMPAT_FREEBSD7 is an undocemneted
pre-requisite for COMPAT_IA32
(so those who enable COMPAT_IA32 for
On Wed, Apr 21, 2010 at 10:43:37PM -0700, Doug Barton typed:
On 4/20/2010 7:11 PM, Aryeh M. Friedman wrote:
I acciddentally rm'ed my /var/db/pkg and want to know is it possible to
rgenerate it (I have portmaster and portupgrade installed)
Portmaster certainly can't do this, it uses the
Just asking opinions, if people want this, I'll make a patch and
file a PR.
Is this script correct?
#!/bin/sh
#
# $FreeBSD: src/etc/periodic/daily/210.backup-aliases,v 1.6.36.1.2.1
2009/10/25 01:10:29 kensmith Exp $
#
# If there is a global system configuration file, suck it in.
#
if [ -r
On Tue, Apr 20, 2010 at 10:11:24PM -0400, Aryeh M. Friedman wrote:
I acciddentally rm'ed my /var/db/pkg and want to know is it possible to
rgenerate it (I have portmaster and portupgrade installed)
You would have to write a script which went through each file in
/usr/local/bin and
Hmm, I guess you shouldn't backup /var/foo to /var/bar. If /var is lost,
your backup is gone, too.
I took the backup location from one of the other periodic scripts.
Where should it be backed up to then?
___
freebsd-hackers@freebsd.org mailing list
On Thu, Apr 22, 2010 at 03:21:16PM +0300, Eitan Adler wrote:
Just asking opinions, if people want this, I'll make a patch and
file a PR.
Is this script correct?
#!/bin/sh
#
# $FreeBSD: src/etc/periodic/daily/210.backup-aliases,v 1.6.36.1.2.1
2009/10/25 01:10:29 kensmith Exp $
#
On Thu, Apr 22, 2010 at 04:12:08PM +0300, Eitan Adler wrote:
Hmm, I guess you shouldn't backup /var/foo to /var/bar. If /var is lost,
your backup is gone, too.
In your crontab
MAILTO=...
@weekly /usr/sbin/pkg_info -I -a
Once a week is reasonable.
- Diane
--
- d...@freebsd.org
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Thu, 22 Apr 2010 15:21+0300, Eitan Adler wrote:
Just asking opinions, if people want this, I'll make a patch and
file a PR.
Is this script correct?
#!/bin/sh
#
# $FreeBSD: src/etc/periodic/daily/210.backup-aliases,v 1.6.36.1.2.1
On Thu, Apr 22, 2010 at 03:21:16PM +0300, Eitan Adler wrote:
Just asking opinions, if people want this, I'll make a patch and
file a PR.
Is this script correct?
We're starting to use SSDs for boot drives in our freebsd boxes. We'd
like to have /var on a memory backed FS, but losing
On Thu, Apr 22, 2010 at 08:56:39AM -0500, Dan Rue wrote:
We're starting to use SSDs for boot drives in our freebsd boxes. We'd
like to have /var on a memory backed FS, but losing the package database
on every reboot is troublesome.
Tried using a symlink from /var/db/pkg to /usr/local/.pkgdb
Hi all,
this may sound a little odd, since I have noticed that there is much
work done to not allow such a thing ($SUBJ). But may be you can help
me and point me to the right direction.
I am writing a kernel module with somewhat similar functionality
like nullfs has, BUT it has to have some
On Thu, 22.04.2010 at 12:18:21 +0200, Dag-Erling Smørgrav wrote:
Sergey Babkin bab...@verizon.net writes:
I wonder if a version control system, like SVN, could be used to keep
track of all the changes in /etc. (Or maybe it already is and I'm
simply out of date).
arch is commonly used for
FreeBSD Quarterly Status Report
Introduction
This report covers FreeBSD related projects between January and March
2010. Being the first of the four reports planned for 2010 with 46
entries, it shows a good progress of the FreeBSD Project and proves
that our committers are keeping up
On Thu, 22 Apr 2010 11:54:29 +0200
Julian H. Stacey j...@berklix.com wrote:
Hi,
Reference:
From: Gary Jennejohn gary.jennej...@freenet.de
Reply-to: gary.jennej...@freenet.de
Date: Thu, 22 Apr 2010 11:14:40 +0200
Message-id:
taking into account your feedback here is the new version
If all is good I'll submit a PR
#!/bin/sh
#
# $FreeBSD: src/etc/periodic/daily/210.backup-aliases,v 1.6.36.1.2.1
2009/10/25 01:10:29 kensmith Exp $
#
# If there is a global system configuration file, suck it in.
#
if [ -r
On 4/22/2010 6:44 AM, Diane Bruce wrote:
On Thu, Apr 22, 2010 at 04:12:08PM +0300, Eitan Adler wrote:
Hmm, I guess you shouldn't backup /var/foo to /var/bar. If /var is lost,
your backup is gone, too.
In your crontab
MAILTO=...
@weekly /usr/sbin/pkg_info -I -a
pkg_info -o -a
On 4/22/2010 9:08 AM, Eitan Adler wrote:
taking into account your feedback here is the new version
If all is good I'll submit a PR
#!/bin/sh
#
# $FreeBSD: src/etc/periodic/daily/210.backup-aliases,v 1.6.36.1.2.1
2009/10/25 01:10:29 kensmith Exp $
#
# If there is a global system
On 4/22/2010 9:54 AM, Doug Barton wrote:
Also, a better invocation might be:
db_loc=`pm_make -f/usr/share/mk/bsd.port.mk -V PKG_DBDIR 2/dev/null`
Make that just /usr/bin/make instead of pm_make, I should have looked
more carefully at what I pasted. :)
Doug
--
... and that's just a
Same as before - if all is good I'll send a PR
#!/bin/sh
#
# $FreeBSD: src/etc/periodic/daily/210.backup-aliases,v 1.6.36.1.2.1
2009/10/25 01:10:29 kensmith Exp $
#
# If there is a global system configuration file, suck it in.
#
if [ -r /etc/defaults/periodic.conf ]
then
.
On Wed, 2010-04-21 at 21:09 +0200, Julian H. Stacey wrote:
Hi hackers@,
No replies in over 4 days to this, so this is a repost,
I've also added re@ as newish memstick.img might interest them ?
(The live command prompt on F4 wasn't much use, no ls yet.)
echo *
That said you usually run
On Thu, Apr 22, 2010 at 09:48:37AM -0700, Doug Barton wrote:
On 4/22/2010 6:44 AM, Diane Bruce wrote:
On Thu, Apr 22, 2010 at 04:12:08PM +0300, Eitan Adler wrote:
...
MAILTO=...
@weekly /usr/sbin/pkg_info -I -a
pkg_info -o -a would probably be more useful from the standpoint of
Am 22.04.2010 14:49, schrieb Diane Bruce:
On Tue, Apr 20, 2010 at 10:11:24PM -0400, Aryeh M. Friedman wrote:
I acciddentally rm'ed my /var/db/pkg and want to know is it possible to
rgenerate it (I have portmaster and portupgrade installed)
You would have to write a script which went
hi,
have you tried pkgdb -u ?
--
psr
มะฃาม ฅินเดินดน
มะไฟ ฅนเหลิงฟ้า
http://makham.blogspot.com
Quoting Diane Bruce d...@db.net:
On Tue, Apr 20, 2010 at 10:11:24PM -0400, Aryeh M. Friedman wrote:
I acciddentally rm'ed my /var/db/pkg and want to know is it possible to
rgenerate it (I
Am 22.04.2010 14:49, schrieb Diane Bruce:
On Tue, Apr 20, 2010 at 10:11:24PM -0400, Aryeh M. Friedman wrote:
I acciddentally rm'ed my /var/db/pkg and want to know is it possible to
rgenerate it (I have portmaster and portupgrade installed)
You would have to write a script which went through
Hello All
My name is Patrick Quinn
I am currently part of a team working on a new operating system called
RevLin OS. RevLin OS will use a new desktop environment called RaVe that is
coded almost entirely in web language (Css html5 and Javascript ) with
native back ends, all running locally
Doug Barton wrote:
On 4/20/2010 7:11 PM, Aryeh M. Friedman wrote:
I acciddentally rm'ed my /var/db/pkg and want to know is it possible to
rgenerate it (I have portmaster and portupgrade installed)
Portmaster certainly can't do this, it uses the information from
/var/db/pkg. I'm not sure if
On (22/04/2010 16:02), Lukáš Czerner wrote:
Hi all,
this may sound a little odd, since I have noticed that there is much
work done to not allow such a thing ($SUBJ). But may be you can help
me and point me to the right direction.
I am writing a kernel module with somewhat similar
On Thu, Apr 22, 2010 at 06:48:43PM +, b. f. wrote:
Doug Barton wrote:
On 4/20/2010 7:11 PM, Aryeh M. Friedman wrote:
...
find /usr/local -type f -print0 | xargs -0 pkg_which -v | fgrep '?'
libchk would also be useful.
...
But as Doug suggests, a full cleanup of PREFIX/LOCALBASE and
It's much safer to just leave the libraries alone. Just because you
upgraded libpng doesn't mean that your old gtk binary will stop working
(assuming you are using portupgrade or portmaster -w which preserves old
About to get flamed, I know Untrue. Portupgrade deletes the old
version of the
In the last episode (Apr 22), Steve Franks said:
It's much safer to just leave the libraries alone. Just because you
upgraded libpng doesn't mean that your old gtk binary will stop working
(assuming you are using portupgrade or portmaster -w which preserves
About to get flamed, I know
In the last episode (Apr 22), Dan Nelson said:
In the last episode (Apr 22), Steve Franks said:
(such as myself) incorrectly pointing a port at libpng.5 instead of any
libpng, or libpng = 5. Once the ports tree is 'poisoned' in this
fashion, there's really no going back. I'd sure vote for
Hi hackers,
I realize that this isn't 100% userland code, so the checks should
be minimalized, but when looking at the ioctl(2) syscall code (at
least I think it is... there's another dupe hanging around in
sys/dev/hptmv/ioctl.c), I had some questions related to the error
handling not being
Hi hackers,
I realize that this isn't 100% userland code, so the checks should
be minimalized, but when looking at the ioctl(2) syscall code (at
least I think it is... there's another dupe hanging around in
sys/dev/hptmv/ioctl.c), I had some questions related to the error
handling not
On Thu, Apr 22, 2010 at 4:36 PM, Matthew Fleming
matthew.flem...@isilon.com wrote:
Hi hackers,
I realize that this isn't 100% userland code, so the checks should
be minimalized, but when looking at the ioctl(2) syscall code (at
least I think it is... there's another dupe hanging around in
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 2010/04/22 17:45, Garrett Cooper wrote:
On Thu, Apr 22, 2010 at 4:36 PM, Matthew Fleming
matthew.flem...@isilon.com wrote:
Hi hackers,
I realize that this isn't 100% userland code, so the checks should
be minimalized, but when looking at
On Thu, Apr 22, 2010 at 5:51 PM, Xin LI delp...@delphij.net wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 2010/04/22 17:45, Garrett Cooper wrote:
On Thu, Apr 22, 2010 at 4:36 PM, Matthew Fleming
matthew.flem...@isilon.com wrote:
Hi hackers,
I realize that this isn't 100%
On Thu, 22.04.2010 at 12:10:50 -0400, Mike Meyer wrote:
On Thu, 22 Apr 2010 16:41:27 +0200
Ulrich Spörlein u...@spoerlein.net wrote:
On Thu, 22.04.2010 at 12:18:21 +0200, Dag-Erling Smørgrav wrote:
Sergey Babkin bab...@verizon.net writes:
I wonder if a version control system, like
42 matches
Mail list logo