Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
dpkg: parse error, in file '/var/lib/dpkg/status' near line 27317 package 'virtualbox-3.0':
error in Version string `3.0.4-50677_Debian_lenny': invalid character in revision number
E: Sub-process /usr/bin/dpkg returned an error code (2)
i tried to :
1- replace the file status with status-old
2- replace it with all the backups located in /var/backups/
Seems you are trying to install a poorly constructed package. If they can't even following the file naming conventions for a deb package I'd be very worried about the quality of the package itself. Any reason you are not using official virtualbox-ose packages from Debian?
Package: virtualbox-3.0
Status: deinstall ok config-files
Priority: optional
Section: misc
Installed-Size: 84732
Maintainer: Sun Microsystems, Inc. <info@virtualbox.org>
Architecture: i386 Version: 3.0.4-50677_Debian_lenny
Config-Version: 3.0.4-50677_Debian_lenny
Replaces: virtualbox
Provides: virtualbox
Depends: libc6 (>= 2.7-1), libcurl3 (>= 7.16.2-1), libgcc1 (>= 1:4.1.1), libqt4-network (>= 4.4.3), libqtcore4 (>= 4.4.3), libqtgui4 (>= 4.4.3), libsdl1.2debian (>= 1.2.10-1), libssl0.9.8 (>= 0.9.8f-5), libstdc++6 (>= 4.2.1), libx11-6, libxcursor1 (>> 1.1.2), libxext6, libxml2 (>= 2.6.27), libxmu6, libxslt1.1 (>= 1.1.18), libxt6, python2.5 (>= 2.5), zlib1g (>= 1:1.1.4), psmisc, adduser
Pre-Depends: debconf (>= 1.1) | debconf-2.0
Recommends: libasound2, libpulse0, libsdl-ttf2.0-0, linux-headers, gcc, make, binutils, libhal1 (>= 0.5), pdf-viewer, libgl1, python-central
Conflicts: virtualbox
Conffiles:
/etc/init.d/vboxdrv 1832e30126dcc7a7bdebeb712f6ab26b
Description: Sun VirtualBox
VirtualBox is a powerful PC virtualization solution allowing you to run a
wide range of PC operating systems on your Linux system. This includes
Windows, Linux, FreeBSD, DOS, OpenBSD and others. VirtualBox comes with a broad
feature set and excellent performance, making it the premier virtualization
software solution on the market.
Python-Version: >= 2.4
it seems you've marked this is [solved]. Care to let us know what you did? Did you edit the "Version:" line to make it conform (getting rid of the underscores in the revision string)?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.