[oi-dev] couchdb-31 is broken

Marcel Telka marcel at telka.sk
Wed Feb 21 23:04:51 UTC 2024


On Wed, Feb 21, 2024 at 08:27:20PM +0100, Marcel Telka wrote:
> On Tue, Feb 20, 2024 at 09:54:27PM +0100, Marcel Telka wrote:
> > The proper command is `pkgrepo verify -s $PATHTOREPO` (i.e. without
> > ending publisher/openindiana.org).
> 
> I'm running the `pkgrepo verify` on my local copy of the (official) ips repo
> and so far I found this:
> 
>            ERROR: Invalid file hash: cf6524e84f049ec7cb31c4c92a7fa26ca75c96be8e157fbfc974bc7bfa2f99a1
>          Package: pkg://openindiana.org/library/mozjs-60@60.8.0,5.11-2022.0.0.0:20220201T120214Z
>  Repository path: /data/openindiana-hipster/publisher/openindiana.org/file/07/07ef492f49d4c8c1bea8b3e0866fee55f55577f6
>    Computed hash: 7d5235341152834147cf4f1ab9faff37ea87a69b073fbc05fda67cc3b8cd0510
>             Path: usr/lib/amd64/libjs_static.ajs
> 
> 
> pkg://openindiana.org/library/mozjs-60                            61864/177684 -
>            ERROR: Invalid file hash: fbad1dc5c42245c1b5f2e98f245d71e805e4831433fd9e67328f95ef5ee05b57
>          Package: pkg://openindiana.org/library/mozjs-60@60.8.0,5.11-2024.0.0.2:20240214T134119Z
>  Repository path: /data/openindiana-hipster/publisher/openindiana.org/file/70/705f771bc438735598ad0fe6392de3eda4e1154a
>    Computed hash: bde010709020fe01decf06ca9603bf18e6cbae7b4a814f34fa16d4e24fe56e91
>             Path: usr/lib/amd64/libjs_static.ajs
> 
> 
> pkg://openindiana.org/library/mozjs-60                            61865/177684 \
>            ERROR: Invalid file hash: bfb4acb866f48aefe6c93a3ebe4f9ae97637a5e740693f31fe5904c1e2b64583
>          Package: pkg://openindiana.org/library/mozjs-60@60.8.0,5.11-2023.0.0.1:20231103T152741Z
>  Repository path: /data/openindiana-hipster/publisher/openindiana.org/file/b2/b2f40c59259c4ad119f4d01af675d5c63bf2fea6
>    Computed hash: f59c371196e96a5c9b69e483a521068f7165d1bc2cd72c530c1789988ab02b04
>             Path: usr/lib/amd64/libjs_static.ajs
> 
> 
> pkg://openindiana.org/library/mozjs-60                            61866/177684 |
>            ERROR: Invalid file hash: bfb4acb866f48aefe6c93a3ebe4f9ae97637a5e740693f31fe5904c1e2b64583
>          Package: pkg://openindiana.org/library/mozjs-60@60.8.0,5.11-2023.0.0.1:20231103T151901Z
>  Repository path: /data/openindiana-hipster/publisher/openindiana.org/file/b2/b2f40c59259c4ad119f4d01af675d5c63bf2fea6
>    Computed hash: f59c371196e96a5c9b69e483a521068f7165d1bc2cd72c530c1789988ab02b04
>             Path: usr/lib/amd64/libjs_static.ajs
> 
> 
> And yes, those files seems to be corrupted in the repo, for example:
> 
> $ sha1sum /data/openindiana-hipster/publisher/openindiana.org/file/70/705f771bc438735598ad0fe6392de3eda4e1154a
> 33471d5fa1a25ab740a84c720f5875147ee1c42d  /data/openindiana-hipster/publisher/openindiana.org/file/70/705f771bc438735598ad0fe6392de3eda4e1154a
> $
> 
> While the installed file is correct:
> 
> $ sha1sum /usr/lib/amd64/libjs_static.ajs
> 705f771bc438735598ad0fe6392de3eda4e1154a  /usr/lib/amd64/libjs_static.ajs
> $

I need to correct myself.  Those files are stored gzipped, so they
should be checked like this:

$ gzcat /data/openindiana-hipster/publisher/openindiana.org/file/70/70000a6b63ecd35872b258d8a0852aede43d94e3 | sha1sum
70000a6b63ecd35872b258d8a0852aede43d94e3  -
$

It means that all files above are okay and the problem seems to be somewhere
else.

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



More information about the oi-dev mailing list