[Bug 1874953] Re: package smartmontools 7.1-1build1 failed to install/upgrade: conffile difference visualizer subprocess returned error exit status 127

Rafael David Tinoco rafaeldtinoco at ubuntu.com
Tue Apr 28 01:39:44 UTC 2020


This really looks like an environment issue:

Setting up smartmontools (7.1-1build1) ...

Configuration file '/etc/default/smartmontools'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   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.
*** smartmontools (Y/I/N/O/D/Z) [default=N] ? d
sh: 1: pager: not found
diff: standard output: Broken pipe
dpkg: error processing package smartmontools (--configure):
 conffile difference visualizer subprocess returned error exit status 127

Due to missing /bin/pager:

(c)rafaeldtinoco at devel:~$ which pager
(c)rafaeldtinoco at devel:~$ ls -lah /bin/pager
lrwxrwxrwx 1 root root 23 Apr 24 21:39 /bin/pager -> /etc/alternatives/pager
(c)rafaeldtinoco at devel:~$ ls -lah /etc/alternatives/pager
lrwxrwxrwx 1 root root 13 Apr 24 21:39 /etc/alternatives/pager -> /usr/bin/less

Try checking your system for pager:

(c)rafaeldtinoco at devel:~$ sudo update-alternatives --query pager
Name: pager
Link: /usr/bin/pager
Slaves:
 pager.1.gz /usr/share/man/man1/pager.1.gz
Status: auto
Best: /usr/bin/less
Value: /usr/bin/less

Alternative: /bin/more
Priority: 50
Slaves:
 pager.1.gz /usr/share/man/man1/more.1.gz

Alternative: /usr/bin/less
Priority: 77
Slaves:
 pager.1.gz /usr/share/man/man1/less.1.gz

and fixing it!

** Changed in: smartmontools (Ubuntu)
       Status: New => Invalid

** Changed in: smartmontools (Ubuntu)
       Status: Invalid => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to smartmontools in Ubuntu.
https://bugs.launchpad.net/bugs/1874953

Title:
  package smartmontools 7.1-1build1 failed to install/upgrade: conffile
  difference visualizer subprocess returned error exit status 127

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1874953/+subscriptions



More information about the Ubuntu-server-bugs mailing list