Closed
Description
sometimes when apt installs tarantool package it stuck with message:
ubuntu@n1:~$ sudo apt install tarantool
Reading package lists... Done
Building dependency tree
Reading state information... Done
tarantool is already the newest version (2.6.1.0.gcfe0d1a55-1).
0 upgraded, 0 newly installed, 0 to remove and 63 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up tarantool-common (2.6.1.0.gcfe0d1a55-1) ...
Configuration file '/etc/default/tarantool'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** tarantool (Y/I/N/O/D/Z) [default=N] ?
Configuration file '/etc/logrotate.d/tarantool'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** tarantool (Y/I/N/O/D/Z) [default=N] ?
How-To Reproduce
- install
2.6.1.0.gcfe0d1a55-1
- run script
VER=2.6 curl -L https://tarantool.io/cshMMp/release/2.4/installer.sh | bash
was run.
Possible solution:
-o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confnew
(from https://unix.stackexchange.com/questions/22820/how-to-make-apt-get-accept-new-config-files-in-an-unattended-install-of-debian-f)