Michael Biebl wrote: > Am 21.03.2015 um 17:36 schrieb tandread: > > but a later "apt-get --ignore-missing" insists > > on fetching what mysql-* was dpkg-purged > > > > I have tried a semi-fix of getting a > > "--get-selections", adding the purged packages > > as "hold" and doing a "--set-selections", > > but it has side effects (all mysql dependent > > packages get uninstalled in the apt-get upgrade) > > A simpler way then using --get and --set selections is > > apt-mark hold|unhold <package(s)>
Since the user wants to remove a package that other packages depend upon holding doesn't help very much. A dead end. As Liam wrote the usual answer is to use the 'equivs' package to create a dummy package to hold the dependency for anything that is compiled and installed locally. Alternatively create a full replacement package. Starting from the Debian package and modifying it isn't usually very difficult. But if you just want to cut it loose and do the upstream thing directly through 'make install' then creating an equivs package is the way to go. Bob
signature.asc
Description: Digital signature