how to uninstall libasound2-dev package came with DB2 express-c
I have installed db2 express-c on Ubuntu 10.04 server using apt-get; the installation is successful but I noticed that libasound2-dev package has been installed along with db2.
I don't want this ALSA sound package, when I tried to remove it by "apt-get remove" it was trying to uninstall DB2 as well as there is a dependency. So, how do I remove ALSA package without removing DB2 ? PS: Also, db2 installed X11 packages like libx11-dev, libxproto-core-dev etc., which are also not need for me as it is a sever OS. |
What repo did you install it from?
What is the exact name of the package? db2exc? If you really want the package, you will be best served by downloading the source straight from IBM and building it yourself. http://www-01.ibm.com/software/data/.../download.html |
I installed the DB2 as per the IBM people suggession Link: http://www.db2teamblog.com/2010/09/d...untu-1004.html
Basically using bellow command $ sudo apt-get install db2exc ---------- Post added 01-29-11 at 05:03 PM ---------- I installed the DB2 as per the IBM people suggession Link: http://www.db2teamblog.com/2010/09/d...untu-1004.html Basically using bellow command $ sudo apt-get install db2exc |
Your problem is with the debian/control file
Code:
--- db2exc-amd64-9.7.2.orig/debian/control http://archive.canonical.com/ubuntu/.../db2exc-amd64/ http://archive.canonical.com/ubuntu/...tner/d/db2exc/ Edit the debian/control file to remove unwanted depends and build it yourself. EDIT: as an alternative, you could also try to remove libasound2-dev ignoring the dependencies with Code:
sudo dpkg -r --force-depends libasound2-dev |
Thank you very much Andrew,
I will try your second solution first and see if no problems arise, else the first method, I'm sure it will work. |
All times are GMT -5. The time now is 12:11 AM. |