Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

Update failed on Polkadot because it could not find a package on Substrate #348

Open
joao-paulo-parity opened this issue Dec 14, 2021 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed needs planning

Comments

@joao-paulo-parity
Copy link
Contributor

joao-paulo-parity commented Dec 14, 2021

In order to prevent the following error from paritytech/polkadot#4210 (comment)

error: no matching package named frame-benchmarking-cli found

After collecting the packages in the companion, exclude the ones which no longer exist. Update: the deduction was wrong previously: frame-benchmarking-cli did exist in Substrate (Substrate was at paritytech/substrate@5cb8a6d which got merged from paritytech/substrate#10149 and this is reflected on https://github.com/paritytech/substrate/commits?since=2021-11-09&until=2021-11-09) at the time the command was tried, therefore it's unknown why cargo update said:

no matching package named frame-benchmarking-cli found, location searched: https://github.com/paritytech/substrate?branch=master

Either the error message is misleading or some other cargo-related problem interfered with the resolution. Unfortunately we no longer have the logs from that time, so I'll just keep the issue open in case there's an opportunity to reproduce and debug this in the future.

@joao-paulo-parity joao-paulo-parity changed the title Check if crates exist before trying to update them in the companion Update failed on Polkadot because it could not find package on Substrate Jan 11, 2022
@Vovke Vovke added duplicate This issue or pull request already exists and removed duplicate This issue or pull request already exists labels Apr 12, 2022
@joao-paulo-parity joao-paulo-parity changed the title Update failed on Polkadot because it could not find package on Substrate Update failed on Polkadot because it could not find a package on Substrate Apr 15, 2022
@joao-paulo-parity joao-paulo-parity added the bug Something isn't working label Jun 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working help wanted Extra attention is needed needs planning
Projects
None yet
Development

No branches or pull requests

2 participants