AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • Início
  • system&network
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • Início
  • system&network
    • Recentes
    • Highest score
    • tags
  • Ubuntu
    • Recentes
    • Highest score
    • tags
  • Unix
    • Recentes
    • tags
  • DBA
    • Recentes
    • tags
  • Computer
    • Recentes
    • tags
  • Coding
    • Recentes
    • tags
Início / ubuntu / 问题

All perguntas(ubuntu)

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

Não consigo atualizar o driver da Nvidia devido ao erro de pacotes quebrados retidos?

  • 7

depois dos comandos

sudo apt-get update
sudo apt-get upgrade

Tentei atualizar meu driver nvidia com comandos, mas obtive erro:

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.

Tento resolver o problema com o seguinte:

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.

Mas não ajudou e ainda recebo o erro:

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.

Usei dicas do branch Não foi possível corrigir problemas, você segurou pacotes quebrados

e em seguida abri o synaptic e várias vezes selecionei o menu Editar -> Corrigir pacotes quebrados, mas nada mudou e o botão "Aplicar" ainda está desabilitado.

No meu sistema operacional:

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

Não consigo selecionar o driver de vídeo adequado no gerenciador de drivers por causa desse erro...

Qual passo devo tomar para corrigir esse erro?

ATUALIZADO # 1:

Eu executo comandos de atualização sem erros:

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) ...

Mas verificando a instalação automática ainda recebo erros:

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.

Eu tento o comando full-upgrade:

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.

Ainda o mesmo erro:

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.

ATUALIZADO # 2:

Eu verifico o conteúdo dos arquivos:

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.

e

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

No meu KDE eu tenho o Discover e o Synaptic e encontrei nele:

insira a descrição da imagem aqui

Não tenho certeza de qual GUI de Software & Updates você quer dizer? É algum programa especial que preciso instalar?

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

O gparted de repente precisa de privilégios de root para acessar

  • 5

O GParted de repente requer root. Isso ocorreu depois que tentei abrir uma pasta 'lost+found' em um usb criptografado que pediu root, duas vezes, mas eu saí antes de abrir no final, o que pode estar conectado?

Depois de digitar a senha de root, o GParted começou a escanear os locais e demorou tanto para abrir que o fechei, pois nunca tinha feito isso antes.

Li que as GUIs não devem ser executadas com privilégios de root, então há uma maneira de voltar a usar sem?

Alguém pode me dizer se é seguro usar o GParted como root ou se devo desinstalar e reinstalar para que funcione como antes? Qual seria a maneira recomendada de desinstalar/reinstalar?

permissions
  • 1 respostas
  • 28 Views
Martin Hope
user2097376
Asked: 2025-01-10 17:32:11 +0800 CST

Vários problemas ao tentar atualizar o Ubuntu

  • 5

Então, atualmente estou no processo de atualização de 22.04 para 24.04.1 LTS para um laptop e estou tendo vários problemas, mas aqui está o que aconteceu primeiro

Tentei atualizar o Ubuntu usando o atualizador de software, mas ele me deu esta mensagem de erro:

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

Então, depois que cliquei em OK, apareceu esta mensagem:

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

Em seguida, ele me mostrou as notas de lançamento e cliquei em atualizar novamente, a janela "atualização de distribuição" apareceu e ele passou decentemente pela seção "configurando novos canais de software" antes de me mostrar esta mensagem

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.

Tentei lidar com o erro de nenhuma chave pública e o erro example.com, então falarei sobre o que fiz para eles separadamente

Para o erro de chave pública, tentei seguir a resposta principal nesta postagem "https://askubuntu.com/questions/13065/how-do-i-fix-the-gpg-error-no-pubkey", o que me levou a digitar isso no terminal

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

Tenho quase certeza de que foi isso que criou o problema "example.com não tem um arquivo Release", mas continuarei

Depois que isso não funcionou, tentei excluir completamente o Proton VPN, então digitei esses comandos do site deles

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

Depois que isso não funcionou, tentei usar suas instruções para remover a versão antiga

sudo apt-get autoremove protonvpn

rm -rf ~/.cache/protonvpn

rm -rf ~/.config/protonvpn

E até onde eu pude perceber, o Proton VPN foi excluído com sucesso, mas ainda estou recebendo o erro de chave pública zero quando tento atualizar (infelizmente, não tenho a saída de quando fiz isso originalmente (fechei a janela do terminal), mas aqui está a saída de quando fiz isso novamente)

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.

E quanto ao "E:The repository 'https://example.com/apt stable Release' does not have a Release file."erro, acredito que o criei acidentalmente após seguir esta [solução]( Como faço para corrigir o erro GPG "NO_PUBKEY"? publica instruções)

Então minha pergunta é como faço para consertar isso?, presumo que tenho que excluir alguns arquivos por exemplo.com e proton vpn, mas não sei como fazer isso

(também preferiria não ter que fazer uma instalação nova, mas se você acha que eu deveria, provavelmente farei)

package-management
  • 1 respostas
  • 80 Views
Martin Hope
Ashu
Asked: 2025-01-10 06:44:00 +0800 CST

Acho que meu Windows Bootloader está faltando

  • 5

Por favor, consulte esta pergunta ,

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

Com base no conteúdo da minha partição EFI (/mnt/EFI), não há diretório ou arquivo relacionado a um bootloader do Windows (por exemplo, Microsoft ou bootmgfw.efi). Isso indica que o bootloader do Windows foi removido ou não foi instalado corretamente. Estava tudo funcionando bem até meados de dezembro de 2024. Não sei o que aconteceu exatamente. Minha BIOS mostra um SSD Samsung PCINVME de 1 TB (acredito que era o que continha o bootloader do sistema operacional Windows, etc...) Agora, no gparted, ele não está visível.

Este é o link do boot-repair

Imagem do gparted insira a descrição da imagem aqui

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

Como acessar meu telefone Android pelo meu terminal?

  • 5

Conectei meu telefone Android 15 ao meu computador Ubuntu 24.04, entrei no terminal e queria poder acessar arquivos no meu telefone, como pastas de mídia e música, através do terminal... isso é possível?

Respostas antigas não funcionam mais.

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

O monitor tem linhas verticais

  • 7

Tenho um monitor que tem um monte de linhas verticais cinzas exibidas nele, e também a resolução parece errada. Ele está conectado via HDMI e executando o Ubuntu 24.04. Tentei mudar para um cabo HDMI para DP/e usar uma porta diferente na minha placa de vídeo, mas sem alterações. Também inicializei no Linux Mint e tive o mesmo problema. Quando eu estava executando o Windows 10 (recentemente), funcionou bem. Minha placa de vídeo é uma AMD Radeon RX 570 Series. Parece que mudei do Wayland para o xorg, sem alterações.

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

geoclue[3863]: Falha ao consultar o local: Consultar local Erro SOUP: Não encontrado

  • 6

Meu /var/log/syslog no meu Ubuntu 24.10 está cheio do seguinte erro geoclue:

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

Para ver o(s) erro(s) no seu sistema, faça:

grep SOUP /var/log/syslog*

Isso porque Mozilla Location Serviceo encerramento ocorreu em 12 de junho de 2024.

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

O Google tem um serviço de localização semelhante, mas ele requer uma API do Google e uma edição de arquivo de configuração.

Existe uma maneira de consertar meu serviço de localização e me livrar da mensagem de erro contínua?

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

Como alterar o número máximo de arquivos abertos para um processo no Ubuntu 24.04?

  • 6

essa pergunta já foi feita muitas vezes, mas muitos tópicos têm anos e não conseguimos descobrir quais deles funcionam.

Temos um serviço que é iniciado via systemd que roda como um usuário separado, vamos chamá-lo de "myservice". O serviço tem sua estrutura de pasta em /opt/company/product/{bin,log,etc}. O processo é configurado para usar muitos threads porque ele transfere arquivos de um servidor para outro. Às vezes, recebemos um erro por muitos arquivos abertos.

Tentamos definir o ulimit, sysctl -w fs.file-max=1000000, configurando-o em arquivos e nada parece funcionar.

Qual é a maneira atual do Ubuntu 24.04 alterar permanentemente o limite de um processo ou usuário específico para um número muito alto ou, melhor, desabilitar o limite completamente?

Obrigado

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

Total newby ubuntu 23.10 Erro de atualização do Sudo apt [duplicado]

  • 5
Esta pergunta já tem respostas aqui :
Como instalar software ou atualizar de uma versão antiga sem suporte? (13 respostas)
As seguintes assinaturas eram inválidas: EXPKEYSIG 1397BC53640DB551 ​​(8 respostas)
Como faço para corrigir o erro GPG "NO_PUBKEY"? (15 respostas)
O que posso fazer se um repositório/PPA não tiver um arquivo Release? (5 respostas)
Quais comandos (exatamente) devem substituir o apt-key obsoleto? (8 respostas)
Fechado ontem .

Estou tentando assistir Netflix em um pequeno computador com Ubuntu 23.10 (foi um presente). Não entendo nada de Linux, mas tentei em alguns fóruns e a resposta foi instalar o Chrome, mas não consegui. Então descobri que precisava fazer algum tipo de atualização executando um comando em um terminal sudo apt update, mas quando tento fazer isso, ele só retorna muitos erros. Tentarei postá-los aqui.

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.

Não tenho ideia se isso pode ser corrigido ou não. Qualquer ajuda será bem-vinda.

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

Não é possível ligar o Bluetooth no Acer Aspire 3 executando o Ubuntu 22.04

  • 6

Não é possível ligar o bluetooth. No entanto, o WiFi está funcionando.

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

Qualquer ajuda nesse sentido é apreciada. Obrigado.

$ 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 respostas
  • 30 Views
Prev
Próximo

Sidebar

Stats

  • Perguntas 205573
  • respostas 270741
  • best respostas 135370
  • utilizador 68524
  • Highest score
  • respostas
  • Marko Smith

    Existe um comando para listar todos os usuários? Também para adicionar, excluir, modificar usuários, no terminal?

    • 9 respostas
  • Marko Smith

    Como excluir um diretório não vazio no Terminal?

    • 4 respostas
  • Marko Smith

    Como descompactar um arquivo zip do Terminal?

    • 9 respostas
  • Marko Smith

    Como instalo um arquivo .deb por meio da linha de comando?

    • 11 respostas
  • Marko Smith

    Como instalo um arquivo .tar.gz (ou .tar.bz2)?

    • 14 respostas
  • Marko Smith

    Como listar todos os pacotes instalados

    • 24 respostas
  • Martin Hope
    Flimm Como posso usar o docker sem sudo? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    led-Zepp Como faço para salvar a saída do terminal em um arquivo? 2014-02-15 11:49:07 +0800 CST
  • Martin Hope
    ubuntu-nerd Como descompactar um arquivo zip do Terminal? 2011-12-11 20:37:54 +0800 CST
  • Martin Hope
    TheXed Como instalo um arquivo .deb por meio da linha de comando? 2011-05-07 09:40:28 +0800 CST
  • Martin Hope
    Ivan Como listar todos os pacotes instalados 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    David Barry Como determino o tamanho total de um diretório (pasta) na linha de comando? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher "Os seguintes pacotes foram retidos:" Por que e como resolvo isso? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford Como os PPAs podem ser removidos? 2010-07-30 01:09:42 +0800 CST

Hot tag

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

Explore

  • Início
  • Perguntas
    • Recentes
    • Highest score
  • tag
  • help

Footer

AskOverflow.Dev

About Us

  • About Us
  • Contact Us

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve