Skip to main content

Thread: side by side upgrade - copying APT repository?


hi all,

i'm wondering how of installed packages can transfer new system...

have in mind.

have hdd split in two. have 10.4 on 1 half (/dev/sda6) - working system last year or since last upgrade - , have installed 11.04 on other half (/dev/sda8). wanted check out new version rather upgrading.

note have home folder , stored data on other drives (zfs mirrored disks) - boot disk os related... can overwrite /dev/sda8 impunity long /dev/sda6 intact....


want capture wide variety of packages have installed on old version , install them onto new system - without using dist-upgrade mechanism... i've had fail many times leaving me complete rebuild being required...

(partially) possible or have many core packages changed?

thinking of http://www.ubuntugeek.com/clone-your...tallation.html

obtain list:
dpkg --get-selections | awk ‘$2 ~ /^install$/ {print $1}’ > installedpackages

reinstall:
cat installedpackages | xargs sudo aptitude install -y


path clone entire /dev/sda6 onto /dev/sda8, boot duplicate , dist-upgrade

other suggestions?

figure if having thought, else has solved it...

i use dpkg --get-selections method. see also: http://ubuntuforums.org/showpost.php...75&postcount=5
1 issue may face perhaps packages on 10.04 may have changed on 11.04. apt-get apps may still need after doing though.

reinstall manually myself. more reinstall ubuntu, easier becomes reinstall it. routine thing.


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Installation & Upgrades [all variants] side by side upgrade - copying APT repository?


Ubuntu

Comments