By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,237 Members | 1,228 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,237 IT Pros & Developers. It's quick & easy.

Cannot uninstall DB2 in UBUNTU

P: n/a
Hello

I have recently installed DB2 express on UBUNTU and am not able to get
it to start. I decided to uninstall and reinstall DB2. When I enter the
command sudo ./db2_deinstall it says "No DB2 Packages found on this
system...." Please help me. I am new to DB2 on Unix.

Thanks
Srinivas Majeti

Sep 19 '06 #1
Share this Question
Share on Google+
6 Replies


P: n/a
VMK
How have u installed ??? Graphically or manually ???

R u able to see the Installed db2 packages. If not reinstall it again.
using

../db2_install -p DB2.ESE or what ever.
Mendis wrote:
Hello

I have recently installed DB2 express on UBUNTU and am not able to get
it to start. I decided to uninstall and reinstall DB2. When I enter the
command sudo ./db2_deinstall it says "No DB2 Packages found on this
system...." Please help me. I am new to DB2 on Unix.

Thanks
Srinivas Majeti
Sep 19 '06 #2

P: n/a
I have installed it manually using ./db2_install and it showed me the
bunck of packages. I tried reinstalling it twice but no luck

VMK wrote:
How have u installed ??? Graphically or manually ???

R u able to see the Installed db2 packages. If not reinstall it again.
using

./db2_install -p DB2.ESE or what ever.
Mendis wrote:
Hello

I have recently installed DB2 express on UBUNTU and am not able to get
it to start. I decided to uninstall and reinstall DB2. When I enter the
command sudo ./db2_deinstall it says "No DB2 Packages found on this
system...." Please help me. I am new to DB2 on Unix.

Thanks
Srinivas Majeti
Sep 19 '06 #3

P: n/a
Also how do I see the installed packages?
Mendis wrote:
I have installed it manually using ./db2_install and it showed me the
bunck of packages. I tried reinstalling it twice but no luck

VMK wrote:
How have u installed ??? Graphically or manually ???

R u able to see the Installed db2 packages. If not reinstall it again.
using

./db2_install -p DB2.ESE or what ever.
Mendis wrote:
Hello
>
I have recently installed DB2 express on UBUNTU and am not able to get
it to start. I decided to uninstall and reinstall DB2. When I enter the
command sudo ./db2_deinstall it says "No DB2 Packages found on this
system...." Please help me. I am new to DB2 on Unix.
>
Thanks
Srinivas Majeti
Sep 19 '06 #4

P: n/a
Mendis wrote:
I have installed it manually using ./db2_install and it showed me the
bunck of packages. I tried reinstalling it twice but no luck
Could you be a bit more specific?
What does "no luck" mean? Do you get an error message?
What do you mean by "showed my the bunch of packages"?

Regarding your question how to see the packages, have you "rpm" installed?
If so, you can use it to see which DB2 packages are installed. You can
also use it to deinstall those packages. (man rpm)

--
Knut Stolze
DB2 Information Integration Development
IBM Germany
Sep 19 '06 #5

P: n/a
Mendis wrote:
Hello

I have recently installed DB2 express on UBUNTU and am not able to get
it to start. I decided to uninstall and reinstall DB2. When I enter the
command sudo ./db2_deinstall it says "No DB2 Packages found on this
system...." Please help me. I am new to DB2 on Unix.
In order to install on Ubuntu, you had to modify the db2_install script. To
deinstall, you're going to have to modify the db2_deinstall script in a
similar manner. You'll have to change the "rpm" commands to the
appropriate "alien" command, and then run it.

Good luck - perhaps if no one here knows how, you can use that information
to get people in a Ubuntu newsgroup (or web forum) to help.
Sep 19 '06 #6

P: n/a
You need alien installed. Since Ubuntu is debian based and does not use
rpms natively. Then you need to modify the db2_install script to make
it use alien instead of rpm.

When you installed using db2_install for the first time, did you modify
the scripts? If not, then probably nothing has been installed. Thats
why it says, No DB2 packages found...

The easiest way to install alien is to use the Synaptic package
manager. Search for alien and mark for install and apply changes. If
you dont see alien (as it may not be a Ubuntu supported package), you
have to go to the options and add Universal sources.

Now, I believe you did all this with DB2 8.x. Download DB2 Express-C v9
and it will install like a breeze with graphical support out of the
box.

Let us know if you have any more trouble. Check this TLDP guide for a
step by step procedure on installing DB2 on Ubuntu (command line).

http://www.tldp.org/HOWTO/DB2-HOWTO/deb.html

Cheers,
Sanjuro
Mendis wrote:
Hello

I have recently installed DB2 express on UBUNTU and am not able to get
it to start. I decided to uninstall and reinstall DB2. When I enter the
command sudo ./db2_deinstall it says "No DB2 Packages found on this
system...." Please help me. I am new to DB2 on Unix.

Thanks
Srinivas Majeti
Sep 19 '06 #7

This discussion thread is closed

Replies have been disabled for this discussion.