LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Tags used in this thread
Popular LQ Tags , ,

Reply
 
Thread Tools
Old 01-09-2009, 05:33 PM   #16
Joke-star
LQ Newbie
 
Registered: Jan 2009
Posts: 10
Thanked: 0

Original Poster

[Log in to get rid of this advertisement]
Quote:
Originally Posted by pljvaldez View Post
Yes.
izese@izese-desktop:~$ dpkg --reconfigure -a
dpkg: unknown option --reconfigure

Type dpkg --help for help about installing and deinstalling packages[*];
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
Type dpkg --license for copyright license and lack of warranty (GNU GPL)[*].

Options marked[*] produce a lot of output - pipe it through `less' or `more' !

What should i do now?
Joke-star is offline     Reply With Quote
Old 01-09-2009, 05:36 PM   #17
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Lenny (x86)
Posts: 5,276
Thanked: 96
Sorry, my fault. I meant dpkg --configure -a
pljvaldez is offline     Reply With Quote
Old 01-09-2009, 05:37 PM   #18
Joke-star
LQ Newbie
 
Registered: Jan 2009
Posts: 10
Thanked: 0

Original Poster
Quote:
Originally Posted by pljvaldez View Post
Sorry, my fault. I meant dpkg --configure -a
i got.

izese@izese-desktop:~$ dpkg --configure -a
dpkg: requested operation requires superuser privilege
izese@izese-desktop:~$ sudo dpkg --configure -a
dpkg: parse error, in file `/var/lib/dpkg/updates/0002' near line 1:
field name `
izese@izese-desktop:~$
Joke-star is offline     Reply With Quote
Old 01-09-2009, 05:41 PM   #19
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Lenny (x86)
Posts: 5,276
Thanked: 96
Okay, so now sudo rm /var/lib/dpkg/updates/0002 and then try the dpkg command again.

Basically, what I think happened was one of the updates got borked. So just keep deleting them one by one until the dpkg command works correctly.
pljvaldez is offline     Reply With Quote
Old 01-09-2009, 06:50 PM   #20
Joke-star
LQ Newbie
 
Registered: Jan 2009
Posts: 10
Thanked: 0

Original Poster
Quote:
Originally Posted by pljvaldez View Post
Okay, so now sudo rm /var/lib/dpkg/updates/0002 and then try the dpkg command again.

Basically, what I think happened was one of the updates got borked. So just keep deleting them one by one until the dpkg command works correctly.

izese@izese-desktop:~$ sudo rm /var/lib/dpkg/updates/0002
rm: cannot remove `/var/lib/dpkg/updates/0002': No such file or directory
izese@izese-desktop:~$ sudo rm /var/lib/dpkg/updates/0002

It must be deleted so how can i delete the others or is there an alternative to Dpkg?
Joke-star is offline     Reply With Quote
Old 01-09-2009, 07:16 PM   #21
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Lenny (x86)
Posts: 5,276
Thanked: 96
What is the output of ls -al /var/lib/dpkg/updates?

dpkg is the guts of the package management system. You won't be able to install any software until you resolve this situation.

Did you try running sudo dpkg --configure -a again?
pljvaldez is offline     Reply With Quote
Old 04-27-2009, 06:13 AM   #22
zypres
LQ Newbie
 
Registered: Apr 2009
Posts: 1
Thanked: 0
I fixed it for me

My fix was deleting some more:
Code:
sudo rm /var/lib/dpkg/updates/00**
Then I did reconfigure -a and it all worked...
zypres is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 'dpkg--configure-a' E: dpkg was interrupted error Mountain Man 77 Linux - Newbie 6 07-19-2009 03:41 AM
APT/dpkg errors! /var/lib/dpkg/status bassclarinet Debian 14 04-12-2009 07:29 PM
dpkg: dpkg - error: PATH is not set basis1980 Linux - Software 1 12-07-2007 05:53 PM
dpkg is dead! error in /var/lib/dpkg/available dezert_fox Debian 3 05-16-2006 05:53 PM


All times are GMT -5. The time now is 06:42 PM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration