Strange Raspberry Pi behavior (Raspbian Wheezy)

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
^rooker
Site Admin
Posts: 1481
Joined: Fri Aug 29, 2003 8:39 pm

Strange Raspberry Pi behavior (Raspbian Wheezy)

Post by ^rooker »

[PROBLEM]
For some (yet unknown) reason, my Raspberry Pi fileserver is running super-slow at the moment.
I know I'm giving it a hard time, running a kernel software RAID and GlusterFS on top, but recently transfer speeds dropped even more, although I didn't change anything.

Now I tried to update Samba, and ran into the following error:
Preconfiguring packages ...
dpkg: unrecoverable fatal error, aborting:
files list file for package 'libcupsfilters1:armhf' is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (2)
It turned out that the mentioned "/var/lib/dpkg/info/libcupsfilters1:armhf" didn't contain a text list, but some binary data. in Vim displayed as lots of "^@". Seems like NULLs (according to hexdump):

Code: Select all

0000000 0000 0000 0000 0000 0000 0000 0000 0000
Something fishy's going on here...
No good. No good!

To be continued...

Links:
Jumping out of an airplane is not a basic instinct. Neither is breathing underwater. But put the two together and you're traveling through space!
Post Reply