Bug 1773662

Summary: Package from distro should not suggest update method outside of distro way
Product: [Fedora] Fedora Reporter: Marcin Juszkiewicz <mjuszkie>
Component: glancesAssignee: Edouard Bourguignon <madko>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 32CC: carl, madko
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glances-3.1.4.1-7.fc32 glances-3.1.4.1-7.fc31 glances-3.1.4.1-7.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-06-05 02:29:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marcin Juszkiewicz 2019-11-18 16:41:11 UTC
Description of problem:

I installed Glances using DNF. On each start it tries to convince me to update it to latest version:

[root@puchatek hrw]# glances
You are using Glances version 3.1.0, however version 3.1.3 is available.
You are using Glances version 3.1.0, however version 3.1.3 is available.
You should consider upgrading using: pip install --upgrade glances
[root@puchatek hrw]# glances
You are using Glances version 3.1.0, however version 3.1.3 is available.
You should consider upgrading using: pip install --upgrade glances
You are using Glances version 3.1.0, however version 3.1.3 is available.
You should consider upgrading using: pip install --upgrade glances
[root@puchatek hrw]# 

IMHO if application comes from distribution package then it should not suggest a way to upgrade to users. This is package maintainer job to update package to latest version.

Version-Release number of selected component (if applicable):

glances-3.1.0-2.fc31.noarch

How reproducible:

always

Steps to Reproduce:
1. dnf install -y glances
2. glances


Actual results:

[root@puchatek hrw]# glances
You are using Glances version 3.1.0, however version 3.1.3 is available.
You are using Glances version 3.1.0, however version 3.1.3 is available.
You should consider upgrading using: pip install --upgrade glances
[root@puchatek hrw]# glances
You are using Glances version 3.1.0, however version 3.1.3 is available.
You should consider upgrading using: pip install --upgrade glances
You are using Glances version 3.1.0, however version 3.1.3 is available.
You should consider upgrading using: pip install --upgrade glances
[root@puchatek hrw]# 

Expected results:

[root@puchatek hrw]# glances
[root@puchatek hrw]# glances
[root@puchatek hrw]# 


Additional info:

Comment 1 Carl George 🤠 2019-12-22 20:27:47 UTC
https://src.fedoraproject.org/rpms/glances/pull-request/3

Comment 2 Ben Cotton 2020-02-11 17:25:58 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle.
Changing version to 32.

Comment 3 Edouard Bourguignon 2020-05-27 06:06:48 UTC
What info do you need from me?

Comment 4 Edouard Bourguignon 2020-05-27 15:58:43 UTC
sorry I think I will revert the patch I didn't have this outdated message since I was using a config file with a simple "check_update=false"

Comment 5 Edouard Bourguignon 2020-05-27 16:04:36 UTC
This is not a bug, you can disable this update check easily, as the man says, you can have your config file here ~/.config/glances/glances.conf with those lines

[global]
check_update=false

to disable the check and therefore the outdated message.

I will provide a /etc/glances/glances.conf to prevent that warning. I prefer this approach rather then deleting/patching upstream code. Is that ok ?

Best regards,
Edouard

Comment 6 Fedora Update System 2020-05-27 20:16:27 UTC
FEDORA-2020-ad13a73aa7 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-ad13a73aa7

Comment 7 Fedora Update System 2020-05-27 20:16:28 UTC
FEDORA-EPEL-2020-5771bf7e39 has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-5771bf7e39

Comment 8 Fedora Update System 2020-05-27 20:16:28 UTC
FEDORA-2020-c6c3e20b02 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-c6c3e20b02

Comment 9 Fedora Update System 2020-05-28 02:28:24 UTC
FEDORA-2020-ad13a73aa7 has been pushed to the Fedora 31 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-ad13a73aa7`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-ad13a73aa7

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2020-05-28 05:24:18 UTC
FEDORA-EPEL-2020-5771bf7e39 has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-5771bf7e39

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2020-05-28 18:23:55 UTC
FEDORA-2020-c6c3e20b02 has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-c6c3e20b02`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-c6c3e20b02

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2020-06-01 09:56:46 UTC
FEDORA-2020-7e52846803 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-7e52846803

Comment 13 Fedora Update System 2020-06-01 10:02:05 UTC
FEDORA-EPEL-2020-860dce134e has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-860dce134e

Comment 14 Fedora Update System 2020-06-02 03:56:31 UTC
FEDORA-EPEL-2020-860dce134e has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-860dce134e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 15 Fedora Update System 2020-06-02 04:00:41 UTC
FEDORA-2020-7e52846803 has been pushed to the Fedora 31 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-7e52846803`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-7e52846803

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 16 Fedora Update System 2020-06-02 05:03:39 UTC
FEDORA-2020-370f428a47 has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-370f428a47`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-370f428a47

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 17 Fedora Update System 2020-06-05 02:29:35 UTC
FEDORA-2020-370f428a47 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 18 Fedora Update System 2020-06-11 18:59:00 UTC
glances-3.1.4.1-7.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.

Comment 19 Fedora Update System 2020-06-18 01:22:08 UTC
FEDORA-EPEL-2020-860dce134e has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.