Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Received the following error when attempting to install from Terminal:

Selecting previously unselected package dassault-systemes-draftsight.
(Reading database … 211618 files and directories currently installed.)
Unpacking dassault-systemes-draftsight (from …/Downloads/draftSight.deb) …
access control disabled, clients can connect from any host
access control disabled, clients can connect from any host
access control disabled, clients can connect from any host

Now receiving system error notification that it's half installed and causing the error. It's crashing the Software Center, I cannot figure out how to kill the offending dpkg or how to un-install what is installed to start over.

sudo apt-get remove dassult-systemes-draftsight
[sudo] password for user:
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

Made a bit more progress:

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package dassault-systemes-draftsight needs to be reinstalled, but I can't find an archive for it.

dpkg/Status shows half installed:

Package: dassault-systemes-draftsight
Status: install reinstreq half-installed
Priority: extra
Section: applications
Architecture: i386
Version: 2012.7.347

But Terminal says it's not there:

user:~$ sudo dpkg --force-remove-reinstreq --remove dassult-systemes-draftsight
dpkg: warning: ignoring request to remove dassult-systemes-draftsight which isn't installed
user@computer:~$ sudo dpkg -e DraftSight
dpkg-deb: error: failed to read archive `DraftSight': No such file or directory
share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.