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

error: path '/nix/store/7a47nbg3myjqfl6r89ifr6yz3y04nk25-libidn2-2.3.4-bin' is not valid #257888

Closed
tfmoraes opened this issue Sep 28, 2023 · 5 comments

Comments

@tfmoraes
Copy link
Contributor

Describe the bug

A clear and concise description of what the bug is.

Steps To Reproduce

Steps to reproduce the behavior:

  1. I'm using flakes with this flake.nix https://github.com/tfmoraes/nixoscfg
  2. nixos-rebuild --flake '.#' --use-remote-sudo switch

Expected behavior

Build new configuration and switch.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

❯ nixos-rebuild --flake '.#' --use-remote-sudo switch --show-trace 
warning: Git tree '/home/thiago/Sources/nixoscfg' is dirty
building the system configuration...
warning: Git tree '/home/thiago/Sources/nixoscfg' is dirty
error: path '/nix/store/7a47nbg3myjqfl6r89ifr6yz3y04nk25-libidn2-2.3.4-bin' is not valid

That are the last lines when calling nixos-rebuild with verbose:

copying path '/nix/store/81na6xsrlw9phwhhrhvcznr9145yr722-security-wrapper' from 'https://cache.nixos.org'...
copying path '/nix/store/j780dhssj5crmrcwwfprkwab8jf81y5i-security-wrapper' from 'https://cache.nixos.org'...
building '/nix/store/2bzild6c1sshvkplhf94rnzrcp4c75m5-mounts.sh.drv'...
building '/nix/store/ykfknhxyk9z4h58q85z40d6z190n9rg1-users-groups.json.drv'...
copying path '/nix/store/h4g5xlpk0f7z2brdbj2pdlxsw204y330-exfat-1.4.0' from 'https://cache.nixos.org'...
copying path '/nix/store/dy49ggl1wfcxs6vj75n9xh0x8zn9b21z-lvm2-2.03.22' from 'https://cache.nixos.org'...
building '/nix/store/pvbyf17zrrasf48wncdkgbfjd3pplbpv-append-initrd-secrets.drv'...
copying path '/nix/store/sgzivprbkzkf80p9cqvpzmzlx1pn3w33-groff-1.23.0' from 'https://cache.nixos.org'...
copying path '/nix/store/5q06fsa8as5rp49ys8z3393vqnlmsmas-icu4c-73.2' from 'https://cache.nixos.org'...
copying path '/nix/store/rplkxf10hnl5437hd7dvs933b3161pxj-iodine-unstable-2019-09-27' from 'https://cache.nixos.org'...
copying path '/nix/store/njas4785hp5h91f83glk0sqgfwk5dk5x-jansson-2.14' from 'https://cache.nixos.org'...
copying path '/nix/store/nxcj4f3l4m7li541x5qg7vr0d5xbcm2f-lcms2-2.15' from 'https://cache.nixos.org'...
copying path '/nix/store/ylfhgjp9nd9hb097cxfg98k899dh9q16-ldacBT-2.0.2.3' from 'https://cache.nixos.org'...
copying path '/nix/store/nmhx24x3b4vzj76p15ysx94cysz6zwkp-libICE-1.1.1' from 'https://cache.nixos.org'...
copying path '/nix/store/39dvsflhp75v6m4pnwwl7vhb5g57npi0-libXau-1.0.11' from 'https://cache.nixos.org'...
copying path '/nix/store/n7rw45lry3cmrpvk4y2qvbzk9dxn0vl1-libXdmcp-1.1.4' from 'https://cache.nixos.org'...
copying path '/nix/store/v2110i2agd10a91wi704wzfgdd97jgr4-libatasmart-0.19' from 'https://cache.nixos.org'...
copying path '/nix/store/98s9ygs6c51sa7msax6411n4fs5hfvqc-libdaemon-0.14' from 'https://cache.nixos.org'...
copying path '/nix/store/zsmbs74wpb8krf7mx8kiab1yljx8nfs5-libedit-20221030-3.1' from 'https://cache.nixos.org'...
building '/nix/store/jm1457hixdv9p5jcs3axb9sf65c8awxb-NetworkManager.conf.drv'...
building '/nix/store/gb21nilgihhpyz5w43rxaxmb2h4vnv2f-Xresources-Xft.drv'...
building '/nix/store/jdrc1yvs32mgpdb0cb16za708npfml3b-builder.pl.drv'...
building '/nix/store/37p43ibdiq0zf0vxvzi9m4x2giv0q29i-chfn.pam.drv'...
building '/nix/store/1d4ay9iivra5blnrlnqbn9b37jig6hl6-chpasswd.pam.drv'...
building '/nix/store/6f661c1hdgz2w971wrgqsx7nxmwran96-chsh.pam.drv'...
building '/nix/store/l90f69jqnqq9agm7l3xks21bc29qs6if-client.conf.drv'...
building '/nix/store/w7lczyb8n09cg57nb8djp6d57r25vhav-cups.pam.drv'...
building '/nix/store/n20cgixal9cda0zi9bmf7fsi160r62fg-custom.conf.drv'...
building '/nix/store/dnjmz72ys1n58h4q1ax4kmzkfmwgsyn3-etc-UPower-UPower.conf.drv'...
building '/nix/store/m69fs80c1kaj09xrikqngavxg33q1ngd-etc-X11-xorg.conf.d-00-keyboard.conf.drv'...
building '/nix/store/wbh6k3shiw110pf61g7ninrwpk1wqp2a-etc-fstab.drv'...
building '/nix/store/l0rkhjzvj8jfl5ji8npibk5l84s76i5r-etc-fuse.conf.drv'...
error: path '/nix/store/7a47nbg3myjqfl6r89ifr6yz3y04nk25-libidn2-2.3.4-bin' is not valid

Notify maintainers

@fpletz @vcunat

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.5.5, NixOS, 23.11 (Tapir), 23.11.20230925.6500b45`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.0`
 - nixpkgs: `/etc/nixpkgs`
@NotAShelf
Copy link
Member

NotAShelf commented Sep 28, 2023

able to reproduce on my own system.

libidn2-2.3.4-bin seems to be a dependency of steam-usr-target

@CobaltCause
Copy link
Contributor

This is NixOS/nix#9052

@Artturin
Copy link
Member

Note that only nixUnstable has been bumped to 2.18

@tfmoraes
Copy link
Contributor Author

Using this tip fixed this problem to me NixOS/nix#9052 (comment)

@dezren39
Copy link
Contributor

dezren39 commented Sep 30, 2023

Using this tip fixed this problem to me NixOS/nix#9052 (comment)

yes, this issue was worked around for me with the following:

nix copy --from https://cache.nixos.org /nix/store/7a47nbg3myjqfl6r89ifr6yz3y04nk25-libidn2-2.3.4-bin
nix copy --from https://cache.nixos.org /nix/store/j7rz908lznabmbk751h7f64679vg8xyp-libidn2-2.3.4-dev
nix copy --from https://cache.nixos.org /nix/store/52k8rqihijagzc2lkv17f4lw9kmh4ki6-gnugrep-3.11-info
nix copy --from https://cache.nixos.org /nix/store/p3jf6ra7kim5liqyb8gg2zqx7jijaq1f-libcap-2.69-doc
nix copy --from https://cache.nixos.org /nix/store/pw7x6anb0k3a29clpp14r3w3nakh3clj-coreutils-9.3-info
nix copy --from https://cache.nixos.org /nix/store/ka4ibvysmlqwlzda1v44g45lklwmsbby-bash-interactive-5.2-p15-doc
nix copy --from https://cache.nixos.org /nix/store/7x5yf5nz65g6lvib0yjwxv0ka33244dp-bash-interactive-5.2-p15-info
nix copy --from https://cache.nixos.org /nix/store/p4s4248yl9j1pvwjmbvk50lw8y4pi2np-bash-interactive-5.2-p15-man
nix copy --from https://cache.nixos.org /nix/store/2kcx2mhmvs65aw52cgpjbby55zn0akvn-e2fsprogs-1.47.0-info     
nix copy --from https://cache.nixos.org /nix/store/fg217vk63v353y9sqg537f2vjacyqwln-e2fsprogs-1.47.0-man
nix copy --from https://cache.nixos.org /nix/store/jixr91n370igivmbnnmq40xnxvla02zd-findutils-4.9.0-info

sharing for those looking for a quick solution that land here.
ymmv depending on your exact issues.

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

No branches or pull requests

5 participants