Removing A Program In Ubuntu

Talk Electrician Forum

Help Support Talk Electrician Forum:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.

OnOff

Mad Inventor™
Supporting Member
Joined
Dec 25, 2011
Messages
5,456
Reaction score
69
Evening, on my laptop running 64-bit Zorin 0S 8 which is based on Ubuntu 13.10 I can't seem to remove a program. It's the CAD program Drafsight which I need to re-install. I've tried two different ways:

First I went into the Software Centre and typed in Draftsight. It shows it as installed. I opt to remove it, the progress thing shows "applying changes" then "waiting" but it doesn't remove it. It'll stay like this until I switch off:

Selection_050.png

So I tried from the terminal with:

$ sudo apt-get remove draftsight

And I get:

Selection_051.png

Any suggestions gratefully received!

Cheers

 
Did you try sudo dpkg -r draftsight
Else, I found;

sudo rm /var/lib/dpkg/lock

Once that is done type:

sudo dpkg --configure -a
If that doesn't work try;

fuser -v /var/cache/debconf/config.dat

to find the process locking this file. When found kill the process with

kill -15 <name of process here>
Should that fail replace -15 (a graceful kill) with -9 (a more aggressive kill).

I am a Linux noob still, but I have dual booted Linux and windows in the past, seems my laptop is too old to do it even from usb stick these days.

 
Did you try sudo dpkg -r draftsight

Else, I found;

sudo rm /var/lib/dpkg/lock

Once that is done type:

sudo dpkg --configure -a
If that doesn't work try;

fuser -v /var/cache/debconf/config.dat

to find the process locking this file. When found kill the process with

kill -15 <name of process here>
Should that fail replace -15 (a graceful kill) with -9 (a more aggressive kill).

I am a Linux noob still, but I have dual booted Linux and windows in the past, seems my laptop is too old to do it even from usb stick these days.
I'll ALWAYS be a Linux noob!  :lol: Terminal commands just do my head in tbh. Anway:

sudo dpkg -r draftsight

Started off looking promising but ended up with this:

Selection_053.png

 
sudo rm /var/lib/dpkg/lock

Seemingly did nothing, then:

sudo dpkg --configure -a

Started downloading Dropbox???

Cheers anyway.

 
Seems like that first bit worked, the screen shows that only the settings remains, can be removed manually if required.

Does draftsight show up on your list of installed applications now?

A lot of stuff is hosted on dropbox, so not necessarily a bad thing or a risk.

 
Seems like that first bit worked, the screen shows that only the settings remains, can be removed manually if required.

Does draftsight show up on your list of installed applications now?

A lot of stuff is hosted on dropbox, so not necessarily a bad thing or a risk.
 Got there in the end cheers! Duly scoobed. 

 
Top