You are not logged in.

#1 2014-08-09 16:58:36

neoxic
Member
Registered: 2014-08-09
Posts: 5

'pacman-optimize' fails on illegal chmod option

Looks like 'pacman-optimize' needs patching. Fails with the following:

==> MD5sum'ing the old database...
==> Tar'ing up /var/lib/pacman/local...
==> Making and MD5sum'ing the new database...
==> Syncing database to disk...
==> Checking integrity...
==> Rotating database into place...
chmod: illegal option -- -
usage: chmod [-fhv] [-R [-H | -L | -P]] mode file ...
chown: illegal option -- -
usage: chown [-fhvx] [-R [-H | -L | -P]] owner[:group] file ...
       chown [-fhvx] [-R [-H | -L | -P]] :group file ...
==> ERROR: New database substitution failed. Check for /var/lib/pacman/local, /var/lib/pacman/local.old, and /var/lib/pacman/local.new directories.

Offline

#2 2014-08-10 02:47:30

Blµb
Administrator
Registered: 2013-01-24
Posts: 57

Re: 'pacman-optimize' fails on illegal chmod option

Ah yes. `--reference`. chown on FreeBSD has no longopts at all. Going to have to provide a patch and send it upstream.

Offline

#3 2014-08-10 03:32:27

Blµb
Administrator
Registered: 2013-01-24
Posts: 57

Re: 'pacman-optimize' fails on illegal chmod option

Offline

Board footer

Powered by FluxBB