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 / 问题

全部问题(ubuntu)

Martin Hope
mstdmstd
Asked: 2025-01-10 18:52:52 +0800 CST

由于持有损坏的软件包错误,我无法刷新 nvidia 驱动程序?

  • 7

命令之后

sudo apt-get update
sudo apt-get upgrade

我尝试使用命令刷新我的 nvidia 驱动程序,但出现错误:

root@master-at-home:/opt/PhpStorm-242.24807.17/bin# sudo ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd00001341sv00001462sd00001112bc03sc02i00
vendor   : NVIDIA Corporation
model    : GM108M [GeForce 840M]
driver   : nvidia-driver-418-server - distro non-free
driver   : nvidia-driver-510 - distro non-free recommended
driver   : nvidia-driver-510-server - distro non-free
driver   : nvidia-driver-470 - distro non-free
driver   : nvidia-driver-470-server - distro non-free
driver   : nvidia-driver-450-server - distro non-free
driver   : nvidia-driver-390 - distro non-free
driver   : xserver-xorg-video-nouveau - distro free builtin

root@master-at-home:/opt/PhpStorm-242.24807.17/bin# ubuntu-drivers autoinstall
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
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:
 dpkg-dev : Depends: libdpkg-perl (= 1.21.1ubuntu2) but 1.21.1ubuntu2.3 is to be installed
            Recommends: build-essential but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

我尝试使用下一个方法修复该问题:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
root@master-at-home:/opt/PhpStorm-242.24807.17/bin# sudo aptitude -f install    libdpkg-perl
libdpkg-perl is already installed at the requested version (1.21.1ubuntu2.3)
libdpkg-perl is already installed at the requested version (1.21.1ubuntu2.3)
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.

root@master-at-home:/opt/PhpStorm-242.24807.17/bin# sudo aptitude -f install    build-essential
The following NEW packages will be installed:
  build-essential{b}
0 packages upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
Need to get 4 744 B of archives. After unpacking 21,5 kB will be used.
The following packages have unmet dependencies:
 build-essential : Depends: gcc (>= 4:10.2) but it is not installable
                   Depends: g++ (>= 4:10.2) but it is not installable
                   Depends: dpkg-dev (>= 1.17.11) but it is not installable
The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1)     build-essential [Not Installed]



Accept this solution? [Y/n/q/?] Y
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.

但它没有帮助,我仍然收到错误:

root@master-at-home:/opt/PhpStorm-242.24807.17/bin# ubuntu-drivers autoinstall
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
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:
 dpkg-dev : Depends: libdpkg-perl (= 1.21.1ubuntu2) but 1.21.1ubuntu2.3 is to be installed
            Recommends: build-essential but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

我使用了来自无法纠正问题的分支的提示,您持有损坏的软件包

接下来打开突触,我多次选择菜单编辑 - >修复损坏的包,但没有任何变化,“应用”按钮仍然被禁用。

在我的操作系统中:

root@master-at-home:/opt/PhpStorm-242.24807.17/bin# uname -a
Linux master-at-home 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov  6 17:42:15 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
root@master-at-home:/opt/PhpStorm-242.24807.17/bin# sudo lshw -numeric -C display
  *-display
       description: 3D controller
       product: GM108M [GeForce 840M] [10DE:1341]
       vendor: NVIDIA Corporation [10DE]
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a2
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list rom
       configuration: driver=nouveau latency=0
       resources: irq:38 memory:f6000000-f6ffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:e000(size=128) memory:f7000000-f707ffff
  *-display
       description: VGA compatible controller
       product: 4th Gen Core Processor Integrated Graphics Controller [8086:416]
       vendor: Intel Corporation [8086]
       physical id: 2
       bus info: pci@0000:00:02.0
       logical name: /dev/fb0
       version: 06
       width: 64 bits
       clock: 33MHz
       capabilities: msi pm vga_controller bus_master cap_list rom fb
       configuration: depth=32 driver=i915 latency=0 resolution=1920,1080
       resources: irq:39 memory:f7400000-f77fffff memory:d0000000-dfffffff ioport:f000(size=64) memory:c0000-dffff

由于此错误,我无法在驱动程序管理器中选择正确的视频驱动程序...

我必须采取哪个步骤来修复这个错误?

更新 # 1:

我运行更新命令没有错误:

root@master-at-home:/opt/PhpStorm-242.24807.17/bin# sudo apt update
Hit:1 https://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 https://deb.nodesource.com/node_18.x nodistro InRelease                                     
Hit:3 http://ua.archive.ubuntu.com/ubuntu jammy InRelease                                         
Hit:4 https://download.docker.com/linux/ubuntu jammy InRelease                      
Hit:5 https://deb.opera.com/opera-stable stable InRelease                           
Hit:6 https://ppa.launchpadcontent.net/giuspen/ppa/ubuntu jammy InRelease
Hit:7 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
6 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@master-at-home:/opt/PhpStorm-242.24807.17/bin# sudo apt dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
Get more security updates through Ubuntu Pro with 'esm-apps' enabled:
  vlc-plugin-qt libvlc5 redis-server vlc-data python3-tornado libvlccore9
  libzbar0 libheif1 vlc imagemagick libavcodec-extra vlc-bin libjs-jquery-ui
  libpathplan4 vlc-l10n graphviz libavdevice58 libgvpr2 libgvc6 ffmpeg
  libopenexr25 libpostproc55 libcgraph6 libmagickcore-6.q16-6-extra
  vlc-plugin-samba libcdt5 php-twig libmagickwand-6.q16-6 libavcodec-extra58
  vlc-plugin-notify libavutil56 imagemagick-6.q16 libswscale5 redis-tools
  libeditorconfig0 libmagickcore-6.q16-6 vlc-plugin-access-extra
  vlc-plugin-skins2 vlc-plugin-video-splitter liblab-gamut1 libswresample3
  imagemagick-6-common vlc-plugin-video-output libavformat58 libde265-0
  libvlc-bin vlc-plugin-base vlc-plugin-visualization libavfilter7
Learn more about Ubuntu Pro at https://ubuntu.com/pro
#
# Patches available for the local privilege escalation issue in needrestart
# tracked by CVE-2024-48990, CVE-2024-48991, CVE-2024-48992, and CVE-2024-10224
# For more see: https://ubuntu.com/blog/needrestart-local-privilege-escalation
#
The following NEW packages will be installed:
  debsuryorg-archive-keyring
The following packages will be upgraded:
  php-common php8.4-cli php8.4-common php8.4-opcache php8.4-phpdbg php8.4-readline
6 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 5 314 kB of archives.
After this operation, 37,9 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy/main amd64 debsuryorg-archive-keyring all 2024.02.05+ubuntu22.04.1+deb.sury.org+1 [4 328 B]
Get:2 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy/main amd64 php-common all 2:95+ubuntu22.04.1+deb.sury.org+1 [16,9 kB]
Get:3 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy/main amd64 php8.4-readline amd64 8.4.2-1+ubuntu22.04.1+deb.sury.org+1 [13,7 kB]
Get:4 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy/main amd64 php8.4-opcache amd64 8.4.2-1+ubuntu22.04.1+deb.sury.org+1 [467 kB]
Get:5 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy/main amd64 php8.4-phpdbg amd64 8.4.2-1+ubuntu22.04.1+deb.sury.org+1 [2 017 kB]
Get:6 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy/main amd64 php8.4-cli amd64 8.4.2-1+ubuntu22.04.1+deb.sury.org+1 [1 995 kB]
Get:7 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy/main amd64 php8.4-common amd64 8.4.2-1+ubuntu22.04.1+deb.sury.org+1 [801 kB]
Fetched 5 314 kB in 5s (1 056 kB/s)      
Selecting previously unselected package debsuryorg-archive-keyring.
(Reading database ... 274447 files and directories currently installed.)
Preparing to unpack .../0-debsuryorg-archive-keyring_2024.02.05+ubuntu22.04.1+deb.sury.org+1_all.deb ...
Unpacking debsuryorg-archive-keyring (2024.02.05+ubuntu22.04.1+deb.sury.org+1) ...
Preparing to unpack .../1-php-common_2%3a95+ubuntu22.04.1+deb.sury.org+1_all.deb ...
Unpacking php-common (2:95+ubuntu22.04.1+deb.sury.org+1) over (2:92ubuntu1) ...
Preparing to unpack .../2-php8.4-readline_8.4.2-1+ubuntu22.04.1+deb.sury.org+1_amd64.deb ...
Unpacking php8.4-readline (8.4.2-1+ubuntu22.04.1+deb.sury.org+1) over (8.4.1-3+ubuntu22.04.1+deb.sury.org+1) ...
Preparing to unpack .../3-php8.4-opcache_8.4.2-1+ubuntu22.04.1+deb.sury.org+1_amd64.deb ...
Unpacking php8.4-opcache (8.4.2-1+ubuntu22.04.1+deb.sury.org+1) over (8.4.1-3+ubuntu22.04.1+deb.sury.org+1) ...
Preparing to unpack .../4-php8.4-phpdbg_8.4.2-1+ubuntu22.04.1+deb.sury.org+1_amd64.deb ...
Unpacking php8.4-phpdbg (8.4.2-1+ubuntu22.04.1+deb.sury.org+1) over (8.4.1-3+ubuntu22.04.1+deb.sury.org+1) ...
Preparing to unpack .../5-php8.4-cli_8.4.2-1+ubuntu22.04.1+deb.sury.org+1_amd64.deb ...
Unpacking php8.4-cli (8.4.2-1+ubuntu22.04.1+deb.sury.org+1) over (8.4.1-3+ubuntu22.04.1+deb.sury.org+1) ...
Preparing to unpack .../6-php8.4-common_8.4.2-1+ubuntu22.04.1+deb.sury.org+1_amd64.deb ...
Unpacking php8.4-common (8.4.2-1+ubuntu22.04.1+deb.sury.org+1) over (8.4.1-3+ubuntu22.04.1+deb.sury.org+1) ...
Setting up debsuryorg-archive-keyring (2024.02.05+ubuntu22.04.1+deb.sury.org+1) ...
Setting up php-common (2:95+ubuntu22.04.1+deb.sury.org+1) ...
Setting up php8.4-common (8.4.2-1+ubuntu22.04.1+deb.sury.org+1) ...
Setting up php8.4-opcache (8.4.2-1+ubuntu22.04.1+deb.sury.org+1) ...
Setting up php8.4-readline (8.4.2-1+ubuntu22.04.1+deb.sury.org+1) ...
Setting up php8.4-cli (8.4.2-1+ubuntu22.04.1+deb.sury.org+1) ...
Setting up php8.4-phpdbg (8.4.2-1+ubuntu22.04.1+deb.sury.org+1) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for php8.4-cli (8.4.2-1+ubuntu22.04.1+deb.sury.org+1) ...
Processing triggers for php8.4-phpdbg (8.4.2-1+ubuntu22.04.1+deb.sury.org+1) ...

但检查自动安装仍然出现错误:

root@master-at-home:/opt/PhpStorm-242.24807.17/bin# ubuntu-drivers autoinstall
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
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:
 dpkg-dev : Depends: libdpkg-perl (= 1.21.1ubuntu2) but 1.21.1ubuntu2.3 is to be installed
            Recommends: build-essential but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

我尝试完整升级命令:

root@master-at-home:/opt/PhpStorm-242.24807.17/bin# sudo apt full-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
Get more security updates through Ubuntu Pro with 'esm-apps' enabled:
  vlc-plugin-qt libvlc5 redis-server vlc-data python3-tornado libvlccore9
  libzbar0 libheif1 vlc imagemagick libavcodec-extra vlc-bin libjs-jquery-ui
  libpathplan4 vlc-l10n graphviz libavdevice58 libgvpr2 libgvc6 ffmpeg
  libopenexr25 libpostproc55 libcgraph6 libmagickcore-6.q16-6-extra
  vlc-plugin-samba libcdt5 php-twig libmagickwand-6.q16-6 libavcodec-extra58
  vlc-plugin-notify libavutil56 imagemagick-6.q16 libswscale5 redis-tools
  libeditorconfig0 libmagickcore-6.q16-6 vlc-plugin-access-extra
  vlc-plugin-skins2 vlc-plugin-video-splitter liblab-gamut1 libswresample3
  imagemagick-6-common vlc-plugin-video-output libavformat58 libde265-0
  libvlc-bin vlc-plugin-base vlc-plugin-visualization libavfilter7
Learn more about Ubuntu Pro at https://ubuntu.com/pro
#
# Patches available for the local privilege escalation issue in needrestart
# tracked by CVE-2024-48990, CVE-2024-48991, CVE-2024-48992, and CVE-2024-10224
# For more see: https://ubuntu.com/blog/needrestart-local-privilege-escalation
#
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

还是同样的错误:

root@master-at-home:/opt/PhpStorm-242.24807.17/bin# ubuntu-drivers autoinstall
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
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:
 dpkg-dev : Depends: libdpkg-perl (= 1.21.1ubuntu2) but 1.21.1ubuntu2.3 is to be installed
            Recommends: build-essential but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

更新 # 2:

我检查文件的内容:

sudo nano /etc/apt/sources.list :

# deb cdrom:[Kubuntu 22.04.3 LTS _Jammy Jellyfish_ - Release amd64 (20230807.1)]/ jammy main multiverse restricted universe

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://ua.archive.ubuntu.com/ubuntu/ jammy main restricted
# deb-src http://ua.archive.ubuntu.com/ubuntu/ jammy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
# deb-src http://ua.archive.ubuntu.com/ubuntu/ jammy-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://ua.archive.ubuntu.com/ubuntu/ jammy universe
# deb-src http://ua.archive.ubuntu.com/ubuntu/ jammy universe
# deb-src http://ua.archive.ubuntu.com/ubuntu/ jammy-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://ua.archive.ubuntu.com/ubuntu/ jammy multiverse
# deb-src http://ua.archive.ubuntu.com/ubuntu/ jammy multiverse
# deb-src http://ua.archive.ubuntu.com/ubuntu/ jammy-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb-src http://ua.archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse

# deb-src http://security.ubuntu.com/ubuntu jammy-security main restricted
# deb-src http://security.ubuntu.com/ubuntu jammy-security universe
# deb-src http://security.ubuntu.com/ubuntu jammy-security multiverse

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.

和

root@master-at-home:/etc/apt/sources.list.d# ls -la
total 48
drwxr-xr-x 2 root root 4096 січ  9 13:57 .
drwxr-xr-x 8 root root 4096 січ 10 15:07 ..
-rw-r--r-- 1 root root  110 гру 23 17:35 docker.list
-rw-r--r-- 1 root root  142 гру  8 14:32 giuspen-ubuntu-ppa-jammy.list
-rw-r--r-- 1 root root  142 гру  8 14:32 giuspen-ubuntu-ppa-jammy.list.save
-rw-r--r-- 1 root root  190 гру  8 14:32 google-chrome.list
-rw-r--r-- 1 root root  190 гру  8 14:32 google-chrome.list.save
-rw-r--r-- 1 root root  113 гру  8 14:32 nodesource.list
-rw-r--r-- 1 root root  113 гру  8 14:32 nodesource.list.save
-rw-r--r-- 1 root root  140 гру  8 14:32 ondrej-ubuntu-php-jammy.list
-rw-r--r-- 1 root root  140 гру  8 14:32 ondrej-ubuntu-php-jammy.list.save
-rw-r--r-- 1 root root  187 січ  9 13:57 opera-stable.list

在我的 KDE 中,我发现了 Synaptic,并在其中发现:

在此处输入图片描述

不确定你指的是哪个软件和更新 GUI?我需要安装一些特殊程序吗?

nvidia
  • 1 个回答
  • 146 Views
Martin Hope
papercup
Asked: 2025-01-10 18:49:03 +0800 CST

gparted 突然需要 root 权限才能访问

  • 5

GParted 突然需要 root 权限。这是在我尝试打开加密 USB 上的“lost+found”文件夹后发生的,该文件夹两次要求 root 权限,但我最终在打开之前退出了,这可能与此有关?

输入 root 密码后,GParted 开始扫描位置,并且花了很长时间打开,所以我关闭了它,因为它以前从来没有这样做过。

我读到过 GUI 不应该以 root 权限运行,那么有没有办法可以恢复到不使用 root 权限的情况?

有人能告诉我以 root 身份使用 GParted 是否安全吗,或者我是否应该卸载并重新安装才能使其像以前一样工作?推荐的卸载/重新安装方法是什么?

permissions
  • 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
Ashu
Asked: 2025-01-10 06:44:00 +0800 CST

我认为我的 Windows Bootloader 丢失

  • 5

请参考我的这个问题,

ls -R /mnt/EFI

/mnt/EFI:
BOOT  Dell  ubuntu

/mnt/EFI/BOOT:
bkpbootx64.efi  bootx64.efi  fbx64.efi  mmx64.efi

/mnt/EFI/Dell:
logs

/mnt/EFI/Dell/logs:
diags_current.xml  diags_previous.xml

/mnt/EFI/ubuntu:
BOOTX64.CSV  grub.cfg  grubx64.efi  mmx64.efi  shimx64.efi

根据我的 EFI 分区 (/mnt/EFI) 的内容,没有与 Windows 引导加载程序相关的目录或文件(例如 Microsoft 或 bootmgfw.efi)。这表明 Windows 引导加载程序已被删除或未正确安装。到 2024 年 12 月中旬,它一直运行良好。不知道到底发生了什么。我的 BIOS 显示一个三星 PCINVME 1TB SSD(我相信它包含 Windows OS 引导加载程序等...)现在从 gparted 看不到它。

这是来自boot-repair的链接

图片来自 gparted 在此处输入图片描述

boot
  • 1 个回答
  • 42 Views
Martin Hope
b264
Asked: 2025-01-10 03:10:43 +0800 CST

如何从我的终端访问我的 Android 手机?

  • 5

我将我的 Android 15 手机插入我的 Ubuntu 24.04 电脑并进入终端,我想通过终端访问手机上的文件,如媒体和音乐文件夹......这可能吗?

旧的答案不再有效。

command-line
  • 2 个回答
  • 60 Views
Martin Hope
Kiristo
Asked: 2025-01-10 02:10:44 +0800 CST

显示器有垂直线

  • 7

我的显示器上出现了一堆灰色垂直线,而且分辨率看起来也不对。它通过 HDMI 连接,运行的是 Ubuntu 24.04。我尝试切换到 HDMI 转 DP 线/并使用显卡上的其他端口,但没有变化。我也启动了 Linux Mint,遇到了同样的问题。当我运行 Windows 10(最近)时,它运行良好。我的显卡是 AMD Radeon RX 570 系列。 看起来 我从 Wayland 切换到了 xorg,没有变化。

multiple-monitors
  • 2 个回答
  • 65 Views
Martin Hope
heynnema
Asked: 2025-01-10 00:49:37 +0800 CST

geoclue[3863]: 无法查询位置:查询位置 SOUP 错误:未找到

  • 6

我的 Ubuntu 24.10 上的/var/log/syslog充满了以下 geoclue 错误:

geoclue[3863]: Failed to query location: Query location SOUP error: Not Found

要查看系统上的错误,请执行以下操作:

grep SOUP /var/log/syslog*

这是因为Mozilla Location Service2024 年 6 月 12 日关闭。

https://bugzilla.redhat.com/show_bug.cgi?id=2284621

Google 有类似的定位服务,但它需要 Google API 和配置文件编辑。

有没有办法修复我的位置服务并摆脱持续出现的错误消息?

geolocation
  • 1 个回答
  • 62 Views
Martin Hope
Apollo
Asked: 2025-01-09 21:16:27 +0800 CST

如何在 Ubuntu 24.04 中更改进程的最大打开文件数?

  • 6

这个问题已被问过很多次,但很多帖子已经有好几年了,但我们无法弄清楚其中哪一个有效。

我们有一个通过 systemd 启动的服务,它以单独的用户身份运行,我们将其称为“myservice”。该服务的文件夹结构位于 /opt/company/product/{bin,log,etc}。该进程配置为使用大量线程,因为它将文件从一个服务器传输到另一个服务器。有时我们会因为打开的文件过多而收到错误。

我们尝试设置 ulimit,sysctl -w fs.file-max=1000000,在文件中进行配置,但似乎没有任何效果。

Ubuntu 24.04 目前如何将特定进程或用户的限制永久更改为非常高的数字,或者更好的是,完全禁用该限制?

谢谢

server
  • 1 个回答
  • 83 Views
Martin Hope
Dan
Asked: 2025-01-09 17:28:00 +0800 CST

新手 ubuntu 23.10 Sudo apt update 错误 [重复]

  • 5
此问题这里已有答案:
如何安装软件或从旧的不受支持的版本升级? (13 个答案)
以下签名无效:EXPKEYSIG 1397BC53640DB551 (8 个答案)
如何修复 GPG 错误“NO_PUBKEY”? (15 个答案)
如果存储库 / PPA 没有 Release 文件,我该怎么办? (5 个答案)
哪些命令(确切地)应该取代弃用的 apt-key? (8 个答案)
昨天休息。

我正在尝试在运行 ubuntu 23.10(这是一份礼物)的小型计算机上观看 Netflix。我对 Linux 一无所知,但尝试了一些论坛,答案是安装 chrome,但我做不到。所以我发现我需要在终端 sudo apt update 中运行命令进行某种更新,但当我尝试执行它时,它只会返回很多错误。我会尝试在这里发布它们。

Des:1 https://repo.protonvpn.com/debian stable InRelease [2 967 B]             
Ign:2 http://security.ubuntu.com/ubuntu mantic-security InRelease              
Err:1 https://repo.protonvpn.com/debian stable InRelease                       
  Las firmas siguientes no se pudieron verificar porque su clave pública no está disponible: NO_PUBKEY 8DD48989F43719CA
Ign:3 http://us.archive.ubuntu.com/ubuntu mantic InRelease                     
Err:4 http://security.ubuntu.com/ubuntu mantic-security Release                
  404  Not Found [IP: 185.125.190.81 80]
Ign:5 http://us.archive.ubuntu.com/ubuntu mantic-updates InRelease             
Err:6 http://us.archive.ubuntu.com/ubuntu mantic Release                       
  404  Not Found [IP: 91.189.91.83 80]
Err:7 http://us.archive.ubuntu.com/ubuntu mantic-updates Release
  404  Not Found [IP: 91.189.91.83 80]
Ign:8 https://ppa.launchpadcontent.net/ehoover/compholio/ubuntu mantic InRelease
Des:9 http://download.opensuse.org/repositories/home:/ungoogled_chromium/Ubuntu_Lunar  InRelease [1 559 B]
Obj:10 https://ppa.launchpadcontent.net/kelebek333/mint-tools/ubuntu mantic InRelease
Err:9 http://download.opensuse.org/repositories/home:/ungoogled_chromium/Ubuntu_Lunar  InRelease
  Las siguientes firmas no fueron válidas: EXPKEYSIG 02456C79B2FD48BF home:ungoogled_chromium OBS Project <home:[email protected]>
Ign:11 https://ppa.launchpadcontent.net/mqchael/pipelight/ubuntu mantic InRelease
Ign:12 https://ppa.launchpadcontent.net/pipelight/stable/ubuntu mantic InRelease
Err:13 https://ppa.launchpadcontent.net/ehoover/compholio/ubuntu mantic Release
  404  Not Found [IP: 185.125.190.80 443]
Err:14 https://ppa.launchpadcontent.net/mqchael/pipelight/ubuntu mantic Release
  404  Not Found [IP: 185.125.190.80 443]
Err:15 https://ppa.launchpadcontent.net/pipelight/stable/ubuntu mantic Release
  404  Not Found [IP: 185.125.190.80 443]
Leyendo lista de paquetes... Hecho
W: Se produjo un error durante la verificación de las firmas. El repositorio no está actualizado y se utilizarán los ficheros de índice antiguos. Error de GPG: https://repo.protonvpn.com/debian stable InRelease: Las firmas siguientes no se pudieron verificar porque su clave pública no está disponible: NO_PUBKEY 8DD48989F43719CA
E: El repositorio «http://security.ubuntu.com/ubuntu mantic-security Release» no tiene un fichero de Publicación.
N: No se puede actualizar de un repositorio como este de forma segura y por tanto está deshabilitado por omisión.
N: Vea la página de manual apt-secure(8) para los detalles sobre la creación de repositorios y la configuración de usuarios.
E: El repositorio «http://us.archive.ubuntu.com/ubuntu mantic Release» no tiene un fichero de Publicación.
N: No se puede actualizar de un repositorio como este de forma segura y por tanto está deshabilitado por omisión.
N: Vea la página de manual apt-secure(8) para los detalles sobre la creación de repositorios y la configuración de usuarios.
E: El repositorio «http://us.archive.ubuntu.com/ubuntu mantic-updates Release» no tiene un fichero de Publicación.
N: No se puede actualizar de un repositorio como este de forma segura y por tanto está deshabilitado por omisión.
N: Vea la página de manual apt-secure(8) para los detalles sobre la creación de repositorios y la configuración de usuarios.
W: http://download.opensuse.org/repositories/home:/ungoogled_chromium/Ubuntu_Lunar/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: Error de GPG: http://download.opensuse.org/repositories/home:/ungoogled_chromium/Ubuntu_Lunar  InRelease: Las siguientes firmas no fueron válidas: EXPKEYSIG 02456C79B2FD48BF home:ungoogled_chromium OBS Project <home:[email protected]>
E: El repositorio «http://download.opensuse.org/repositories/home:/ungoogled_chromium/Ubuntu_Lunar  InRelease» no está firmado.
N: No se puede actualizar de un repositorio como este de forma segura y por tanto está deshabilitado por omisión.
N: Vea la página de manual apt-secure(8) para los detalles sobre la creación de repositorios y la configuración de usuarios.
E: El repositorio «https://ppa.launchpadcontent.net/ehoover/compholio/ubuntu mantic Release» no tiene un fichero de Publicación.
N: No se puede actualizar de un repositorio como este de forma segura y por tanto está deshabilitado por omisión.
N: Vea la página de manual apt-secure(8) para los detalles sobre la creación de repositorios y la configuración de usuarios.
E: El repositorio «https://ppa.launchpadcontent.net/mqchael/pipelight/ubuntu mantic Release» no tiene un fichero de Publicación.
N: No se puede actualizar de un repositorio como este de forma segura y por tanto está deshabilitado por omisión.
N: Vea la página de manual apt-secure(8) para los detalles sobre la creación de repositorios y la configuración de usuarios.
E: El repositorio «https://ppa.launchpadcontent.net/pipelight/stable/ubuntu mantic Release» no tiene un fichero de Publicación.
N: No se puede actualizar de un repositorio como este de forma segura y por tanto está deshabilitado por omisión.
N: Vea la página de manual apt-secure(8) para los detalles sobre la creación de repositorios y la configuración de usuarios.

我不知道这是否可以修复,如有任何帮助我们将不胜感激。

apt
  • 1 个回答
  • 25 Views
Martin Hope
Biman Paul
Asked: 2025-01-09 03:40:22 +0800 CST

无法在运行 Ubuntu 22.04 的 Acer Aspire 3 上打开蓝牙

  • 6

无法打开蓝牙。但是 WiFi 可以正常工作。

Laptop: Acer Aspire 3
OS: Ubuntu 22.04

$ sudo lshw -C network
  *-network                 
       description: Wireless interface
       product: Alder Lake-P PCH CNVi WiFi
       vendor: Intel Corporation
       physical id: 14.3
       bus info: pci@0000:00:14.3
       logical name: wlo1
       version: 01
       serial: a0:b3:39:4a:13:7a
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwlwifi driverversion=6.8.0-49-generic firmware=86.fb5c9aeb.0 so-a0-hr-b0-86.uc ip=172.20.10.2 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: iomemory:600-5ff irq:16 memory:6001154000-6001157fff

任何在这方面的帮助都将不胜感激。谢谢。

$ lsb_release -a; uname -a; lspci -knn | grep Net -A3; lsusb; sudo dmesg | grep -i bluetooth
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.5 LTS
Release:    22.04
Codename:   jammy
Linux biman-Aspire-A324-51 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov  6 17:42:15 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
00:14.3 Network controller [0280]: Intel Corporation Alder Lake-P PCH CNVi WiFi [8086:51f0] (rev 01)
    DeviceName: Onboard - Ethernet
    Subsystem: Intel Corporation Device [8086:0244]
    Kernel driver in use: iwlwifi
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID ab20:1276 SunplusIT Inc PC Camera
Bus 003 Device 006: ID 0b05:1a14 ASUSTek Computer, Inc. ASUS MD100 Mouse
Bus 003 Device 004: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 003 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 003 Device 005: ID 8087:0026 Intel Corp. AX201 Bluetooth
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[   13.455576] Bluetooth: Core ver 2.22
[   13.455726] NET: Registered PF_BLUETOOTH protocol family
[   13.455728] Bluetooth: HCI device and connection manager initialized
[   13.455734] Bluetooth: HCI socket layer initialized
[   13.455738] Bluetooth: L2CAP socket layer initialized
[   13.455744] Bluetooth: SCO socket layer initialized
[   13.626180] Bluetooth: hci0: Device revision is 2
[   13.626190] Bluetooth: hci0: Secure boot is enabled
[   13.626193] Bluetooth: hci0: OTP lock is enabled
[   13.626195] Bluetooth: hci0: API lock is enabled
[   13.626197] Bluetooth: hci0: Debug lock is disabled
[   13.626198] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[   13.626202] Bluetooth: hci0: Bootloader timestamp 2019.40 buildtype 1 build 38
[   13.626367] Bluetooth: hci0: DSM reset method type: 0x00
[   13.628129] Bluetooth: hci0: Failed to load Intel firmware file intel/ibt-0040-1050.sfi (-2)
[   13.629119] Bluetooth: hci0: Reading supported features failed (-56)
[   13.629126] Bluetooth: hci0: Error reading debug features
[   13.630112] Bluetooth: hci0: Failed to read MSFT supported features (-56)
[   15.608919] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   15.608925] Bluetooth: BNEP filters: protocol multicast
[   15.608931] Bluetooth: BNEP socket layer initialized
[  392.175442] Bluetooth: hci0: Device revision is 2
[  392.175461] Bluetooth: hci0: Secure boot is enabled
[  392.175465] Bluetooth: hci0: OTP lock is enabled
[  392.175469] Bluetooth: hci0: API lock is enabled
[  392.175472] Bluetooth: hci0: Debug lock is disabled
[  392.175474] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[  392.175480] Bluetooth: hci0: Bootloader timestamp 2019.40 buildtype 1 build 38
[  392.175693] Bluetooth: hci0: DSM reset method type: 0x00
[  392.175917] Bluetooth: hci0: Failed to load Intel firmware file intel/ibt-0040-1050.sfi (-2)
[  392.177419] Bluetooth: hci0: Reading supported features failed (-56)
[  392.177442] Bluetooth: hci0: Error reading debug features
[  392.177451] Bluetooth: hci0: MSFT extension not registered
22.04
  • 1 个回答
  • 30 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