problem installing backuppc

  • This topic has 4 replies, 3 voices, and was last updated Jan 19-5:05 pm by anticapitalista.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #50127

    $ sudo apt install backuppc

    output omitted for brevity

    Unpacking backuppc (3.3.2-2+deb10u1) … [40/314]
    Setting up libaprutil1-ldap:amd64 (1.6.1-4) …
    Setting up libaprutil1-dbd-sqlite3:amd64 (1.6.1-4) …
    Setting up libunbound8:amd64 (1.9.0-2+deb10u2) …
    Setting up libsocket6-perl (0.29-1+b1) …
    Setting up libtime-parsedate-perl (2015.103-3) …
    Setting up exim4-config (4.92-8+deb10u4) …
    Adding system-user for exim (v4)
    Setting up apache2-data (2.4.38-3+deb10u4) …
    Setting up apache2-utils (2.4.38-3+deb10u4) …
    Setting up libgnutls-dane0:amd64 (3.6.7-4+deb10u5) …
    Setting up exim4-base (4.92-8+deb10u4) …
    exim: DB upgrade, deleting hints-db
    Setting up apache2-bin (2.4.38-3+deb10u4) …
    Setting up exim4-daemon-light (4.92-8+deb10u4) …
    [ ok ] Starting MTA: exim4.
    Initializing GnuTLS DH parameter file
    Setting up apache2 (2.4.38-3+deb10u4) …
    Enabling module mpm_event.
    Enabling module authz_core.
    Enabling module authz_host.
    Enabling module authn_core.
    Enabling module auth_basic.
    Enabling module access_compat.
    Enabling module authn_file.
    Enabling module authz_user.
    Enabling module alias.
    Enabling module dir.
    Enabling module autoindex.
    Enabling module env.
    Enabling module mime.
    Enabling module negotiation.
    Enabling module setenvif.
    Enabling module filter.
    Enabling module deflate.
    Enabling module status.
    Enabling module reqtimeout.
    Enabling conf charset.
    Enabling conf localized-error-pages.
    Enabling conf other-vhosts-access-log.
    Enabling conf security.
    Enabling conf serve-cgi-bin.
    Enabling site 000-default.
    [….] Starting Apache httpd web server: apache2AH00558: apache2: Could not reliably determine the server’s fully qualified domain name, using Set the ‘ServerName’ directi
    ve globally to suppress this message
    . ok
    insserv: warning: current start runlevel(s) (empty) of script `apache-htcacheclean’ overrides LSB defaults (2 3 4 5).
    insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `apache-htcacheclean’ overrides LSB defaults (0 1 6).
    Setting up backuppc (3.3.2-2+deb10u1) …

    apache2_invoke: Enable configuration backuppc.conf
    [ ok ] Reloading Apache httpd web server: apache2.
    adduser: Warning: The home directory `/var/lib/backuppc’ does not belong to the user you are currently creating.
    dpkg-statoverride: warning: deprecated –force option; use –force-all instead
    Adding password for user backuppc
    Considering dependency authn_core for auth_basic:
    Module authn_core already enabled
    Module auth_basic already enabled
    Considering dependency authz_core for authz_groupfile:
    Module authz_core already enabled
    Enabling module authz_groupfile.
    To activate the new configuration, you need to run:
    service apache2 restart
    Module authn_file already enabled
    Considering dependency authz_core for authz_user:
    Module authz_core already enabled
    Module authz_user already enabled
    Your MPM seems to be threaded. Selecting cgid instead of cgi.
    Enabling module cgid.
    To activate the new configuration, you need to run:
    service apache2 restart

    Creating config file /etc/backuppc/ with new version
    [….] Starting backuppc…2021-01-19 12:21:40 $Conf{SmbClientPath} = ‘/usr/bin/smbclient’ is not a valid executable program
    invoke-rc.d: initscript backuppc, action “start” failed.
    dpkg: error processing package backuppc (–configure):
    installed backuppc package post-installation script subprocess returned error exit status 1
    Processing triggers for libc-bin (2.28-10) …
    Processing triggers for man-db (2.8.5-2) …
    Errors were encountered while processing:
    E: Sub-process /usr/bin/dpkg returned an error code (1)


    What is wrong, in plain English, please?
    Is there a way to make backuppc work without excessive technicalities?

    • This topic was modified 5 months ago by uxer. Reason: formatting quoting interferes with message quoting, so I leave the post without code formatting

    just from reading the output, did you try to verify that ‘/usr/bin/smbclient’ does (not) exist?
    If it is not present, as reported, then install the corresponding package; most-likely ‘smbclient’ (can be verified e.g. using ‘apt-file’).

    If it was the cause, you may consider the 2nd suggestion, i.e. to active the new configuration.
    service apache2 restart

    • This reply was modified 5 months ago by sybok. Reason: Clearer formulation
    # service apache2 restart
    bash: service: command not found
    # whereis service
    service: /usr/sbin/service /etc/service /usr/share/man/man8/service.8.gz



    So this was my path:

    # apt install backuppc
    $Conf{SmbClientPath} = ‘/usr/bin/smbclient’ is not a valid executable program
    # apt install smbclient
    # apt purge backuppc
    # apt install backuppc
    $Conf{NmbLookupPath} = ‘/usr/bin/nmblookup’ is not a valid executable program
    # apt install samba-common-bin
    # apt purge backuppc
    # apt install backuppc

    now it works.

    This is the first time I encounter that package’s dependencies are not auto-resolved, I expected packages to be installed with one command, especially on a distro like Debian stable
    😕 🤨 🤔

    Thank you for your push, sybok

    Forum Admin

    Debian has smbclient as a recommends not a depends. antiX does not install recommended debs by default.

    Philosophers have interpreted the world in many ways; the point is to change it.

    antiX with runit - leaner and meaner.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.