By mistake it deleted the /usr/bin/dpkg.exe please help!!!
Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Well i did exectly as you said .After issuing command
sudo dpkg --configure -a
It gave
Setting up ttf-mscorefonts-installer (3.2) ...
These fonts were provided by Microsoft "in the interest of cross-
platform compatibility". This is no longer the case, but they are
still available from third parties.
You are free to download these fonts and use them for your own use,
but you may not redistribute them in modified form, including changes
to the file name or packaging format.
All fonts downloaded and installed.
E: /var/lib/defoma/locked exists.
E: Another defoma process seems running, or you aren't root.
E: If you are root and defoma process isn't running undoubtedly,
E: it is possible that defoma might have aborted.
E: Please run defoma-reconfigure -f to fix its broken status.
dpkg: error processing ttf-mscorefonts-installer (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up lmodern (2.004.1-3) ...
Running mktexlsr. This may take some time... done.
E: /var/lib/defoma/locked exists.
E: Another defoma process seems running, or you aren't root.
E: If you are root and defoma process isn't running undoubtedly,
E: it is possible that defoma might have aborted.
E: Please run defoma-reconfigure -f to fix its broken status.
dpkg: error processing lmodern (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for tex-common ...
Running updmap-sys. This may take some time... done.
Errors were encountered while processing:
ttf-mscorefonts-installer
lmodern
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following packages will be REINSTALLED:
dpkg
The following partially installed packages will be configured:
lmodern ttf-mscorefonts-installer
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 385 not upgraded.
Need to get 0B/2,191kB of archives. After unpacking 0B will be used.
Writing extended state information... Done
/usr/bin/dpkg: 1: ELF: not found
/usr/bin/dpkg: 2: @@@@@@00pp@p@@@4@4@: not found
/usr/bin/dpkg: 1: Syntax error: Unterminated quoted string
E: Sub-process /usr/bin/dpkg returned an error code (2)
A package failed to install. Trying to recover:
Setting up ttf-mscorefonts-installer (3.2) ...
These fonts were provided by Microsoft "in the interest of cross-
platform compatibility". This is no longer the case, but they are
still available from third parties.
You are free to download these fonts and use them for your own use,
but you may not redistribute them in modified form, including changes
to the file name or packaging format.
All fonts downloaded and installed.
E: /var/lib/defoma/locked exists.
E: Another defoma process seems running, or you aren't root.
E: If you are root and defoma process isn't running undoubtedly,
E: it is possible that defoma might have aborted.
E: Please run defoma-reconfigure -f to fix its broken status.
dpkg: error processing ttf-mscorefonts-installer (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up lmodern (2.004.1-3) ...
Running mktexlsr. This may take some time... done.
E: /var/lib/defoma/locked exists.
E: Another defoma process seems running, or you aren't root.
E: If you are root and defoma process isn't running undoubtedly,
E: it is possible that defoma might have aborted.
E: Please run defoma-reconfigure -f to fix its broken status.
dpkg: error processing lmodern (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for tex-common ...
Running updmap-sys. This may take some time... done.
Errors were encountered while processing:
ttf-mscorefonts-installer
lmodern
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Current status: 386 updates [+1].
I think something wrong with.
ttf-mscorefonts-installer
lmodern
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.