How do I override apt-get removing dependent packages?
Posted
by
iainH
on Server Fault
See other posts from Server Fault
or by iainH
Published on 2012-04-14T00:08:44Z
Indexed on
2012/04/14
11:33 UTC
Read the original article
Hit count: 204
I want to replace postfix with exim4 on my Ubuntu test server to reflect the setup I have on my production server, but apt-get and aptitude (quite understandably) insist on removing several packages that depend upon having a mail stack. However, in this case I am prepared to override apt-get's undoubted good sense as exim should fulfil all the requirements of the dependent packages, providing mail and sendmail functionality for my applications. I don't want to remove the dependent packages as there is months of effort invested and, although backed up, will be a pain to reconstruct properly.
© Server Fault or respective owner