I'm trying to create a test server with all the same packages on as the live server, following the instructions here (and similar instructions elsewhere)
But when I run the apt-get -u dselect-upgrade
command I'm getting:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have unmet dependencies:
cron : Depends: adduser but it is not going to be installed
upstart : Depends: initscripts
Depends: mountall
Depends: ifupdown (>= 0.6.10ubuntu5)
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Internal error, problem resolver broke stuff
Both servers are in the Rackspace cloud, but under different accounts, so I can't use Rackspace's clone features.
I managed to mostly work around the problem by holding all the packages that were already installed on the system.
I used the following recipe:
At this point, only one package, libxml2-dev:i386 was still causing issues, so I manually removed it with: