Автономные обновления Ubuntu с использованием apt-offline
Когда я устанавливаю
apt-offlineс использованиемsudo apt install apt-offlineкоманда устанавливает apt-offline версии 1.8.4-1 (последняя, насколько я понимаю)
При попытке создать файл подписи с помощью командыsudo apt-offline set ~/offline-data.sig- получаю ошибку: ОШИБКА: Не указан параметр для установки команды.
Если я скачаю и установлю apt-offline версии 1.8.2-1 - все работает и файл создается.Загрузите файлы обновления, согласно sig-файлу. Команда: apt-offline get -d ~/offline-data-dir offline-data.sig
• В версии 1.8.4-1 — все загрузки отображаются «зелеными» и ошибки не отображаются.
• В версии 1.8.2-1 некоторые файлы отмечены красным цветом с ошибкой ниже:
ОШИБКА: Отказ от URL ...... (Список файлов размещен ниже) Запуск с ключом показывает в конце список неудачных файлов. Работает версия 1.8.4-1 с--verboseтоже показывает "Отказ" при загрузке, но они не помечены красным и ошибок в конце нет.
Вопросы:
- Как я мог начать работать с apt-offline версии 1.8.4-1, не получая ОШИБКУ: не указан параметр для установки команды ?
- Нужны ли мне эти отсутствующие файлы или можно просто игнорировать ошибки?
Заранее спасибо за ваши ответы.
VERBOSE: The following files failed to be downloaded.
VERBOSE: Not all errors are fatal. For eg. Translation files are not present on all mirrors.
VERBOSE: http://security.ubuntu.com/ubuntu/dists/jammy-security/main/binary-all/Packages.lzma failed.
VERBOSE: http://security.ubuntu.com/ubuntu/dists/jammy-security/main/i18n/Translation-en_IL.lzma failed.
VERBOSE: http://security.ubuntu.com/ubuntu/dists/jammy-security/main/dep11/Components-all.yml.lzma failed.
VERBOSE: http://security.ubuntu.com/ubuntu/dists/jammy-security/main/cnf/Commands-all.lzma failed.
VERBOSE: http://security.ubuntu.com/ubuntu/dists/jammy-security/restricted/binary-all/Packages.lzma failed.
VERBOSE: http://security.ubuntu.com/ubuntu/dists/jammy-security/restricted/i18n/Translation-en_IL.lzma failed.
VERBOSE: http://security.ubuntu.com/ubuntu/dists/jammy-security/restricted/dep11/Components-amd64.yml.lzma failed.
VERBOSE: http://security.ubuntu.com/ubuntu/dists/jammy-security/restricted/dep11/Components-all.yml.lzma failed.
VERBOSE: http://security.ubuntu.com/ubuntu/dists/jammy-security/restricted/dep11/icons-48x48.tar.lzma failed.
VERBOSE: http://security.ubuntu.com/ubuntu/dists/jammy-security/restricted/dep11/icons-64x64.tar.lzma failed.
VERBOSE: http://security.ubuntu.com/ubuntu/dists/jammy-security/restricted/dep11/icons-64x64@2.tar.lzma failed.
VERBOSE: http://security.ubuntu.com/ubuntu/dists/jammy-security/restricted/cnf/Commands-all.lzma failed.
VERBOSE: http://security.ubuntu.com/ubuntu/dists/jammy-security/universe/binary-all/Packages.lzma failed.
VERBOSE: http://security.ubuntu.com/ubuntu/dists/jammy-security/universe/i18n/Translation-en_IL.lzma failed.
VERBOSE: http://security.ubuntu.com/ubuntu/dists/jammy-security/universe/dep11/Components-all.yml.lzma failed.
VERBOSE: http://security.ubuntu.com/ubuntu/dists/jammy-security/universe/cnf/Commands-all.lzma failed.
VERBOSE: http://security.ubuntu.com/ubuntu/dists/jammy-security/multiverse/binary-all/Packages.lzma failed.
VERBOSE: http://security.ubuntu.com/ubuntu/dists/jammy-security/multiverse/i18n/Translation-en_IL.lzma failed.
VERBOSE: http://security.ubuntu.com/ubuntu/dists/jammy-security/multiverse/dep11/Components-amd64.yml.lzma failed.
VERBOSE: http://security.ubuntu.com/ubuntu/dists/jammy-security/multiverse/dep11/Components-all.yml.lzma failed.
VERBOSE: http://security.ubuntu.com/ubuntu/dists/jammy-security/multiverse/dep11/icons-48x48.tar.lzma failed.
VERBOSE: http://security.ubuntu.com/ubuntu/dists/jammy-security/multiverse/dep11/icons-64x64.tar.lzma failed.
VERBOSE: http://security.ubuntu.com/ubuntu/dists/jammy-security/multiverse/dep11/icons-64x64@2.tar.lzma failed.
VERBOSE: http://security.ubuntu.com/ubuntu/dists/jammy-security/multiverse/cnf/Commands-all.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy/main/binary-all/Packages.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy/main/i18n/Translation-en_IL.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy/main/dep11/Components-all.yml.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy/main/cnf/Commands-all.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy/restricted/binary-all/Packages.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy/restricted/i18n/Translation-en_IL.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy/restricted/dep11/Components-amd64.yml.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy/restricted/dep11/Components-all.yml.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy/restricted/dep11/icons-48x48.tar.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy/restricted/dep11/icons-64x64.tar.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy/restricted/dep11/icons-64x64@2.tar.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy/restricted/cnf/Commands-all.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy/universe/binary-all/Packages.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy/universe/i18n/Translation-en_IL.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy/universe/dep11/Components-all.yml.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy/universe/cnf/Commands-all.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy/multiverse/binary-all/Packages.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy/multiverse/i18n/Translation-en_IL.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy/multiverse/dep11/Components-all.yml.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy/multiverse/cnf/Commands-all.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy-updates/main/binary-all/Packages.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy-updates/main/i18n/Translation-en_IL.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy-updates/main/dep11/Components-all.yml.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy-updates/main/cnf/Commands-all.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy-updates/restricted/binary-all/Packages.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy-updates/restricted/i18n/Translation-en_IL.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy-updates/restricted/dep11/Components-amd64.yml.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy-updates/restricted/dep11/Components-all.yml.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy-updates/restricted/dep11/icons-48x48.tar.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy-updates/restricted/dep11/icons-64x64.tar.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy-updates/restricted/dep11/icons-64x64@2.tar.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy-updates/restricted/cnf/Commands-all.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy-updates/universe/binary-all/Packages.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy-updates/universe/i18n/Translation-en_IL.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy-updates/universe/dep11/Components-all.yml.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy-updates/universe/cnf/Commands-all.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy-updates/multiverse/binary-all/Packages.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy-updates/multiverse/i18n/Translation-en_IL.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy-updates/multiverse/dep11/Components-all.yml.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy-updates/multiverse/cnf/Commands-all.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy-backports/main/binary-all/Packages.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy-backports/main/i18n/Translation-en_IL.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy-backports/main/dep11/Components-amd64.yml.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy-backports/main/dep11/Components-all.yml.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy-backports/main/dep11/icons-48x48.tar.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy-backports/main/dep11/icons-64x64.tar.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy-backports/main/dep11/icons-64x64@2.tar.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy-backports/main/cnf/Commands-all.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy-backports/restricted/binary-all/Packages.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy-backports/restricted/i18n/Translation-en_IL.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy-backports/restricted/dep11/Components-amd64.yml.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy-backports/restricted/dep11/Components-all.yml.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy-backports/restricted/dep11/icons-48x48.tar.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy-backports/restricted/dep11/icons-64x64.tar.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy-backports/restricted/dep11/icons-64x64@2.tar.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy-backports/restricted/cnf/Commands-all.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy-backports/universe/binary-all/Packages.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy-backports/universe/i18n/Translation-en_IL.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy-backports/universe/dep11/Components-all.yml.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy-backports/universe/cnf/Commands-all.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy-backports/multiverse/binary-all/Packages.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy-backports/multiverse/i18n/Translation-en_IL.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy-backports/multiverse/dep11/Components-amd64.yml.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy-backports/multiverse/dep11/Components-all.yml.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy-backports/multiverse/dep11/icons-48x48.tar.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy-backports/multiverse/dep11/icons-64x64.tar.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy-backports/multiverse/dep11/icons-64x64@2.tar.lzma failed.
VERBOSE: http://il.archive.ubuntu.com/ubuntu/dists/jammy-backports/multiverse/cnf/Commands-all.lzma failed.
1 ответ
На первый вопрос нашел ответ. Разница между версиями 1.8.2-1 и 1.8.4-1 - 1.8.2-1 после получения командыsudo apt-offline set ~/offline-data.sigготовит файл, а 1.8.4-1 требует--update --upgradeклавиши для этого действия.
Таким образом, запрос должен выглядеть так:sudo apt-offline set ~/offline-data.sig --update --upgrade
Дополнительную информацию можно найти здесь: https://manpages.ubuntu.com/manpages/trusty/man8/apt-offline.8.html .