Weblog entry #1 for parsingphase
I can install PHP5 manually, but I also use packages like "hastymail" which depend on a 'php' package. How can I create a ghost package that simply tells APT "I'm providing the requirement 'php', don't install the one from 'stable'"? I'm not worried about packaging the whole of PHP5, all I really need is the package metadata.
I know I can "pin" php4, but I'd rather just get rid of it so I can do things like 'dist-upgrade' with peace of mind.
As for MySQL 5, this appears to be only in "testing" (which is fair enough). Is there any way to tell APT to get only this package (dependencies permitting) from "testing" and stick with "stable" for everything else?
TIA
Comments on this Entry
[ Send Message | View Steve's Scratchpad | View Weblogs ]
If you wish to create a dummy package you might find the equivs package useful, as this is designed to fake dependencies...
Failing that you should be able to obtain a package from Testing and otherwise keep your system running stable just by using "apt priorities". That is discussed in the manual I think, though I don't have it to hand right now.
[ Parent | Reply to this comment ]
explains "pinning"
[ Parent | Reply to this comment ]
We are getting on okay with the dotdeb MYSQL5 and PHP5 packages at work, although I guess upgrading to Etch could be more involved than it would otherwise have been, but I assume the data in MYSQL can be dumped and reloaded depending what version of 5 ends up in Etch. Guess we mustn't use anything that depends on minor versions numbers too much.
[ Parent | Reply to this comment ]
[ Parent | Reply to this comment ]
* Unless we're on a deliberate vulnerabilities hunt...
[ Parent | Reply to this comment ]