Search Everything and no search results in Posts > Edit

I had this weird problem with WordPress searches: in one of my blogs I couldn’t get any search results in the Edit Posts listing. Not even a simple search for the letter ‘a’ would yield anything. I tracked the cause down to the Search Everything plugin, and then began comparing what was different between the problematic blog and one that didn’t have this problem. Here’s where it got weird: there were no differences. The other blog is for testing only, so I could set it identical to the one with the problem, and still the searches worked consistently in the testing blog while in the other one they didn’t.

I tried unsetting Search Everything’s options and the searches began to work in the problematic blog too. So I tried setting them back on one by one… until I had them all as they had initially been, and the searches still worked!

There must have been some kind of a screw-up with the plugin’s settings, perhaps brought on by an upgrade.

aptmethod error when doing security updates with reprepro update

Got this error message when trying to do a reprepro update:

aptmethod error receiving '': '404 Not Found'

This was caused by a missing UDebComponents: none in the security update source definition, in conf/updates. Quite obvious really, but got me scratching my head for a while. fails to “rename” (move) .deb files during import

Importing: apache2-mpm-worker_2.2.9-7ubuntu3_i386.deb
Failed to rename apache2-mpm-worker_2.2.9-7ubuntu3_i386.deb. Try read-only (-r) or symlink (-s) options. at /usr/share/apt-cacher/ line 154.

(I faked this by copying and pasting from ABC Science Forum, because I didn’t save any of the ones I actually saw.)

For me the problem with was that apparently Perl’s rename function can’t move files across devices, and that’s how my imports and cache laid on the disk. I solved this by using the -s parameter, which only makes symlinks. Another option would be to manually move the files onto the same device before importing. I suppose that’s why the /var/cache/apt-cacher/import directory is there.

Retaining Epiphany’s overloaded address bar while using Privoxy

As per the comment in Privoxy’s ticket #2530592, I’ve set up a Privoxy rule to interpret dot-less domains as search terms. This emulates the search function built into Ephy, which breaks with Privoxy’s DNS error messages. In /etc/privoxy/user.action I now have:

# Redirect dotless hostnames as search parameters to Scroogle