Package pdksh not a dependency when installing DB2 Express C from Partner repository

Bug #195561 reported by Martin Gudmundsson
2
Affects Status Importance Assigned to Milestone
db2exc (Ubuntu)
Fix Released
Undecided
Brian Thomason

Bug Description

Some scripts that come with DB2 needs a ksh implementation to work. See attachment for an example. Fresh install of Ubuntu 7.10 i386. pdksh needs to be added to the install dependencies.

uname -a
Linux ubuntu-test 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008 i686 GNU/Linux

System info
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=7.10
DISTRIB_CODENAME=gutsy
DISTRIB_DESCRIPTION="Ubuntu 7.10"

DB2 install:
odm@ubuntu-test:~$ sudo apt-get install db2exc
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  gcc-3.3-base libaio1 libstdc++5
The following NEW packages will be installed:
  db2exc gcc-3.3-base libaio1 libstdc++5
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 214MB of archives.
After unpacking 510MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://archive.canonical.com gutsy/partner db2exc 9.5.0-1gutsy1 [214MB]
Get:2 http://se.archive.ubuntu.com gutsy/main libaio1 0.3.106-5ubuntu2 [7750B]
Get:3 http://se.archive.ubuntu.com gutsy/main gcc-3.3-base 1:3.3.6-15ubuntu2 [151kB]
Get:4 http://se.archive.ubuntu.com gutsy/main libstdc++5 1:3.3.6-15ubuntu2 [296kB]
Fetched 214MB in 4m46s (747kB/s)
Selecting previously deselected package libaio1.
(Reading database ... 89298 files and directories currently installed.)
Unpacking libaio1 (from .../libaio1_0.3.106-5ubuntu2_i386.deb) ...
Selecting previously deselected package gcc-3.3-base.
Unpacking gcc-3.3-base (from .../gcc-3.3-base_1%3a3.3.6-15ubuntu2_i386.deb) ...
Selecting previously deselected package libstdc++5.
Unpacking libstdc++5 (from .../libstdc++5_1%3a3.3.6-15ubuntu2_i386.deb) ...
Selecting previously deselected package db2exc.
Unpacking db2exc (from .../db2exc_9.5.0-1gutsy1_i386.deb) ...
Setting up libaio1 (0.3.106-5ubuntu2) ...

Setting up gcc-3.3-base (1:3.3.6-15ubuntu2) ...
Setting up libstdc++5 (1:3.3.6-15ubuntu2) ...

Setting up db2exc (9.5.0-1gutsy1) ...
Setting DB2 library path ...
Executing db2greg ...
Installing DB2 Express-C 9.5 license ...
Creating instances ...
        Creating groups: db2iadm1 db2fadm1 dasadm1 ...
        Adding users: db2inst1 db2fenc1 dasusr1 ...
        Registering instance ...
        Setting service ports ...
        Updating DBM Configuration ...
DB20000I The UPDATE DATABASE MANAGER CONFIGURATION command completed
successfully.
        Fixing DB2 Express-C autostart ...
 Adding system startup for /etc/init.d/db2 ...
   /etc/rc2.d/S20db2 -> ../init.d/db2
   /etc/rc3.d/S20db2 -> ../init.d/db2
   /etc/rc5.d/S20db2 -> ../init.d/db2
DB2 Expresss-C for Linux x86 has been installed in /opt/ibm/db2exc/V9.5.

Processing triggers for libc6 ...
ldconfig deferred processing now taking place

Revision history for this message
Martin Gudmundsson (martingudmundsson) wrote :
Revision history for this message
korvins (katarata) wrote :

That is true. All scripts I have seen in db2 are written in ksh for its unix/linux versions.

Changed in db2exc:
assignee: nobody → brian-thomason
Changed in db2exc:
status: New → Confirmed
Revision history for this message
Brian Thomason (brian-thomason) wrote :

pdksh should now be an explicit dependency in the latest release of db2exc in Hardy.

Changed in db2exc:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.