我想尝试 btrfs 文件系统中的一些新功能,为此我需要使用比 Ubuntu 12.04 中包含的内核更新的内核。要做到这一点,我已经安装linux-headers-3.4.0-030400_3.4.0-030400.201205210521_all.deb
,linux-headers-3.4.0-030400-generic_3.4.0-030400.201205210521_amd64.deb
以及linux-image-3.4.0-030400-generic_3.4.0-030400.201205210521_amd64.deb
从主线内核下载这里。
但是,在重新启动到 3.4 内核时,我的桌面卡在非常低的分辨率下,我无法将其增加到最大。当我第一次安装时确实发生了这种情况,但是一个简单的nvidia-current
软件包安装让我的 GTX570 卡一切正常。我安装内核时似乎出现了一些 DKMS 错误,他们表示我应该查看/var/lib/dkms/nvidia-current/295.40/build/make.log
:
josh@sirius:~/Downloads$ sudo dpkg -i linux-*.deb
Selecting previously unselected package linux-headers-3.4.0-030400.
(Reading database ... 309400 files and directories currently installed.)
Unpacking linux-headers-3.4.0-030400 (from linux-headers-3.4.0-030400_3.4.0-030400.201205210521_all.deb) ...
Selecting previously unselected package linux-headers-3.4.0-030400-generic.
Unpacking linux-headers-3.4.0-030400-generic (from linux-headers-3.4.0-030400-generic_3.4.0-030400.201205210521_amd64.deb) ...
Selecting previously unselected package linux-image-3.4.0-030400-generic.
Unpacking linux-image-3.4.0-030400-generic (from linux-image-3.4.0-030400-generic_3.4.0-030400.201205210521_amd64.deb) ...
Done.
Setting up linux-headers-3.4.0-030400 (3.4.0-030400.201205210521) ...
Setting up linux-headers-3.4.0-030400-generic (3.4.0-030400.201205210521) ... …
Run Code Online (Sandbox Code Playgroud) 我目前正在使用 Unity,并发现它总体上非常好。然而,Dash 对我来说并不是特别有用,我想设置按下 BFB 时的默认操作(它仍然叫那个?)来打开文档镜头,因为这通常对我来说是最有用的。
我有几个脚本,我计划在 cron 中运行一段时间。大约一周前,他们停止运行(非常基本的)日志记录,而且我注意到我的墙纸不再旋转。
josh@sirius:~$ crontab -l
# m h dom mon dow command
0 * * * * /bin/bash /home/josh/bin/rotate-wallpaper
*/30 * * * * /bin/bash /home/josh/bin/download-programmes
* * * * * echo "I ran" > /home/josh/cronstamp
Run Code Online (Sandbox Code Playgroud)
前两个命令都没有运行,但~/cronstamp
文件确实按预期创建和写入。
我最近安装的 Ubuntu 系统当前存在 command-not-found 钩子问题:
josh@sirius:~$ invalid-command
Unable to open binary database /usr/share/command-not-found/programs.d/i386-main.db: File read error
Unable to open binary database /usr/share/command-not-found/programs.d/i386-multiverse.db: File read error
Unable to open binary database /usr/share/command-not-found/programs.d/i386-restricted.db: File read error
Unable to open binary database /usr/share/command-not-found/programs.d/i386-universe.db: File read error
invalid-command: command not found
Run Code Online (Sandbox Code Playgroud)
我试过重新安装和dpkg-reconfigure
ing 两者,command-not-found{,-data}
但这些似乎没有修复它。删除这些文件是否安全,或者我是否必须运行一些程序来重新创建它们?我应该补充一点,这最初是一个 32 位安装,我在没有格式化磁盘的情况下用 64 位重新安装。
12.04 ×1
bash ×1
command-line ×1
cron ×1
dkms ×1
kernel ×1
lenses ×1
nvidia ×1
unity ×1
unity-dash ×1