Error when use "sudo apt install <something>"

Hello,

I am trying to reinstall Opencv on Jetson Tx2.
When I install some package, I always get the error like image bellow:

How can I fix it?

Many thanks!

Somebody help.

I’ve seen a few people with that initramfs package problem recently. I think NVIDIA is probably examing this as an issue, but they’d need to comment. You will want to comment if you have recently performed any kind of dist-upgrade. Also, you will want to mention the output of:
head -n 1 /etc/nv_tegra_release
…and this (to list NVIDIA’s packages):
dpkg -l | grep 'nvidia-l4t-'

Hi @linuxdev,

Thank for your response.