Skip to content
This repository was archived by the owner on Jan 15, 2024. It is now read-only.
This repository was archived by the owner on Jan 15, 2024. It is now read-only.

Multiple packages installed with the same name #17

Description

@ReillyBrogan

Getting the following error on one of my dev rootfs'

object.Exception@../subprojects/moss-deps/source/moss/deps/registry/transaction.d(207): FATAL ERROR: Multiple packages installed with the same name: fish [RegistryItem("46cd0a5b87469a78eb5bd99bd96849170d928e6a55a954ff36bc329f542137e9", moss.client.activeplugin.ActivePlugin, Installed), RegistryItem("998de702b6d511b7eabe3ae4c7ec0e4098d5ac5ea0520859fc5fee3f85cedb24", moss.client.activeplugin.ActivePlugin, Installed)]
----------------
??:? [0x55ffe3d96c86]
??:? [0x55ffe3d98796]
??:? [0x55ffe3d7951f]
/usr/include/dlang/ldc/std/exception.d:519 [0x55ffe3b709ad]
/usr/include/dlang/ldc/std/exception.d:439 [0x55ffe3b5dea5]
../subprojects/moss-deps/source/moss/deps/registry/transaction.d:207 [0x55ffe3c95b3b]
../subprojects/moss-deps/source/moss/deps/registry/transaction.d:175 [0x55ffe3c958b4]
../subprojects/moss-deps/source/moss/deps/registry/manager.d:108 [0x55ffe3c7bdb6]
../source/moss/client/cli/install.d:84 [0x55ffe3b891fa]
../subprojects/moss-core/source/moss/core/cli/package.d:617 [0x55ffe3c632f1]
../subprojects/moss-core/source/moss/core/cli/package.d:590 [0x55ffe3c631f6]
../subprojects/moss-core/source/moss/core/cli/package.d:275 [0x55ffe3c62c61]
../source/main.d:35 [0x55ffe3c53bbc]
../source/main.d:35 [0x55ffe3c53b8e]
??:? [0x55ffe3d7920b]
??:? [0x55ffe3d79105]
??:? [0x55ffe3d78f5d]
/usr/include/dlang/ldc/core/internal/entrypoint.d:42 [0x55ffe3c53bf1]
??:? [0x7ff2aa02368d]
??:? __libc_start_main [0x7ff2aa023748]
<unknown dir>/<unknown file>:115 [0x55ffe3b4ae44]

I think this was triggered by repeatedly installing the fish package into the root (I was trying to fix something with the package). After each build I would copy the fish package to the boulder collection, run moss idx, and then run moss ur -D serpent-root before finally using moss it -D serpent-root mvp fish. After doing that a few times (it worked each time) I then tried once more with sudo moss it -D serpent-root mvp fish findutils as I wanted to see how the generated tmpfile looked for the findutils package, and then from that command I got the above exception. As of now all moss it commands with any packages specified that uses that root seem to fail with the same exception.

I can pull the moss db file out of the root if that's helpful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions