LINUX.ORG.RU

Сообщения ALARMus

 

Ошибки при попытке обновить Debian

 

Debian 11.5 bullseye

В попытке перейти на следующую версию и на первом шаге выполнении команды - sudo apt update получил вот такой ворох (ошибки отделены и основные в конце):

Get:1 file:/tmp/repo/local-team ./ InRelease
Ign:1 file:/tmp/repo/local-team ./ InRelease
Get:2 file:/tmp/repo/local-team ./ Release
Ign:2 file:/tmp/repo/local-team ./ Release
Get:3 file:/tmp/repo/local-team ./ Packages
Ign:3 file:/tmp/repo/local-team ./ Packages
Get:4 file:/tmp/repo/local-team ./ Translation-en_US
Ign:4 file:/tmp/repo/local-team ./ Translation-en_US
Get:5 file:/tmp/repo/local-team ./ Translation-en
Ign:5 file:/tmp/repo/local-team ./ Translation-en
Get:3 file:/tmp/repo/local-team ./ Packages
Ign:3 file:/tmp/repo/local-team ./ Packages
Get:4 file:/tmp/repo/local-team ./ Translation-en_US
Ign:4 file:/tmp/repo/local-team ./ Translation-en_US
Get:5 file:/tmp/repo/local-team ./ Translation-en
Ign:5 file:/tmp/repo/local-team ./ Translation-en
Get:3 file:/tmp/repo/local-team ./ Packages
Ign:3 file:/tmp/repo/local-team ./ Packages
Get:4 file:/tmp/repo/local-team ./ Translation-en_US
Ign:4 file:/tmp/repo/local-team ./ Translation-en_US
Get:5 file:/tmp/repo/local-team ./ Translation-en
Ign:5 file:/tmp/repo/local-team ./ Translation-en
Get:3 file:/tmp/repo/local-team ./ Packages
Ign:3 file:/tmp/repo/local-team ./ Packages
Get:4 file:/tmp/repo/local-team ./ Translation-en_US
Ign:4 file:/tmp/repo/local-team ./ Translation-en_US
Get:5 file:/tmp/repo/local-team ./ Translation-en
Ign:5 file:/tmp/repo/local-team ./ Translation-en
Get:3 file:/tmp/repo/local-team ./ Packages
Ign:3 file:/tmp/repo/local-team ./ Packages
Get:4 file:/tmp/repo/local-team ./ Translation-en_US
Ign:4 file:/tmp/repo/local-team ./ Translation-en_US
Get:5 file:/tmp/repo/local-team ./ Translation-en
Ign:5 file:/tmp/repo/local-team ./ Translation-en
Get:3 file:/tmp/repo/local-team ./ Packages
Ign:3 file:/tmp/repo/local-team ./ Packages
Get:4 file:/tmp/repo/local-team ./ Translation-en_US
Ign:4 file:/tmp/repo/local-team ./ Translation-en_US
Get:5 file:/tmp/repo/local-team ./ Translation-en
Ign:5 file:/tmp/repo/local-team ./ Translation-en
Get:3 file:/tmp/repo/local-team ./ Packages

Err:3 file:/tmp/repo/local-team ./ Packages
  File not found - /tmp/repo/local-team/./Packages (2: No such file or directory)

Get:4 file:/tmp/repo/local-team ./ Translation-en_US
Ign:4 file:/tmp/repo/local-team ./ Translation-en_US
Get:6 http://deb.debian.org/debian bullseye-updates InRelease [44.0 kB]
Get:7 http://deb.debian.org/debian bullseye InRelease [75.1 kB]
Get:8 http://deb.debian.org/debian sid InRelease [189 kB] 
Get:9 http://deb.debian.org/debian bullseye-updates/main Sources [7,908 B]
Get:10 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [18.8 kB]
Get:11 http://deb.debian.org/debian bullseye-updates/main Translation-en [10.5 kB]
Get:12 http://deb.debian.org/debian bullseye/contrib Sources [43.2 kB]      

Err:8 http://deb.debian.org/debian sid InRelease         
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6ED0E7B82643E131 NO_PUBKEY 78DBA3BC47EF2265

Get:13 http://deb.debian.org/debian bullseye/main Sources [8,500 kB] 
Get:14 http://deb.debian.org/debian bullseye/non-free Sources [81.0 kB]
Get:15 http://deb.debian.org/debian bullseye/main amd64 Packages [8,066 kB]                                                                                             
Get:16 http://deb.debian.org/debian bullseye/main Translation-en [6,235 kB]                                                                                             
Get:17 http://deb.debian.org/debian bullseye/contrib amd64 Packages [50.4 kB]                                                                                           
Get:18 http://deb.debian.org/debian bullseye/contrib Translation-en [46.9 kB]                                                                                           
Get:19 http://deb.debian.org/debian bullseye/non-free amd64 Packages [96.4 kB]                                                                                          
Get:20 http://deb.debian.org/debian bullseye/non-free Translation-en [92.5 kB]                                                                                          
Get:21 http://security.debian.org/debian-security bullseye-security InRelease [27.2 kB]                                                                                 
Get:22 http://security.debian.org/debian-security bullseye-security/contrib Sources [1,128 B]
Get:23 http://security.debian.org/debian-security bullseye-security/main Sources [294 kB]                                                                               
Get:24 http://security.debian.org/debian-security bullseye-security/main amd64 Packages [457 kB]                                                                        
Get:25 http://security.debian.org/debian-security bullseye-security/main Translation-en [307 kB]                                                                        
Get:26 http://security.debian.org/debian-security bullseye-security/contrib amd64 Packages [2,880 B]                                                                    
Get:27 http://security.debian.org/debian-security bullseye-security/contrib Translation-en [2,512 B]                                                                    
Reading package lists... Done                                                                                                                                           

W: GPG error: http://deb.debian.org/debian sid InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6ED0E7B82643E131 NO_PUBKEY 78DBA3BC47EF2265
E: The repository 'http://deb.debian.org/debian sid InRelease' is not signed.
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.

Что с этим делать ?

ALARMus
()

Файл wget скачивает, а curl из скрипта не качает

 , ,

Здравствуйте. Помогите решить проблему. Если из консоли указать wget и адрес, то файл скачивается.

Если же запускается из .sh скрипта : source <(curl сайт) то не скачивается - по тайм-ауту.

Это все через прокси (параметры прокси прописаны в /etc/environment и в /etc/apt/apt.conf.d/proxy/_файл_с_прокси)

Перемещено hobbit из general

ALARMus
()

Заменить curl в sh на локальный файл

 

Здраствуйте. Подскажите как поменять строку в sh файле, чтобы ссылаться не на скачиваемый файл, а на этот же файл находящийся локально.

curl -s http://download.r7-office.ru/repo/gpgkey/r7-office.gpg.key | gpg –no-default-keyring –keyring gnupg-ring:/usr/share/keyrings/r7-office.gpg –import

И вот начало: curl -s http://download.r7-office.ru/repo/gpgkey/r7-office.gpg.key

сменить на: /home/User/R7/r7-office.gpg.key

ALARMus
()