Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

1.) What is the most easiest way to create a "virtual package" in debian?

My problem: I have compiled/installed mysql from source and now need to tell other packages that mysql is already installed (otherwise they will also try to install mysql...). I searched the internet but did not find a quick answer to this question.

2.)And is there an easy command to tell aptitude to install something, but exclusing a specific required library/dependency (like mysql). This would be another way to solve the problem...

Thank you very much!! Markus

share|improve this question

2 Answers 2

up vote 7 down vote accepted

Install and use the debian package named equivs.

... Another use is to circumvent dependency checking: by letting dpkg think a particular package name and version is installed when it isn't

man equivs-build

share|improve this answer

Look up checkinstall; after building from source, it creates .deb packages that can be installed via dpkg, thereby creating an entry in the APT database.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.