Package: rear
Version: 2.2+dfsg-2
Severity: normal
Tags: patch

Hello,

Just after install rear package I have this error :

# rear --help
ERROR: Cannot find required programs:  bc
Aborting due to an error, check /var/log/rear/rear-d9-rear.log.lockless for 
details


# cat /var/log/rear/rear-d9-rear.log.lockless
2017-11-17 06:20:45.647038130 Including conf/Linux-i386.conf
2017-11-17 06:20:45.648427450 Including conf/GNU/Linux.conf
2017-11-17 06:20:45.653724104 Including /etc/rear/local.conf
2017-11-17 06:20:45.655345805 ======================
2017-11-17 06:20:45.656514529 Running 'init' stage
2017-11-17 06:20:45.657656325 ======================
2017-11-17 06:20:45.662626655 Including init/default/010_set_drlm_env.sh
2017-11-17 06:20:45.664004373 Including 
init/default/030_update_recovery_system.sh
2017-11-17 06:20:45.665395378 Including 
init/default/050_check_rear_recover_mode.sh
2017-11-17 06:20:45.666803250 Finished running 'init' stage in 0 seconds
/usr/share/rear/lib/_input-output-functions.sh: line 199: type: bc: not found
2017-11-17 06:20:45.670103744 ERROR: Cannot find required programs:  bc
==== Stack trace ====
Trace 0: /usr/sbin/rear:510 main
Message: Cannot find required programs:  bc
== End stack trace ==
2017-11-17 06:20:45.675790423 Running exit tasks.

--------------------------------------------------------------------------------

The "bc" package is needed to use "rear" package.
Can you add the dependencies please ?

Thank you.

Alban

--------------------------------------------------------------------------------

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.13.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
+++ control     2017-08-22 11:22:37.000000000 +0200
--- control-new 2017-11-17 06:27:57.159839537 +0100
@@ -3,7 +3,7 @@
 Architecture: amd64
 Maintainer: Frédéric Bonnard <fre...@linux.vnet.ibm.com>
 Installed-Size: 2255
-Depends: attr, binutils, dosfstools, ethtool, fdisk | util-linux (<< 
2.29.2-3~), gawk, iproute2, iputils-ping, isolinux, lsb-release, openssl, 
parted, syslinux, xorriso
+Depends: attr, binutils, dosfstools, ethtool, fdisk | util-linux (<< 
2.29.2-3~), gawk, iproute2, iputils-ping, isolinux, lsb-release, openssl, 
parted, syslinux, xorriso, bc
 Recommends: nfs-client, portmap, extlinux
 Section: admin
 Priority: optional

Reply via email to