我刚完成Debian 8(Jessie)的安装,并尝试在中建立目录lib/firmware,因为rtl8723befw.bin安装中缺少文件(),并显示 mkdir: cannot create directory `rtlwifi`: Permission denied 我尝试将sudo放在前面,但随后返回: bash: sudo: command not found 尝试使用sudo apt-get install sudo甚至什至安装sudo时apt-get update都会返回: E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root? 我真的不知所措。我似乎找到的针对最新错误的所有解决方案都是使用sudo,但我什至没有。
我有一个较旧的Debian 7 VM进行测试。我正在尝试减少VM占用空间,因为我空间不足。我想删除Iceweasel,因为我并没有真正使用它,通常可以通过来解决wget。当我运行Apt它时,它告诉我它也正在删除GNOME: $ sudo apt-get remove iceweasel* ... The following packages were automatically installed and are no longer required: hyphen-en-us libfs6 task-desktop x11-apps x11-session-utils x11-xfs-utils xinit xorg Use 'apt-get autoremove' to remove them. The following extra packages will be installed: icedove iceowl-extension Suggested packages: apparmor calendar-google-provider The following packages …