Linux Tidbits

From ChipWiki
Revision as of 02:49, 1 November 2009 by Chip (talk | contribs) (ubuntu upgrade issue)
Jump to navigation Jump to search

rsync with ssh generation

ssh-keygen -t rsa
ssh-copy-id -i ~/.ssh/ someothercomputer
rsync -ave ssh /localfiles/ remotebox:/localfiles

(note: add --delete to rsync for a proper mirror, or leave off for full backup)

Ubuntu Upgrade Issues

I had trouble getting from 8.04 to 8.10... I was getting an error

Package udev has broken dep on lvm2
  Considering lvm2 0 as a solution to udev 74
  Upgrading lvm2 due to Breaks field in udev
Investigating lvm2
Package lvm2 has broken dep on lvm-common
  Considering lvm-common 1 as a solution to lvm2 0
  Holding Back lvm2 rather than change lvm-common

The key was to upgrade lvm2 manually (something like apt-get install lvm2) which do-release-upgrade wasn't willing to do itself) then run do-release-upgrade again.