Linux mint update errors

Linux Mint Forums

Forum rules
There are no such things as «stupid» questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.

[Solved]Errors in apt update

Post by aryasinic » Mon Oct 04, 2021 11:30 am

I tried to install openvpn and Rstudio and I think I messed up and I couldn’t install neither of them. I tried to uninstall both, but when I use apt update I get the following messages in the last lines:

W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://packages.linuxmint.com uma Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A6616109451BBBF2 N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://swupdate.openvpn.net/community/openvpn3/repos focal InRelease' doesn't support architecture 'i386' E: The repository 'https://cloud.r-project.org/bin/linux/ubuntu uma-cran40/ Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

Larry78723 Level 14
Posts: 5481 Joined: Wed Jan 09, 2019 7:01 pm Location: Jasper County, SC, USA

Re: Errors in apt update

Post by Larry78723 » Mon Oct 04, 2021 11:40 am

Please post an inxi -Fxpmzr report. This will give us a concise overview of your hardware and how Mint sees it per How to get help .

Читайте также:  Linux неправильный блок окружения

Here is how to generate the report and post it:
Open a terminal window (Ctrl-Alt-t). Make it fullscreen to avoid unneeded linebreaks or chopped lines. Copy the following code and paste into the terminal (Ctrl-Shft-V) then hit Enter/Return:

exactly as it has been typed here.

Go to Edit, Select All, and then Copy, come back here, click on reply then code tags, , and then paste.
The results will help us to help you.

Image

If you have found the solution to your initial post, please open your original post, click on the pencil, and add (Solved) to the Subject , it helps other users looking for help, and keeps the forum clean.

Re: Errors in apt update

Post by aryasinic » Mon Oct 04, 2021 12:31 pm

System: Kernel: 5.4.0-88-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 5.0.5 Distro: Linux Mint 20.2 Uma base: Ubuntu 20.04 focal Machine: Type: Laptop System: LENOVO product: 20A7002QUS v: ThinkPad X1 Carbon 2nd serial: Mobo: LENOVO model: 20A7002QUS v: SDK0E50510 WIN serial: UEFI: LENOVO v: GRET63WW (1.40 ) date: 03/27/2020 Battery: ID-1: BAT0 charge: 31.3 Wh condition: 39.4/45.0 Wh (88%) model: SMP 45N1703 status: Unknown Memory: RAM: total: 7.66 GiB used: 2.01 GiB (26.3%) RAM Report: permissions: Unable to run dmidecode. Root privileges required. CPU: Topology: Dual Core model: Intel Core i7-4600U bits: 64 type: MT MCP arch: Haswell rev: 1 L2 cache: 4096 KiB flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 21549 Speed: 898 MHz min/max: 800/3300 MHz Core speeds (MHz): 1: 882 2: 888 3: 886 4: 901 Graphics: Device-1: Intel Haswell-ULT Integrated Graphics vendor: Lenovo driver: i915 v: kernel bus ID: 00:02.0 Display: x11 server: X.Org 1.20.11 driver: modesetting unloaded: fbdev,vesa resolution: 1600x900~60Hz OpenGL: renderer: Mesa DRI Intel HD Graphics 4400 (HSW GT2) v: 4.5 Mesa 21.0.3 direct render: Yes Audio: Device-1: Intel Haswell-ULT HD Audio vendor: Lenovo driver: snd_hda_intel v: kernel bus ID: 00:03.0 Device-2: Intel 8 Series HD Audio vendor: Lenovo driver: snd_hda_intel v: kernel bus ID: 00:1b.0 Sound Server: ALSA v: k5.4.0-88-generic Network: Device-1: Intel Ethernet I218-LM vendor: Lenovo ThinkPad X240 driver: e1000e v: 3.2.6-k port: 3080 bus ID: 00:19.0 IF: enp0s25 state: down mac: Device-2: Intel Wireless 7260 driver: iwlwifi v: kernel port: efa0 bus ID: 03:00.0 IF: wlp3s0 state: up mac: IF-ID-1: ppp0 state: unknown speed: N/A duplex: N/A mac: N/A Drives: Local Storage: total: 238.47 GiB used: 16.24 GiB (6.8%) ID-1: /dev/sda vendor: LITE-ON IT model: LGT-256M6G size: 238.47 GiB Partition: ID-1: / size: 41.00 GiB used: 9.53 GiB (23.2%) fs: ext4 dev: /dev/sda7 ID-2: /boot/efi size: 96.0 MiB used: 30.2 MiB (31.5%) fs: vfat dev: /dev/sda1 ID-3: /home size: 47.29 GiB used: 6.69 GiB (14.1%) fs: ext4 dev: /dev/sda8 ID-4: swap-1 size: 7.45 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda6 Sensors: System Temperatures: cpu: 50.0 C mobo: N/A Fan Speeds (RPM): cpu: 2510 Repos: No active apt repos in: /etc/apt/sources.list Active apt repos in: /etc/apt/sources.list.d/additional-repositories.list 1: deb https://cloud.r-project.org/bin/linux/ubuntu uma-cran40/ 2: deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35/ Active apt repos in: /etc/apt/sources.list.d/atom.list 1: deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main Active apt repos in: /etc/apt/sources.list.d/c2d4u_team-c2d4u4_0_-focal.list 1: deb http://ppa.launchpad.net/c2d4u.team/c2d4u4.0+/ubuntu focal main Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 1: deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 1: deb http://packages.linuxmint.com uma main upstream import backport #id:linuxmint_main 2: deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse 3: deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse 4: deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse 5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse 6: deb http://archive.canonical.com/ubuntu/ focal partner Active apt repos in: /etc/apt/sources.list.d/openvpn3.list 1: deb https://swupdate.openvpn.net/community/openvpn3/repos focal main Active apt repos in: /etc/apt/sources.list.d/vscode.list 1: deb [arch=amd64,arm64,armhf] http://packages.microsoft.com/repos/code stable main Info: Processes: 206 Uptime: 4h 44m Init: systemd runlevel: 5 Compilers: gcc: 9.3.0 Shell: bash v: 5.0.17 inxi: 3.0.38 

Источник

Читайте также:  Изменить дату создания папки linux

Ошибки при обновлении Linux Mint

Причины возникновения ошибок, как и сами ошибки могут быть разные. Но я разберу несколько примеров, и может этим помогу кому то.

Вот вы ввели команду sudo apt-get update

И пошли у вас разные ошибки обновления репозиториев.

Ошибка недоступен открытый ключ

Ошибка возникает у программ установленных из сторонних репозитрориев разработчика. Пакеты подписаны с помощью GPG ключей, это такая защита от подмены пакета, что бы вирусню не скачать себе.

Тут просто какой то репозиторий поменял ключи, ничего критичного, можно пользоваться системой, но бесит. Значит пробуем решить.

Это тянется от программы для доступа к яндекс диску, которую я так и не смог запустить. Мне это все не нужно и я просто убираю данный репозиторий.

Открываем утилиту Источники приложений — дополнительные репозитории и удаляем лишний репозиторий.

Мораль — удаляйте репозитории не нужных вам программ.

Так же удаляем и ключ, что бы не отсвечивал.

Кстати, не помешает зайти во вкладку обслуживание и нажать на кнопочки, ну кроме удаления сторонних пакетов, если они вам нужны. А вот откат иногда нужен, если более новая версия программы плохо работает в текущей системе.

Ладно, идем дальше, смотрим какие там ошибки теперь, повторяем

Получаем еще сообщения о отсутствии ключа.

Ключ 218017D1CC5FDB34, пробуем найти :

sudo apt-key adv —keyserver keyserver.ubuntu.com —recv-keys 218017D1CC5FDB34

Если там нету, пробуем найти в другом месте:

sudo apt-key adv —keyserver ha.pool.sks-keyservers.net —recv-keys наш ключ

А так же еще в одном, меняем адрес кейсервера на subkeys.pgp.net

Но у меня есть. Если и во втором случаи нет, то можно поискать в интернетах и форумах, но подумаете, а точно вам нужна эта программа?? Зачем такие сложности.

Читайте также:  Kali linux boot меню

Вы спросите, а нужно так все ключи. Нет, можно попытаться обновить все так сразу:

sudo apt-key adv \
—recv-keys \ —keyserver keyserver.ubuntu.com \ $(sudo apt-get update 2>&1 | grep -o ‘[0-9A-Z]\$’ | xargs)

Но, лучше по одному, не знаю почему, но так работает лучше.

Не удаляется сторонний репозиторий.

Вот мы все сделали, вроде в утилите удалили репозиторий, а он при обновлении дает ошибку. Удаляем сам файл значит. Минт держит сторонние репозитории по адресу: /etc/apt/sources.list.d

Удаляем файл ненужной нам более программы.

Не забываем, что надо открыть с Рут правами. Как их получить в файловом менеджере я уже писал

Источник

Оцените статью
Adblock
detector