LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 08-08-2010, 04:32 PM   #1
fadinader
LQ Newbie
 
Registered: Aug 2009
Distribution: debian xfce desktop
Posts: 25

Rep: Reputation: 16
error in /var/lib/dpkg/status


hi all,
when i try to use apt an error occurs :

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/

and the same error occurs

any other solutions ??
thx in advance
 
Old 08-08-2010, 08:28 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
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?

Evo2.
 
Old 08-09-2010, 07:06 AM   #3
fadinader
LQ Newbie
 
Registered: Aug 2009
Distribution: debian xfce desktop
Posts: 25

Original Poster
Rep: Reputation: 16
i've installed this program a long time ago and i forgot to remove it, i do not use it .. but now it causes a problem

so, is there a solution to remove it or to fix this problem ??
 
Old 08-09-2010, 07:59 AM   #4
fadinader
LQ Newbie
 
Registered: Aug 2009
Distribution: debian xfce desktop
Posts: 25

Original Poster
Rep: Reputation: 16
this is the paragraph in "status"


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


the line mentioned in the error is in bold
 
Old 08-09-2010, 09:29 PM   #5
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

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)?

Cheers,

Evo2.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
APT/dpkg errors! /var/lib/dpkg/status bassclarinet Debian 16 12-01-2011 09:24 AM
dpkg is dead! error in /var/lib/dpkg/available dezert_fox Debian 4 11-22-2011 10:28 AM
could not get lock /var/lib/dpkg/ netstat Debian 1 09-08-2008 08:52 PM
apt cannot be upgraded, and problem with /var/lib/dpkg/status San-Raal Debian 9 04-08-2008 07:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration