Public bug reported:

Binary package hint: mount

I have a amd64 gutsy updated daily from a tribe5 install.  Today, I was unable 
to update.
The updater returns this popup error:

 E: /var/cache/apt/archives/mount_2.13-8ubuntu1_amd64.deb: unable to
stat `./usr/share/man/man8/umount.8.gz' (which I was about to install)

and this is in the details tab:

 Extracting templates from packages: 100%
 Preconfiguring packages ...
 (Reading database ... 229773 files and directories currently installed.)
 Preparing to replace mount 2.13-6ubuntu1 (using 
.../mount_2.13-8ubuntu1_amd64.deb) ...
 Unpacking replacement mount ...
 dpkg: error processing /var/cache/apt/archives/mount_2.13-8ubuntu1_amd64.deb 
(--unpack):
  unable to stat `./usr/share/man/man8/umount.8.gz' (which I was about to 
install): Permission denied
 Errors were encountered while processing:
  /var/cache/apt/archives/mount_2.13-8ubuntu1_amd64.deb
 E: Sub-process /usr/bin/dpkg returned an error code (1)
 A package failed to install.  Trying to recover:

Aptitude gives the same error.  When I try to take a look at the
offending file, something is awry:

 sudo -i
 root# ls -las /usr/share/man/man8/umount.8.gz
 ls: /usr/share/man/man8/umount.8.gz: Permission denied
 root# ls -las /usr/share/man/man8/|grep umount
 ? ?---------  ? ?    ?        ?                ? 
/usr/share/man/man8/umount.8.gz
 
Note the odd permisions and owner.  all other files look fine, but the 
umount.8.gz file is odd:
 <snip>
 4 -rw-r--r--  1 root root  3107 2007-05-18 06:05 useradd.8.gz
 4 -rw-r--r--  1 root root  1468 2007-05-18 06:05 userdel.8.gz
 4 -rw-r--r--  1 root root  1921 2007-05-18 06:05 usermod.8.gz
 4 -rw-r--r--  1 root root   833 2007-10-01 05:51 usplash.8.gz
 4 -rw-r--r--  1 root root  1211 2007-10-01 05:51 usplash_write.8.gz
 ? ?---------  ? ?    ?        ?                ? 
/usr/share/man/man8/umount.8.gz
 4 -rw-r--r--  1 root root  1396 2007-09-03 12:39 v4l-conf.8.gz
 4 -rw-r--r--  1 root root   635 2007-09-16 08:47 validlocale.8.gz
 4 -rw-r--r--  1 root root  2380 2007-08-16 11:42 verify.8postfix.gz
 4 -rw-r--r--  1 root root    46 2007-10-03 00:27 vidmode.8.gz
 <snip>

It looks like the file is refered to as
"/usr/share/man/man8/umount.8.gz" instead of "umount.8.gz" in the
/usr/share/man/man8/ directory, as it should be.

Also, there seems to be an errent "./" at the begining of the file.

I don't know how to escape a "/" in the filename (quoting or
backslashing don't work, so I can't fix this.

 root# cd /usr/share/man/man8/
 root:/usr/share/man/man8# chmod a+rwx /usr/share/man/man8/umount.8.gz
 chmod: cannot access `/usr/share/man/man8/umount.8.gz': Permission denied
 root:/usr/share/man/man8# chmod a+rwx "/usr/share/man/man8/umount.8.gz"
 chmod: cannot access `/usr/share/man/man8/umount.8.gz': Permission denied
 root:/usr/share/man/man8# chmod a+rwx \/usr\/share\/man\/man8\/umount.8.gz
 chmod: cannot access `/usr/share/man/man8/umount.8.gz': Permission denied
 root:/usr/share/man/man8# chown root:root /usr/share/man/man8/umount.8.gz
 chown: cannot access `/usr/share/man/man8/umount.8.gz': Permission denied

I think this filename and the permisions need to be fixed in the
mount_2.13-8ubuntu1_amd64.deb package.

** Affects: util-linux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
can't update mount due to odd file perms of umount man page
https://bugs.launchpad.net/bugs/148626
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to