第一次尝试 Ubuntu 并且无法识别无线。有人可以指点我如何安装无线驱动程序吗?它是英特尔双频无线 - AC 3165。谢谢!
kevin@kevin-HP-Pavilion-Notebook:~$ uname -r
3.19.0-25-generic
kevin@kevin-HP-Pavilion-Notebook:~$ dmesg | grep iwl
[ 6.436555] iwlwifi 0000:08:00.0: Unsupported splx structure
[ 6.494627] iwlwifi 0000:08:00.0: Direct firmware load for iwlwifi-3165-12.ucode failed with error -2
[ 6.494641] iwlwifi 0000:08:00.0: Direct firmware load for iwlwifi-3165-11.ucode failed with error -2
[ 6.494649] iwlwifi 0000:08:00.0: Direct firmware load for iwlwifi-3165-10.ucode failed with error -2
[ 6.494651] iwlwifi 0000:08:00.0: request for firmware file 'iwlwifi-3165-10.ucode' failed.
[ 6.494659] iwlwifi 0000:08:00.0: Direct firmware load for iwlwifi-3165-9.ucode …Run Code Online (Sandbox Code Playgroud) 我想安装和使用mdm了lightdm与肉桂。
我已经安装了mdm,但gksudo mdmsetup只是打开了一个请求身份验证的对话,然后立即退出并显示代码1。任何系统日志中都没有任何内容。
我是否缺少软件包,还是应该手动配置?
以下是评论中要求的结果:
$ uname -a
Linux mint-kitty 4.2.0-24-generic #29-Ubuntu 15.10 SMP Mon Jan 11 18:00:07 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
$ apt-cache policy mdm
mdm:
Installed: 0.1.3-2.1
Candidate: 0.1.3-2.1
Version table:
*** 0.1.3-2.1 0
500 http://us.archive.ubuntu.com/ubuntu/ wily/universe amd64 Packages
100 /var/lib/dpkg/status
$ which mdmsetup
process terminated with exit status 2
Run Code Online (Sandbox Code Playgroud) 我正在尝试在我的 VMWare Workstation 12 上安装 Ubuntu 64 位。我已经在我的桌面上完成了这个。问题是当我尝试在我的笔记本电脑上安装它时,我看不到下一个按钮。下一个按钮在我的桌面上也只是部分可见。我被困在“你是谁”的部分。
我刚刚安装了 Lubuntu,然后在它上面放了 Cinnamon。每次我登录任何会话时:gnome、cinnamon、lxde 都会abiword立即打开,就好像我已经告诉过它一样。
我至少不喜欢这个,但更烦人的是:
$ apt purge abiword
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
abiword* lubuntu-desktop*
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 5,027 kB disk space will be freed.
Do you want to continue? [Y/n] ^C
$ apt remove abiword
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will …Run Code Online (Sandbox Code Playgroud) 从 Live USB,并且不使用已安装的 Ubuntu 程序,如dpkg、dpkg-query、dselect、aptitude、apt-get、 或任何其他程序(因为它们都已损坏Illegal instruction),我如何读取软件包列表 apt,作为列表以便对已安装的软件包进行编目,稍后重新安装?
Reading package lists... Done
Building dependency tree
Reading state information... Done
Run Code Online (Sandbox Code Playgroud)
本地包数据库在哪里?几乎是一个完美的答案:
/var/lib/dpkg/status如果您更改软件包的状态,即安装它,删除它,将其标记为某些操作,则由 dpkg 修改,...
我不想只列出“已更改”的包,还想列出依赖的包、系统的整个状态等。它包含在吗dpkg/status?
Package:条目;在目标系统上它有 3600 个Package:条目,而在 Live USB 上它只有 2000 个条目。听起来不错,但我担心它没有列出所有软件包。我不是在寻找下载的.deb缓存,也不是在寻找保存临时数据文件的cachefor dpkg/ apt- 这些不会提供完整的系统状态。
/var/lib/apt/lists似乎包含包源和包的列表,这几乎是完美的,除了从中获取包名称列表涉及大量解析之外。这是最好的选择吗?
该文件/var/cache/apt/pkgcache.bin存在,但由于它是生成的二进制文件,我认为将其复制到全新安装就足够了。
我正在运行 Ubuntu 服务器 16.04,我通过 SSH 进入。
我正在寻找一种方法让 watch 命令监控多个事情但遇到问题。
我有一个工作功能可以监控我的 CPU 和 GPU 温度,如下所示。
temps() {
watch -d -n1 'sensors coretemp-isa-0000 nouveau-pci-0100'
}
Run Code Online (Sandbox Code Playgroud)
这给我这个输出效果很好。
coretemp-isa-0000
Adapter: ISA adapter
Core 0: +35.0c
Core 1: +33.0c
Core 2: +33.0c
Core 3: +34.0c
nouveau-pci-0100
Adapter: PCI adapter
GPU core: +0.86 V
fan1: 780 RPM
Temp1: +41.0c
Power1: 13.26 W
Run Code Online (Sandbox Code Playgroud)
我也有这个功能可以监控 CPU MHz..
mhz() {
watch -d -n1 'cat /proc/cpuinfo | grep "MHz"'
}
Run Code Online (Sandbox Code Playgroud)
这本身也很好用,给我这个输出
cpu MHz :1600.001
cpu MHz :1600.001
cpu MHz :1600.001 …Run Code Online (Sandbox Code Playgroud) 我想用 GTK 库编译Pike。为此,我需要gtk安装标头。
$ tee test.cpp test.c
#include<gtk/gtk.h>
#include<gtk/gtk.h>
$ g++ test.cpp; gcc test.c
test.cpp:1:21: fatal error: gtk/gtk.h: No such file or directory
compilation terminated.
test.c:1:21: fatal error: gtk/gtk.h: No such file or directory
compilation terminated.
Run Code Online (Sandbox Code Playgroud)
我环顾四周,找到了要安装的软件包。
$ apt install libgtk-3-dev libgtk2.0-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libgtk2.0-dev is already the newest version.
libgtk-3-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not …Run Code Online (Sandbox Code Playgroud) 通过切换到我的 C 程序的目录并以./. 但是,我不确定为什么更改到目录然后键入sh [Program Name]会出现此错误:
Fortune_Teller_5000: 1: Fortune_Teller_5000: Syntax error: "(" unexpected
Run Code Online (Sandbox Code Playgroud)
和:
./Fortune_Teller_5000: 1: ./Fortune_Teller_5000: Syntax error: "(" unexpected
Run Code Online (Sandbox Code Playgroud)
我在 bash 手册页中读到该sh命令是一个不读取.bashrc文件的 shell ,所以我有点困惑为什么我不能用它来运行我制作的程序。我确实根据 HP Linux Imaging and Printing 页面上的说明使用它来安装我的打印机驱动程序。
我在 Ubuntu 16.04 上使用 BlechBit 1.10 从两个磁盘中删除了文件。是否有可能恢复所有文件?
我从 Rhythmbox 中删除了一集播客,因为它没有正确下载,但现在 Rhythmbox 拒绝同意该剧集曾经存在过,即使在重新添加提要之后也是如此。
这可能是一个错误,但是否有配置文件或我可以编辑或删除的内容以使 Rhythmbox 停止忽略这一集?
我跑了apt-get build-dep wine1.6,因为我想安装wine但是apt install wine1.6说太多包没有安装。
下载构建依赖项后,由于配置失败而dpkg返回错误。isdnlog我运行它给出了类似于以下内容的内容,这是(TL;DR 只是很多依赖项)的dpkg --configure -a结果输出:apt install -f
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
33 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up python-scour (0.26-3ubuntu1) ...
Traceback (most recent call last):
File "/usr/bin/pycompile", line 35, in
from debpython.version …Run Code Online (Sandbox Code Playgroud) 我刚刚将安全启动前、UEFI* 前的 Toshiba 2012 Satellite P755-S5390笔记本电脑从 15.10 更新到 16.04。在15.10中,无线适配器工作正常。现在,Ubuntu 拒绝承认我的笔记本电脑有无线接口。我已重新启动多次,执行以下操作:
apt install flashrom librtlsdr* nictools* r8168-dkms rtl-sdr rtl8812*
Run Code Online (Sandbox Code Playgroud)
这似乎很成功,而我在网上找到的许多其他东西都无济于事。Additional Drivers的屏幕有Software and Updates一个条目,它声称该条目是unknown或not working correctly。
Network Settings是一个简短的条目(在左侧,曾经有一个“Wifi”设备左右):
(在你问之前,不,小加号没有帮助。)
我发现这篇文章中的用户遇到了类似的问题,并且他们发布了来自大量命令的大量数据,因此我将在这里执行相同的操作。
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04 LTS
Release: 16.04
Codename: xenial
$ uname -a
Linux mint-kitty 4.2.0-36-generic #41-Ubuntu SMP
Mon Apr 18 15:49:10 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
$ lspci
00:00.0 …Run Code Online (Sandbox Code Playgroud)