编辑:我在下面为 Ubuntu 20.04 LTS 和 CUDA 11.1.1 添加了一个新答案。见下文。
我有一个带有 NVIDIA 卡的系统,与https://developer.nvidia.com/cuda-gpus相比,它的计算支持为 3.5+ 。如何在不从 NVIDIA 下载 .deb 文件的情况下在 Ubuntu 中安装 CUDA 和 NVIDIA 驱动程序?
2019-01-09 更新: 请参阅下面的答案,因为有一种方法可以使用 CUPS 2.2.8 解决此问题。
2020 年 10 月 17 日更新: 从 18.04 LTS 升级到 20.04 LTS 将修复它,因为它将 CUPS 的版本从 2.2.7(包含错误)升级到没有错误的 2.3.1 版本。由于某些用户现在可能无法升级到 20.04 LTS,这对 18.04 LTS 用户仍然非常有效。
我在这个系统上安装了干净的 Ubuntu 18.04 LTS。当我尝试通过 Chrome 浏览器中 http://localhost:631 的 CUPS 2.2.7 地址添加打印机时,我无法添加打印机,因为我一直处于未授权状态。它从不要求登录。如何使用 Google Chrome 通过 CUPS 添加我的打印机?
顺便说一句,到目前为止,Firefox、Chromium 和其他浏览器似乎可以很好地在 CUPS 2.2.7 中添加打印机。这似乎是 CUPS 2.2.7 和 Google Chrome 之间的错误。
我已升级到 ubuntu 18.04 LTS,但显示亮度控制不起作用。亮度似乎处于最低水平,我根本无法更改显示亮度。它正在开发 16.04 LTS。我的笔记本电脑使用英特尔显卡。
我试图通过usr/share/X11/xorg.conf.d/20-intel.conf使用以下内容创建文件 / 来解决这个问题。它第一次工作,但在重新启动后它仍然回到以前的问题。
Section "Device"
Identifier "card0"
Driver "intel"
Option "Backlight" "intel_backlight"
BusID "PCI:0:2:0"
EndSection
Run Code Online (Sandbox Code Playgroud)
我能做什么?
16.4 Ubuntu
apt-get update
W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Operation not permitted)
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
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?
Run Code Online (Sandbox Code Playgroud) 我在 Ubuntu 16 上,我正在尝试修复我的启动磁盘。我已按照此处的说明进行操作,但是一旦我处于恢复模式的 root 访问权限,它仍然说磁盘已安装且无法运行。如果我尝试sudo fsck -f /dev/sda3,它只会回复:
fsck from util-linux. 有谁知道为什么它会这样做?根据这个问题,fsck报这个命令的时候,就得用fsck.ext4了。但是,当我这样做时,我仍然收到有关正在使用的卷的消息。
我看到在 Ubuntu 18 上还有另一个问题,但没有答案。
大多数答案都建议使用 Live Disk,但 Etcher 目前不在 MacOS 上运行,从恢复命令提示符完成此操作肯定不是不合理的。
这是戴尔 Inspiron 笔记本电脑上的香草 Ubuntu 安装。
执行umount /dev/sda3让我“/dev/sda3 未安装”。
执行fsck.ext4 -f /dev/sda3给我“/dev/sda3 正在使用中”。
lsblk /dev/sda 的输出给出:
sda disk
sda2 part
sda3 part
ubuntu--vg-root lvm /
sda1 part
Run Code Online (Sandbox Code Playgroud)
(显然,我是在另一台计算机上输入的)我省略了尺寸,希望很清楚。
我也试过了umount -lf /。这样做之后,当我运行时fsck,我收到一条消息,指出由于缺少 mtab 文件,它无法检查文件系统是否已安装。
我喜欢 18.04 的安装,我也经常使用 Blender3d。我需要 CUDA 工具包才能使用我的 GPU 而不是我的 CPU 进行渲染。
我已经读到,获得正确的工具包至关重要,否则可能会遇到一些非常糟糕的问题。只是想确认它可用于 Ubuntu 18.04。
另外,从哪里得到它并确认它是正确的?
谢谢
Xubuntu 18.04 和现在 20.04 的 xfce4-weather-plugin 已停止工作并显示“无数据”。
我正在尝试为自己安装 gnome 调整工具,但从未找到它!
谢谢你的帮助 :)
安慰:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package gnome-tweak-tool is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'gnome-tweak-tool' has no installation candidate
Run Code Online (Sandbox Code Playgroud) 这是我最近发现的一个问答,所以我在下面发布了答案。
安装 Windows 10 后,每次我获得内核更新或运行update-grub2它时,它总是显示Windows 7或Windows Recovery Environment代替Windows 10. 我如何永久解决这个问题?
如何通过命令行在 Linux 18.04 上安装 Filezilla,请帮忙。
sudo sh -c 'echo "deb http://archive.getdeb.net/ubuntu xenial-getdeb apps" >> /etc/apt/sources.list.d/getdeb.list'
wget -q -O - http://archive.getdeb.net/getdeb-archive.key | sudo apt-key add -
sudo apt update
sudo apt install filezilla
Run Code Online (Sandbox Code Playgroud)
运行 sudo apt-get update 时出现此错误
Hit:8 https://download.sublimetext.com apt/stable/ InRelease
Err:3 http://www.getdeb.net/ubuntu yakkety-getdeb InRelease
403 Forbidden [IP: 143.95.32.90 80]
Err:9 http://ppa.launchpad.net/adabbas/1stppa/ubuntu bionic Release
404 Not Found [IP: 91.189.95.83 80]
E: Failed to fetch http://archive.getdeb.net/ubuntu/dists/yakkety-getdeb/InRelease 403 Forbidden [IP: 143.95.32.90 80]
E: The repository 'http://ppa.launchpad.net/n-muench/programs-ppa/ubuntu bionic Release' does not have a …Run Code Online (Sandbox Code Playgroud)