libapache2-mod-php5
php5-cli
php5-curl
php5-gd
php5-mysql
tex-common
E: Sub-process /usr/bin/dpkg returned an error code (1)
报上述错误解决办法:(来自http://www.linuxidc.com/Linux/2014-03/98624.htm)
cd /var/lib/dpkg
sudo mv info info.bak
sudo mkdir info
sudo apt-get install shotwell
错误就这样子解决了。