dpkg error: syntax error in triggers file
Hello,
A colleague of mine just got a read-only filesystem on his personal VPS (running VirtualBox) and when he rebooted, he can no longer install any packages. Anyone have a clue about this? root@foo:~# dpkg --configure -a dpkg: error: syntax error in file triggers file `/var/lib/dpkg/triggers//File' root@foo:~# cat /var/lib/dpkg/triggers/File <?php // auto-generated by sfDefineEnvironmentConfigHandler // date: 2012/03/28 17:02:00 sfConfig::add(array( 'mod_'.strtolower($moduleName).'_enabled' => true, 'mod_'.strtolower($moduleName).'_view_class' => 'sfPHP', 'mod_'.strtolower($moduleName).'_is_internal' => false, )); Best Regards Lpe |
Solved it by copying the contents of a friends Ubuntu.
root@foo:~# cat /var/lib/dpkg/triggers/File /etc/init ureadahead /etc/init.d ureadahead /usr/lib/gio/modules libglib2.0-0 /usr/share/info install-info /usr/man man-db /usr/share/man man-db /usr/local/man man-db /usr/local/share/man man-db /usr/X11R6/man man-db /opt/man man-db /etc/ufw/applications.d ufw |
All times are GMT -5. The time now is 04:54 PM. |