[oi-dev] couchdb-31 is broken

Marcel Telka marcel at telka.sk
Tue Feb 20 20:54:27 UTC 2024


On Tue, Feb 20, 2024 at 09:28:50PM +0100, Marcel Telka wrote:
> On Tue, Feb 20, 2024 at 09:19:24PM +0100, Marcel Telka wrote:
> > On Tue, Feb 20, 2024 at 09:06:53PM +0100, Andreas Wacknitz via oi-dev wrote:
> > > Am 20.02.24 um 20:52 schrieb Bill Sommerfeld via oi-dev:
> > > > On 2/20/24 11:27, Andreas Wacknitz via oi-dev wrote:
> > > > > Am 20.02.24 um 18:49 schrieb Marcel Telka:
> > > > > > BTW, the issue above should be fixable by replacing a file (or two, or
> > > > > > so) from the backup.
> > > > > > 
> > > > > I have tried pkgrecv but it skipped the couchdb-31 package because it's
> > > > > already there.
> > > > > How can I find the necessary files to copy over?
> > > > 
> > > > Start with the manifest file itself - that's what I believe it's
> > > > failing the checksum for.
> > > > 
> > > > Look inside the repo directory, in:
> > > > 
> > > > publisher/openindiana.org/pkg/database%2Fcouchdb-31
> > > > 
> > > > For
> > > > pkg://openindiana.org/database/couchdb-31@3.1.2,5.11-2023.0.0.0:20230609T222502Z
> > > > 
> > > > there should be a file in that directory named
> > > > 
> > > > 3.1.2%2C5.11-2023.0.0.0%3A20230609T222502Z
> > > > 
> > > > that contains the package manifest.
> > > > 
> > > > Once a manifest file is in place that has the right checksum it may or
> > > > may not complain about other missing files.
> > > I have checked both manfests (actual and old repo). They don't differ
> > > and seem to be complete and thus should be correct.
> > 
> > Then some suggestions:
> > pkgrepo verify
> 
> Unfortunately, the verify will likely fail with the following error :-(:
> 
> # pkgrepo verify -s $PATHTOREPO/publisher/openindiana.org/
> Initiating repository verification.
> pkgrepo: The repository at '$PATHTOREPO/publisher/openindiana.org' is version '3'; only version 4 repositories are supported.
> #
> 
> But maybe there is older pkgrepo command on the server supporting ver 3?

The proper command is `pkgrepo verify -s $PATHTOREPO` (i.e. without
ending publisher/openindiana.org).

-- 
+-------------------------------------------+
| Marcel Telka   e-mail:   marcel at telka.sk  |
|                homepage: http://telka.sk/ |
+-------------------------------------------+



More information about the oi-dev mailing list