github / github/copilot-cli

Copilot Update Command Is Not Working

Aperta
#2,583 8 commenti 0 reazioni 0 assegnatari Vedi su GitHub
area:installation area:platform-windows
Lingua principale
Shell
Stelle
11.2k
Fork
1.9k
Merge medio
14h 16m
PR unite (30g)
6

Descrizione

### Describe the bug

running the `copilot update` or from copilot prompt `/update` does not work as it was before 1.0.17

### Affected version

GitHub Copilot CLI 1.0.20.

### Steps to reproduce the behavior

TimeZone: Europe / Prague - CEST

@ 2026-04-08 14:10
PS C:\Users\xyz\> winget update GitHub.Copilot
No available upgrade found.
No newer package versions are available from the configured sources.

@ 2026-04-08 14:10
PS C:\Users\xyz\> copilot --version
GitHub Copilot CLI 1.0.20.
Run 'copilot update' to check for updates.

@ 2026-04-08 14:11
PS C:\Users\xyz\> copilot update
Checking for updates...
Error during update: TypeError: terminated

@ 2026-04-08 14:16
PS C:\Users\xyz\> copilot --version
GitHub Copilot CLI 1.0.20.
Run 'copilot update' to check for updates.

@ 2026-04-08 14:25
PS C:\Users\xyz\> copilot update
Checking for updates...
Error during update: TypeError: terminated

@ 2026-04-08 14:26
PS C:\Users\xyz\> winget update GitHub.Copilot
No available upgrade found.
No newer package versions are available from the configured sources.

@ 2026-04-08 14:37
PS C:\Users\xyz> winget update GitHub.Copilot
No available upgrade found.
No newer package versions are available from the configured sources.

@ 2026-04-08 14:42
PS C:\Users\xyz> copilot update
Checking for updates...
Error during update: Failed to download package: Error: ENOENT: no such file or directory, rename 'C:\Users\xyz\.copilot\pkg\universal\1.0.21' -> 'C:\Users\xyz\.copilot\pkg\universal\.replaced-1.0.21-15472-1775652424919'
Error during update: Failed to download package: Error: ENOENT: no such file or directory, rename 'C:\Users\xyz\.copilot\pkg\universal\1.0.21' -> 'C:\Users\xyz\.copilot\pkg\universal\.replaced-1.0.21-15472-1775652424919'

@ 2026-04-08 14:47
PS C:\Users\xyz> ls C:\Users\xyz\.copilot\pkg\universal\

Directory: C:\Users\xyz\Projects

Mode LastWriteTime Length Name
---- ------------- ------ ----
d---- 23.03.2026 23:34 1 1.0.10
d---- 28.03.2026 18:14 1 1.0.11
d---- 01.04.2026 23:17 1 1.0.12
d---- 03.04.2026 12:10 1 1.0.15
d---- 07.04.2026 22:11 1 1.0.17
d---- 08.04.2026 14:09 1 1.0.20
d---- 18.03.2026 11:04 1 1.0.5
d---- 23.03.2026 0:32 1 1.0.9

PS C:\Users\xyz\Projects> winget source list
Name Argument Explicit
------------------------------------------------------------------
msstore https://storeedgefd.dsx.mp.microsoft.com/v9.0 false
winget https://cdn.winget.microsoft.com/cache false
winget-font https://cdn.winget.microsoft.com/fonts true

@ 2026-04-08 14:59
PS C:\Users\xyz\Projects> winget update GitHub.Copilot
No installed package found matching input criteria.

@ 2026-04-08 15:12
PS C:\Users\xyz\Projects> winget install GitHub.Copilot
Found Copilot CLI [GitHub.Copilot] Version v1.0.20
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
This package requires the following dependencies:
- Packages
Microsoft.PowerShell [>= 7.0.0]
Successfully verified installer hash
Extracting archive...
Successfully extracted archive
Starting package install...
Command line alias added: "copilot"
Successfully installed

@ 2026-04-08 15:12
PS C:\Users\xyz\Projects> winget update GitHub.Copilot
No available upgrade found.
No newer package versions are available from the configured sources.

@ 2026-04-08 15:12
PS C:\Users\xyz\Projects> copilot --version
GitHub Copilot CLI 1.0.20.
Run 'copilot update' to check for updates.

@ 2026-04-08 15:13
PS C:\Users\xyz\Projects> $PSVersionTable

Name Value
---- -----
PSVersion 7.5.5
PSEdition Core
GitCommitId 7.5.5
OS Microsoft Windows 10.0.26200
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0

### Expected behavior

When the new version is released, I'm assuming the feeds with updates are reflected within 2hrs

### Additional context

It is impossible to update frequently from winget feeds, as it seems.
I'm going to try manual download and install from github.com.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by reproducing `copilot update` and prompt `/update` in Windows PowerShell 7.5.5 with GitHub Copilot CLI 1.0.20, noting the `TypeError: terminated` and ENOENT rename errors under `.copilot\pkg\universal`. Done means the command can obtain and install a newer version without those failures.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
powershell, shell
Ambito
cli, release
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
48/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.