Im trying to install all the packages installed on the other host.
- From host = Ubuntu 12.04 LTS
- To host = Ubuntu 12.04 LTS
I've ran dpkg --get-selections > packages.txt
on the 'old'-system. To import them to the newer system i've ran: dpkg --set-selections < packages.txt
. This seems to be working fine.
But when I try to install them; apt-get
tells me it wants to remove the following packages:
e2fsprogs libblkid1 (due to e2fsprogs) libuuid1 (due to e2fsprogs) util-linux (due to e2fsprogs) hostname mount libmount1 (due to mount) acpid adduser aptitude console-setup cron dmsetup dselect e2fsprogs eject grub-common
grub-gfxpayload-lists grub-pc grub-pc-bin grub2-common hostname ifupdown initramfs-tools
initscripts kbd keyboard-configuration libblkid1 libdevmapper1.02.1 libmount1 libuuid1 libxapian22
linux-image-3.2.0-49-virtual linux-image-virtual linux-virtual module-init-tools mount mountall
netbase ntpdate openssh-client openssh-server passwd plymouth procps resolvconf rsync rsyslog
tasksel tasksel-data ubuntu-minimal udev upstart ureadahead util-linux
The problem is; I see a couple of 'required' packages that I don't want to deinstall/remove. Is there a command like apt-get upgrade --only-install
? Or is there a work-around to only INSTALL the packages?