apt-offline устанавливает только определенные пакеты и не обновляет / не обновляет

apt-offline кажется отличным инструментом для установки пакетов на компьютере, не подключенном к сети.

Однако у меня проблема, когда он выполняет update/upgrade, а не просто устанавливает пакеты, которые я указал. Есть ли способ заставить его устанавливать только выбранные пакеты (и их зависимости)?

0
задан 23 March 2016 в 18:21

1 ответ

Согласно страница справочника способно-офлайновых необходимо следовать за этой последовательностью:

Sequence  1:  The following set of commands, when run in sequence, will
   update a disconnected machine.

          apt-offline set update.sig --update

          (Generate the required data needed to update the  APT  database.
          Should be run on the disconnected machine)

          apt-offline get update.sig --bundle update.zip

          (Download  the  required data needed to update the APT database.
          Should be run on a machine with internet connectivity)

          apt-offline install update.zip

          (Installs the data needed to update the APT database. Should  be
          run on the disconnected machine)


Sequence  2: With successful completion of Sequence 1, the APT database
   on the disconnected machine will be up-to-date. Now, the following  set
   of commands, when run in sequence, will upgrade a disconnected machine.

          apt-offline set upgrade.sig --upgrade

          (Genereate  the  required  data needed to upgrade the upgradable
          packages. Should be run on the disconnected machine)

          apt-offline get upgrade.sig --bundle upgrade.zip

          (Download the required data needed  to  upgrade  the  upgradable
          packages. Should be run on a machine with internet connectivity)

          apt-offline install upgrade.zip

          (Installs  the  data  needed to upgrade the upgradable packages.
          Should be run on the disconnected machine)

After completion of
          Sequence 1 and Sequence 2  in  order,  further  running  apt-get
          upgrade will result in 0 bytes of additional download.
0
ответ дан 24 March 2016 в 04:21
  • 1
    Я предполагаю /dev/sdb, тот, который моя система использует..., и да на LVM, алкоголик, уверенный походит, как это произошло... Я дам gui попытку. – I am not Fat 25 June 2017 в 02:22

Другие вопросы по тегам:

Похожие вопросы: