Questions tagged «debian»

有关Debian官方发行版的问题(稳定,测试或不稳定);如果您使用的是Debian的衍生产品(例如Mint,Ubuntu,Kali等),请改用该发行版的标签。


4
Debian测试还是Debian Sid?
我目前正在下载Debian 6 DVD。 我不想使用Stable,我想使用Testing或Sid,但是我不知道哪一个对我更好。 席德真的不稳定吗?是否像Arch一样进行最新测试?还是像非滚动发行版? 谢谢
13 debian 

3
Grub安装失败
我的Debian Jessie的安装运行良好,但随后运行了apt-get update && apt-get upgrade && apt-get dist-upgrade。 然后重新启动后,它直接进入BIOS。我意识到Grub不见了,所以我运行了一个cd并进入Rescue mode,安装了我的根分区,再加上了启动分区并运行了以下命令: Grub找到了Linux映像: root@debian:~# update-grub Generating grub configuration file ... Found background image: /usr/share/images/desktop-base/desktop-grub.png Found linux image: /boot/vmlinuz-4.9.0-3-amd64 Found initrd image: /boot/initrd.img-4.9.0-3-amd64 Found linux image: /boot/vmlinuz-4.9.0-0.bpo.3-amd64 Found initrd image: /boot/initrd.img-4.9.0-0.bpo.3-amd64 Found linux image: /boot/vmlinuz-3.16.0-4-amd64 Found initrd image: /boot/initrd.img-3.16.0-4-amd64 Found Ubuntu 16.10 …
13 debian  boot  grub2  uefi 


3
如何在Chromium上正确显示汉字
当我使用Iceweasel(Firefox的Debian版本)时,可以在此页面上看到中文字符,但在使用Chromium时看不到中文字符。相反,我看到了矩形。这是在Debian 7(Wheezy)上。
13 debian  fonts 

7
bash遍历字符串列表
是否可以格式化此样本: for i in string1 string2 stringN do echo $i done 类似于以下内容: for i in string1 string2 stringN do echo $i done 编辑:对不起,混乱,并没有意识到,有执行脚本的不同方法-上海<scriptname>与bash <scriptname>和也这件事情,我现在不能名字- #!/bin/sh和#!/bin/bash:)

1
无法使Intel HD 5500图形与Debian一起使用
我正在使用Debian 8,但似乎没有使用集成显卡。 这是在使用HD 5500集成显卡的Asus Zenbook UX303上: $ sudo lspci -vnn | grep VGA -A 12 00:02.0 VGA compatible controller [0300]: Intel Corporation Broadwell-U Integrated Graphics [8086:1616] (rev 09) (prog-if 00 [VGA controller]) Subsystem: ASUSTeK Computer Inc. Device [1043:183d] Flags: bus master, fast devsel, latency 0, IRQ 64 Memory at f6000000 …

2
autoreconf失败,并显示“无法执行“ libtoolize””
我想学习自动工具,所以我才开始在YouTube上观看一些教程。 我创建了一个名为的文件夹hello,然后创建了一个configure.ac文件: AC_INIT([hello],[.01]) AC_OUTPUT 我保存它然后跑了autoreconf -i。显然,由于未安装,因此第一次无法使用。然后我autoconf通过命令安装了sudo apt-get install autoconf2.13。 现在,在此之后,我再次运行了autoreconf -i,但是现在却出现了如下所示的错误: Can't exec "libtoolize": No such file or directory at /usr/bin/autoreconf2.50 line 196. Use of uninitialized value in pattern match (m//) at /usr/bin/autoreconf2.50 line 196.
12 debian  autoconf 

1
为什么在“ apt install”之后我的Debian 9(Stretch)Linux内核没有得到升级?
我在本月的大部分时间中尝试安装,重新安装,手动删除,以及将最新的linux-image-4.9.0-8(或以下版本)重新安装到我的Debian 9(Stretch)上,但是它将始终(重新)引导错误版本的Linux 3.16.0-5。 我什至删除了整个/boot目录内容,然后重新安装。 我有一个标准的Debian 9安装到/dev/sda驱动器,其中/dev/sda1是/boot独立的分区。 我的清单: 检查了《Debian管理手册》。 硬件中没有UEFI引导程序 在中关闭imageramfs选项 /etc/kernel-img.conf 没有花哨的内核模块(甚至没有NVIDIA和ATI) 正确使用apt代替apt-get 这是我遇到的一个难题系统。 最新的目录/boot是: $ ls -lat /boot total 106000 drwxr-xr-x 23 root root 4096 Jan 17 12:25 .. drwxr-xr-x 2 root root 4096 Jan 17 12:17 grub drwxr-xr-x 3 root root 4096 Jan 17 12:17 . -rw-r--r-- 1 …

4
在2018年仍然可以安装Debian 5吗?
我想在旧PC上安装Debian 5,因为我希望Debian 5的内核在这台计算机上能更好地工作。 我从下载了netinstall ISO,debian.org然后尝试将其安装在Virtualbox计算机上。我收到此错误:Bad mirror。我将镜像更改archive.debian.org为主机名,然后/debian/问题得到解决。 我现在的问题是安装卡在Please wait...的屏幕上Select and install(恰好在选择要安装的内容之后-仅Standard System-13%)。 我没有任何错误。我也不知道如何检查日志或其他是否存在的日志。 当我按CTRL+ ALT+时F4,我在屏幕上看到以下内容: > sep 14 15:36:00 in-target: You should only proceed with the installation if you re certain that > sep 14 15:36:00 in-target: this is what you want to do. > sep 14 15:36:00 in-target: > sep …

2
如何在Debian中阻止cron作业在特定时间内运行?(“游戏” /“表演模式”)
它看起来像我已经Logcheck的设置为一个cron作业,每当它的运行过程中grep通过logcheck各地占用¼我的CPU。 现在,在某些时候我需要我的全部CPU容量,并且让我的系统占用尽可能少的资源,除了特定的/进程(我可能会以某种方式指定)之外。 是否可以将带有KDE机器的Debian 9.1设置为某种性能模式(或“游戏模式”),以防止用户未明确启动的进程占用大量系统资源,降低了后台进程的负载,最重要的是:延迟cron作业,直到再次停止该模式?

2
LVM根不断增长
我尝试使用以下方法扩展我的LVM(在luks上)根分区 lvresize -L +5G -r /dev/vg/lv-root 并发现文件系统不会因为挂载而增长。现在我发现了 https://ubuntuforums.org/showthread.php?t=1537569 那说我应该从别的东西引导,然后做 resize2fs /dev/vg/lv-root <size> 我的问题是:我可以忽略大小,而仅让文件系统填充分区(之前已成功扩展)吗?我会尝试的,但是担心会把事情弄糟。使用(最新的)Arch,文件系统是ext4。
12 linux  debian  lvm 


2
bluez:断开连接后,蓝牙耳机无法重新连接
我可以将蓝牙耳机与笔记本电脑配对一次。但是,当我断开耳机的连接时,无法再次连接。它唯一有效的方法是重新启动蓝牙守护程序: service bluetooth restart 当我这样做时,我在日志中看到以下内容: bluetoothd: Terminating bluetoothd: Stopping hci0 event socket bluetoothd: Stopping SDP server bluetoothd: Exit bluetoothd: Bluetooth daemon 4.99 bluetoothd: Starting SDP server bluetoothd: Excluding (conf) network bluetoothd: Excluding (conf) gatt_example bluetoothd: Excluding (conf) time bluetoothd: Excluding (conf) alert bluetoothd: Failed to open RFKILL control device bluetoothd: …

6
在安装前积极fsck磁盘
我有一台旧的HP Athlon机器,用于在旧处理器下测试软件。我们经常出现电源不足的情况,在最后一个电源耗尽之后,磁盘一片混乱。太糟糕了,我无法运行fsck并分发所有问题。我执行了全新的操作系统安装,但仍然收到fsck投诉。 我想最后一次尝试重新加载Linux,然后再谴责硬盘或计算机。在创建文件系统之后但在安装之前,我希望fsck执行一次激进的操作以将可疑块标记为坏块。 磁盘很大(大约500 GB),而Debian 8发行版相对较小(通常8-12 GB绰绰有余),所以我不在乎好块是否被标记为坏块。我也喜欢GUI安装,但是我还没有结婚。 我有两个问题: Debian 8是否提供选择fsck在安装基本系统之前执行?如果是这样,它在哪里?如果没有,那么流程是什么? 是否fsck有设置来控制将块标记为不良的积极程度?如果是这样,那是什么?如果没有,那可以用什么呢? 编辑:该机器是HP5850。进入BIOS,导航至“存储”,然后进行驱动器保护系统(DPS)自检,DPS建议更换驱动器。DPS没有提供任何统计数据,所以我不确定造成的损害程度。 考虑到我可以花12美元购买一个[旧的]新SATA II驱动器,我将更换它。浪费时间或精力是没有意义的。 相关参考文献如下。这两个问题似乎都没有解决。 fsck 手册页 第6章使用Debian安装程序| 6.3。使用单个组件

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.