[Solved] dpkg error on debian etch install

Discussions related to using VirtualBox on Linux hosts.
Post Reply
msetnarba
Posts: 4
Joined: 20. Aug 2009, 07:55
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: windows

[Solved] dpkg error on debian etch install

Post by msetnarba »

Hello,

when I try to install virtualbox 3 on my debian system, I've this error :

Code: Select all

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)
anyone would have an idea?


thx in advance
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: dpkg error on debian etch install

Post by Sasquatch »

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.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
msetnarba
Posts: 4
Joined: 20. Aug 2009, 07:55
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: windows

Re: dpkg error on debian etch install

Post by msetnarba »

the download works

I've tried 2 things :

* apt-get install virtualbox-3.0

Code: Select all

 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)

* and wget -q http://download.virtualbox.org/virtualb ... h_i386.deb
dpkg -i virtualbox-3.0_3.0.4-50677_Debian_etch_i386.deb


but still same issue..........
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: dpkg error on debian etch install

Post by Sasquatch »

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?
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
msetnarba
Posts: 4
Joined: 20. Aug 2009, 07:55
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: windows

Re: dpkg error on debian etch install

Post by msetnarba »

yes ,

I've just retried 5 minutes ago........ and I've begin thes install yesterday night ( 16 hours ago)


but same thing
msetnarba
Posts: 4
Joined: 20. Aug 2009, 07:55
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: windows

Re: dpkg error on debian etch install

Post by msetnarba »

I've resolved my pb with this :

Code: Select all

# wget http://download.virtualbox.org/virtualbox/3.0.4/VirtualBox-3.0.4-50677-Linux_x86.run
# chmod +x VirtualBox-3.0.4-50677-Linux_x86.run
# ./VirtualBox-3.0.4-50677-Linux_x86.run

regards
Post Reply