Ubuntu

Ubuntu用户和开发人员的问答





2
在更新过程中,appstreamcli挂起了100%CPU使用率
appstreamcli不断使用100%的内核会导致笔记本电脑过热。我唯一的解决方案是杀死它。这是截图top: 我可以appstreamcli用或杀死。但是一旦完成,该过程将再次返回并挂起更新。如果然后杀死它,则会得到以下输出:sudo kill pidsudo killall appstreamclisudo apt updateappstreamcli Reading package lists... Done E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh > /dev/null; fi' E: Sub-process returned an error code 这个过程是什么?为什么要使用这么多的CPU?

7
将命令行上的键盘布局(英语(英国))更改为英语(美国)
我正在使用Ubuntu 12.04。键盘布局在所有地方都为英语US,但在命令行中使用英语UK的除外。航站楼也有英文US。如何将命令行中的默认键盘布局更改为English US? 另外,我认为在这里可能值得注意,当我安装Ubuntu(Windows 8双启动)时,最初将语言设置为English UK,但后来从系统设置中将其更改为English US。

11
卸载Grub并使用Windows Bootloader
我预先安装了Windows 8,然后在Ubuntu中安装了Grub。Ubuntu不是我的事,所以现在我想将其与grub一起删除。据我了解,使用UEFI,Grub不会覆盖EFI分区中的Windows引导程序,而是存储在其他位置。如何删除grub并使我的PC使用Windows引导程序?应该注意的是,我在安装Ubuntu时创建了一个单独的/ boot分区。

5
术语,Xterm或Uxterm?
我是普通家庭用户,但有时仍使用终端来完成简单的任务。当我统一键入“ terminal”时,它为我提供了三个选择-但是有什么区别?我讨厌总是随机选择并思考自己的所作所为。




5
Windows 10升级导致抢救
我在台式机上双启动Windows 7和Linux Ubuntu,今天是他们免费提供Windows 10升级的日子。多么激动人心!我得到了更新,并且正在安装中,我去睡了30分钟。但是,当我回到计算机时,它引导我进入grub救援提示。 error: no such partition. Entering rescue mode... grub rescue> 键入时得到以下内容ls: grub rescue> ls (hd0) (hd0,msdos5) (hd0,msdos3) (hd0,msdos2) (hd0,msdos1) 快速浏览遇到grub救援提示的人员后,我输入set并得到以下内容 grub rescue> set cmdpath=(hd0) prefix=(hd0,msdos6)/boot/grub root=hd0,msdos6 在发现某些命令normal无法正常工作之后,我仍然迷失了自己,然后我找到了一个视频教程,您可以从中从Linux映像cd引导并在终端上运行一些命令。幸运的是,我随身携带了CD,并从那里启动。sudo fdisk -l但是,当我在终端输入时,这就是我得到的: ubuntu@ubuntu:~$ sudo fdisk -l Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 …

5
Apache:由于缺少搜索权限,访问被拒绝
我知道这个问题经常被问到,但是我看到的解决方案对我没有用。 我只启用了一个虚拟主机,并且试图启用对不在文档根目录下的文件夹的访问 ServerAdmin webmaster@localhost DocumentRoot /var/www/html Alias /movies /home/username/Videos/Movies <Directory /home/username/Videos/Movies/> Options Indexes FollowSymLinks AllowOverride None Require all granted </Directory> 我设定/etc/apache2/envvars如下 export APACHE_RUN_USER=www-data export APACHE_RUN_GROUP=public 我确保/ home / username / Videos /及其子文件夹归所有者所有username:public,将权限设置为777(在775不起作用之后),并确保该用户www-data属于group public。 现在,当我浏览到http://localhost/movies我得到 [Mon Apr 21 11:28:14.971844 2014] [core:error] [pid 1385:tid 140067725104896] (13)Permission denied: [client 127.0.0.1:46603] AH00035: access to …

4
更新initramfs时出现“ W:模块i915_bpo可能缺少固件”
当我在16.04上运行内核或NVIDIA驱动程序更新时,这会触发initramfs重建,并输出以下警告: Processing triggers for initramfs-tools (0.122ubuntu8.1) ... update-initramfs: Generating /boot/initrd.img-4.4.0-34-generic W: Possible missing firmware /lib/firmware/i915/skl_guc_ver6.bin for module i915_bpo 我有一个带有两个图形芯片的笔记本电脑,一个NVIDIA GeForce 940M和一个英特尔i5-6200U的集成显卡。 使用的设备是我的NVIDIA卡: $ inxi -G Graphics: Card-1: Intel Sky Lake Integrated Graphics Card-2: NVIDIA GM108M [GeForce 940M] Display Server: X.Org 1.18.3 driver: nvidia Resolution: 1920x1080@60.03hz GLX Renderer: GeForce 940M/PCIe/SSE2 GLX …


By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.