在尝试升级 ( sudo apt-get upgrade) Ubuntu 12.04 时,我有一对软件包会为 dbus 依赖项引发以下 apt-get 安装错误:
dpkg: error processing dbus (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of accountsservice:
accountsservice depends on dbus; however:
Package dbus is not configured yet.
dpkg: error processing accountsservice (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
dbus
accountsservice
E: …Run Code Online (Sandbox Code Playgroud) 我在远程服务器上作为 VM 运行 Ubuntu Server 10.04。我只能访问虚拟机。
虚拟机分配了 20GB 的磁盘空间,但驱动器目前仅分区使用约 4.7GB。
我知道您可以使用 LiveCD 使用 gparted 重新分区驱动器。您将如何在远程 VM 上执行此操作?(因为分区也是启动卷)
# fdisk -l
Disk /dev/sda: 21.5 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00074164
Device Boot Start End Blocks Id System
/dev/sda1 * 1 618 4959232 83 Linux
Partition 1 does not end …Run Code Online (Sandbox Code Playgroud)