On Sep 6, 2013, at 12:23, Jim Ballantine wrote:
> The backup in /var/backups was a copy of the current DB, so it was not
> usable, however there was/is and older backup that was not corrupt. So I
> restored
> it into /var/db and then update that one.
Which is nice reminder to everyone about th
ender and not cc,
>> it also seems to top post.
>>
>> -- Forwarded message --
>> From: Jim Ballantine
>> Date: Wed, Sep 4, 2013 at 3:09 PM
>> Subject: Re: Package database
>> To: Freddie Cash
>>
>>
>> I looked in /var/db and th
ed message --
From: Jim Ballantine
Date: Wed, Sep 4, 2013 at 3:09 PM
Subject: Re: Package database
To: Freddie Cash
I looked in /var/db and there is not dir/file named backup. There is a
dir
named pkg.bak but it is empty.
On Wed, Sep 4, 2013 at 1:46 PM, Jim Ballantine
wrote:
I
Sorry these didn't get to the list.
gmail responses only to sender and not cc,
it also seems to top post.
-- Forwarded message --
From: Jim Ballantine
Date: Wed, Sep 4, 2013 at 3:09 PM
Subject: Re: Package database
To: Freddie Cash
I looked in /var/db and there is not dir
Quoth Freddie Cash :
> On Wed, Sep 4, 2013 at 10:41 AM, Jim Ballantine wrote:
>
> > My /var/db/pkg has become corrupt, and I can't find an archive of it to
> > install in it's place. Does one exist and if so where? If not any ideas
> > on
> > how to rebuild the db?
>
> Are you using PKGng or th
Le 04/09/2013 19:43, Freddie Cash a écrit :
> If using PKGng, there's a backup copy under /var/db/backup*
And if the backup is corrupted, maybe with remote query and by making
the list of files in /usr/local, you can match packages that have to be
reinstalled (and maybe rebuild the database withou
On Wed, Sep 4, 2013 at 10:41 AM, Jim Ballantine wrote:
> My /var/db/pkg has become corrupt, and I can't find an archive of it to
> install in it's place. Does one exist and if so where? If not any ideas
> on
> how to rebuild the db?
>
Are you using PKGng or the old pkg_* tools?
Meaning, is you
My /var/db/pkg has become corrupt, and I can't find an archive of it to
install in it's place. Does one exist and if so where? If not any ideas on
how to rebuild the db?
Thanks
Jim Ballantine
___
freebsd-stable@freebsd.org mailing list
http://lists.fr
On 04/15/2011 02:30, J. Hellenthal wrote:
PS: The PR says this was committed... It was not AFAIK.
I committed the script itself, which is why I picked up the PR.
This is an excellent example of a bikeshed issue since it's something
simple enough that everyone feels qualified to offer an opini
On Fri, Apr 15, 2011 at 12:57:15PM +0400, Pan Tsu wrote:
>"J. Hellenthal" writes:
>
>[...]
>> @@ -33,7 +33,8 @@
>>
>> new_bak_file=`mktemp ${bak_file}-X`
>>
>> -if tar -cjf "${new_bak_file}" "$pkg_dbdir"; then
>> +cd $pkg_dbdir/..
>> +if tar -cjf "${new_bak_file}" "$(basen
"J. Hellenthal" writes:
[...]
> @@ -33,7 +33,8 @@
>
> new_bak_file=`mktemp ${bak_file}-X`
>
> - if tar -cjf "${new_bak_file}" "$pkg_dbdir"; then
> + cd $pkg_dbdir/..
> + if tar -cjf "${new_bak_file}" "$(basename $pkg_dbdir)"; then
Why not use `-s' (substitution) option
>Submitter-Id: current-users
>Originator:J. Hellenthal
>Organization:
>Confidential: no
>Synopsis: Make 220.backup-pkgdb cd(1) and backup only the package
>database.
>Severity: non-critical
>Priority: medium
>Category: conf
>Class:
12 matches
Mail list logo