Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apparently 'zef list --installed' lists uninstalled modules #459

Open
frithnanth opened this issue Aug 9, 2022 · 3 comments
Open

Apparently 'zef list --installed' lists uninstalled modules #459

frithnanth opened this issue Aug 9, 2022 · 3 comments

Comments

@frithnanth
Copy link

I know this is a local problem of mine, since I haven't seen any mention of this anywhere.
Here is what I see if I try to uninstall a module, but I get the same result when I try to uninstall other modules:

$ zef list --installed|grep CBOR
===> Found via /opt/rakudo-pkg/share/perl6/core
===> Found via /home/nando/.raku
CBOR::Simple:ver<0.1.1>:auth<zef:japhb>:api<0>
CBOR::Simple:ver<0.1.2>:auth<zef:japhb>

$ zef uninstall 'CBOR::Simple:ver<0.1.1>:auth<zef:japhb>:api<0>'
===> Uninstalled from /home/nando/.raku
CBOR::Simple:ver<0.1.1>:auth<zef:japhb>:api<0>

$ zef list --installed|grep CBOR
===> Found via /opt/rakudo-pkg/share/perl6/core
===> Found via /home/nando/.raku
CBOR::Simple:ver<0.1.1>:auth<zef:japhb>:api<0>
CBOR::Simple:ver<0.1.2>:auth<zef:japhb>

$ raku -e 'use CBOR::Simple:ver<0.1.1>:auth<zef:japhb>:api<0>'
===SORRY!=== Error while compiling -e
Could not open /home/nando/.raku/sources/983E0FAFB758220B170D33A30493A316F0805F75. Failed to stat file: no such file or directory

at -e:1

$ raku --version
Welcome to Rakudo™ v2022.07.
Implementing the Raku® Programming Language v6.d.
Built on MoarVM version 2022.07.
$ zef --version
v0.13.8

Since it appears to be a local problem I can't see any way to reproduce it.

@ugexe
Copy link
Owner

ugexe commented Aug 9, 2022

Does it work if you zef uninstall CBOR::Simple (which will uninstall all versions)?

@frithnanth
Copy link
Author

Weirder and weirder:

$ zef uninstall CBOR::Simple
===> Uninstalled from /home/nando/.raku
CBOR::Simple:ver<0.1.2>:auth<zef:japhb>
CBOR::Simple:ver<0.1.1>:auth<zef:japhb>:api<0>

$ zef list --installed|grep CBOR
===> Found via /home/nando/.raku
===> Found via /opt/rakudo-pkg/share/perl6/core
CBOR::Simple:ver<0.1.1>:auth<zef:japhb>:api<0>

$ raku -e'use CBOR::Simple'
===SORRY!=== Error while compiling -e
Could not open /home/nando/.raku/sources/983E0FAFB758220B170D33A30493A316F0805F75. Failed to stat file: no such file or directory

at -e:1

@ugexe
Copy link
Owner

ugexe commented Aug 9, 2022

I wonder if its related to rakudo/rakudo#3153

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

No branches or pull requests

2 participants