Quote:
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? |
Sorry, my fault. I meant dpkg --configure -a
|
Quote:
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:~$ |
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. |
Quote:
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? |
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? |
I fixed it for me
My fix was deleting some more:
Code:
sudo rm /var/lib/dpkg/updates/00** |
All times are GMT -5. The time now is 09:59 PM. |