In order to have local copies of my web pages hosted on VPS I have configured rsync cronjob to sync everything during the night to my local box.
Sometimes with larger files you can encounter errors like these:
Received disconnect from [YOUR_IP]: 2: Packet corrupt
rsync: [sender] write error: Broken pipe (32)
rsync error: unexplained error (code 255) at io.c(820) [sender=3.1.1]
Continue reading “How to fix corrupt packet error for with rsync for large files”
Google decided to drop 32bit support for Chrome lately my Debian Jessie is giving me following errors when doing apt-get update
W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)
To fix the issue you need to edit following file: /etc/apt/sources.list.d/google-chrome.list and change the line:
deb http://dl.google.com/linux/chrome/deb/ stable main
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
Save your file and do normal apt-get update.
It seems that the change in google-chrome.list gets overwritten somehow, so I recommend you to set read only permissions on the file with:
chmod 444 /etc/apt/sources.list.d/google-chrome.list
Remember just next time if you need to modify this file to add write permissions back.