Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Mind your own business, Spock. I'm sick of your halfbreed interference.


devel / comp.unix.bsd.freebsd.misc / Ports error with git index

SubjectAuthor
* Ports error with git indexLouis Epstein
`* Re: Ports error with git indexSteven G. Kargl
 +* Re: Ports error with git indexChristian Weisgerber
 |`- Re: Ports error with git indexSteven G. Kargl
 `- Re: Ports error with git indexLouis Epstein

1
Ports error with git index

<tkrckl$5iu$1@reader2.panix.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=337&group=comp.unix.bsd.freebsd.misc#337

  copy link   Newsgroups: comp.unix.bsd.freebsd.misc
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.main.put.com!not-for-mail
From: le@top.put.com (Louis Epstein)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Ports error with git index
Date: Sun, 13 Nov 2022 18:22:13 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <tkrckl$5iu$1@reader2.panix.com>
Injection-Date: Sun, 13 Nov 2022 18:22:13 -0000 (UTC)
Injection-Info: reader2.panix.com; posting-host="main.put.com:12.144.5.2";
logging-data="5726"; mail-complaints-to="abuse@panix.com"
User-Agent: tin/2.6.1-20211226 ("Convalmore") (FreeBSD/12.3-RELEASE-p6 (amd64))
 by: Louis Epstein - Sun, 13 Nov 2022 18:22 UTC

My latest attempt at
git -C /usr/ports pull
returned a fatal "index file smaller than expected"
message.

This was after a fsck episode,and a reboot
that required turning the clock back.

Do I need to reinitialize the git or will this go away
with time?

-=-=-
The World Trade Center towers MUST rise again,
at least as tall as before...or terror has triumphed.

Re: Ports error with git index

<tktui7$1q5ml$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=338&group=comp.unix.bsd.freebsd.misc#338

  copy link   Newsgroups: comp.unix.bsd.freebsd.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: sgk@REMOVEtroutmask.apl.washington.edu (Steven G. Kargl)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Ports error with git index
Date: Mon, 14 Nov 2022 17:40:23 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <tktui7$1q5ml$1@dont-email.me>
References: <tkrckl$5iu$1@reader2.panix.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 14 Nov 2022 17:40:23 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="c831cb7e7e955ea5b4d10a3599f51503";
logging-data="1906389"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/N3ibm1g6UbfPcntBcrd8d"
User-Agent: Pan/0.145 (Duplicitous mercenary valetism; d7e168a
git.gnome.org/pan2)
Cancel-Lock: sha1:jESxDnLJPK5MOHZmWFTsLNIKLBs=
 by: Steven G. Kargl - Mon, 14 Nov 2022 17:40 UTC

On Sun, 13 Nov 2022 18:22:13 +0000, Louis Epstein wrote:

> My latest attempt at
> git -C /usr/ports pull
> returned a fatal "index file smaller than expected"
> message.
>
> This was after a fsck episode,and a reboot
> that required turning the clock back.
>
> Do I need to reinitialize the git or will this go away
> with time?
>

Try to fetch a new index.

% git pull -ff
% make fetchindex

The pull may not be necessary. This should update
/usr/ports/INDEX-13 (12 or 14).

--
steve

Re: Ports error with git index

<slrntn53ve.20eb.naddy@lorvorc.mips.inka.de>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=339&group=comp.unix.bsd.freebsd.misc#339

  copy link   Newsgroups: comp.unix.bsd.freebsd.misc
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!inka.de!mips.inka.de!.POSTED.localhost!not-for-mail
From: naddy@mips.inka.de (Christian Weisgerber)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Ports error with git index
Date: Mon, 14 Nov 2022 18:58:54 -0000 (UTC)
Message-ID: <slrntn53ve.20eb.naddy@lorvorc.mips.inka.de>
References: <tkrckl$5iu$1@reader2.panix.com> <tktui7$1q5ml$1@dont-email.me>
Injection-Date: Mon, 14 Nov 2022 18:58:54 -0000 (UTC)
Injection-Info: lorvorc.mips.inka.de; posting-host="localhost:::1";
logging-data="65996"; mail-complaints-to="usenet@mips.inka.de"
User-Agent: slrn/1.0.3 (FreeBSD)
 by: Christian Weisgerber - Mon, 14 Nov 2022 18:58 UTC

On 2022-11-14, Steven G. Kargl <sgk@REMOVEtroutmask.apl.washington.edu> wrote:

>> git -C /usr/ports pull
>> returned a fatal "index file smaller than expected"
>> message.
>
> Try to fetch a new index.
>
> % git pull -ff
> % make fetchindex

You misunderstand the problem. It is git(1) that complains that
its index file (.git/index I guess) is corrupt. This has nothing
to do with the ports tree INDEX-* file.

--
Christian "naddy" Weisgerber naddy@mips.inka.de

Re: Ports error with git index

<tku7l4$1r26m$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=340&group=comp.unix.bsd.freebsd.misc#340

  copy link   Newsgroups: comp.unix.bsd.freebsd.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: sgk@REMOVEtroutmask.apl.washington.edu (Steven G. Kargl)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Ports error with git index
Date: Mon, 14 Nov 2022 20:15:32 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <tku7l4$1r26m$1@dont-email.me>
References: <tkrckl$5iu$1@reader2.panix.com> <tktui7$1q5ml$1@dont-email.me>
<slrntn53ve.20eb.naddy@lorvorc.mips.inka.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 14 Nov 2022 20:15:32 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="c831cb7e7e955ea5b4d10a3599f51503";
logging-data="1935574"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19fnvwNDF1nwbNM/a5eJmpx"
User-Agent: Pan/0.145 (Duplicitous mercenary valetism; d7e168a
git.gnome.org/pan2)
Cancel-Lock: sha1:EeYOvVF4mX5aP3vS6ra6RPQ9lzI=
 by: Steven G. Kargl - Mon, 14 Nov 2022 20:15 UTC

On Mon, 14 Nov 2022 18:58:54 +0000, Christian Weisgerber wrote:

> On 2022-11-14, Steven G. Kargl <sgk@REMOVEtroutmask.apl.washington.edu> wrote:
>
>>> git -C /usr/ports pull
>>> returned a fatal "index file smaller than expected"
>>> message.
>>
>> Try to fetch a new index.
>>
>> % git pull -ff
>> % make fetchindex
>
> You misunderstand the problem. It is git(1) that complains that
> its index file (.git/index I guess) is corrupt. This has nothing
> to do with the ports tree INDEX-* file.

Yep that's possible. However, one can get the same error
with "make fetchindex".

--
steve

Re: Ports error with git index

<tku9l3$qsn$1@reader2.panix.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=341&group=comp.unix.bsd.freebsd.misc#341

  copy link   Newsgroups: comp.unix.bsd.freebsd.misc
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.main.put.com!not-for-mail
From: le@top.put.com (Louis Epstein)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Ports error with git index
Date: Mon, 14 Nov 2022 20:49:39 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <tku9l3$qsn$1@reader2.panix.com>
References: <tkrckl$5iu$1@reader2.panix.com> <tktui7$1q5ml$1@dont-email.me>
Injection-Date: Mon, 14 Nov 2022 20:49:39 -0000 (UTC)
Injection-Info: reader2.panix.com; posting-host="main.put.com:12.144.5.2";
logging-data="27543"; mail-complaints-to="abuse@panix.com"
User-Agent: tin/2.6.1-20211226 ("Convalmore") (FreeBSD/12.3-RELEASE-p6 (amd64))
 by: Louis Epstein - Mon, 14 Nov 2022 20:49 UTC

Steven G. Kargl <sgk@removetroutmask.apl.washington.edu> wrote:
> On Sun, 13 Nov 2022 18:22:13 +0000, Louis Epstein wrote:
>
>> My latest attempt at
>> git -C /usr/ports pull
>> returned a fatal "index file smaller than expected"
>> message.
>>
>> This was after a fsck episode,and a reboot
>> that required turning the clock back.
>>
>> Do I need to reinitialize the git or will this go away
>> with time?
>>
>
> Try to fetch a new index.
>
> % git pull -ff
> % make fetchindex
>
> The pull may not be necessary. This should update
> /usr/ports/INDEX-13 (12 or 14).
>

I wound up relocating my existing /usr/ports to a backup disk
and fetching a new clone.
I do not have a /usr/ports/INDEX* apparently.

-=-=-
The World Trade Center towers MUST rise again,
at least as tall as before...or terror has triumphed.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor