After unpacking 102MB of additional disk space will be used.
Preconfiguring packages ...
(Reading database ... 18916 files and directories currently installed.)
Unpacking virtualbox-3.0 (from .../virtualbox-3.0_3.0.4-50677%5fDebian%5fetch_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/virtualbox-3.0_3.0.4-50677%5fDebian%5fetch_i386.deb (--unpack):
subprocess pre-installation script returned error exit status 123
Errors were encountered while processing:
/var/cache/apt/archives/virtualbox-3.0_3.0.4-50677%5fDebian%5fetch_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Exactly how are you installing it, did you get an error during download? You might want to download the .deb from the website and install it manually using dpkg -i VirtualBox*.deb.
apt-get install virtualbox-3.0 Reading package lists... Done
Building dependency tree... Done
Recommended packages:
libpulse0 libsdl-ttf2.0-0 linux-headers libhal1 pdf-viewer libgl1
python-central
The following NEW packages will be installed:
virtualbox-3.0
0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
Need to get 50.2MB of archives.
After unpacking 102MB of additional disk space will be used.
Get:1 http://download.virtualbox.org etch/non-free virtualbox-3.0 3.0.4-50677_Debian_etch [50.2MB]
Fetched 50.2MB in 7m59s (105kB/s)
Preconfiguring packages ...
(Reading database ... 18916 files and directories currently installed.)
Unpacking virtualbox-3.0 (from .../virtualbox-3.0_3.0.4-50677%5fDebian%5fetch_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/virtualbox-3.0_3.0.4-50677%5fDebian%5fetch_i386.deb (--unpack):
subprocess pre-installation script returned error exit status 123
Errors were encountered while processing:
/var/cache/apt/archives/virtualbox-3.0_3.0.4-50677%5fDebian%5fetch_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Strange that the repo and wget didn't work. Maybe there's a bug in wget that causes the files to get corrupted under certain circumstances.
You are up and running now, right?