The apt source.list

Please provide the following info:
Hardware Platform: [Example: DRIVE AGX Xavier™ Developer Kit]
Software Version: [Example: DRIVE Software 10]
Host Machine Version: [Example: native Ubuntu 18.04]
SDK Manager Version: [Example:]

nvidia@tegra-ubuntu:/etc/apt$ sudo apt-get install python-dev

Reading package lists… Done
Building dependency tree
Reading state information… Done
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:
python-dev : Depends: libpython-dev (= 2.7.15~rc1-1) but it is not going to be installed
Depends: python2.7-dev (>= 2.7.15~rc1-1~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

And this problem maybe relevant to the source.list file

Hi @lijie2019,

It is a known issue. Please check the post to WAR it. Thanks!


The sources.list_default and source.list are both empty in the Xavier and the host.
The the folder in host is " ~/nvidia/nvidia_sdk/DRIVE_Software_10.0_Linux_OS_DDPX/DRIVEOS/drive-t186ref-linux/targetfs_ a /etc/apt/sources.list"

Should I re-download and re-flash the Xavier to solve the problem?

We will check this. Before any finding, please use below as the content of source.list on your target as a workaround. Thanks!

# Copyright (c) 2018, NVIDIA CORPORATION.  All rights reserved.
# NVIDIA CORPORATION and its licensors retain all intellectual property
# and proprietary rights in and to this software, related documentation
# and any modifications thereto.  Any use, reproduction, disclosure or
# distribution of this software and related documentation without an express
# license agreement from NVIDIA CORPORATION is strictly prohibited.

# Recommended mirrors default, -updates, -security, Components main restricted & universe enabled
deb bionic main universe restricted
deb bionic-updates main universe restricted
deb bionic-security main universe restricted

# Backports not recommended
# deb bionic-backports main universe restricted

# Proposed not recommended
# deb bionic-proposed main universe restricted

# Multiverse components have copyright or legal issues use with (legal) care
# deb bionic multiverse
# deb bionic-updates multiverse
# deb bionic-security multiverse

With the RTC setting correctly, the pip3 can be installed after updating the apt.