While trying to update the Raspberry Pi (for installing the camera!), I get the following error :

Get:212 http://archive.raspberrypi.org/debian/ wheezy/main raspi-config all 20130525-1 [9,062 B]
Fetched 223 MB in 1h 15min 17s (49.3 kB/s)
Extracting templates from packages: 100%
Preconfiguring packages …
dpkg: warning: files list file for package ‘libgtk2.0-common’ missing; assuming package has no files currently installed
dpkg: unrecoverable fatal error, aborting:
files list file for package ‘libxcb-glx0:armhf’ is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (2)

How to solve this?

  • Have you installed libgtk2.0-common successfully? – syb0rg Aug 12 '13 at 3:10
  • Yes. I get "libgtk2.0-common is already the newest version." when I do "sudo apt-get install libgtk2.0-common" – my account_ram Aug 12 '13 at 3:35
  • What kind of camera are you using? – syb0rg Aug 12 '13 at 3:39
  • I am using the Raspberry Pi camera – my account_ram Aug 12 '13 at 7:43
  • 1
    @RPiAwesomeness : I was not able to fix that version. I used the recent version of the Raspbian image and it worked fine! – my account_ram Mar 4 '14 at 8:39

The Original Poster resolved this issue by using a newer version of Raspbian, as detailed in this comment.

This answer is a placeholder to show that the issue is resolved until the OP creates a self-answer and marks it as such.

  • @myaccount_ram No problem! Glad your issue was resolved, that's what we want. Also, if you are exceptionally happy with an answer, don't forget to upvote it. You should get more involved in the community. Not only does it help increase the quality of the site, it helps the site get closer to graduation. Also, pop in to the chat from time to time. We always like having company and it is one thing that shows we are a useful, growing community. – RPiAwesomeness Mar 5 '14 at 19:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.