我试图从这个 PPA使用Synaptic将gcc-4.8.1升级到gcc-4.8.2。安装执行没有问题,但突然间我根本没有 gcc-4.8。我同时使用 gcc-4.7 和 gcc-4.8,但由于某种原因只剩下 4.7。然后我尝试使用重新安装 gcc-4.8但我遇到了未满足的依赖项错误。我试图使用这个问题的答案来解决这个问题,但无济于事。apt-get install
sudo apt-get install gcc-4.8
Run Code Online (Sandbox Code Playgroud)
结果是:
...
The following packages have unmet dependencies:
gcc-4.8 : Depends: binutils (>= 2.23.90.20131017) but
2.23.52.20130913-0ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.
Run Code Online (Sandbox Code Playgroud)
以下是输出:
martin@martin-Studio-1537:~$ cat /etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu saucy main universe restricted multiverse
deb http://security.ubuntu.com/ubuntu/ saucy-security main universe restricted multiverse
deb http://archive.ubuntu.com/ubuntu saucy-updates main …
Run Code Online (Sandbox Code Playgroud) 如何从 Ubuntu 13.10 服务器卸载 virsh。我已经删除了 libvirt-bin、qemu 和 kvm,但 virsh 仍在运行。我使用以下命令删除 libvirt-bin。
apt-get remove --purge libvirt-bin kvm qemu qemu-system-x86
apt-get autoremove
reboot
Run Code Online (Sandbox Code Playgroud)
也试过
apt-get remove virsh
Run Code Online (Sandbox Code Playgroud)
但没有用
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package virsh
Run Code Online (Sandbox Code Playgroud)
谢谢,
我试图扩大我的 Windows 分区,因此我将我的 Ubuntu 分区缩小了 150 GB。现在,当我尝试调整 Windows 分区的大小时,它不会变大——它只会让我选择将其变小。如何扩大分区?
看来我不能再为 13.10 安装黄金链接器了:
$ sudo apt-get install binutils-gold
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'binutils' instead of 'binutils-gold'
binutils is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 276 not upgraded
Run Code Online (Sandbox Code Playgroud)
我看到了很多“删除”通知。什么?我已经试过了apt-get update
,但没有帮助
编辑同样的问题发生在 Trusty (14.04)
在 Windows 中,我们可以添加应用程序/批处理脚本以在启动时自动打开。Ubuntu 或 Linux 中是否有类似的东西?
我试图在 Ubuntu 13.10 上找到 pppd 的调试信息。我试图阅读手册,但我发现日志的位置是针对旧版本的 Ubuntu。
我有什么输入
sudo pon dsl-provider debug
Run Code Online (Sandbox Code Playgroud) 13.10 ×6
14.04 ×1
binutils ×1
debug ×1
dependencies ×1
gcc ×1
gparted ×1
installation ×1
kvm ×1
log ×1
partitioning ×1
ppa ×1
pppoe ×1
startup ×1