I can't jetpack upgrade my jetsonnano using Ota

I can’t use OTA for jetpack upgrade. When I try to update OTA, I always prompt that I can’t use this source for security update, so this source is disabled by default. After the first attempt, jtop will prompt ’ No module named 'curses’’ when using jtop What should I do

Ignore: 28 Index of /ros/ubuntu/ | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror bionic InRelease

Hit: 29 Index of /ros/ubuntu/ | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror bionic Release

Ignore: 19 Index of /ubuntu xenial-security/main arm64 Packages

Ignore: 19 Index of /ubuntu xenial-security/main arm64 Packages

Error: 19 Index of /ubuntu xenial-security/main arm64 Packages

404 Not Found [IP: 91.189.91.38 80]

Ignore: 17 https://repo.download.nvidia.cn/jetson/common r32.6.1 InRelease

Ignore: 18 https://repo.download.nvidia.cn/jetson/210 r32.6.1 InRelease

Error: 31 https://repo.download.nvidia.cn/jetson/common r32.6.1 Release

404 Not Found [IP: 42.228.133.4 443]

Error: 32 https://repo.download.nvidia.cn/jetson/210 r32.6.1 Release

404 Not Found [IP: 42.228.133.4 443]

Reading package list… Done

E: Warehouse“ https://repo.download.nvidia.com/jetson/common R32.6.1 “release” has no release file.

N: The source cannot be safely updated, so it is disabled by default.

N: See the apt secure (8) manual for details on warehouse creation and user configuration.

E: Warehouse“ https://repo.download.nvidia.com/jetson/210 R32.6.1 “release” has no release file.

N: The source cannot be safely updated, so it is disabled by default.

N: See the apt secure (8) manual for details on warehouse creation and user configuration.

Hi,

Welcome to the NVIDIA Developer forums! I am going to move this topic over to the Jetson Nano category for better visibility.

Cheers,
Tom

hello 3058563015,

are you using this package? https://github.com/rbonghi/jetson_stats.
for confirmation, please try uninstall that for running OTA,
thanks

Thank you for your reply. I’m pretty sure that’s what I use. To make sure it’s 100% correct, I also uninstalled and reinstalled it, but the problem still exists

jtop
Traceback (most recent call last):
File “/usr/local/bin/jtop”, line 5, in
from jtop.main import main
File “/usr/local/lib/python3.6/site-packages/jtop/main.py”, line 24, in
import curses
File “/usr/local/lib/python3.6/curses/init.py”, line 16, in
from _curses import *
ModuleNotFoundError: No module named ‘_curses’

This is the complete error log

hello 3058563015,

what’s your complete steps for running OTA update.

according to python code, https://github.com/rbonghi/jetson_stats/blob/master/jtop/__main__.py
it’s caused by import this module to cause the failures.

# control command line
import curses

After I change the DEB path of the sources.list file according to the instructions of the document, an error is reported when sudo apt update is executed. The specific log is
sudo apt update
获取:1 file:/var/cuda-repo-10-2-local-10.2.89 InRelease
忽略:1 file:/var/cuda-repo-10-2-local-10.2.89 InRelease
获取:2 file:/var/visionworks-repo InRelease
忽略:2 file:/var/visionworks-repo InRelease
获取:3 file:/var/visionworks-sfm-repo InRelease
忽略:3 file:/var/visionworks-sfm-repo InRelease
获取:4 file:/var/visionworks-tracking-repo InRelease
忽略:4 file:/var/visionworks-tracking-repo InRelease
获取:5 file:/var/cuda-repo-10-2-local-10.2.89 Release [574 B]
获取:5 file:/var/cuda-repo-10-2-local-10.2.89 Release [574 B]
获取:6 file:/var/visionworks-repo Release [2,001 B]
获取:6 file:/var/visionworks-repo Release [2,001 B]
获取:7 file:/var/visionworks-sfm-repo Release [2,005 B]
获取:7 file:/var/visionworks-sfm-repo Release [2,005 B]
获取:8 file:/var/visionworks-tracking-repo Release [2,010 B]
获取:8 file:/var/visionworks-tracking-repo Release [2,010 B]
忽略:9 Index of /ros/ubuntu/ | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror bionic InRelease
命中:10 Index of /ros/ubuntu/ | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror bionic Release
命中:11 Index of /repos/code/ stable InRelease
命中:14 Index of /webupd8team/java/ubuntu bionic InRelease
命中:15 Index of /gazebo/ubuntu-stable/ bionic InRelease
命中:18 Index of /ubuntu-ports/ | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror bionic InRelease
命中:19 Index of /ubuntu-ports/ | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror bionic-updates InRelease
命中:21 Index of /ubuntu-ports/ | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror bionic-backports InRelease
命中:22 Index of /ubuntu-ports/ | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror bionic-security InRelease
忽略:23 https://repo.download.nvidia.cn/jetson/common r32.6.1 InRelease
忽略:24 https://repo.download.nvidia.cn/jetson/t210 r32.6.1 InRelease
错误:25 https://repo.download.nvidia.cn/jetson/common r32.6.1 Release
404 Not Found [IP: 119.36.245.197 443]
错误:26 https://repo.download.nvidia.cn/jetson/t210 r32.6.1 Release
404 Not Found [IP: 119.36.245.197 443]
正在读取软件包列表… 完成
E: 仓库 “https://repo.download.nvidia.com/jetson/common r32.6.1 Release” 没有 Release 文件。
N: 无法安全地用该源进行更新,所以默认禁用该源。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。
E: 仓库 “https://repo.download.nvidia.com/jetson/t210 r32.6.1 Release” 没有 Release 文件。
N: 无法安全地用该源进行更新,所以默认禁用该源。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。

This is the DEB address in my sources.list

deb https://repo.download.nvidia.com/jetson/common r32.6.1 main
deb https://repo.download.nvidia.com/jetson/t210 r32.6.1 main

I understand that the import of curses module failed. How do I install the module? You can only find the installation tutorial of this module in windows on the Internet, but there is no Jetson. By default, this module only has the version of AMD 64 CPU

hello 3058563015,

this is not a package maintain by NV.
what happened if you execute below to uninstall the jetson_stats

$ sudo jetson_config --uninstall
$ sudo -H pip uninstall -y jetson-stats

then running $ sudo apt update, please share the results for reference,
thanks

sudo jetson_config --uninstall
Traceback (most recent call last):
File “/usr/local/bin/jtop”, line 5, in
from jtop.main import main
File “/usr/local/lib/python3.6/site-packages/jtop/main.py”, line 24, in
import curses
File “/usr/local/lib/python3.6/curses/init.py”, line 16, in
from _curses import *
ModuleNotFoundError: No module named ‘_curses’
Function uninstall_commands does not exist.
Function uninstall_folders does not exist.
Function uninstall_variables does not exist.
Function uninstall_permissions does not exist.
Function uninstall_service does not exist.

sudo -H pip uninstall -y jetson-stats
Found existing installation: jetson-stats 3.1.1
Uninstalling jetson-stats-3.1.1:
Successfully uninstalled jetson-stats-3.1.1
WARNING: Running pip as the ‘root’ user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: 12. Virtual Environments and Packages — Python 3.10.7 documentation
yinjun@yinjun-desktop:/etc/apt/sources.list.d$ sudo jetson_config --uninstall
sudo: jetson_config:找不到命令
yinjun@yinjun-desktop:/etc/apt/sources.list.d$ sudo gedit /etc/apt/sources.list

(gedit:32224): IBUS-WARNING **: 14:55:43.907: The owner of /home/yinjun/.config/ibus/bus is not root!

(gedit:32224): IBUS-WARNING **: 14:55:44.379: Unable to connect to ibus: 试图读取一行时,异常地缺失内容

** (gedit:32224): WARNING **: 14:55:47.494: Set document metadata failed: 不支持设置属性 metadata::gedit-position
yinjun@yinjun-desktop:/etc/apt/sources.list.d$ sudo apt update
获取:1 file:/var/cuda-repo-10-2-local-10.2.89 InRelease
忽略:1 file:/var/cuda-repo-10-2-local-10.2.89 InRelease
获取:2 file:/var/visionworks-repo InRelease
忽略:2 file:/var/visionworks-repo InRelease
获取:3 file:/var/visionworks-sfm-repo InRelease
忽略:3 file:/var/visionworks-sfm-repo InRelease
获取:4 file:/var/visionworks-tracking-repo InRelease
忽略:4 file:/var/visionworks-tracking-repo InRelease
获取:5 file:/var/cuda-repo-10-2-local-10.2.89 Release [574 B]
获取:6 file:/var/visionworks-repo Release [2,001 B]
获取:7 file:/var/visionworks-sfm-repo Release [2,005 B]
获取:8 file:/var/visionworks-tracking-repo Release [2,010 B]
获取:5 file:/var/cuda-repo-10-2-local-10.2.89 Release [574 B]
获取:6 file:/var/visionworks-repo Release [2,001 B]
获取:7 file:/var/visionworks-sfm-repo Release [2,005 B]
获取:8 file:/var/visionworks-tracking-repo Release [2,010 B]
忽略:9 Index of /ros/ubuntu/ | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror bionic InRelease
命中:10 Index of /ros/ubuntu/ | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror bionic Release
命中:11 Index of /ubuntu-ports/ | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror bionic InRelease
命中:13 Index of /ubuntu-ports/ | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror bionic-updates InRelease
命中:14 Index of /ubuntu-ports/ | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror bionic-backports InRelease
命中:15 Index of /ubuntu-ports/ | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror bionic-security InRelease
获取:18 Index of /repos/code/ stable InRelease [10.4 kB]
命中:19 Index of /webupd8team/java/ubuntu bionic InRelease
命中:20 Index of /gazebo/ubuntu-stable/ bionic InRelease
获取:23 Index of /repos/code/ stable/main amd64 Packages [50.6 kB]
获取:24 Index of /repos/code/ stable/main armhf Packages [51.4 kB]
获取:25 Index of /repos/code/ stable/main arm64 Packages [51.5 kB]
忽略:26 https://repo.download.nvidia.cn/jetson/common r32.6.1 InRelease
忽略:27 https://repo.download.nvidia.cn/jetson/t210 r32.6.1 InRelease
错误:28 https://repo.download.nvidia.cn/jetson/common r32.6.1 Release
404 Not Found [IP: 42.228.133.4 443]
错误:29 https://repo.download.nvidia.cn/jetson/t210 r32.6.1 Release
404 Not Found [IP: 42.228.133.4 443]
正在读取软件包列表… 完成
E: 仓库 “https://repo.download.nvidia.com/jetson/common r32.6.1 Release” 没有 Release 文件。
N: 无法安全地用该源进行更新,所以默认禁用该源。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。
E: 仓库 “https://repo.download.nvidia.com/jetson/t210 r32.6.1 Release” 没有 Release 文件。
N: 无法安全地用该源进行更新,所以默认禁用该源。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。

hello 3058563015,

it should be your 1st upgrade process to crash this package.
may I know which version you’re based for moving to 32.6.1 release?

Thank you for your reply. I upgraded from 32.5 to 32.6.1, but now I will report the same error even if I change 32.6.1 back to 32.5. I can’t use apt update at all

cat /etc/nv_tegra_release

R32 (release), REVISION: 5.2, GCID: 27767740, BOARD: t210ref, EABI: aarch64, DATE: Fri Jul 9 16:01:52 UTC 2021

this is my now Version

hello 3058563015,

could you please share more details.
for example, did you install native JetPack release, using OTA to upgrade from 32.5 to 32.6.1.
after that, what’s the additional package installation you’ve done to make it failure.
in the other hands, are you able to downgrade to previous version without the package installation?

Hello, my jetpack came with me after it was directly burned into the TF card through the IMG file. Up to this error, I have never upgraded OTA or even attempted to upgrade jetpack

Hello, I just tried to uninstall tensorflow and reinstall tensorflow with the corresponding JP version number, and adjust the version number in the DEB path to 32.5. At this point, the apt update call succeeds, but if I adjust the version number to 32.6.1, it will report such errors again. Will tensorflow affect jetpack upgrade

This jetpack upgrade is because I read the wrong version number when installing tensorflow and selected a higher JP version number for installation, so I first try to update jetpack instead of reinstalling tensorflow after uninstallation

hello 3058563015,

there’s dependency between Tensorflow and JetPack releases.
please also check TensorFlow compatibility with NVIDIA containers and Jetpack for reference,
thanks

Hello, I have uninstalled tensorflow, but the 404 problem in r32.6.1 still exists