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

Multiple packages installed with the same name #17

Open
ReillyBrogan opened this issue Sep 16, 2022 · 1 comment
Open

Multiple packages installed with the same name #17

ReillyBrogan opened this issue Sep 16, 2022 · 1 comment

Comments

@ReillyBrogan
Copy link

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.

@ReillyBrogan
Copy link
Author

ls -ahl /var/cache/boulder/collections/local-x86_64/*.stone | grep fish
-rw-r--r-- 1 root root  2.3M Sep 15 23:04 /var/cache/boulder/collections/local-x86_64/fish-3.5.1-1-1-x86_64.stone
-rw-r--r-- 1 root root   642 Sep 15 23:04 /var/cache/boulder/collections/local-x86_64/fish-devel-3.5.1-1-1-x86_64.stone
-rw-r--r-- 1 root root  461K Sep 15 23:04 /var/cache/boulder/collections/local-x86_64/fish-docs-3.5.1-1-1-x86_64.stone

^ showing that there is only one copy of each file in the collection. This package isn't available in protosnek

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant