You have some obsolete package versions installed

Asked by Theo Kishna on 2018-11-13

Ubuntu 18.04.1 LTS, Linux version 4.15.0-38-generic (buildd@lcy01-amd64-023)
Stellarium installed from command line:
==> sudo apt-get install stellarium

Stellarium 0.18.0 crash running script solar eclipse 2009

In crash report automatically submitted to canonical:
You have some obsolete package versions installed
 libglib2.0-0, libgib2.0-data

Fix:
sudo apt-get upgrade
==>The following packages will be upgraded:
  apport apport-gtk libglib2.0-0 libglib2.0-bin libglib2.0-data python3-apport
  python3-problem-report ubuntu-drivers-common

I don't detailled knowledge of apt-package management, but I suspect a bug in the ubuntu Stellarium package configuration causing the installation of older versions of libglib2.0-0, libgib2.0-data.

Question information

Language:
English Edit question
Status:
Solved
For:
Stellarium Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
2018-11-14
Last query:
2018-11-14
Last reply:
2018-11-14
Alexander Wolf (alexwolf) said : #1

Where is question?

Theo Kishna (tuquoqu) said : #2

Why does the Stellarium package install obsolete versions of libglib2.0-0, libgib2.0-data? Assuming that unbuntu's crash report message is correct. I have confirmed this assumption by running the upgrade as shown in my original message.

Alexander Wolf (alexwolf) said : #3

Stellarium do not use those packages - https://packages.ubuntu.com/bionic/stellarium

Alexander Wolf (alexwolf) said : #4

Please ask Qt maintainters about GLib packages - https://packages.ubuntu.com/bionic/libqt5core5a

Best Manfred Hampl (m-hampl) said : #5

I assume that there is a certain amount of misinterpretation.

Ubuntu 18.04 delivers stellarium 0.18.0-1
Stellarium 0.18.0-1 in Ubuntu 18.04 depends (among others) on libqt5core5a, which in turn depends (among others) on libglib2.0-0.
There was an update of libglib2.0-0 for Ubuntu 18.04 two days ago.

My interpretation is the following:
You had your system up-to-date a week ago, but did not (yet) try installing the latest updates yesterday.
You had a crash in stellarium yesterday, which triggered the crash script. One of the steps the crash script is performing, is a check whether the newest available dependencies are installed, which was not the case (because you apparently missed the updates for libglib2.0-0 from two days ago).

Meanwhile you have these updates installed (with the apt command), and in case that a new crash would occur, you should no longer see that "some obsolete package versions" message (unless there are already new updates waiting).

I do not think that there is anything wrong, but this was just unlucky timing.

Alexander Wolf (alexwolf) said : #6

Do you have crash still?

Theo Kishna (tuquoqu) said : #7

Thank you! Your reasoning is very apt here and solves my confusion.

Theo Kishna (tuquoqu) said : #8

About new crashes, yes it I had another one after the upgrade again using the same solar eclipse 2009 script.
As you may have guessed, I'm a new user of stellarium and still trying to grasp its functionality.

Alexander Wolf (alexwolf) said : #9

Please check ~/.stellarium/log.txt for any warnings or errors