LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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
  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
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
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
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
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
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 'dpkg--configure-a' E: dpkg was interrupted error Mountain Man 77 Linux - Newbie 8 02-21-2015 10:59 PM
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
dpkg: dpkg - error: PATH is not set basis1980 Linux - Software 1 12-07-2007 04:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:54 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