linux system bug notes

23 Jun 2020

Post Tags

Notes

目录

Can’t find a valid FAT filesystem

启动时出现Can’t find a valid FAT filesystem且只能进入紧急emergency mode. 可能是linux rootfs所在磁盘缺少FAT分区或者,1号内核分区格式不兼容。

  • 缺少分区: sudo fdisk /dev/ n ...... w sudo mkfs.vfat -F 32 /dev/
  • 分区格式不匹配: sudo mkfs.vfat -F 32 /dev/

python3-rosdep-modules; python3-rosdistro-modules

The following packages have unmet dependencies:
python3-rosdep-modules : Depends: python3-rospkg-modules (>= 1.1.10) but it is not going to be installed
Depends: python3-catkin-pkg-modules (>= 0.4.0) but it is not going to be installed
Depends: python3-rosdistro-modules (>= 0.7.5) but it is not going to be installed
E: Unmet dependencies. Try ‘apt –fix-broken install’ with no packages (or specify a solution).

Method 1:
sudo apt --fix-broken install

Method 2:

sudo mv /var/lib/dpkg/info /var/lib/dpkg/info.bk
sudo mkdir /var/lib/dpkg/info
sudo apt-get update
sudo apt-get install -f

Method 3(suggest): Using aptitude managment software

sudo apt-get install aptitude sudo aptitude install


Post Tags

Notes