Issue installing Tensorflow 2 on Jetpack 4.4

I’ve just done a clean install on the TX2 with JetPack 4.4 (Ubuntu 18.04 LTS). Then following this.

I ran:

sudo apt-get update

sudo apt-get install libhdf5-serial-dev hdf5-tools libhdf5-dev zlib1g-dev zip libjpeg8-dev liblapack-dev libblas-dev gfortran

But get the following error:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
zip is already the newest version (3.0-11build1).
zip set to manually installed.
zlib1g-dev is already the newest version (1:1.2.11.dfsg-0ubuntu2).
zlib1g-dev set to manually installed.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
 gfortran : Depends: gfortran-7 (>= 7.3.0-12~) but it is not going to be installed
 libjpeg8-dev : Depends: libjpeg-turbo8-dev (>= 1.1.90+svn722-1ubuntu6) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Any ideas what I’m doing wrong?


Does the update command cause any error or run successfully?

$ sudo apt-get update

We can install the gfortran library without issue after updating.