Bug 28663 - gnome-weather does not start due to missing Requires on /usr/bin/gjs
Summary: gnome-weather does not start due to missing Requires on /usr/bin/gjs
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA8-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2021-03-27 17:21 CET by Florian Hubold
Modified: 2021-04-12 22:02 CEST (History)
5 users (show)

See Also:
Source RPM: gnome-weather-3.36.1-1.mga8.src.rpm
CVE:
Status comment:


Attachments

Description Florian Hubold 2021-03-27 17:21:23 CET
gnome-weather is missing Requires on gjs, hence it does not start when only installing gnome-weather :

[doktor5000@Mageia8]─[17:15:04]─[~] gnome-weather
bash: /usr/bin/gnome-weather: /usr/bin/gjs: bad interpreter: No such file or directory
Comment 1 David GEIGER 2021-03-28 18:56:16 CEST
Assigning to QA now,


Advisory:
========================

There's a missing required dependency on the gnome-weather package from Mageia 8.
If no other packages pulling 'gjs' are installed on the computer, gnome-weather can't work and does not launch. This update adds this missing dependency.

========================

Packages in 8/core/updates_testing:
========================
gnome-weather-3.36.1-1.1.mga8.noarch.rpm

Source RPM: 
========================
gnome-weather-3.36.1-1.1.mga8.src.rpm

Assignee: olav => qa-bugs
CC: (none) => geiger.david68210

Comment 2 Olav Vitters 2021-03-28 19:20:51 CEST
That dependency used to be automatic, no?. Even if it's not, it should be an automatic dependency.

CC: (none) => olav

Comment 3 David GEIGER 2021-03-28 19:40:43 CEST
(In reply to Olav Vitters from comment #2)
> That dependency used to be automatic, no?. Even if it's not, it should be an
> automatic dependency.

It seems it was to be an automatic dependency in mga7 but for some unknown reason no more in mga8.
Comment 4 Thomas Andrews 2021-04-11 04:29:25 CEST
Tested in a 64-bit MGA8 Gnome vbox guest that had been created by upgrading a MGA7 guest. Gnome-weather was already installed, checked it, and it ran OK.

Opened drakrpm and confirmed that both gnome-weather and gjs were already installed. Made as if to remove gjs, and was presented with a list of dependencies that would have to be removed, looking like half the install, but gnome-weather wasn't on the list.

Backed out without removing anything, and used qarepo to update gnome-weather. No installation issues. Then went back to drakrpm and once again made as if to remove gjs. This time, gnome-weather WAS on the list, indicating that gjs was now a dependency. Backed out again, ran gnome-weather, which was still working.

Looks OK to me. Validating. Advisory in Comment 1.

Keywords: (none) => validated_update
CC: (none) => andrewsfarm, sysadmin-bugs
Whiteboard: (none) => MGA8-64-OK

Aurelien Oudelet 2021-04-12 16:59:02 CEST

Keywords: (none) => advisory
CC: (none) => ouaurelien

Comment 5 Mageia Robot 2021-04-12 22:02:12 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2021-0073.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.