Reset Search
 

 

Article

Extreme Management Center 8.4.1.24 BIN Upgrade Installer Fails Returning "OS Upgrade failed. Exiting." -> libjson0

« Go Back

Information

 
TitleExtreme Management Center 8.4.1.24 BIN Upgrade Installer Fails Returning "OS Upgrade failed. Exiting." -> libjson0
Symptoms
Attempting to upgrade an Extreme Management Center VM / appliance to 8.4.1.24 using either by-internet (direct to Ubuntu) or in-place (local; no internet) may fail with the following visible output:
Calculating upgrade...
The following packages have been kept back:
  libjson0
The following packages will be upgraded:
  python3-distupgrade python3-problem-report ubuntu-release-upgrader-core
3 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/145 kB of archives.
After this operation, 4,096 B of additional disk space will be used.
(Reading database ... 100%)
(Reading database ... 141781 files and directories currently installed.)
Preparing to unpack .../ubuntu-release-upgrader-core_1%3a16.04.29_all.deb ...
Unpacking ubuntu-release-upgrader-core (1:16.04.29) over (1:16.04.26) ...
Preparing to unpack .../python3-distupgrade_1%3a16.04.29_all.deb ...
Unpacking python3-distupgrade (1:16.04.29) over (1:16.04.26) ...
Preparing to unpack .../python3-problem-report_2.20.1-0ubuntu2.21_all.deb ...
Unpacking python3-problem-report (2.20.1-0ubuntu2.21) over (2.20.1-0ubuntu2) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up python3-distupgrade (1:16.04.29) ...
Setting up ubuntu-release-upgrader-core (1:16.04.29) ...
Installing new version of config file /etc/update-manager/meta-release ...
Setting up python3-problem-report (2.20.1-0ubuntu2.21) ...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Script started on Tue 25 Feb 2020 12:14:48 PM EST
Checking for a new Ubuntu release
Please install all available updates for your release before upgrading.
Environment
  • Extreme Management Center (XMC, formerly NetSight)
  • Software Release 8.4.1.24
  • BIN Upgrade
Cause
  • The existence of Debian package libjson0 which does not have an equivalent package in Ubuntu 18.04 prevents the do-release-upgrade installer from proceeding.
Resolution
  • Confirm the existence of this package and remove it and then re-run the installer:
root@xmc:~$ apt list --upgradeable
Listing... Done
libjson0/xenial 0.11-4ubuntu2 amd64 [upgradable from: 0.11-3ubuntu1.2]
N: There is 1 additional version. Please use the '-a' switch to see it
root@xmc:~$ apt list --upgradeable -a
Listing... Done
libjson0/xenial 0.11-4ubuntu2 amd64 [upgradable from: 0.11-3ubuntu1.2]
libjson0/now 0.11-3ubuntu1.2 amd64 [installed,upgradable to: 0.11-4ubuntu2]
ii  libjson0:amd64          0.12.1-1.3         amd64       JSON manipulation library - shared library

root@xmc:~$ apt remove libjson0

OR (if the package can not be removed by apt)

root@xmc:~$ dpkg --force-all –-purge libjson0
Additional notes
  • It is believed this libjson0 library is a carry forward from systems upgraded from Ubuntu 12.04 LTS with Ubuntu 14.04 LTS and Ubuntu 16.04 LTS having equivalent upgrade packages available. Starting with Ubuntu 18.04 libjson0 has no equivalent package and the installer aborts.
  • If the symptoms do not match with the libjson criteria, please use the article Extreme Managmement Center appliances - OS Upgrade Failed issues for guidance.

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255