LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > 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

Reply
 
LinkBack Search this Thread
Old 01-09-2009, 04:33 PM   #16
Joke-star
LQ Newbie
 
Registered: Jan 2009
Posts: 10

Original Poster
Rep: Reputation: 0

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?
 
Old 01-09-2009, 04:36 PM   #17
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 264Reputation: 264Reputation: 264
Sorry, my fault. I meant dpkg --configure -a
 
Old 01-09-2009, 04:37 PM   #18
Joke-star
LQ Newbie
 
Registered: Jan 2009
Posts: 10

Original Poster
Rep: Reputation: 0
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:~$
 
Old 01-09-2009, 04:41 PM   #19
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 264Reputation: 264Reputation: 264
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.
 
Old 01-09-2009, 05:50 PM   #20
Joke-star
LQ Newbie
 
Registered: Jan 2009
Posts: 10

Original Poster
Rep: Reputation: 0
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?
 
Old 01-09-2009, 06:16 PM   #21
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 264Reputation: 264Reputation: 264
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?
 
Old 04-27-2009, 05:13 AM   #22
zypres
LQ Newbie
 
Registered: Apr 2009
Posts: 1

Rep: Reputation: 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...
 
  


Reply

Tags
dpkg, software


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
APT/dpkg errors! /var/lib/dpkg/status bassclarinet Debian 17 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
Ubuntu 'dpkg--configure-a' E: dpkg was interrupted error Mountain Man 77 Linux - Newbie 7 05-25-2010 10:52 AM
dpkg: dpkg - error: PATH is not set basis1980 Linux - Software 1 12-07-2007 04:53 PM


All times are GMT -5. The time now is 12:20 AM.

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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration