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

Unable to install #6254

Closed
amab8901 opened this issue Nov 8, 2022 · 2 comments
Closed

Unable to install #6254

amab8901 opened this issue Nov 8, 2022 · 2 comments

Comments

@amab8901
Copy link
Contributor

amab8901 commented Nov 8, 2022

System Info:
$ uname
linux

$ lscpu
Architecture:            x86_64
  CPU op-mode(s):        32-bit, 64-bit
  Address sizes:         39 bits physical, 48 bits virtual
  Byte Order:            Little Endian
CPU(s):                  4
  On-line CPU(s) list:   0-3
Vendor ID:               GenuineIntel
  Model name:            Intel(R) Core(TM) i3-1005G1 CPU @ 1.20GHz
    CPU family:          6
    Model:               126
    Thread(s) per core:  2
    Core(s) per socket:  2
    Socket(s):           1
    Stepping:            5
    CPU(s) scaling MHz:  37%
    CPU max MHz:         3400,0000
    CPU min MHz:         400,0000
    BogoMIPS:            2380,80
    Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology 
                         nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_l
                         m abm 3dnowprefetch cpuid_fault epb invpcid_single ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid avx512f avx512dq rdseed adx 
                         smap avx512ifma clflushopt intel_pt avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves split_lock_detect dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req avx512vbmi umip pku
                          ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid fsrm md_clear flush_l1d arch_capabilities
Virtualization features: 
  Virtualization:        VT-x
Caches (sum of all):     
  L1d:                   96 KiB (2 instances)
  L1i:                   64 KiB (2 instances)
  L2:                    1 MiB (2 instances)
  L3:                    4 MiB (1 instance)
NUMA:                    
  NUMA node(s):          1
  NUMA node0 CPU(s):     0-3
Vulnerabilities:         
  Itlb multihit:         KVM: Mitigation: VMX disabled
  L1tf:                  Not affected
  Mds:                   Not affected
  Meltdown:              Not affected
  Mmio stale data:       Mitigation; Clear CPU buffers; SMT vulnerable
  Retbleed:              Mitigation; Enhanced IBRS
  Spec store bypass:     Mitigation; Speculative Store Bypass disabled via prctl and seccomp
  Spectre v1:            Mitigation; usercopy/swapgs barriers and __user pointer sanitization
  Spectre v2:            Mitigation; Enhanced IBRS, IBPB conditional, RSB filling, PBRSB-eIBRS SW sequence
  Srbds:                 Mitigation; Microcode
  Tsx async abort:       Not affected

SUMMARY

I'm stuck trying to install polkadot. I followed this instruction. It says that I should run:

cargo install --git https://github.com/paritytech/polkadot --tag <version> polkadot --locked

So I tried the following approaches:

ATTEMPT #1:

cargo install --git https://github.com/paritytech/polkadot --tag <version> polkadot --locked

Output:

bash: version: No such file or directory

ATTEMPT #2:

cargo install --git https://github.com/paritytech/polkadot --tag <0.9.31> polkadot --locked

Output:

bash: 0.9.31: No such file or directory

ATTEMPT #3:

cargo install --git https://github.com/paritytech/polkadot --tag 0.9.31 polkadot --locked

Output:

error: failed to find tag `0.9.31`

Caused by:
  reference 'refs/remotes/origin/tags/0.9.31' not found; class=Reference (4); code=NotFound (-3)

What am I doing wrong?

@ordian
Copy link
Member

ordian commented Nov 8, 2022

the tag starts with v, e.g. v0.9.31

@amab8901
Copy link
Contributor Author

amab8901 commented Nov 8, 2022

the tag starts with v, e.g. v0.9.31

Thanks, now I got past the obstacle :)

@amab8901 amab8901 closed this as completed Nov 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants