Update failed[Solved]

Checking available disk space...

Error: hook /etc/pacman.d/hooks/pamac.hook line 10: invalid value /bin/sh -c "zcat /usr/share/app-info/xmls/community.xml.gz | sed 's|||g;s|</em>||g;' | gzip > "new.xml.gz"
Failed to commit transaction:
failed to run transaction hooks

A post was merged into an existing topic: Failed to commit transaction