I am trying to upgrade just installed, clean ubuntu 16.04:
sudo apt-get upgrade
or
install any package:
sudo apt-get install nano
sudo apt-get install ros-kinetic-desktop-full
and I am getting this errors:
Setting up initramfs-tools (0.122ubuntu8.15) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.122ubuntu8.15) ...
update-initramfs: Generating /boot/initrd.img-4.4.0-165-generic
cryptsetup: WARNING: failed to detect canonical device of /dev/root
cryptsetup: WARNING: could not determine root device from /etc/fstab
Warning: root device /dev/root does not exist
Press Ctrl-C to abort build, or Enter to continue
Warning: /sbin/fsck.rootfs doesn't exist, can't install to initramfs, ignoring.
Unsupported platform.
run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 1
dpkg: error processing package initramfs-tools (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
Is this jetson related problem?
How can I get rid of this problem?
Can you get to a command line at all to run test commands? E.g., via serial console. If you can, what is the output from:
df -H -T
sha1sum -c /etc/nv_tegra_release
If not, can you describe your host environment and whether the disk space you flashed from has at least 20GB of free space and is type ext4?
nvidia@tegra-ubuntu:~/catkin_ws$ df -H -T
Filesystem Type Size Used Avail Use% Mounted on
/dev/root ext4 30G 12G 17G 43% /
devtmpfs devtmpfs 8.2G 0 8.2G 0% /dev
tmpfs tmpfs 8.3G 125M 8.2G 2% /dev/shm
tmpfs tmpfs 8.3G 32M 8.2G 1% /run
tmpfs tmpfs 5.3M 4.1k 5.3M 1% /run/lock
tmpfs tmpfs 8.3G 0 8.3G 0% /sys/fs/cgroup
tmpfs tmpfs 823M 74k 823M 1% /run/user/1001
nvidia@tegra-ubuntu:~/catkin_ws$ sha1sum -c /etc/nv_tegra_release
/usr/lib/aarch64-linux-gnu/tegra/libnvosd.so: OK
/usr/lib/aarch64-linux-gnu/tegra/libnvmmlite_image.so: OK
/usr/lib/aarch64-linux-gnu/tegra/libnvomx.so: OK
/usr/lib/aarch64-linux-gnu/tegra/libnvmedia.so: OK
/usr/lib/aarch64-linux-gnu/tegra/libnvmmlite_utils.so: OK
/usr/lib/aarch64-linux-gnu/tegra/libglx.so: OK
/usr/lib/aarch64-linux-gnu/tegra/libscf.so: OK
/usr/lib/aarch64-linux-gnu/tegra/libnvexif.so: OK
/usr/lib/aarch64-linux-gnu/tegra/libnvrm_gpu.so: OK
/usr/lib/aarch64-linux-gnu/tegra/libnvtx_helper.so: OK
/usr/lib/aarch64-linux-gnu/tegra/libnvfnetstorehdfx.so: OK
/usr/lib/aarch64-linux-gnu/tegra/libnvmm_parser.so: OK
/usr/lib/aarch64-linux-gnu/tegra/libnvrm.so: OK
/usr/lib/aarch64-linux-gnu/tegra/libnvmm_contentpipe.so: OK
/usr/lib/aarch64-linux-gnu/tegra/libnvos.so: OK
/usr/lib/aarch64-linux-gnu/tegra/libnvtnr.so: OK
/usr/lib/aarch64-linux-gnu/tegra/libnvimp.so: OK
/usr/lib/aarch64-linux-gnu/tegra/libnvfnet.so: OK
/usr/lib/aarch64-linux-gnu/tegra/libnvavp.so: OK
/usr/lib/aarch64-linux-gnu/tegra/libnvmmlite_video.so: OK
/usr/lib/aarch64-linux-gnu/tegra/libnvfnetstoredefog.so: OK
/usr/lib/aarch64-linux-gnu/tegra/libnvodm_imager.so: OK
/usr/lib/aarch64-linux-gnu/tegra/libnvjpeg.so: OK
/usr/lib/aarch64-linux-gnu/tegra/libnvtvmr.so: OK
/usr/lib/aarch64-linux-gnu/tegra/libnvidia-egl-wayland.so: OK
/usr/lib/aarch64-linux-gnu/tegra/libnvdc.so: OK
/usr/lib/aarch64-linux-gnu/tegra/libtegrav4l2.so: OK
/usr/lib/aarch64-linux-gnu/tegra/libnvmm.so: OK
/usr/lib/aarch64-linux-gnu/tegra/libnvapputil.so: OK
/usr/lib/aarch64-linux-gnu/tegra/libnvcameratools.so: OK
/usr/lib/aarch64-linux-gnu/tegra/libnvcam_imageencoder.so: OK
/usr/lib/aarch64-linux-gnu/tegra/libnveglstream_camconsumer.so: OK
/usr/lib/aarch64-linux-gnu/tegra/libnvmm_utils.so: OK
/usr/lib/aarch64-linux-gnu/tegra/libnvomxilclient.so: OK
/usr/lib/aarch64-linux-gnu/tegra/libargus.so: OK
/usr/lib/aarch64-linux-gnu/tegra/libnvwinsys.so: OK
/usr/lib/aarch64-linux-gnu/tegra/libargus_socketclient.so: OK
/usr/lib/aarch64-linux-gnu/tegra/libnveglstreamproducer.so: OK
/usr/lib/aarch64-linux-gnu/tegra/libnvll.so: OK
/usr/lib/aarch64-linux-gnu/tegra/libargus_socketserver.so: OK
/usr/lib/aarch64-linux-gnu/tegra/libnvrm_graphics.so: OK
/usr/lib/aarch64-linux-gnu/tegra/libnvcolorutil.so: OK
/usr/lib/aarch64-linux-gnu/tegra/libnvddk_2d_v2.so: OK
/usr/lib/aarch64-linux-gnu/tegra/libnvtestresults.so: OK
/usr/lib/aarch64-linux-gnu/tegra/libnvcamerautils.so: OK
/usr/lib/aarch64-linux-gnu/tegra/libnvcamlog.so: OK
/usr/lib/aarch64-linux-gnu/tegra/libnvparser.so: OK
/usr/lib/aarch64-linux-gnu/tegra/libnvddk_vic.so: OK
/usr/lib/aarch64-linux-gnu/tegra/libnvmmlite.so: OK
/usr/lib/aarch64-linux-gnu/libv4l/plugins/libv4l2_nvvidconv.so: OK
/usr/lib/aarch64-linux-gnu/libv4l/plugins/libv4l2_nvvideocodec.so: OK
/usr/lib/xorg/modules/drivers/nvidia_drv.so: OK
/usr/lib/xorg/modules/extensions/libglx.so: OK
My host environment is Ubuntu 16.04 with 30gb free and type is ext4
So file system type and capacity is ok, and so are the NVIDIA-specific drivers. The issue is not something from a simple installation problem (there could be something else related to install, but basics look like they are correct).
I haven’t installed ROS, so there may be something else required for that, but nano should be ok. Try this, see if update works:
sudo apt --fix-broken install
sudo apt update
sudo apt-get upgrade
# Verify this still shows "ok":
sha1sum -c /etc/nv_tegra_release
If that’s all ok, try the “sudo apt-get install nano” again.
nope, didnt help.
actually, packages become installed, problem with only this
update-initramfs
it runs everytime when i install packages, tooks some time and ends with error.
maybe problem because my host environment is ubuntu 16.04 instead of ubuntu 14.04?
FYI, the host as Ubuntu 16.04 won’t matter.
The initial ramdisk may not contain what other packages are expecting, and most likely (in newer releases) also won’t update the same way as other Linux systems. I am thinking that you shouldn’t update initramfs, but if you must, then there will be extra steps to do this in a non-standard way on the TX2. Unfortunately, I can’t say what those exact differences are. Are you sure you need to update the initrd?
You will need to state the exact L4T version installed (see “head -n 1 /etc/nv_tegra_release”).
Would someone from NVIDIA be able to say how initial ramdisk update methods may need to be modified for that release?