AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题

问题[package-management](ubuntu)

Martin Hope
Organic Marble
Asked: 2025-04-18 21:14:30 +0800 CST

为什么 6.8.0-58 内核没有移至 noble-security 仓库?

  • 5

2025年4月16日,我的24.04家庭服务器通知我内核更新至6.8.0-58。我手动安装了,一切正常。

我刚刚设置了我的 24.04 云服务器,以便在无人值守升级时自动重启,所以我急切地等待着看它是否有效。

然而,升级从未发生,所以我没有得到想要的测试。

我检查了一下,我的云服务器设置为仅在无人值守升级中整合来自安全仓库的更新。不知何故,这个内核升级没有被移到安全仓库,而是只在升级中。

linux-generic:
  Installed: 6.8.0-58.60
  Candidate: 6.8.0-58.60
  Version table:
 *** 6.8.0-58.60 500
        500 http://us.archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     6.8.0-57.59 500
        500 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages
     6.8.0-31.31 500
        500 http://us.archive.ubuntu.com/ubuntu noble/main amd64 Packages

根据 ubuntuupgrades.org 的信息,24.04 的最后一个内核于 3 月 31 日发布,并于同一天移至安全仓库。以我的经验来看,这已经是常态了。

6.8.0-58 内核未移至安全仓库的原因是什么?

(询问我是否应该将家庭服务器上的内核降级到旧版本)

package-management
  • 1 个回答
  • 123 Views
Martin Hope
PeterDz
Asked: 2025-02-25 23:52:12 +0800 CST

跨虚拟环境处理多个相互依赖的包

  • 5

我最近升级(哈!!)到了 24.04.2 LTS 并且试图让它像我的 22.04 那样运行。

我一直在阅读许多关于如果遇到“外部管理环境”消息该怎么办的讨论,特别是https://stackoverflow.com/questions/75608323/how-do-i-solve-error-externally-managed-environment-every-time-i-use-pip-3

据我了解,当前的建议是通过创建虚拟环境来运行这样的包python3 -m venv .A,其中 A 是 venv 名称。

但是我需要安装多个外部包。在旧系统中,它们是在整个系统范围内单独安装的,并且“相互通信”。

一个特殊的例子(但不是唯一的例子)是 astropy 和 Jupyter。我使用独立的 astropy 以及包含 astropy 的 Jupyter 笔记本。我也将 Jupyter 用于其他用途。两者现在都标记为“外部管理”。

据我理解,我需要将两者安装在单独的 venv 中,因为它们是外部的。我是否需要在每个 venv 中复制两者,或者是否有某种方法可以交叉访问它们?... 并为每个 venv 单独安装一个 python3?当然,还需要大量移动文件。一定还有其他方法 - 太笨重了!而且肯定非常低效,占用大量内存!

我在论坛和其他地方搜索了很久,但无果。

package-management
  • 1 个回答
  • 34 Views
Martin Hope
Pasdenom
Asked: 2025-01-28 03:21:50 +0800 CST

LibreOffice 的多个版本

  • 6

我使用的是 Ubuntu 24.04,并使用此处提供的 deb 包将我的 LibreOffice 版本更新到 24.8.4 。现在我有 2 个 LibreOffice 图标:

LibreOffice 桌面条目

第一个图标(显示 LibreOffice 24.8)运行良好,LibreOffice 文件夹中的所有其他单个图标也运行良好,但是当我启动右侧的灰色图标时,UI 不同,我无法打开任何文档,也无法启动 Writer、Calc、Base 等,并且它显示“版本 24.2.7.2”:

LibreOffice 启动器

当我使用 apt 或 snap 列出已安装的软件包时,我找不到它。

apt list --installed | grep libreoffice
liblibreoffice-java/noble-security,noble-security,now 4:24.2.7-0ubuntu0.24.04.2 all  [installé, automatique]
libobasis24.8-libreofficekit-data/now 24.8.4.2-2 amd64  [installé, local]
libreoffice-common/noble-security,noble-security,now 4:24.2.7-0ubuntu0.24.04.2 all  [installé, automatique]
libreoffice-core/noble-security,now 4:24.2.7-0ubuntu0.24.04.2 amd64  [installé, automatique]
libreoffice-dev-common/noble-security,noble-security,now 4:24.2.7-0ubuntu0.24.04.2 all  [installé]
libreoffice-dev-doc/noble-security,noble-security,now 4:24.2.7-0ubuntu0.24.04.2 all  [installé]
libreoffice-help-common/noble-security,noble-security,now 4:24.2.7-0ubuntu0.24.04.2 all  [installé, automatique]
libreoffice-help-en-gb/noble-security,noble-security,now 4:24.2.7-0ubuntu0.24.04.2 all  [installé]
libreoffice-help-en-us/noble-security,noble-security,now 4:24.2.7-0ubuntu0.24.04.2 all  [installé]
libreoffice-help-fr/noble-security,noble-security,now 4:24.2.7-0ubuntu0.24.04.2 all  [installé]
libreoffice-java-common/noble-security,noble-security,now 4:24.2.7-0ubuntu0.24.04.2 all  [installé]
libreoffice-l10n-en-gb/noble-security,noble-security,now 4:24.2.7-0ubuntu0.24.04.2 all  [installé]
libreoffice-l10n-en-za/noble-security,noble-security,now 4:24.2.7-0ubuntu0.24.04.2 all  [installé]
libreoffice-l10n-fr/noble-security,noble-security,now 4:24.2.7-0ubuntu0.24.04.2 all  [installé]
libreoffice-style-colibre/noble-security,noble-security,now 4:24.2.7-0ubuntu0.24.04.2 all  [installé, automatique]
libreoffice-uiconfig-common/noble-security,noble-security,now 4:24.2.7-0ubuntu0.24.04.2 all  [installé, automatique]
libreoffice24.8-base/now 24.8.4.2-2 amd64  [installé, local]
libreoffice24.8-calc/now 24.8.4.2-2 amd64  [installé, local]
libreoffice24.8-debian-menus/now 24.8.4-2 all  [installé, local]
libreoffice24.8-dict-en/now 24.8.4.2-2 amd64  [installé, local]
libreoffice24.8-dict-fr/now 24.8.4.2-2 amd64  [installé, local]
libreoffice24.8-draw/now 24.8.4.2-2 amd64  [installé, local]
libreoffice24.8-en-us/now 24.8.4.2-2 amd64  [installé, local]
libreoffice24.8-fr/now 24.8.4.2-2 amd64  [installé, local]
libreoffice24.8-impress/now 24.8.4.2-2 amd64  [installé, local]
libreoffice24.8-math/now 24.8.4.2-2 amd64  [installé, local]
libreoffice24.8-ure/now 24.8.4.2-2 amd64  [installé, local]
libreoffice24.8-writer/now 24.8.4.2-2 amd64  [installé, local]
libreoffice24.8/now 24.8.4.2-2 amd64  [installé, local]
snap list | grep libreoffice

和apt policy libreoffice

libreoffice:
  Installed : (none)
  Candidate : 4:24.2.7-0ubuntu0.24.04.2
 Version table:
     4:24.2.7-0ubuntu0.24.04.2 500
        500 http://fr.archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages
        500 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages
     4:24.2.2-0ubuntu1 500
        500 http://fr.archive.ubuntu.com/ubuntu noble/universe amd64 Packages

我不知道如何删除它。我很确定它之前不在那里。

package-management
  • 2 个回答
  • 86 Views
Martin Hope
Phong Dương Hùng
Asked: 2025-01-26 00:29:40 +0800 CST

找到“扩展”包名称

  • 6

下面的截图中我的电脑中有 2 个应用程序。我想删除扩展程序,而不是扩展管理器。我试过了apt-cache search *extension*,但收到此错误消息:E: Regex compilation error。

在此处输入图片描述

package-management
  • 1 个回答
  • 32 Views
Martin Hope
ahmed shepl
Asked: 2025-01-18 14:48:42 +0800 CST

尝试安装新软件包或更新内核时,运行 Ubuntu 的 VirtualBox VM 出现问题

  • 6

依赖问题:内核包(linux-image-unsigned)具有未满足的依赖关系,导致其保持未配置状态。

dpkg 错误:由于这些未解决的依赖关系,包管理器(dpkg)无法配置内核。

错误损坏的系统状态:因此,你的包管理系统处于损坏状态,无法进行进一步的更新或安装

我尝试安装另一个版本的软件包并更新/升级系统,希望解决问题,但未满足的依赖关系问题仍然存在。

package-management
  • 1 个回答
  • 28 Views
Martin Hope
user2097376
Asked: 2025-01-10 17:32:11 +0800 CST

尝试更新 Ubuntu 时遇到多个问题

  • 5

我目前正在将笔记本电脑从 22.04 升级到 24.04.1 LTS,遇到了多个问题,但首先发生的情况如下

我尝试使用软件更新程序更新 Ubuntu,但它给出了以下错误消息:

"Failed to download repository information, check your internet connection"

然后,我单击“确定”后,它显示了以下消息:

"The software on this computer is up to date."
"However, Ubuntu 24.04.1 LTS is now available (you have 22.04)"

然后它向我展示了发行说明,我再次单击“升级”,出现了“发行版升级”窗口,在它向我显示此消息之前,它已经顺利通过了“设置新软件频道”部分

W:Updating from such a repository can't be done securely, and is therefore disabled by default., 
W:See apt-secure(8) manpage for repository creation and user configuration details., 
W:An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://repo.protonvpn.com/debian stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8DD48989F43719CA, 
E:The repository 'https://example.com/apt stable Release' does not have a Release file.

我尝试过处理无公钥错误和 example.com 错误,所以我将分别讨论我为它们做了什么

对于公钥错误,我尝试按照此“https://askubuntu.com/questions/13065/how-do-i-fix-the-gpg-error-no-pubkey”帖子中的最佳答案进行操作,这使我在终端中输入了以下内容

sudo mkdir -m 0755 -p /etc/apt/keyrings/

curl -fsSL https://example.com/EXAMPLE.gpg |
    sudo gpg --dearmor -o /etc/apt/keyrings/EXAMPLE.gpg

echo "deb [signed-by=/etc/apt/keyrings/EXAMPLE.gpg] https://example.com/apt stable main" |
    sudo tee /etc/apt/sources.list.d/EXAMPLE.list > /dev/null

我很确定这就是导致 example.com 没有 Release 文件的问题的原因,但我将继续

之后我又尝试彻底删除 proton VPN,结果还是不行,于是我输入了他们网站上的这些命令

sudo apt autoremove proton-vpn-gnome-desktop && sudo apt purge protonvpn-stable-release

之后我尝试按照其说明删除旧版本

sudo apt-get autoremove protonvpn

rm -rf ~/.cache/protonvpn

rm -rf ~/.config/protonvpn

据我所知,已成功删除 proton vpn,但尝试更新时仍然出现无公钥错误(遗憾的是我没有最初执行此操作时的输出(我关闭了终端窗口)但这是我再次执行此操作时的输出)

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package 'protonvpn' is not installed, so not removed
0 to upgrade, 0 to newly install, 0 to remove and 3 not to upgrade.

至于错误,我相信我是在按照这个[解决方案](如何修复 GPG 错误“NO_PUBKEY”?发布说明 )"E:The repository 'https://example.com/apt stable Release' does not have a Release file."后意外创建的。

所以我的问题是如何解决这个问题?我假设我必须删除 example.com 和 proton vpn 的一些文件,但我不知道该怎么做

(此外,我不希望进行全新安装,但如果您认为我应该这样做,我可能会这样做)

package-management
  • 1 个回答
  • 80 Views
Martin Hope
mevers303
Asked: 2024-11-07 17:00:50 +0800 CST

为什么我全新安装的软件会启动到 BusyBox?如何列出依赖于 BusyBox 的软件包?

  • 5

我刚刚遇到了一件我不明白的事情,我担心它可能与黑客或恶意软件有关……我将计算机置于挂起模式,但无法唤醒它,屏幕重新打开但仍然黑屏。我按住电源按钮强制关机。再次开机后,它启动到 BusyBox 控制台。我再次重新启动,它按预期启动到 Ubuntu。我最近安装了 Ubuntu 24.10,但尚未明确安装 BusyBox。我不知道 BusyBox 是如何安装的。所以有几个问题:

  1. BusyBox 是否默认安装在 Ubuntu 24.10 上,或者它是否附带任何主要软件包?唯一的可能性可能是 Steam。
  2. 我如何才能知道 BusyBox 的安装时间和原因?
  3. BusyBox 有可能是第三方可以进入的远程环境吗?它进入我的系统让我很困扰,而且它为什么会随机启动到 BusyBox 环境?
package-management
  • 1 个回答
  • 50 Views
Martin Hope
Yogesh Yadav
Asked: 2024-09-18 21:28:12 +0800 CST

如何在 Ubuntu 24.04 中安装和使用依赖于 libappindicator1 的应用程序?

  • 6

我正在尝试安装 Toptal 提供的顶级跟踪器。我收到此错误

*sudo dpkg -i ~/Downloads/toptracker_1.6.2-6524_amd64.deb 
[sudo] password for user: 
Selecting previously unselected package toptracker.
(Reading database ... 204997 files and directories currently installed.)
Preparing to unpack .../toptracker_1.6.2-6524_amd64.deb ...
Unpacking toptracker (1.6.2-6524) ...
dpkg: dependency problems prevent configuration of toptracker:
 toptracker depends on libappindicator1; however:
  Package libappindicator1 is not installed.
dpkg: error processing package toptracker (--install):
 dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.36.0-1.1ubuntu3) ...
Processing triggers for desktop-file-utils (0.27-2build1) ...
Errors were encountered while processing:
 toptracker*

when I tryed to install libappindicator1 then getting
sudo apt-get install libappindicator1
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package libappindicator1 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libappindicator1' has no installation candidate

谁能告诉我如何解决这个问题?

package-management
  • 1 个回答
  • 63 Views
Martin Hope
digisus
Asked: 2024-09-03 23:55:43 +0800 CST

如何在完全更新的 Ubuntu 24.04 中使用 RStudio?

  • 6

从 ubuntu 24.04. 升级到 24.04.1 破坏了我的 RStudio 安装(升级总共破坏了 11 个软件包)。我删除了 RStudio,并将其升级到最新版本(2024.04.2-764-amd64.deb),但错误仍然存​​在。R(v4.3.3)本身运行顺畅。

这是我得到的错误。我甚至不知道它指的是什么——因此,不知道从哪里开始查找。

laptop@user:~$ rstudio 
[48623:0903/170856.125096:FATAL:credentials.cc(127)] Check failed: . : Permission denied (13)
Trace/breakpoint trap (core dumped)

谢谢你!

package-management
  • 1 个回答
  • 37 Views
Martin Hope
david9240
Asked: 2024-08-16 12:40:04 +0800 CST

已安装的软件包未显示在 ubuntu 终端中,是否可以删除它?但如果我检查这些软件包的版本,它会在终端中显示出来吗?

  • 6

我想在我的 ubuntu 虚拟盒中卸载一个名为 Knockpy 的软件包。当我尝试卸载它时,它显示如下

 sudo apt-get remove knockpy
[sudo] password for david: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package 'knockpy' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

但如果我去终端并检查已安装的版本,它就在那里可见......

david@david:~/Desktop$ knockpy --version
KNOCKPY 7.0.1
david@david:~/Desktop$ 

avid@david:~/Desktop$ knockpy
usage: KNOCKPY [-h] [-d DOMAIN] [-f FILE] [-v] [--dns DNS]
               [--useragent USERAGENT] [--timeout TIMEOUT] [--threads THREADS]
               [--recon] [--bruteforce] [--wordlist WORDLIST] [--wildcard]
               [--json] [--save FOLDER] [--report REPORT]

knockpy v.7.0.1 - Subdomain Scan
https://github.com/guelfoweb/knock

options:
  -h, --help            show this help message and exit
  -d DOMAIN, --domain DOMAIN
                        domain to analyze
  -f FILE, --file FILE  domain list from file path
  -v, --version         show program's version number and exit
  --dns DNS             custom dns
  --useragent USERAGENT
                        custom useragent
  --timeout TIMEOUT     custom timeout
  --threads THREADS     custom threads
  --recon               subdomain reconnaissance
  --bruteforce          subdomain bruteforce
  --wordlist WORDLIST   wordlist file to import
                        --bruteforce option required
  --wildcard            test wildcard and exit
  --json                shows output in json format
  --save FOLDER         folder to save report
  --report REPORT       shows saved report

我通过以下命令安装了这个knockpy工具

git clone https://github.com/guelfoweb/knock.git
cd knock
pipx install git+https://github.com/guelfoweb/knock.git

我再次检查包裹是否仍然可见

david@david:~/Desktop$ apt show knockpy
Package: knockpy
Version: 7.0.0-2
Priority: optional
Section: universe/python
Origin: Ubuntu
Maintainer: Ubuntu Developers <[email protected]>
Original-Maintainer: Gianfranco Costamagna <[email protected]>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 119 kB
Depends: python3-bs4 (>= 4.12.3), python3-dnspython, python3-openssl, python3-requests, python3-tqdm, python3:any
Homepage: https://github.com/guelfoweb/knock
Download-Size: 35.4 kB
APT-Sources: http://in.archive.ubuntu.com/ubuntu noble/universe amd64 Packages
Description: Python3 tool designed to enumerate subdomains on a target domain
 Knockpy is a Python tool designed to enumerate subdomains on a target domain
 through a wordlist.
david@david:~/Desktop$ pipx uninstall knockpy Nothing to uninstall for knockpy 😴 ⚠️  Note: '/home/david/.local/bin/knockpy' still exists on your system and is on your PATH david@david:~/Desktop$  
someone please look into these issue. what went wrong ?
package-management
  • 2 个回答
  • 52 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve