Bug#453881: gnome-panel-data: fail on postinst

Ming Hua minghua-guest at users.alioth.debian.org
Sat Dec 1 23:56:37 UTC 2007


On Sun, Dec 02, 2007 at 12:43:30AM +0100, alessandro -oggei- ogier wrote:
> 
> postinst script fails at lines 22 and 24 because rmdir still fail if no
> dir:

I am having the same bug:

Setting up gnome-panel-data (2.20.2-1) ...
rmdir: /var/lib/gnome: No such file or directory
dpkg: error processing gnome-panel-data (--configure):
 subprocess post-installation script returned error exit status 1

> 22:   rmdir --ignore-fail-on-non-empty /etc/gnome-vfs-2.0/vfolders
> 24:   rmdir --ignore-fail-on-non-empty /var/lib/gnome
> 
> i resolved appending a ``|| true'' , it's seem sensible to me

Or use things like "if [ -d /etc/gnome-vfs-2.0/vfolders ]; then rmdir
... fi" to only attempt deleting the directory when it exists.

Ming
2007.12.01






More information about the pkg-gnome-maintainers mailing list