16.04LTS 的常见问题是无法使用下面这些命令
在具有 .conf 文件的应用程序中,权限是 root,但我无法在 gui 环境中打开它。这是正常的吗,大多数文件的所有者是 root,并且管理员无法访问它们???
当我尝试安装 lighttpd(一个 Web 服务器)时,尽管我使用了 sudo,但我收到了 sys.msg。表示我没有 root 权限。
我差点就放弃整个系统了,但是,如果不了解正在发生的事情,它可能会再次发生。有人可以解释这是如何发展的或为什么会发生吗???
PS:lighttpd 软件包存在一个已知问题,建议的解决方案是,人们已经成功使用它,但我无法安装它。
sudo apt-get install gamin
admin@ubuntu_1604:/etc$ sudo apt-get autoremove
Reading package lists... Error!
E: Couldn't create temporary file to work with /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial_InRelease - mkstemp (30: Read-only file system)
E: The package lists or status file could not be parsed or opened.
this is just the beginning of a long sys. output
sudo apt-get update
Ign:135 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages
Ign:136 http://archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages
Couldn't create temporary file to work with /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial_InRelease - mkstemp (30: Read-only file system)
The package lists or status file could not be parsed or opened.
Can't call method "policy" on an undefined value at /usr/bin/apt-show-versions line 56.
Reading package lists... Error!
W: chown to _apt:root of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (30: Read-only file system)
W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (30: Read-only file system)
W: The repository 'file:/.share/CACHEDEV1_DATA/.qpkg/ubuntu-hd/packages/xenial stable Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: Symlinking file /.share/CACHEDEV1_DATA/.qpkg/ubuntu-hd/packages/xenial/dists/stable/main/binary-amd64/Packages to /var/lib/apt/lists/partial/_.share_CACHEDEV1%5fDATA_.qpkg_ubuntu-hd_packages_xenial_dists_stable_main_binary-amd64_Packages failed - pkgAcqIndex::StageDownloadDone (30: Read-only file system)
W: chown to _apt:root of file /var/lib/apt/lists/archive.canonical.com_dists_xenial_InRelease failed - Item::QueueURI (30: Read-only file system)
W: chmod 0600 of file /var/lib/apt/lists/archive.canonical.com_dists_xenial_InRelease failed - Item::QueueURI (30: Read-only file system)
W: chown to root:root of file /var/lib/apt/lists/archive.canonical.com_dists_xenial_InRelease failed - 400::URIFailure (30: Read-only file system)
W: chmod 0644 of file /var/lib/apt/lists/archive.canonical.com_dists_xenial_InRelease failed - 400::URIFailure (30: Read-only file system)
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.canonical.com xenial InRelease: Could not execute 'apt-key' to verify signature (is gnupg installed?)