Package: apt-cacher-ng
Version: 2-1~bpo8+1
Severity: normal

Dear Maintainer,

   * What led up to the situation?

I attempted to do a normal upgrade:

--------------------------------------------------
root@freeman:~# time apt-get upgrade ; date
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  apt-cacher-ng
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

real    0m8.054s
user    0m4.612s
sys     0m0.320s
Sun Mar 12 11:09:31 MDT 2017
root@freeman:~# time apt-get dist-upgrade ; date
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

real    0m5.479s
user    0m5.232s
sys     0m0.232s
Sun Mar 12 11:09:41 MDT 2017
root@freeman:~#
--------------------------------------------------

As you can see, no error message!

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

As you can see above, I tried a normal upgrade. Since one package was
held back, I tried a dist-upgrade. That silently ignored
apt-cacher-ng.

   * What was the outcome of this action?

I did not get the anticipated dist-upgrade to apt-cacher-ng.

   * What outcome did you expect instead?

That I would get the anticipated upgrade to apt-cacher-ng.

Workaround:

I tried installing by downloading and running dpkg

--------------------------------------------------
root@freeman:~/tmp# dpkg -i apt-cacher-ng_2-1~bpo8+1_i386.deb 
(Reading database ... 52452 files and directories currently installed.)
Preparing to unpack apt-cacher-ng_2-1~bpo8+1_i386.deb ...
Unpacking apt-cacher-ng (2-1~bpo8+1) over (0.9.1-1~bpo8+1) ...
dpkg: dependency problems prevent configuration of apt-cacher-ng:
 apt-cacher-ng depends on libssl1.0.0 (>= 1.0.2~beta3); however:
  Version of libssl1.0.0:i386 on system is 1.0.1t-1+deb8u6.

dpkg: error processing package apt-cacher-ng (--install):
 dependency problems - leaving unconfigured
Processing triggers for systemd (215-17+deb8u6) ...
Processing triggers for man-db (2.7.0.2-5) ...
Errors were encountered while processing:
 apt-cacher-ng
root@freeman:~/tmp#
--------------------------------------------------

That told me what the problem was. I then installed libssl from jessie
backports. I was then able to upgrade apt-cacher-ng:

--------------------------------------------------
root@freeman:~/tmp# apt install -t jessie-backports libssl1.0.0
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be upgraded:
  libssl1.0.0
1 upgraded, 0 newly installed, 0 to remove and 49 not upgraded.
Need to get 2,258 kB of archives.
After this operation, 447 kB of additional disk space will be used.
Get:1 http://mirror.steadfast.net/debian/ jessie-backports/main libssl1.0.0 
i386 1.0.2k-1~bpo8+1 [2,258 kB]
Fetched 2,258 kB in 1s (1,369 kB/s)      
Reading changelogs... Done
Preconfiguring packages ...
(Reading database ... 37050 files and directories currently installed.)
Preparing to unpack .../libssl1.0.0_1.0.2k-1~bpo8+1_i386.deb ...
Unpacking libssl1.0.0:i386 (1.0.2k-1~bpo8+1) over (1.0.1t-1+deb8u6) ...
Setting up libssl1.0.0:i386 (1.0.2k-1~bpo8+1) ...
Processing triggers for libc-bin (2.19-18+deb8u7) ...
Scanning processes...                                                           
                                                   
Scanning candidates...                                                          
                                                   
Scanning kernel images...                                                       
                                                   
Running kernel seems to be up-to-date.
Restarting services using systemd...
root@freeman:~/tmp# time apt-get upgrade ; date
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  apt-cacher-ng
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 576 kB of archives.
After this operation, 35.8 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirror.steadfast.net/debian/ jessie-backports/main apt-cacher-ng 
i386 2-1~bpo8+1 [576 kB]
Fetched 576 kB in 0s (601 kB/s)        
Reading changelogs... Done
Preconfiguring packages ...
(Reading database ... 37050 files and directories currently installed.)
Preparing to unpack .../apt-cacher-ng_2-1~bpo8+1_i386.deb ...
Unpacking apt-cacher-ng (2-1~bpo8+1) over (0.9.1-1~bpo8+1) ...
Processing triggers for systemd (215-17+deb8u6) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up apt-cacher-ng (2-1~bpo8+1) ...
Installing new version of config file /etc/apt-cacher-ng/acng.conf ...
Installing new version of config file /etc/logrotate.d/apt-cacher-ng ...
Scanning processes...                                                           
                                                   
Scanning candidates...                                                          
                                                   
Scanning kernel images...                                                       
                                                   
Running kernel seems to be up-to-date.
Restarting services using systemd...

real    0m51.266s
user    0m23.600s
sys     0m5.232s
Sun Mar 12 11:36:32 MDT 2017
root@freeman:~/tmp# service apt-cacher-ng stop
root@freeman:~/tmp# service apt-cacher-ng start
--------------------------------------------------


-- Package-specific info:

-- System Information:
Debian Release: 8.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i586)

Kernel: Linux 3.16.0-4-586
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages apt-cacher-ng depends on:
ii  adduser                3.113+nmu3
ii  debconf [debconf-2.0]  1.5.56
ii  dpkg                   1.17.27
ii  init-system-helpers    1.22
ii  libbz2-1.0             1.0.6-7+b3
ii  libc6                  2.19-18+deb8u7
ii  libgcc1                1:4.9.2-10
ii  liblzma5               5.1.1alpha+20120614-2+b3
ii  libssl1.0.0            1.0.2k-1~bpo8+1
ii  libstdc++6             4.9.2-10
ii  libsystemd0            215-17+deb8u6
ii  libwrap0               7.6.q-25
ii  lsb-base               4.1+Debian13+nmu1
ii  zlib1g                 1:1.2.8.dfsg-2+b1

apt-cacher-ng recommends no packages.

Versions of packages apt-cacher-ng suggests:
pn  avahi-daemon  <none>
pn  doc-base      <none>
ii  libfuse2      2.9.3-15+deb8u2

-- debconf information:
  apt-cacher-ng/proxy: keep
  apt-cacher-ng/port: keep
  apt-cacher-ng/gentargetmode: No automated setup
  apt-cacher-ng/cachedir: keep
  apt-cacher-ng/bindaddress: keep
  apt-cacher-ng/tunnelenable: false

Reply via email to