I got the same error. This seems to be a bug in the package post-installation script . This one might be related: https://bugzilla.redhat.com/show_bug.cgi?id=497098
dpkg -i -D163 --force-all /var/cache/apt/archives/gallery2_2.3-1ubuntu3_all.deb [...] D000100: process_archive ... found in gallery2
D000040: checking dependencies of gallery2 (- <none>) D000040: ok 2 msgs >><< D000040: checking Breaks Setting up gallery2 (2.3-1ubuntu3) ... D000001: deferred_configure updating conffiles D000002: fork/exec /var/lib/dpkg/info/gallery2.postinst ( configure 2.3-1ubuntu3 ) ln: creating symbolic link `/usr/share/gallery2/lib/smarty': No such file or directory dpkg: error processing gallery2 (--install): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: gallery2
I got the same error. /bugzilla. redhat. com/show_ bug.cgi? id=497098
This seems to be a bug in the package post-installation script . This one might be related:
https:/
dpkg -i -D163 --force-all /var/cache/ apt/archives/ gallery2_ 2.3-1ubuntu3_ all.deb
[...]
D000100: process_archive ... found in gallery2
D000040: checking dependencies of gallery2 (- <none>) dpkg/info/ gallery2. postinst ( configure 2.3-1ubuntu3 ) gallery2/ lib/smarty' : No such file or directory
D000040: ok 2 msgs >><<
D000040: checking Breaks
Setting up gallery2 (2.3-1ubuntu3) ...
D000001: deferred_configure updating conffiles
D000002: fork/exec /var/lib/
ln: creating symbolic link `/usr/share/
dpkg: error processing gallery2 (--install):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
gallery2