LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-15-2014, 06:36 PM   #1
tremendito
LQ Newbie
 
Registered: Jul 2014
Posts: 3

Rep: Reputation: Disabled
Delete a program via the terminal.


Hello!!!

Am a newbie!!! LOL!!!

I have a program that will not work right from the start. The Ubuntu Software Center will not install it and will not delete it either. The program in question is Dropbox.

How can I delete this problem?

Thanks for your responses!

Gilberto.
 
Old 09-15-2014, 06:48 PM   #2
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
from a terminal try
Code:
sudo apt-get remove dropbox
Also what do you get when you type
Code:
which dropbox
 
Old 09-15-2014, 07:07 PM   #3
tremendito
LQ Newbie
 
Registered: Jul 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thanks for your answer!

Unfortunately it does not work. Tells me that there is a program working and cannot "lock" whatever that means.
The program in question is Dropbox, the one where you can put your pictures and retrieve them from any platform.

Thanks for your help!

---------- Post added 09-15-14 at 08:07 PM ----------

Thanks for your answer!

Unfortunately it does not work. Tells me that there is a program working and cannot "lock" whatever that means.
The program in question is Dropbox, the one where you can put your pictures and retrieve them from any platform.

Thanks for your help!
 
Old 09-15-2014, 07:55 PM   #4
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Look in the FAQ that Dropbox ought to provide.
BTW Dropbox will have shared all your stuff with the NSA by now.
 
Old 09-15-2014, 10:13 PM   #5
erik2282
Member
 
Registered: May 2011
Location: Texas
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 829

Rep: Reputation: 229Reputation: 229Reputation: 229
http://askubuntu.com/questions/49810...-lib-dpkg-lock
 
Old 09-16-2014, 08:31 PM   #6
Fred Caro
Senior Member
 
Registered: May 2007
Posts: 1,007

Rep: Reputation: 167Reputation: 167
trem...,
assuming all else is working ok, you could try "whereis dropbox" or "dpkg -L dropbox" to see if it present or look on synaptic to see if is installed or use the 'repair broken' feature in synaptic, you might have to access 'synaptic package manager' from a terminal via "gksudo synaptic" or try "purge dropbox" from a terminal (cmd). Note difference between d and D if you are using cmd (terminal).

Fred.
 
Old 09-17-2014, 09:25 AM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,646

Rep: Reputation: 7969Reputation: 7969Reputation: 7969Reputation: 7969Reputation: 7969Reputation: 7969Reputation: 7969Reputation: 7969Reputation: 7969Reputation: 7969Reputation: 7969
Quote:
Originally Posted by tremendito View Post
Thanks for your answer!

Unfortunately it does not work. Tells me that there is a program working and cannot "lock" whatever that means.
The program in question is Dropbox, the one where you can put your pictures and retrieve them from any platform.

Thanks for your help!
Has nothing to do with Dropbox, but to do with the Ubuntu software center/updater. If it's checking for updates, or you're running software center, it has a lock on the package database...meaning you can't change it. So, stop whatever program it's complaining about, and try the command again.
 
Old 09-17-2014, 08:01 PM   #8
Fred Caro
Senior Member
 
Registered: May 2007
Posts: 1,007

Rep: Reputation: 167Reputation: 167
TBone,
surely 'Ubuntu software centre' does not do updates(?) only installs. Personally don't use it. Get info from synaptic and install with apt-get. Locks will pass, usually, then you can install. Perhaps there is some kind of builtin link/offer with Ubuntu software centre and Dropbox?

Fred.
 
Old 09-17-2014, 08:13 PM   #9
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,
Quote:
Originally Posted by Fred Caro View Post
surely 'Ubuntu software centre' does not do updates(?) only installs.
Possibly true, but not relevant. The software centre will be using the same low level dpkg backend and as such the /var/lib/dpkg/lock file created by any other apt/dpkg process will be respected.

Evo2.
 
Old 09-26-2014, 08:11 PM   #10
tremendito
LQ Newbie
 
Registered: Jul 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
I want to thank all of you who tried to help me on my thread about being a newbie and trying to stop a program.

Well, If at first you do not succeed, you trie again and again and again... LOL!!!

You guys helped me a lot. I made good use of your suggestions!!! Rest assured I fixed the problem.

I re-installed Ubuntu!!! LOL!!! There was something wrong with the installation and I could not get to where the problem was, so, I simply took my trusty little CD and re-installed it.

The bottom line is that I was being told that I needed to upgrade from 11 to 12 because 11 is no longer supported. Fine! That I did, however the system then says that 14.something is available and I should upgrade. That was one of my mistakes. The graphics I have are not supported on that upgrade, and something else I do not remember. So I abstained from upgrading to 14.something. End of argument, problem, issue, pain or dissappointment. However, when I point my cursor to something, I have to place the cursor a bit higher than where I want else I will be pointing below I want. The other issue I have, is that I have not seen a program to defrag the Hard Disk. Any suggestions?

Thanks again to all of you: You were above and beyond help.

Gilberto aka trmdito@gmail.com

---------- Post added 09-26-14 at 09:12 PM ----------

I want to thank all of you who tried to help me on my thread about being a newbie and trying to stop a program.

Well, If at first you do not succeed, you trie again and again and again... LOL!!!

You guys helped me a lot. I made good use of your suggestions!!! Rest assured I fixed the problem.

I re-installed Ubuntu!!! LOL!!! There was something wrong with the installation and I could not get to where the problem was, so, I simply took my trusty little CD and re-installed it.

The bottom line is that I was being told that I needed to upgrade from 11 to 12 because 11 is no longer supported. Fine! That I did, however the system then says that 14.something is available and I should upgrade. That was one of my mistakes. The graphics I have are not supported on that upgrade, and something else I do not remember. So I abstained from upgrading to 14.something. End of argument, problem, issue, pain or dissappointment. However, when I point my cursor to something, I have to place the cursor a bit higher than where I want else I will be pointing below I want. The other issue I have, is that I have not seen a program to defrag the Hard Disk. Any suggestions?

Thanks again to all of you: You were above and beyond help.

Gilberto aka trmdito@gmail.com
 
Old 09-26-2014, 08:25 PM   #11
gor0
Member
 
Registered: Jun 2014
Distribution: quad BOOT!
Posts: 549

Rep: Reputation: 65
better try http://www.linuxmint.com/ ...
 
  


Reply



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
[SOLVED] Gnome terminal 3.8.3 - delete profile timl Linux - Software 5 07-16-2013 11:36 PM
Running program from terminal with & does nothing, program stops DittoAlex Linux - General 1 10-05-2007 01:35 AM
Delete via Terminal BarfBag SUSE / openSUSE 1 10-13-2005 10:21 AM
delete and create a partition from a terminal gjo Linux - General 8 06-14-2005 01:49 PM
vi won't backspace or delete in terminal JamesM Linux - Software 1 08-18-2003 09:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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