问题列表 - 第6751页

是否可以在不启动安装程序的情况下安装 Ubuntu Server?

我有一个家庭服务器,我计划从 USB 驱动器启动(不是实时 USB,而是永久安装到 USB 驱动器)。创建永久安装 USB 驱动器的通常过程是这样的:您使用两个 USB 驱动器。一个是您启动的实时 USB,然后您可以使用它来将操作系统安装到另一个上,就像它是普通驱动器一样。

是否可以跳过中间商直接创建永久安装?我可以在现有安装中(而不是在实时 USB 环境中)将安装程序作为 CLI 应用程序运行吗?

这可能是一个 XY 问题,在这种情况下,我将不胜感激任何指向更好解决方案的指示!我的用例是我想尽可能自动化我的设置。理想情况下,我有一个脚本可以在驱动器上创建完整安装,而无需任何手动干预。

system-installation usb-installation

5
推荐指数
1
解决办法
334
查看次数

从命令行下载 mega.nz 文件

我有一个大型公共URL,我想在ubuntu命令行中下载它,文件有5 GB。谢谢。

mega

4
推荐指数
1
解决办法
3411
查看次数

2023 年是否有基于 Ubuntu 且带有 LXDE 的发行版?

我知道基于 Focal 的 LXLE,而且我知道 Lubuntu 几年前就停止使用 LXDE 作为其标准桌面。我还认识到可以安装 LXDE 以与任何基于 Ubuntu 的发行版一起使用。我\xe2\x80\x99m 很好奇是否还有其他发行版的标准安装使用 LXDE(就像 Lubuntu 过去所做的那样)。

\n

lxde

1
推荐指数
1
解决办法
243
查看次数

如何在 aptsources.list 中使用多个选项?

使用Ubuntu 22.04。我按照他们的官方手册添加了nodejs存储库。然而,当我这样做时,我得到:sudo apt update

N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://deb.nodesource.com/node_20.x nodistro InRelease' doesn't support architecture 'i386'
Run Code Online (Sandbox Code Playgroud)

我做了一些研究并解决这个问题,我必须添加[arch=amd64]选项/etc/apt/sources.list.d/nodesource.list。但是,当我打开文件时,源已经有一个选项:

[signed-by=/etc/apt/keyrings/nodesource.gpg]
Run Code Online (Sandbox Code Playgroud)

如何在apts中使用多个选项值sources.list

我尝试用,(逗号)分隔它们,但这不起作用:

deb [arch=amd64,signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main
Run Code Online (Sandbox Code Playgroud)

package-management apt repository

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

登录密码是保存在计算机上还是仅保存密码的哈希版本?

登录密码是保存在计算机上还是仅保存密码的哈希版本?如果只保存登录密码的哈希版本,则使用哪种哈希方法?它存储在机器上的哪个文件夹中?我使用的是 Ubuntu 22.04。

security password 22.04

3
推荐指数
1
解决办法
1158
查看次数

防止打开的终端被关闭

已经过去很长时间了,我对自己的命令已经生疏了。

我使用脚本来进行提醒。我运行的一个会显示“流星雨发生在午夜之后”。3小时后。

有没有办法防止我意外关闭正在运行计时器脚本的终端?

更新:

这是我的脚本。

#!/bin/bash
#
#  Sound alarm after specifying time and message 
# Must input time delay AND message in double quotes !!
#
#       
# ** sleep can also accept intergers ex. sleep 7.63
# Made alias for it type al 

    # Print a trace of simple commands, for commands, case commands, select commands, 
    # and arithmetic for commands and their # arguments or associated word lists after they are expanded 
    # and before they are …
Run Code Online (Sandbox Code Playgroud)

command-line ubuntu-mate 20.04

4
推荐指数
1
解决办法
983
查看次数

nvidia 包依赖问题

我在升级 nvidia 软件包时遇到一个问题。上次更新此包后,我遇到了这样的消息:

$ sudo apt-get upgrade 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 nvidia-dkms-535 : Depends: nvidia-kernel-common-535 (= 535.129.03-0ubuntu1) but 535.129.03-0ubuntu0.22.04.1 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Run Code Online (Sandbox Code Playgroud)

我尝试通过以下命令解决这个问题:

$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... …
Run Code Online (Sandbox Code Playgroud)

apt nvidia dependencies

12
推荐指数
1
解决办法
3631
查看次数

升级到 Ubuntu 23.10 失败 - 无法标记“ubuntu-desktop”进行升级

我尝试通过运行将 Ubuntu 23.04 升级到 23.10sudo do-release-upgrade并收到此错误:

Checking package manager
Reading package lists... Done    
Building dependency tree... Done 
Reading state information... Done

Calculating the changes

Calculating the changes

Could not calculate the upgrade 

An unresolvable problem occurred while calculating the upgrade. 

This was likely caused by: 
* Unofficial software packages not provided by Ubuntu 
Please use the tool 'ppa-purge' from the ppa-purge 
package to remove software from a Launchpad PPA and 
try the upgrade again. 
Run Code Online (Sandbox Code Playgroud)

我查看了日志文件,这是我看到的唯一错误:

2023-11-10 11:23:46,189 DEBUG …
Run Code Online (Sandbox Code Playgroud)

upgrade 23.10

12
推荐指数
1
解决办法
3956
查看次数

升级到23.10后Noto字体太多

升级到 23.10(从 23.04 开始)后,我注意到我的系统上有超过 220 种Noto字体。这有点疯狂。在当今 UTF 标准世界中,为什么某些语言有如此多的字体?我怎样才能安全地摆脱它们?

请注意,他的问题与我之前关于字体的问题之一不同。

upgrade fonts 23.10

4
推荐指数
1
解决办法
414
查看次数

二进制文件存在,但 shell 说没有这样的文件

  1. 我在 Android 上使用 UserLAnd 中的 Ubuntu。
  2. 我刚刚从 Android SDK Manager sdkmanager cmake 3.18.1安装。

cmake/3.18.1/bin现在,我可以从其目录中看到 cmake 可执行文件ls,但是当我运行时./cmake,bash 返回bash: ./cmake: No such file or directory。什么地方出了错?控制台的完整输出:

ubuntu@me:~/cmake/3.18.1/bin$ ls
ccmake  cmake  cpack  ctest  ninja

ubuntu@me:~/cmake/3.18.1/bin$ ./cmake
bash: ./cmake: No such file or directory

ubuntu@me:~/cmake/3.18.1/bin$ file ./cmake
./cmake: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.24, stripped

ubuntu@me:~/cmake/3.18.1/bin$ ldd ./cmake
        not a dynamic executable

ubuntu@me:~/cmake/3.18.1/bin$ uname -m              
        aarch64
Run Code Online (Sandbox Code Playgroud)

谢谢!

bash binary cmake

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