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

Fail fetch aspnetcore-targeting-pack when cleaning up #4

Closed
Gilthans opened this issue Jan 12, 2023 · 7 comments · May be fixed by #7
Closed

Fail fetch aspnetcore-targeting-pack when cleaning up #4

Gilthans opened this issue Jan 12, 2023 · 7 comments · May be fixed by #7

Comments

@Gilthans
Copy link

Hello there!
I tried using this package, but it fails with:

  404  Not Found [IP: 40.81.13.82 80]
E: Failed to fetch [http://azure.archive.ubuntu.com/ubuntu/pool/universe/d/dotnet6/aspnetcore-targeting-pack-6.0_6.0.111-0ubuntu1%7e22.04.1_amd64.deb](http://azure.archive.ubuntu.com/ubuntu/pool/universe/d/dotnet6/aspnetcore-targeting-pack-6.0_6.0.111-0ubuntu1~22.04.1_amd64.deb)  404  Not Found [IP: 40.81.13.82 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?```
This is pretty consistent, so not a transient issue.

Is there a solution/workaround?
@Gilthans
Copy link
Author

Looking a little further up the logs, I saw this suspicious bit:

The following additional packages will be installed:
  aspnetcore-targeting-pack-6.0
The following packages will be REMOVED:
  aspnetcore-runtime-6.0 aspnetcore-runtime-7.0 aspnetcore-targeting-pack-7.0
  dotnet-apphost-pack-6.0 dotnet-apphost-pack-7.0 dotnet-host
  dotnet-hostfxr-6.0 dotnet-hostfxr-7.0 dotnet-runtime-6.0 dotnet-runtime-7.0
  dotnet-runtime-deps-6.0 dotnet-runtime-deps-7.0 dotnet-sdk-6.0
  dotnet-sdk-7.0 dotnet-targeting-pack-6.0 dotnet-targeting-pack-7.0
The following packages will be upgraded:
  aspnetcore-targeting-pack-6.0
1 upgraded, 0 newly installed, 16 to remove and 3 not upgraded.

@dlangerm
Copy link

I just got the exact same error.

@dlangerm
Copy link

@Gilthans workaround for now is to change

large-packages: false

@ric-evans
Copy link

I also get this 404 error. Looks like something broke in the past 24 hours--had no issues before this. @dlangerm's workaround seems to do the trick for now

@0o-de-lally
Copy link

+1 Getting this same error.

Need to get 3041 kB of archives.
After this operation, 990 MB disk space will be freed.
Ign:1 http://azure.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 aspnetcore-targeting-pack-6.0 amd64 6.0.120-0ubuntu1~22.04.1
Ign:2 http://azure.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 aspnetcore-targeting-pack-7.0 amd64 7.0.109-0ubuntu1~22.04.1
Err:1 http://azure.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 aspnetcore-targeting-pack-6.0 amd64 6.0.120-0ubuntu1~22.04.1
  404  Not Found [IP: 52.147.219.192 80]
Err:2 http://azure.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 aspnetcore-targeting-pack-7.0 amd64 7.0.109-0ubuntu1~22.04.1
  404  Not Found [IP: 52.147.219.192 80]
E: Failed to fetch [http://azure.archive.ubuntu.com/ubuntu/pool/universe/d/dotnet6/aspnetcore-targeting-pack-6.0_6.0.120-0ubuntu1%7e22.04.1_amd64.deb](http://azure.archive.ubuntu.com/ubuntu/pool/universe/d/dotnet6/aspnetcore-targeting-pack-6.0_6.0.120-0ubuntu1~22.04.1_amd64.deb)  404  Not Found [IP: 52.147.219.192 80]
E: Failed to fetch [http://azure.archive.ubuntu.com/ubuntu/pool/universe/d/dotnet7/aspnetcore-targeting-pack-7.0_7.0.109-0ubuntu1%7e22.04.1_amd64.deb](http://azure.archive.ubuntu.com/ubuntu/pool/universe/d/dotnet7/aspnetcore-targeting-pack-7.0_7.0.109-0ubuntu1~22.04.1_amd64.deb)  404  Not Found [IP: 52.147.219.192 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

@Stephane-Ag
Copy link

Most of the issues and PRs in this repo seem to be related to this specific problem. Not sure why nothing has been done as the solution seems pretty easy...

@jlumbroso
Copy link
Owner

Thanks for your fix @Stephane-Ag! Please reopen this ticket if the problem persists in version v1.3.0 and beyond, @Gilthans

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

Successfully merging a pull request may close this issue.

6 participants