[oi-dev] couchdb-31 is broken
Hi, the couchdb-31 package is broken at the ips server: Errors were encountered while attempting to retrieve package or file data for the requested operation. Details follow: pkg://openindiana.org/database/couchdb-31@3.1.2,5.11-2023.0.0.0:20230609T222502Z Invalid content: manifest hash failure: fmri: pkg://openindiana.org/database/couchdb-31@3.1.2,5.11-2023.0.0.0:20230609T222502Z expected: 28185b5f27c3c0ce9ea1d8f129e0e5763f53e8ae computed: b371cc90d6fd42c5bafa55f85afb183b59c23960. (happened 4 times) -- +---+ | Marcel Telka e-mail: mar...@telka.sk | |homepage: http://telka.sk/ | +---+ ___ oi-dev mailing list oi-dev@openindiana.org https://openindiana.org/mailman/listinfo/oi-dev
Re: [oi-dev] couchdb-31 is broken
On 2/20/24 00:58, Marcel Telka wrote: the couchdb-31 package is broken at the ips server: Errors were encountered while attempting to retrieve package or file data for the requested operation. Details follow: pkg://openindiana.org/database/couchdb-31@3.1.2,5.11-2023.0.0.0:20230609T222502Z Invalid content: manifest hash failure: fmri: pkg://openindiana.org/database/couchdb-31@3.1.2,5.11-2023.0.0.0:20230609T222502Z expected: 28185b5f27c3c0ce9ea1d8f129e0e5763f53e8ae computed: b371cc90d6fd42c5bafa55f85afb183b59c23960. (happened 4 times) I tried rebuilding but it fails because our Erlang is too new: ==> config (compile) ERROR: OTP release 24 does not match required regex 19|20|21|22 ERROR: compile failed while processing /z/ws/oi-userland-alt/components/database/couchdb-31/build/amd64/src/config: rebar_abort make: *** [Makefile:125: couch] Error 1 gmake: *** [/z/ws/oi-userland-alt/make-rules/justmake.mk:62: /z/ws/oi-userland-alt/components/database/couchdb-31/build/amd64/.built] Error 2 - Bill ___ oi-dev mailing list oi-dev@openindiana.org https://openindiana.org/mailman/listinfo/oi-dev
Re: [oi-dev] couchdb-31 is broken
On Tue, Feb 20, 2024 at 09:31:03AM -0800, Bill Sommerfeld via oi-dev wrote: > On 2/20/24 00:58, Marcel Telka wrote: > > the couchdb-31 package is broken at the ips server: > > > > Errors were encountered while attempting to retrieve package or file data > > for > > the requested operation. > > Details follow: > > > > pkg://openindiana.org/database/couchdb-31@3.1.2,5.11-2023.0.0.0:20230609T222502Z > >Invalid content: manifest hash failure: fmri: > > pkg://openindiana.org/database/couchdb-31@3.1.2,5.11-2023.0.0.0:20230609T222502Z > > expected: 28185b5f27c3c0ce9ea1d8f129e0e5763f53e8ae computed: > > b371cc90d6fd42c5bafa55f85afb183b59c23960. (happened 4 times) > > > > I tried rebuilding but it fails because our Erlang is too new: > > ==> config (compile) > ERROR: OTP release 24 does not match required regex 19|20|21|22 > ERROR: compile failed while processing > /z/ws/oi-userland-alt/components/database/couchdb-31/build/amd64/src/config: > rebar_abort > make: *** [Makefile:125: couch] Error 1 > gmake: *** [/z/ws/oi-userland-alt/make-rules/justmake.mk:62: > /z/ws/oi-userland-alt/components/database/couchdb-31/build/amd64/.built] > Error 2 We apparently need newer couchdb, since couchdb 3.1 is no longer supported. OTOH, we do not have any consumer for couchdb-31 in OI so we could simply just obsolete it and do not bother packaging newer one. BTW, the issue above should be fixable by replacing a file (or two, or so) from the backup. -- +---+ | Marcel Telka e-mail: mar...@telka.sk | |homepage: http://telka.sk/ | +---+ ___ oi-dev mailing list oi-dev@openindiana.org https://openindiana.org/mailman/listinfo/oi-dev
Re: [oi-dev] couchdb-31 is broken
Am 20.02.24 um 18:49 schrieb Marcel Telka: On Tue, Feb 20, 2024 at 09:31:03AM -0800, Bill Sommerfeld via oi-dev wrote: On 2/20/24 00:58, Marcel Telka wrote: the couchdb-31 package is broken at the ips server: Errors were encountered while attempting to retrieve package or file data for the requested operation. Details follow: pkg://openindiana.org/database/couchdb-31@3.1.2,5.11-2023.0.0.0:20230609T222502Z Invalid content: manifest hash failure: fmri: pkg://openindiana.org/database/couchdb-31@3.1.2,5.11-2023.0.0.0:20230609T222502Z expected: 28185b5f27c3c0ce9ea1d8f129e0e5763f53e8ae computed: b371cc90d6fd42c5bafa55f85afb183b59c23960. (happened 4 times) I tried rebuilding but it fails because our Erlang is too new: ==> config (compile) ERROR: OTP release 24 does not match required regex 19|20|21|22 ERROR: compile failed while processing /z/ws/oi-userland-alt/components/database/couchdb-31/build/amd64/src/config: rebar_abort make: *** [Makefile:125: couch] Error 1 gmake: *** [/z/ws/oi-userland-alt/make-rules/justmake.mk:62: /z/ws/oi-userland-alt/components/database/couchdb-31/build/amd64/.built] Error 2 We apparently need newer couchdb, since couchdb 3.1 is no longer supported. OTOH, we do not have any consumer for couchdb-31 in OI so we could simply just obsolete it and do not bother packaging newer one. 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? ___ oi-dev mailing list oi-dev@openindiana.org https://openindiana.org/mailman/listinfo/oi-dev
Re: [oi-dev] couchdb-31 is broken
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. ___ oi-dev mailing list oi-dev@openindiana.org https://openindiana.org/mailman/listinfo/oi-dev
Re: [oi-dev] couchdb-31 is broken
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. ___ oi-dev mailing list oi-dev@openindiana.org https://openindiana.org/mailman/listinfo/oi-dev
Re: [oi-dev] couchdb-31 is broken
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 pkgrepo fix pkgrepo rebuild -- +---+ | Marcel Telka e-mail: mar...@telka.sk | |homepage: http://telka.sk/ | +---+ ___ oi-dev mailing list oi-dev@openindiana.org https://openindiana.org/mailman/listinfo/oi-dev
Re: [oi-dev] couchdb-31 is broken
On 2/20/24 12:06, 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 maybe the hash for the manifest file in the repo's catalog is wrong. Not sure what the best way to correct it is, though. Perhaps removing the broken package from the repo with pkgrepo remove and then using pkgrecv to restore it it in from the old repo? - Bill ___ oi-dev mailing list oi-dev@openindiana.org https://openindiana.org/mailman/listinfo/oi-dev
Re: [oi-dev] couchdb-31 is broken
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? -- +---+ | Marcel Telka e-mail: mar...@telka.sk | |homepage: http://telka.sk/ | +---+ ___ oi-dev mailing list oi-dev@openindiana.org https://openindiana.org/mailman/listinfo/oi-dev
Re: [oi-dev] couchdb-31 is broken
Am 20.02.24 um 21:21 schrieb Bill Sommerfeld via oi-dev: On 2/20/24 12:06, 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 maybe the hash for the manifest file in the repo's catalog is wrong. Not sure what the best way to correct it is, though. Perhaps removing the broken package from the repo with pkgrepo remove and then using pkgrecv to restore it it in from the old repo? Removing packages from the repo is a little bit tedious as the repo is served on an old zone and remove is not supported by its pkgrepo. So I have to copy several GB to another system, remove the package there, and copy everything back. Maybe I find the time for it at the weekend. Andreas - Bill ___ oi-dev mailing list oi-dev@openindiana.org https://openindiana.org/mailman/listinfo/oi-dev ___ oi-dev mailing list oi-dev@openindiana.org https://openindiana.org/mailman/listinfo/oi-dev
Re: [oi-dev] couchdb-31 is broken
On Tue, Feb 20, 2024 at 09:29:09PM +0100, Andreas Wacknitz via oi-dev wrote: > Am 20.02.24 um 21:21 schrieb Bill Sommerfeld via oi-dev: > > On 2/20/24 12:06, 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 maybe the hash for the manifest file in the repo's catalog is > > wrong. Not sure what the best way to correct it is, though. > > > > Perhaps removing the broken package from the repo with pkgrepo remove > > and then using pkgrecv to restore it it in from the old repo? > Removing packages from the repo is a little bit tedious as the repo is > served on an old zone and remove is not supported by its pkgrepo. > So I have to copy several GB to another system, remove the package > there, and copy everything back. I suspect this operation corrupts the repo. It is not the first time. Similar corruptions happens regularly :-(. -- +---+ | Marcel Telka e-mail: mar...@telka.sk | |homepage: http://telka.sk/ | +---+ ___ oi-dev mailing list oi-dev@openindiana.org https://openindiana.org/mailman/listinfo/oi-dev
Re: [oi-dev] couchdb-31 is broken
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: mar...@telka.sk | |homepage: http://telka.sk/ | +---+ ___ oi-dev mailing list oi-dev@openindiana.org https://openindiana.org/mailman/listinfo/oi-dev
Re: [oi-dev] couchdb-31 is broken
On 2/20/24 12:28, Marcel Telka wrote: 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. # A version 4 repo is a container for multiple version 3 repos - that error really means "you specified a version 3 repo that's inside a version 4 repo by going too far down the hierarchy" - just use $PATHTOREPO, not any publisher subdirectory inside of it. -- -Alan Coopersmith- alan.coopersm...@oracle.com Oracle Solaris Engineering - https://blogs.oracle.com/solaris ___ oi-dev mailing list oi-dev@openindiana.org https://openindiana.org/mailman/listinfo/oi-dev