apt-offline apt-get upgrade still trying to connect to online server for upgrade even though packages have been synced already
1
vote
2
answers
1483
views
I have a server which can't go online because of some policy. So I have to update it using apt-offline.
So far it has worked for me nicely on other servers, but this one doesn't really.
- I created the sig file, moved it to an online server
- I created the bundle on the online server using the sig file
- I moved the bundle back to the offline server
- I installed the bundle, the output shows synced for all repros
- I call
apt-get upgrade
, it shows me all the packages that were just synced
- The server tries to connect to an internet server 0% [Connecting to cdn.debian.net] [Connecting to security.debian.org]
, see below, even though the output shows that it has just synced packages from the bundle... I don't get it, what am I doing wrong?
See here the apt-offline install
command and the apt-get upgrade
command
root@CFRLJY1:~# apt-offline install /media/usb/bundle-24-11-2015-3.zip
gpgv: Signature made Tue Nov 24 04:54:22 2015 HKT using RSA key ID 46925553
gpgv: Good signature from "Debian Archive Automatic Signing Key (7.0/wheezy) "
gpgv: Signature made Tue Nov 24 04:54:22 2015 HKT using RSA key ID 2B90D010
gpgv: Good signature from "Debian Archive Automatic Signing Key (8/jessie) "
gpgv: Signature made Sat Sep 5 19:47:40 2015 HKT using RSA key ID 46925553
gpgv: Good signature from "Debian Archive Automatic Signing Key (7.0/wheezy) "
gpgv: Signature made Sat Sep 5 19:47:40 2015 HKT using RSA key ID 2B90D010
gpgv: Good signature from "Debian Archive Automatic Signing Key (8/jessie) "
gpgv: Signature made Sat Sep 5 19:47:55 2015 HKT using RSA key ID 65FFB764
gpgv: Good signature from "Wheezy Stable Release Key "
gpgv: Signature made Mon Nov 23 08:50:55 2015 HKT using RSA key ID C857C906
gpgv: Good signature from "Debian Security Archive Automatic Signing Key (8/jessie) "
gpgv: Signature made Mon Nov 23 08:50:55 2015 HKT using RSA key ID 46925553
gpgv: Good signature from "Debian Archive Automatic Signing Key (7.0/wheezy) "
/var/lib/apt/lists/partial/ftp.cn.debian.org_debian_dists_wheezy-updates_Release synced.
/var/lib/apt/lists/partial/ftp.cn.debian.org_debian_dists_wheezy-updates_Release.gpg synced.
/var/lib/apt/lists/partial/ftp.cn.debian.org_debian_dists_wheezy-updates_main_binary-amd64_Packages synced.
/var/lib/apt/lists/partial/ftp.cn.debian.org_debian_dists_wheezy-updates_main_i18n_Translation-en synced.
/var/lib/apt/lists/partial/ftp.cn.debian.org_debian_dists_wheezy-updates_main_source_Sources synced.
/var/lib/apt/lists/partial/ftp.cn.debian.org_debian_dists_wheezy-updates_Release synced.
/var/lib/apt/lists/partial/ftp.cn.debian.org_debian_dists_wheezy-updates_Release.gpg synced.
/var/lib/apt/lists/partial/ftp.cn.debian.org_debian_dists_wheezy-updates_main_binary-amd64_Packages synced.
/var/lib/apt/lists/partial/ftp.cn.debian.org_debian_dists_wheezy-updates_main_i18n_Translation-en synced.
/var/lib/apt/lists/partial/ftp.cn.debian.org_debian_dists_wheezy-updates_main_source_Sources synced.
/var/lib/apt/lists/partial/ftp.cn.debian.org_debian_dists_wheezy_Release synced.
/var/lib/apt/lists/partial/ftp.cn.debian.org_debian_dists_wheezy_Release.gpg synced.
/var/lib/apt/lists/partial/ftp.cn.debian.org_debian_dists_wheezy_contrib_binary-amd64_Packages synced.
/var/lib/apt/lists/partial/ftp.cn.debian.org_debian_dists_wheezy_contrib_i18n_Translation-en synced.
/var/lib/apt/lists/partial/ftp.cn.debian.org_debian_dists_wheezy_main_binary-amd64_Packages synced.
/var/lib/apt/lists/partial/ftp.cn.debian.org_debian_dists_wheezy_main_i18n_Translation-en synced.
/var/lib/apt/lists/partial/ftp.cn.debian.org_debian_dists_wheezy_main_source_Sources synced.
/var/lib/apt/lists/partial/ftp.cn.debian.org_debian_dists_wheezy_non-free_binary-amd64_Packages synced.
/var/lib/apt/lists/partial/ftp.cn.debian.org_debian_dists_wheezy_non-free_i18n_Translation-en synced.
/var/lib/apt/lists/partial/security.debian.org_dists_wheezy_updates_Release synced.
/var/lib/apt/lists/partial/security.debian.org_dists_wheezy_updates_Release.gpg synced.
/var/lib/apt/lists/partial/security.debian.org_dists_wheezy_updates_contrib_binary-amd64_Packages synced.
/var/lib/apt/lists/partial/security.debian.org_dists_wheezy_updates_contrib_i18n_Translation-en synced.
/var/lib/apt/lists/partial/security.debian.org_dists_wheezy_updates_main_binary-amd64_Packages synced.
/var/lib/apt/lists/partial/security.debian.org_dists_wheezy_updates_main_i18n_Translation-en synced.
/var/lib/apt/lists/partial/security.debian.org_dists_wheezy_updates_main_source_Sources synced.
/var/lib/apt/lists/partial/security.debian.org_dists_wheezy_updates_non-free_binary-amd64_Packages synced.
/var/lib/apt/lists/partial/security.debian.org_dists_wheezy_updates_non-free_i18n_Translation-en synced.
root@CFRLJY1:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
krb5-locales libapache2-mod-php5 libfreetype6 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgssapi-krb5-2 libk5crypto3 libkrb5-3
libkrb5support0 libmysqlclient18 libpng12-0 linux-image-3.2.0-4-amd64 mysql-client-5.5 mysql-common mysql-server mysql-server-5.5
mysql-server-core-5.5 ntp php-pear php5 php5-cli php5-common php5-curl php5-mysql tzdata
25 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 42.0 MB of archives.
After this operation, 217 kB disk space will be freed.
Do you want to continue [Y/n]? Y
0% [Connecting to cdn.debian.net] [Connecting to security.debian.org]
Thanks so much for any hint and help in advance!
Asked by Preexo
(5083 rep)
Nov 30, 2015, 09:19 AM
Last activity: Jul 14, 2016, 06:23 AM
Last activity: Jul 14, 2016, 06:23 AM