如何安装最新版本的 gcc 和 g++?
我正在使用各种 C++11 和 C++1y 特性;这就是为什么我需要这个。
安装 Ubuntu 13.04 x64 后,我意识到我的声音不起作用(设置中只显示耳机)。
按照本指南,我手动将我的 Dell Studio 1740 音频硬件添加到:
options snd-hda-intel model=dell-m6
Run Code Online (Sandbox Code Playgroud)
内etc/modprobe.d/alsa-base.conf。
使用测试扬声器功能,我发现我的右扬声器(带有电源和音量旋钮的扬声器)没有声音。
16.10 发布几天后(现在)我决定升级。在升级过程中不断收到错误消息,直到最终失败。在apt-get upgrade现在运行的 CLI 上给出:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
20 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up click (0.4.45.1+16.10.20160916-0ubuntu1) ...
Cannot start click due to a conflict with a different locally-installed Python 'click' package. …Run Code Online (Sandbox Code Playgroud) 
不幸的是(如您所见)我无法安装 grub。我也试过 /dev/sda 。
这是我的分区架构:

故障排除+问题:
所以我在我的旧笔记本电脑上下载了 11.10 x64 Beta,将它推送到 USB,然后尝试将它安装到我的另一个硬盘上。
然后我得到第一个提到的错误。我也试过(之前和之后)sudo grub-install在各自的驱动器上手动运行,但无济于事。
当我现在尝试引导到硬盘时,我得到 PXE 引导。
请建议进一步的故障排除步骤(例如 LILO?)。
如何停止D显示桌面?
当我使用 RDP (xrdp) 或 VNC(内置或 x11vnc,客户端 UltraVNC)时,按“D”显示桌面。
请告诉我如何删除此绑定。
最近apt-get upgrade在 16.04 之后,我现在总是从install-info收到错误:
$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 to upgrade, 0 to newly install, 0 to remove and 1 not to upgrade.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up install-info (6.1.0.dfsg.1-5) ...
/usr/sbin/update-info-dir: 23: /etc/environment: /usr/local/lib/python2.7/dist-packages: Permission denied
dpkg: error processing package install-info (--configure):
subprocess installed post-installation script returned error …Run Code Online (Sandbox Code Playgroud) 我在运行 VirtualBox 4.1.8 的 Windows 8 Developer Preview x64 机器上从http://virtualboxes.org/images/ubuntu/安装了11.10 。VirtualBox image
我以前从.iso.
不幸的是,所有符号键都错误地映射到VirtualBox image版本上。
所以我apt-get install dkms virtualbox-ose-guest-utils,然后重新启动。那没有任何区别。
所以我通过更新管理器更新了所有软件,但无济于事。
重新启动后,我通过外部 VirtualBox 选项安装了 Guest Addons,然后将其安装在来宾中。成功安装(由 0.0.2 版本更新),但即使重新启动后键绑定也没有变化。
如何修复我的键绑定?
仅供参考:无缝模式仅适用于某种工作。
support keyboard-layout virtualbox shortcut-keys guest-additions
看来我已经受够了;也许它不是自动交换安装?
任何有关让休眠工作的帮助表示赞赏。

16.04 ×2
apt ×2
virtualbox ×2
11.10 ×1
16.10 ×1
audio-jack ×1
dbus ×1
dependencies ×1
drivers ×1
etc ×1
g++ ×1
gcc ×1
grub2 ×1
hibernate ×1
installation ×1
mbr ×1
modprobe ×1
permissions ×1
sound ×1
support ×1
suspend ×1
swap ×1
updates ×1
upgrade ×1
vnc ×1