Cache issue no more screen on tegra B

Please provide the following info (check/uncheck the boxes after clicking “+ Create Topic”):
Software Version
NVIDIA DRIVE™ Software 10.0 (Linux)

Target Operating System
Linux

Hardware Platform
NVIDIA DRIVE™ AGX Xavier DevKit (E3550)

SDK Manager Version
1.5.0.7774

Host Machine Version
native Ubuntu 18.04

Hello,

I’m working on tegra B, I was trying to install opencv but I failed.
Then I just type the command : “sudo apt-get install locate” in order to locate a file, I got a message " No more space available in cache".

I decided to restart my TegraB, and now It’s full black screen! TegraA is working but no more screen on tegra B.

I already got this issue yesterday, I tried to install the desktop being on tegraA but it said it is already installed on Tegra B. So I decided to reflash… I lost a lot of time so I don’t want to redo this…

So please if anyone has an idea on how Can I solve this problem!!! Thank You very much!

Hi @nida.rahman1 ,

I have no the issue. The following are from my shell on Xavier B. FYR.

nvidia@tegra-ubuntu:~$ sudo apt update
Get:1 file:/var/cuda-repo-10-2-local-10.2.19  InRelease
Ign:1 file:/var/cuda-repo-10-2-local-10.2.19  InRelease
Get:2 file:/var/cuda-repo-10-2-local-10.2.19  Release [574 B]
Get:2 file:/var/cuda-repo-10-2-local-10.2.19  Release [574 B]
Get:3 file:/var/cuda-repo-10-2-local-10.2.19  Release.gpg [819 B]
Get:3 file:/var/cuda-repo-10-2-local-10.2.19  Release.gpg [819 B]
Get:4 http://ports.ubuntu.com/ubuntu-ports bionic InRelease [242 kB]
Get:5 file:/var/cuda-repo-10-2-local-10.2.19  Packages [10.9 kB]
Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB]
Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB]
Get:8 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 Packages [975 kB]
Get:9 http://ports.ubuntu.com/ubuntu-ports bionic/main Translation-en [516 kB]
Get:10 http://ports.ubuntu.com/ubuntu-ports bionic/universe arm64 Packages [8316 kB]     
Get:11 http://ports.ubuntu.com/ubuntu-ports bionic/universe Translation-en [4941 kB] 
Get:12 http://ports.ubuntu.com/ubuntu-ports bionic/restricted arm64 Packages [664 B]
Get:13 http://ports.ubuntu.com/ubuntu-ports bionic/restricted Translation-en [3584 B]
Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [1282 kB]
Get:15 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main Translation-en [417 kB]
Get:16 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1529 kB]
Get:17 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe Translation-en [369 kB]
Get:18 http://ports.ubuntu.com/ubuntu-ports bionic-updates/restricted arm64 Packages [3404 B]
Get:19 http://ports.ubuntu.com/ubuntu-ports bionic-updates/restricted Translation-en [49.8 kB]
Get:20 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [983 kB]
Get:21 http://ports.ubuntu.com/ubuntu-ports bionic-security/main Translation-en [326 kB]
Get:22 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [988 kB]
Get:23 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe Translation-en [254 kB]
Get:24 http://ports.ubuntu.com/ubuntu-ports bionic-security/restricted arm64 Packages [2852 B]
Get:25 http://ports.ubuntu.com/ubuntu-ports bionic-security/restricted Translation-en [46.3 kB]
Fetched 21.4 MB in 7s (3223 kB/s)                                                                                                                                            
Reading package lists... Done
Building dependency tree       
Reading state information... Done
393 packages can be upgraded. Run 'apt list --upgradable' to see them.
nvidia@tegra-ubuntu:~$ sudo apt show locate
Package: locate
Version: 4.6.0+git+20170828-2
Priority: optional
Section: universe/utils
Source: findutils
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Andreas Metzler <ametzler@debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 177 kB
Depends: libc6 (>= 2.17), findutils (>> 4.2.31-1)
Breaks: slocate (<= 3.1-1.1)
Replaces: findutils (<< 4.2.31-2)
Homepage: https://savannah.gnu.org/projects/findutils/
Download-Size: 49.9 kB
APT-Sources: http://ports.ubuntu.com/ubuntu-ports bionic/universe arm64 Packages
Description: maintain and query an index of a directory tree
 updatedb generates an index of files and directories. GNU locate can be used
 to quickly query this index.

nvidia@tegra-ubuntu:~$ sudo apt install locate
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  cuda-command-line-tools-10-2 cuda-compiler-10-2 cuda-cudart-dev-10-2 cuda-cuobjdump-10-2 cuda-cupti-10-2 cuda-driver-dev-10-2 cuda-gdb-10-2 cuda-gpu-library-advisor-10-2
  cuda-memcheck-10-2 cuda-misc-headers-10-2 cuda-nvcc-10-2 cuda-nvdisasm-10-2 cuda-nvprof-10-2 cuda-nvprune-10-2 cuda-nvrtc-dev-10-2 cuda-nvtx-10-2 libcublas-dev
  libcublas10
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  locate
0 upgraded, 1 newly installed, 0 to remove and 393 not upgraded.
Need to get 49.9 kB of archives.
After this operation, 177 kB of additional disk space will be used.
Get:1 http://ports.ubuntu.com/ubuntu-ports bionic/universe arm64 locate arm64 4.6.0+git+20170828-2 [49.9 kB]
Fetched 49.9 kB in 0s (285 kB/s) 
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package locate.
(Reading database ... 68898 files and directories currently installed.)
Preparing to unpack .../locate_4.6.0+git+20170828-2_arm64.deb ...
Unpacking locate (4.6.0+git+20170828-2) ...
Setting up locate (4.6.0+git+20170828-2) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
nvidia@tegra-ubuntu:~$

It’s not the" sudo apt-get update" the problem, the problem was the installation of opencv. It took all the cache memory… :o

Sorry that OpenCV isn’t officially supported in our releases. Maybe you can search if any way to clean Ubuntu cache.

1 Like