View Single Post
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#44
Originally Posted by demolition View Post
Pretty much a repeat of Vetsin's comment but I did "dpkg --purge", to remove it completely first.
Code:
/home/user # dpkg -l | grep useragent
/home/user # dpkg -i useragenttool_1.1.0_armel.deb
Selecting previously deselected package useragenttool.
(Reading database ... 60183 files and directories currently installed.)
Unpacking useragenttool (from useragenttool_1.1.0_armel.deb) ...
Setting up useragenttool (1.1.0) ...
chown: invalid option -- f
BusyBox v1.20.2 (Debian 1.20.2power5) multi-call binary.

Usage: chown [-RhLHP]... OWNER[<.|:>[GROUP]] FILE...

Change the owner and/or group of each FILE to OWNER and/or GROUP

	-R	Recurse
	-h	Affect symlinks instead of symlink targets
	-L	Traverse all symlinks to directories
	-H	Traverse symlinks on command line only
	-P	Don't traverse symlinks (default)

dpkg: error processing useragenttool (--install):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 useragenttool
/home/user #
Why does user agent tool need to use chown, when other programmes don't?
To make sure that the file can be edited by the user. I've just uploaded the fix. And if there are problems upgrading: just remove the -f from postinst
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 

The Following User Says Thank You to marmistrz For This Useful Post: