Difference between revisions of "Linux Tidbits"

From ChipWiki
Jump to navigationJump to search
 
(ubuntu upgrade issue)
Line 5: Line 5:
 
<br>
 
<br>
 
(note:  add --delete to rsync for a proper mirror, or leave off for full backup)<br>
 
(note:  add --delete to rsync for a proper mirror, or leave off for full backup)<br>
 +
 +
==Ubuntu Upgrade Issues==
 +
I had trouble getting from 8.04 to 8.10... I was getting an error
 +
 +
<pre>
 +
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
 +
</pre>
 +
 +
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.

Revision as of 02:49, 1 November 2009

rsync with ssh generation

ssh-keygen -t rsa
ssh-copy-id -i ~/.ssh/id_rsa.pub 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.