小编Bea*_*nog的帖子

“你想继续[是/否]吗?” 为什么是大写?

我是 Ubuntu 的新手,一些小事开始困扰我。当我尝试安装程序时,Ubuntu 会询问:

Do you want to continue[Y/n]?
Run Code Online (Sandbox Code Playgroud)

困扰我的是为什么字母Y是大写和n小写。无论我输入什么情况,它都不会改变结果:它要么继续,要么不继续。

他们有什么重要的理由为什么一个高而后者低吗?他们是不是要通知我们,我们可以同时输入两者,并且不会改变任何内容?

apt

54
推荐指数
2
解决办法
9906
查看次数

如何修复“分区未在物理扇区边界上启动”警告?

我的笔记本电脑上有一个硬盘驱动器,有两个分区(一个安装了 Ubuntu 12.04 的 ext3 和一个交换分区)。

fdisk 给我以下警告:

Partition 1 does not start on physical sector boundary
Run Code Online (Sandbox Code Playgroud)

是什么原因,我需要修复它吗?如果是这样,如何?


这是sudo fdisk -l

Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 testine, 63 settori/tracce, 91201 cilindri, totale 1465149168 settori
Unità = settori di 1 * 512 = 512 byte
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Identificativo disco: 0x5a25087f

Dispositivo Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63  1448577023   724288480+  83 …
Run Code Online (Sandbox Code Playgroud)

partitioning gparted hard-drive

53
推荐指数
4
解决办法
26万
查看次数

在 GIMP 中将新创建的文本居中?

创建一些文本后,如何将其居中?我不是在谈论文本框内的文本对齐方式。

gimp

52
推荐指数
1
解决办法
9万
查看次数

通知发送忽略超时?

也许我做错了什么,但命令不应该(单独运行)

notify-send -t 1 "test"
notify-send -t 1000 "test"
notify-send -t 10000 "test"
Run Code Online (Sandbox Code Playgroud)

有不同的超时?第一个几乎是瞬时的,第二个需要 1 秒,第三个需要 10 秒?在所有情况下,我似乎需要大约六秒钟。

有没有办法解决这种行为?由于开发人员将其标记为“功能”而不是错误,因此我想要一些替代方案。

libnotify notify-osd

51
推荐指数
2
解决办法
2万
查看次数

curl 不适用于 Ubuntu 18.04 LTS

我无法使用`curl 从网络获取内容。我尝试安装它并得到以下输出:

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
 curl : Depends: libcurl4 (= 7.58.0-2ubuntu3) but it is not going to be installed
E: Unable to correct problems, you have held broken packages. …
Run Code Online (Sandbox Code Playgroud)

package-management apt dependencies curl php7

45
推荐指数
1
解决办法
6万
查看次数

“Ubuntu 内核”是什么意思?

我的想法是所有 Linux 发行版都使用一种内核(由 Linus Torvalds 开发的内核)。

那么为什么所有的 Linux 发行版都有自己的内核呢?

system kernel

44
推荐指数
3
解决办法
7661
查看次数

22.04 中出现“尽管 GNOME Shell 集成扩展正在运行,但未检测到本机主机连接器”错误

我将系统从 Ubuntu 20.04 LTS 升级到 22.04 LTS,现在我在GNOME Shell 扩展网页上遇到此错误:

显示错误的图像

这个问题在之前的版本中已经解决了,我尝试过以下解决方案:

然而,它们似乎不再起作用了。

我怎样才能解决这个问题?

firefox gnome-shell-extension gnome-shell 22.04

42
推荐指数
2
解决办法
6万
查看次数

Ubuntu 22.04LTS 中的 grub-efi-amd64-signed 依赖问题

标准apt-get upgrade并重新启动后,当我尝试apt-get upgrade在 22.04 LTS 中运行时,出现以下错误:

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 grub-efi-amd64-signed : Depends: grub-efi-amd64-bin (= 2.06-2ubuntu7) but 2.06-2ubuntu10 is to be installed
E: Broken packages
Run Code Online (Sandbox Code Playgroud)

这里发生了什么?

package-management apt grub2 dependencies 22.04

41
推荐指数
3
解决办法
3万
查看次数

38
推荐指数
2
解决办法
9万
查看次数

Ubuntu 20.04 多路径配置

我刚刚在 esx-Server 上安装了一个新的 Ubuntu 20.04 服务器作为虚拟机。当我查看时,systemlog我看到很多多路径条目。

multipathd[651]: sda: add missing path
multipathd[651]: sda: failed to get udev uid: Invalid argument
multipathd[651]: sda: failed to get sysfs uid: Invalid argument
multipathd[651]: sda: failed to get sgio uid: No such file or directory
multipathd[651]: sda: add missing path
multipathd[651]: sda: failed to get udev uid: Invalid argument
multipathd[651]: sda: failed to get sysfs uid: Invalid argument
multipathd[651]: sda: failed to get sgio uid: No such file or directory
Run Code Online (Sandbox Code Playgroud)

我认为只是没有配置多路径,我的问题是我是否可以禁用多路径。由于我在几个 Ubuntu …

server multipath 20.04

38
推荐指数
3
解决办法
5万
查看次数