Skip to content

BackupPC - binary garbage in XferLog.z / XferLog.z getting huge

I run a BackupPC instance that is still on Debian 10 / buster. The latest rsync package for Debian 10 has version number 3.1.3-6.

I recently noticed infrequent issues when backing up hosts that are either on Debian 11 / bullseye, or on Ubuntu 22.04 (which both ship rsync 3.2.3). The symptoms are as follows:

- backups take much longer than usual
- XferLog.z starts "normally", but after a certain point contains a lot of binary garbage, and gets much bigger than usual (hundreds of MB, or even in one case up to 12 GB)

After investigating and looking for information online, I came across these bug reports, which contain the explanation as well as a workaround: Debian Bug report #969463 and BackupPC issue #369.

=> The issue is caused by a combination of a change of default behaviour introduced with rsync 3.2.3, and a bug in File::RsyncP.

The solution that works for me (pending an update to Debian 11 and BackupPC 4) is to add the following line in the individual server config for each of the affected hosts:
$Conf{RsyncArgsExtra} = ['--no-msgs2stderr'];


  • Twitter
  • Bookmark BackupPC - binary garbage in XferLog.z / XferLog.z getting huge at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg BackupPC - binary garbage in XferLog.z / XferLog.z getting huge
  • Mixx BackupPC - binary garbage in XferLog.z / XferLog.z getting huge
  • Bloglines BackupPC - binary garbage in XferLog.z / XferLog.z getting huge
  • Technorati BackupPC - binary garbage in XferLog.z / XferLog.z getting huge
  • Fark this: BackupPC - binary garbage in XferLog.z / XferLog.z getting huge
  • Bookmark BackupPC - binary garbage in XferLog.z / XferLog.z getting huge at YahooMyWeb
  • Bookmark BackupPC - binary garbage in XferLog.z / XferLog.z getting huge at Furl.net
  • Bookmark BackupPC - binary garbage in XferLog.z / XferLog.z getting huge at reddit.com
  • Bookmark BackupPC - binary garbage in XferLog.z / XferLog.z getting huge at blinklist.com
  • Bookmark BackupPC - binary garbage in XferLog.z / XferLog.z getting huge at Spurl.net
  • Bookmark BackupPC - binary garbage in XferLog.z / XferLog.z getting huge at NewsVine
  • Bookmark BackupPC - binary garbage in XferLog.z / XferLog.z getting huge at Simpy.com
  • Bookmark BackupPC - binary garbage in XferLog.z / XferLog.z getting huge at blogmarks
  • Bookmark BackupPC - binary garbage in XferLog.z / XferLog.z getting huge with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Print this article!
  • E-mail this story to a friend!
  • Identi.ca

Add HEIF support to Ubuntu Linux 18.04 (thumbnails / gimp) - preview and open HEIC files from iPhone directly in Ubuntu

Since Apple moved from JPEG to HEIF as default format about two years ago, there has been a lot of progress.

There is a very straightforward way to add minimal HEIC/HEIF support to Ubuntu:
sudo add-apt-repository ppa:strukturag/libheif
sudo apt-get install heif-gdk-pixbuf heif-gimp-plugin heif-thumbnailer

That's it! You don't even need to logout or restart, the new functionality is available immediately.

More details here and here.

  • Twitter
  • Bookmark Add HEIF support to Ubuntu Linux 18.04 (thumbnails / gimp) - preview and open HEIC files from iPhone directly in Ubuntu at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Add HEIF support to Ubuntu Linux 18.04 (thumbnails / gimp) - preview and open HEIC files from iPhone directly in Ubuntu
  • Mixx Add HEIF support to Ubuntu Linux 18.04 (thumbnails / gimp) - preview and open HEIC files from iPhone directly in Ubuntu
  • Bloglines Add HEIF support to Ubuntu Linux 18.04 (thumbnails / gimp) - preview and open HEIC files from iPhone directly in Ubuntu
  • Technorati Add HEIF support to Ubuntu Linux 18.04 (thumbnails / gimp) - preview and open HEIC files from iPhone directly in Ubuntu
  • Fark this: Add HEIF support to Ubuntu Linux 18.04 (thumbnails / gimp) - preview and open HEIC files from iPhone directly in Ubuntu
  • Bookmark Add HEIF support to Ubuntu Linux 18.04 (thumbnails / gimp) - preview and open HEIC files from iPhone directly in Ubuntu at YahooMyWeb
  • Bookmark Add HEIF support to Ubuntu Linux 18.04 (thumbnails / gimp) - preview and open HEIC files from iPhone directly in Ubuntu at Furl.net
  • Bookmark Add HEIF support to Ubuntu Linux 18.04 (thumbnails / gimp) - preview and open HEIC files from iPhone directly in Ubuntu at reddit.com
  • Bookmark Add HEIF support to Ubuntu Linux 18.04 (thumbnails / gimp) - preview and open HEIC files from iPhone directly in Ubuntu at blinklist.com
  • Bookmark Add HEIF support to Ubuntu Linux 18.04 (thumbnails / gimp) - preview and open HEIC files from iPhone directly in Ubuntu at Spurl.net
  • Bookmark Add HEIF support to Ubuntu Linux 18.04 (thumbnails / gimp) - preview and open HEIC files from iPhone directly in Ubuntu at NewsVine
  • Bookmark Add HEIF support to Ubuntu Linux 18.04 (thumbnails / gimp) - preview and open HEIC files from iPhone directly in Ubuntu at Simpy.com
  • Bookmark Add HEIF support to Ubuntu Linux 18.04 (thumbnails / gimp) - preview and open HEIC files from iPhone directly in Ubuntu at blogmarks
  • Bookmark Add HEIF support to Ubuntu Linux 18.04 (thumbnails / gimp) - preview and open HEIC files from iPhone directly in Ubuntu with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Print this article!
  • E-mail this story to a friend!
  • Identi.ca

Accessing iPhone (iOS 10.2.1) pictures from Ubuntu

Recent changes introduced with iOS 10 prevent you from mounting an iPhone on a regular Ubuntu installation.

The PPA by Martin Salbaba used to fix the issue, but it hasn't been updated in a while, and now when I connect my iPhone (running iOS 10.2.1) the pictures are no longer accessible, although the documents are still there.

This solution worked for me (Ubuntu 16.04):

- install libimobiledevice6 + dependencies from this PPA: https://launchpad.net/~martin-salbaba/+archive/ubuntu/ppa+libimobiledevice (follow the instructions there)

- install newer libimobiledevice version according to the "recipe" by A.B. here: http://askubuntu.com/questions/598940/libimobiledevice-1-2-ios-8-support-for-ubuntu-14-04-trusty

- install ifuse according to the same method:
cd ~/src/
git clone https://github.com/libimobiledevice/ifuse.git
cd ifuse/
sudo apt-get install libfuse2 libfuse-dev
./autogen.sh
make
sudo checkinstall

You can now mount your iPhone like this:
mkdir ~/mnt
ifuse ~/mnt
I assume the same procedure would work for an iPad too.
  • Twitter
  • Bookmark Accessing iPhone (iOS 10.2.1) pictures from Ubuntu at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Accessing iPhone (iOS 10.2.1) pictures from Ubuntu
  • Mixx Accessing iPhone (iOS 10.2.1) pictures from Ubuntu
  • Bloglines Accessing iPhone (iOS 10.2.1) pictures from Ubuntu
  • Technorati Accessing iPhone (iOS 10.2.1) pictures from Ubuntu
  • Fark this: Accessing iPhone (iOS 10.2.1) pictures from Ubuntu
  • Bookmark Accessing iPhone (iOS 10.2.1) pictures from Ubuntu at YahooMyWeb
  • Bookmark Accessing iPhone (iOS 10.2.1) pictures from Ubuntu at Furl.net
  • Bookmark Accessing iPhone (iOS 10.2.1) pictures from Ubuntu at reddit.com
  • Bookmark Accessing iPhone (iOS 10.2.1) pictures from Ubuntu at blinklist.com
  • Bookmark Accessing iPhone (iOS 10.2.1) pictures from Ubuntu at Spurl.net
  • Bookmark Accessing iPhone (iOS 10.2.1) pictures from Ubuntu at NewsVine
  • Bookmark Accessing iPhone (iOS 10.2.1) pictures from Ubuntu at Simpy.com
  • Bookmark Accessing iPhone (iOS 10.2.1) pictures from Ubuntu at blogmarks
  • Bookmark Accessing iPhone (iOS 10.2.1) pictures from Ubuntu with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Print this article!
  • E-mail this story to a friend!
  • Identi.ca

Add Ubuntu alongside a pre-installed Windows on an HP laptop (convert primary partition to extended/logical)

Recently I wanted to install Ubuntu next to a pre-installed Windows on a brand-new HP EliteBook.

The notebook came with four primary partitions, with Windows installed on the biggest one:

- sda1 (1 GB, NTFS, label=SYSTEM)
- sda2 (457 GB, NTFS)
- sda3 (16 GB, NTFS, label=HP_RECOVERY)
- sda4 (2 GB, FAT32)

In order to install Ubuntu it's not enough to resize the Windows partition, as you cannot have more than four primary partitions. Removing one of the other partitions is a bad idea according to several reports, as it might render the system unable to start, or prevent BIOS updates. So the idea is to convert the Windows partition to a logical one in addition to resizing it. Fortunately everything you need to do that is already included on the Ubuntu installation image.

1. Use gparted to resize and move the Windows partition. I resized it to 100 GB and added 10 MB free space before it (to leave some space to create the extended partition later on). This will take a while, depending on the performance of your hard drive.

2. Use fixparts to convert sda2 to a logical partition:
# fixparts /dev/sda
Type l then 2, write the changes to the disk with w.

3. Restart the computer without the Ubuntu install media so that Windows fixes itself. This will take even longer than the partition resize, be patient. Restart once more to make sure the Windows install is fine.

4. Proceed with installing Ubuntu, choose the option to "install Ubuntu alongside Windows".
  • Twitter
  • Bookmark Add Ubuntu alongside a pre-installed Windows on an HP laptop (convert primary partition to extended/logical) at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Add Ubuntu alongside a pre-installed Windows on an HP laptop (convert primary partition to extended/logical)
  • Mixx Add Ubuntu alongside a pre-installed Windows on an HP laptop (convert primary partition to extended/logical)
  • Bloglines Add Ubuntu alongside a pre-installed Windows on an HP laptop (convert primary partition to extended/logical)
  • Technorati Add Ubuntu alongside a pre-installed Windows on an HP laptop (convert primary partition to extended/logical)
  • Fark this: Add Ubuntu alongside a pre-installed Windows on an HP laptop (convert primary partition to extended/logical)
  • Bookmark Add Ubuntu alongside a pre-installed Windows on an HP laptop (convert primary partition to extended/logical) at YahooMyWeb
  • Bookmark Add Ubuntu alongside a pre-installed Windows on an HP laptop (convert primary partition to extended/logical) at Furl.net
  • Bookmark Add Ubuntu alongside a pre-installed Windows on an HP laptop (convert primary partition to extended/logical) at reddit.com
  • Bookmark Add Ubuntu alongside a pre-installed Windows on an HP laptop (convert primary partition to extended/logical) at blinklist.com
  • Bookmark Add Ubuntu alongside a pre-installed Windows on an HP laptop (convert primary partition to extended/logical) at Spurl.net
  • Bookmark Add Ubuntu alongside a pre-installed Windows on an HP laptop (convert primary partition to extended/logical) at NewsVine
  • Bookmark Add Ubuntu alongside a pre-installed Windows on an HP laptop (convert primary partition to extended/logical) at Simpy.com
  • Bookmark Add Ubuntu alongside a pre-installed Windows on an HP laptop (convert primary partition to extended/logical) at blogmarks
  • Bookmark Add Ubuntu alongside a pre-installed Windows on an HP laptop (convert primary partition to extended/logical) with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Print this article!
  • E-mail this story to a friend!
  • Identi.ca

Keyboard does not work properly in Virtualbox remote desktop session (fixing rdesktop-vrdp "Failed to open keymap" error)

This has been bugging me for quite some time...

The solution:
$ sudo ln -s /usr/share/virtualbox /opt/VirtualBox

Found here.

  • Twitter
  • Bookmark Keyboard does not work properly in Virtualbox remote desktop session (fixing rdesktop-vrdp "Failed to open keymap" error) at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Keyboard does not work properly in Virtualbox remote desktop session (fixing rdesktop-vrdp "Failed to open keymap" error)
  • Mixx Keyboard does not work properly in Virtualbox remote desktop session (fixing rdesktop-vrdp "Failed to open keymap" error)
  • Bloglines Keyboard does not work properly in Virtualbox remote desktop session (fixing rdesktop-vrdp "Failed to open keymap" error)
  • Technorati Keyboard does not work properly in Virtualbox remote desktop session (fixing rdesktop-vrdp "Failed to open keymap" error)
  • Fark this: Keyboard does not work properly in Virtualbox remote desktop session (fixing rdesktop-vrdp "Failed to open keymap" error)
  • Bookmark Keyboard does not work properly in Virtualbox remote desktop session (fixing rdesktop-vrdp "Failed to open keymap" error) at YahooMyWeb
  • Bookmark Keyboard does not work properly in Virtualbox remote desktop session (fixing rdesktop-vrdp "Failed to open keymap" error) at Furl.net
  • Bookmark Keyboard does not work properly in Virtualbox remote desktop session (fixing rdesktop-vrdp "Failed to open keymap" error) at reddit.com
  • Bookmark Keyboard does not work properly in Virtualbox remote desktop session (fixing rdesktop-vrdp "Failed to open keymap" error) at blinklist.com
  • Bookmark Keyboard does not work properly in Virtualbox remote desktop session (fixing rdesktop-vrdp "Failed to open keymap" error) at Spurl.net
  • Bookmark Keyboard does not work properly in Virtualbox remote desktop session (fixing rdesktop-vrdp "Failed to open keymap" error) at NewsVine
  • Bookmark Keyboard does not work properly in Virtualbox remote desktop session (fixing rdesktop-vrdp "Failed to open keymap" error) at Simpy.com
  • Bookmark Keyboard does not work properly in Virtualbox remote desktop session (fixing rdesktop-vrdp "Failed to open keymap" error) at blogmarks
  • Bookmark Keyboard does not work properly in Virtualbox remote desktop session (fixing rdesktop-vrdp "Failed to open keymap" error) with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Print this article!
  • E-mail this story to a friend!
  • Identi.ca