[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

how to force a "hold" on a missing package during an apt-get upgrade



dear debian users,

I really need to have a program compiled from source
(that is, a src dir, not a debian source package)
Let's say, the mysql server source distribution

I can remove the mysql-* deb packages  with
"dpkg --purge --force-depends"
(I know this causes dangling lib*.so dependencies,
but they will be fixed after the mysql src
compilation)

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)

So, is there a way to for "apt-get upgrade"
to keep ignoring broken dependencies caused
by "dpkg --force-depends --purge"?


thanks for any answer


Reply to: