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

bug: Invalid link was tried when installing home-manager? #5903

Open
2 tasks done
sharpchen opened this issue Sep 28, 2024 · 1 comment
Open
2 tasks done

bug: Invalid link was tried when installing home-manager? #5903

sharpchen opened this issue Sep 28, 2024 · 1 comment
Assignees
Labels
bug triage Issues or feature request that have not been triaged yet

Comments

@sharpchen
Copy link

Are you following the right branch?

  • My Nixpkgs and Home Manager versions are in sync

Is there an existing issue for this?

  • I have searched the existing issues

Issue description

I was trying to install home-manager with the following procedure:

  • nix-channel --add https://github.com/nix-community/home-manager/archive/release-24.05.tar.gz home-manager && nix-channel --update

Then the channels are:

$ nix-channel --list
home-manager https://github.com/nix-community/home-manager/archive/release-24.05.tar.gz
nixpkgs https://nixos.org/channels/nixos-24.05
unstable https://nixos.org/channels/nixpkgs-unstable
  • nix-shell '<home-manager>' -A install

While installing, it compiles a lot source files then finally encounter problem when fetching something?

warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/nix/store/zw2swgy58zm34ywy27nz6hqiq9z7sa41-28-cve-2022-0529-and-cve-2022-0530.patch.drv^*'

trying https://sources.debian.org/data/main/u/unzip/6.0-27/debian/patches/28-cve-2022-0529-and-cve-2022-0530.patch
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0   265    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (56) The requested URL returned error: 404

trying https://web.archive.org/web/20230106200319/https://sources.debian.org/data/main/u/unzip/6.0-27/debian/patches/28-cve-2022-0529-and-cve-2022-0530.patch
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:02:14 --:--:--     0
curl: (28) Failed to connect to web.archive.org port 443 after 134048 ms: Couldn't connect to server
Warning: Problem : timeout. Will retry in 1 seconds. 3 retries left.
  0     0    0     0    0     0      0      0 --:--:--  0:02:12 --:--:--     0
curl: (28) Failed to connect to web.archive.org port 443 after 132118 ms: Couldn't connect to server
Warning: Problem : timeout. Will retry in 2 seconds. 2 retries left.
  0     0    0     0    0     0      0      0 --:--:--  0:02:11 --:--:--     0
curl: (28) Failed to connect to web.archive.org port 443 after 131116 ms: Couldn't connect to server
Warning: Problem : timeout. Will retry in 4 seconds. 1 retries left.
  0     0    0     0    0     0      0      0 --:--:--  0:02:14 --:--:--     0
curl: (28) Failed to connect to web.archive.org port 443 after 134235 ms: Couldn't connect to server
error: cannot download 28-cve-2022-0529-and-cve-2022-0530.patch from any mirror

There's a 404 response returned for https://sources.debian.org/data/main/u/unzip/6.0-27/debian/patches/28-cve-2022-0529-and-cve-2022-0530.patch.

Also, I found 443 but I haven't figure out how to solve it, any idea would be appreciated.

Maintainer CC

No response

System information

- system: `"x86_64-linux"`
 - host os: `Linux 5.15.153.1-microsoft-standard-WSL2, Arch Linux, noversion, rolling`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.24.7`
 - channels(root): `"nixpkgs"`
 - nixpkgs: `/home/sharpchen/.nix-defexpr/channels/nixpkgs`
@sharpchen sharpchen added bug triage Issues or feature request that have not been triaged yet labels Sep 28, 2024
@jackwilsdon
Copy link

It's expected that the sources.debian.org URL is down - the archive.org URL is supposed to supplement this: https://github.com/NixOS/nixpkgs/blob/a384cbf926c5d9b1b6798dea46465ec5f8ab6c84/pkgs/tools/archivers/unzip/default.nix#L54-L62

Are you still having this issue? The archive.org URL loads fine for me in a browser: https://web.archive.org/web/20230106200319/https://sources.debian.org/data/main/u/unzip/6.0-27/debian/patches/28-cve-2022-0529-and-cve-2022-0530.patch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug triage Issues or feature request that have not been triaged yet
Projects
None yet
Development

No branches or pull requests

5 participants