When I upgrade from 14.04.5 to 16.04.3 failed with below error message GLib-CRITICAL **: g_hash_table_destroy: assertion 'hash_table != NULL' failed

Asked by rajaviswanath on 2017-08-05

@Inspiron-3558:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty

@Inspiron-3558:~$ sudo upgrade-manager -d
[sudo] password for :

sudo: upgrade-manager: command not found

@Inspiron-3558:~$ sudo update-manager -d

(update-manager:3160): GLib-CRITICAL **: g_hash_table_destroy: assertion 'hash_table != NULL' failed
Used Commands in Terminal

 $ **lsb_release -a**
and upgrade the system for latest in system updates
and then given command in terminal $ **sudo update-manager -d**
and getting the error message

**(update-manager:3160): GLib-CRITICAL **: g_hash_table_destroy: assertion 'hash_table != NULL' failed**

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
2017-08-05
Last reply:
2017-08-08
Manfred Hampl (m-hampl) said : #1

If you want to do the release upgrade from Ubuntu 14.04 to 16.04 with command-line tools, then the correct command uis

sudo do-release-upgrade

Remarks: do not use the option -d (this would upgrade to the version that is currently in development)
Make sure that in the file etc/update-manager/release-upgrades you have

[DEFAULT]
Prompt=LTS

(and not Prompt=normal)

If you want to use the GUI-oriented program update-manager, then you should start update-manager from the dash and not from the command line.

Raja (rajavis) said : #2

I Sir am not familiar in Linux please explain the below statement
if any command required

Make sure that in the file etc/update-manager/release-upgrades you have

[DEFAULT]
Prompt=LTS

(and not Prompt=normal)

If you want to use the GUI-oriented program update-manager, then you should start update-manager from the dash and not from the command line.

Manfred Hampl (m-hampl) said : #3

What is the output of the command

cat /etc/update-manager/release-upgrades

Raja (rajavis) said : #4

Inspiron-3558:~$ cat /etc/update-manager/release-upgrades
# Default behavior for the release upgrader.

[DEFAULT]
# Default prompting behavior, valid options:
#
# never - Never check for a new release.
# normal - Check to see if a new release is available. If more than one new
# release is found, the release upgrader will attempt to upgrade to
# the release that immediately succeeds the currently-running
# release.
# lts - Check to see if a new LTS release is available. The upgrader
# will attempt to upgrade to the first LTS release available after
# the currently-running one. Note that this option should not be
# used if the currently-running release is not itself an LTS
# release, since in that case the upgrader won't be able to
# determine if a newer release is available.
Prompt=lts
Inspiron-3558:~$

Please find the output of the command

Manfred Hampl (m-hampl) said : #5

The contents of your configuration file are set to allow a LTS-to-LTS release upgrade (i.e. from 14.04 to 16.04).

I see the following possibilities for you:

1. Use the GUI-oriented program update-manager (preferably to be started via the dash). You should see an information "a new release is available..."
or
2. use the command line version; you can start the release upgrade with the command "sudo do-release-upgrade".

Remark: usually messages like "GLib-CRITICAL **: g_hash_table_destroy: assertion 'hash_table != NULL' failed" do not really denote a problem.

Can you help with this problem?

Provide an answer of your own, or ask rajaviswanath for more information if necessary.

To post a message you must log in.