Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 04-05-2012, 04:31 AM   #1
LQ Newbie
Registered: Jun 2008
Posts: 4

Rep: Reputation: 0
dpkg error: syntax error in triggers file


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
// auto-generated by sfDefineEnvironmentConfigHandler
// date: 2012/03/28 17:02:00
'mod_'.strtolower($moduleName).'_enabled' => true,
'mod_'.strtolower($moduleName).'_view_class' => 'sfPHP',
'mod_'.strtolower($moduleName).'_is_internal' => false,

Best Regards
Old 04-05-2012, 05:52 AM   #2
LQ Newbie
Registered: Jun 2008
Posts: 4

Original Poster
Rep: Reputation: 0
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


apt-get, dpkg, error, ubuntu

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Input/Output Error; dpkg sub-process /usr/bin/dpkg returned and error code (2) NosLycn Linux - Software 7 12-12-2011 02:50 AM
Error in Bash: line 77: syntax error: unexpected end of file bribon Programming 8 07-13-2011 12:43 PM
[SOLVED] dpkg fatal error unable to open files list file Stale NFS file handle cmr26 Linux - Software 5 09-06-2009 04:10 PM
Backup Script error "line 31: syntax error: unexpected end of file" eswanepoel General 7 12-07-2007 09:28 AM
Syntax error in sudoers file Julix Linux - General 9 09-07-2007 09:44 PM > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 04:31 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration