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

DNF doesn't pick up the latest package version #33897

Closed
tvieira opened this issue Sep 6, 2017 · 3 comments
Closed

DNF doesn't pick up the latest package version #33897

tvieira opened this issue Sep 6, 2017 · 3 comments
Assignees
Labels
install-update VS Code installation and upgrade system issues

Comments

@tvieira
Copy link

tvieira commented Sep 6, 2017

  • VSCode Version: code-1.14.2-1500507068.el7.x86_64
  • OS Version: Fedora 26 - 4.12.9-300.fc26.x86_64 Open Source VS Code #1 SMP Fri Aug 25 13:09:43 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Steps to Reproduce:

  1. Install the package code-1.14.2-1500507068.el7.x86_64
  2. Follow steps on https://code.visualstudio.com/docs/setup/linux#_rhel-fedora-and-centos-based-distributions to add the vscode repository.
  3. Install vscode:
$ sudo dnf install code

The message shown is:

Last metadata expiration check: 0:00:27 ago on Wed 06 Sep 2017 10:09:01 AM EDT.
Package code-1.14.2-1500507068.el7.x86_64 is already installed, skipping.
Dependencies resolved.
Nothing to do.
Complete!

The package code-1.15.1-1502904099.el7.x86_64 is in the repository but the DNF command doesn't recognize as the latest package. To overcome this issue I had to install the package directly like:

sudo dnf install https://packages.microsoft.com/yumrepos/vscode/code-1.15.1-1502904099.el7.x86_64.rpm
@vscodebot vscodebot bot added the install-update VS Code installation and upgrade system issues label Sep 6, 2017
@tvieira tvieira changed the title Update yum repository database to pick up latest version DNF doesn't pick up the latest package version Sep 6, 2017
@David-Else
Copy link

I can't update to 1.16! Please see attached screenshot, I assume it is the same bug.

code-fedora-dnf-broken

@David-Else
Copy link

David-Else commented Nov 12, 2017

STILL BROKEN. Is Fedora still supported? Any feedback?

I have found that the RPM is actually downloaded and cached but does not update! For example, code-1.18.0-1510145323.el7.x86_64.rpm is found here:

/var/cache/PackageKit/26/metadata/code/packages

but this is the result on the command line:

still-broken

@Tyriar
Copy link
Member

Tyriar commented Dec 15, 2017

1.19.0 has been pushed to the repo, let me know if it didn't work and I'll reach out to the repo team.

@Tyriar Tyriar closed this as completed Dec 15, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
install-update VS Code installation and upgrade system issues
Projects
None yet
Development

No branches or pull requests

3 participants