# apt-get install oracle-xe-client oracle-xe-universal Reading Package Lists... Done Building Dependency Tree... Done The following extra packages will be installed: bc The following NEW packages will be installed: bc oracle-xe-client oracle-xe-universal 0 upgraded, 3 newly installed, 0 to remove and 61 not upgraded. Need to get 288MB of archives. After unpacking 522MB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://mirrors.kernel.org sarge/main bc 1.06-15 [64.8kB] Get:2 http://oss.oracle.com unstable/non-free oracle-xe-client 10.2.0.1-1.2 [25.9MB] Get:3 http://oss.oracle.com unstable/non-free oracle-xe-universal 10.2.0.1-1.1 [262MB] Fetched 288MB in 5m20s (901kB/s) Selecting previously deselected package bc. (Reading database ... 38093 files and directories currently installed.) Unpacking bc (from .../archives/bc_1.06-15_i386.deb) ... Selecting previously deselected package oracle-xe-client. Unpacking oracle-xe-client (from .../oracle-xe-client_10.2.0.1-1.2_i386.deb) ... This system does not meet the minimum requirements for swap space. Based on the amount of physical memory available on the system, Oracle Client 10g Express Edition requires 504 MB of swap space. This system has 0 MB of swap space. Configure more swap space on the system and retry the installation. dpkg: error processing /var/cache/apt/archives/oracle-xe-client_10.2.0.1-1.2_i386.deb (--unpack): subprocess pre-installation script returned error exit status 1 Selecting previously deselected package oracle-xe-universal. Unpacking oracle-xe-universal (from .../oracle-xe-universal_10.2.0.1-1.1_i386.deb) ... This system does not meet the minimum requirements for swap space. Based on the amount of physical memory available on the system, Oracle Database 10g Express Edition requires 1008 MB of swap space. This system has 0 MB of swap space. Configure more swap space on the system and retry the installation. dpkg: error processing /var/cache/apt/archives/oracle-xe-universal_10.2.0.1-1.1_i386.deb (--unpack): subprocess pre-installation script returned error exit status 1 Errors were encountered while processing: /var/cache/apt/archives/oracle-xe-client_10.2.0.1-1.2_i386.deb /var/cache/apt/archives/oracle-xe-universal_10.2.0.1-1.1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) # free total used free shared buffers cached Mem: 516100 504044 12056 0 0 289268 -/+ buffers/cache: 214776 301324 Swap: 0 0 0
504 MB of swap for a client library? Wow.
In case anybody is curious wtf I'm installing Oracle, it's because I've spent a lot of time the past few weeks making MogileFS database-independent, moving all the SQL/DB work into a MogileFS::Store::* tree of classes, where portable SQL is at the top in MogileFS::Store, and database-specific stuff is in, say, MogileFS::Store::MySQL... then there's a singleton store instantiated based on your config for whatever database type you're using.
So now I'm writing more regression tests for it all, specifically beating up on the Store interface to make sure people implementing the interface implement it correctly, but I want more than one database so I can make MogileFS::Store::Multiplex, testing multiple stores in parallel, and comparing the results, failing if they differ.
Eh... I suppose I could write MogileFS::Store::SQLite a bit easier than installing Oracle. ;-)
I asked on the mailing list as well, but let me know if you want to help on this, making MogileFS work on Postgres or Oracle, or your database of choice. It's easy to get involved... the test suite runs on a single machine.