[DRBD-user] drbd-utils-8.9.1-3: after rpm upgrade manpages missing

Roland Friedwagner roland.friedwagner at wu.ac.at
Mon Aug 11 12:29:33 CEST 2014

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Hello,

after upgrade drbd-utils from 8.4.4-7 to 8.9.1-3 the
man pages are missing in default location ...

$ rpm -qa "drbd*" | sort
drbd-km-2.6.32_431.11.2.el6.x86_64-8.4.4-7.el6.x86_64
drbd-km-2.6.32_431.17.1.el6.x86_64-8.4.4-7.el6.x86_64
drbd-km-2.6.32_431.23.3.el6.x86_64-8.4.4-7.el6.x86_64
drbd-km-2.6.32_431.5.1.el6.x86_64-8.4.4-7.el6.x86_64
drbd-km-2.6.32_431.el6.x86_64-8.4.4-7.el6.x86_64
drbd-udev-8.4.4-7.el6.x86_64
drbd-utils-8.4.4-7.el6.x86_64
$ rpm -Uvh drbd-utils-8.9.1-3.el6.x86_64.rpm drbd-udev-8.9.1-3.el6.x86_64.rpm
Preparing...                ########################################### [100%]
   1:drbd-utils             warning: /etc/drbd.d/global_common.conf created as /etc/drbd.d/global_common.conf.rpmnew
########################################### [ 50%]
ln: creating symbolic link `/usr/share/man/man8/drbd.8.gz': File exists
ln: creating symbolic link `/usr/share/man/man8/drbdadm.8.gz': File exists
ln: creating symbolic link `/usr/share/man/man8/drbdmeta.8.gz': File exists
ln: creating symbolic link `/usr/share/man/man8/drbdsetup.8.gz': File exists
ln: creating symbolic link `/usr/share/man/man5/drbd.conf.5.gz': File exists
warning: %post(drbd-utils-8.9.1-3.el6.x86_64) scriptlet failed, exit status 1
   2:drbd-udev              ########################################### [100%]

$ ls -l /usr/share/man/man8/drbd.8.gz /usr/share/man/man8/drbdadm.8.gz /usr/share/man/man8/drbdmeta.8.gz /usr/share/man/man8/drbdsetup.8.gz /usr/share/man/man5/drbd.conf.5.gz
ls: cannot access /usr/share/man/man8/drbd.8.gz: No such file or directory
ls: cannot access /usr/share/man/man8/drbdadm.8.gz: No such file or directory
ls: cannot access /usr/share/man/man8/drbdmeta.8.gz: No such file or directory
ls: cannot access /usr/share/man/man8/drbdsetup.8.gz: No such file or directory
ls: cannot access /usr/share/man/man5/drbd.conf.5.gz: No such file or directory

FIX?:
for f in drbd drbdadm drbdmeta drbdsetup; do
    ln -s $f-8.4.8.gz /usr/share/man/man8/$f.8.gz
done

But maybe I'm missing something.

Kind Regards, Roland

-- 
Roland.Friedwagner at wu.ac.at            Phone: +43 1 31336 5377
IT Services - WU (Vienna University of Economics and Business) 



More information about the drbd-user mailing list