Linux Lite Forums
Software - Support => Installing Software => Topic started by: Humble on September 07, 2016, 07:37:51 PM
-
hello everyone i just installed linux lite i am new i dont know anything except using firefox i tried to install tor browser and found this topic LINK (https://www.linuxliteos.com/forums/installing-software/tor-web-browser/msg14768/#msg14768) i entered the code that guy gave in terminal then entered my password but i got this :
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?
what i should do? correct me if i am doing something wrong thanks
-
Welcome aboard!!!...
You have another application open; synaptic or lite software, updates or similar (you would of had to enter credentials)...
Close those open applications ... Then rerun command..
-
Welcome aboard!!!...
You have another application open; synaptic or lite software, updates or similar (you would of had to enter credentials)...
Close those open applications ... Then rerun command..
closing and reopening terminal works or should i enter a command to close the applications? as i said i am new so
Edit: so i restarted my computer and then run the command this time got this error:
comp@lighter-lin:~$ sudo apt-get update && sudo apt-get install tor-web-browser
[sudo] password for comp:
Hit:1 http://archive.canonical.com/ubuntu xenial InRelease
Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]
Hit:3 http://ppa.launchpad.net/nemh/systemback/ubuntu xenial InRelease
Hit:4 http://repo.linuxliteos.com/linuxlite citrine InRelease
Hit:5 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Get:6 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [95.7 kB]
Hit:7 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease
Hit:8 http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu xenial InRelease
Hit:9 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu xenial InRelease
Fetched 190 kB in 2s (83.3 kB/s)
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
-
Looks like it was interrupted/stopped during update process..
Try
sudo apt-get update
Oh yes to any updates is ok..
If updates process try to rerun
sudo apt-get update && sudo apt-get install tor-web-browser
-
Looks like update was interrupted.. It may have stopped on one of the
Try
sudo apt-get update
same error:
comp@lighter-lin:~$ sudo apt-get update
[sudo] password for comp:
Hit:1 http://ppa.launchpad.net/nemh/systemback/ubuntu xenial InRelease
Hit:2 http://repo.linuxliteos.com/linuxlite citrine InRelease
Hit:3 http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu xenial InRelease
Get:4 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]
Hit:5 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Hit:6 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu xenial InRelease
Hit:7 http://archive.canonical.com/ubuntu xenial InRelease
Get:8 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [95.7 kB]
Hit:9 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease
Get:10 http://us.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [378 kB]
Get:11 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [320 kB]
Fetched 889 kB in 3s (232 kB/s)
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
Edit: tried to open lite software this is what i get:
(http://i.imgur.com/Jjt2mFr.png)
i dont know should i reinstall they system?
-
Try
sudo dpkg --configure -a
It may not appear it did much then sudo apt-get update
-
Try
sudo dpkg --configure -a
It may not appear it did much then sudo apt-get update
it worked thank you but do i have to do the same method everytime i install something or its only one time an can you please explain to me these commands do
-
it worked thank you but do i have to do the same method everytime i install something
You shouldn't have to. You can rerun updates when ever you like..
can you please explain to me these commands do
Sure... I'll do my best ;D
sudo apt-get update
This is the command line way you run updates in LL, if you use Run Updates from any of the gui based apps (Lite Updates/Updates from Welcome) this command runs in the background...
sudo apt-get update && sudo apt-get install APP_NAME_HERE
This is the combination of 2 commands... The 1st command (update) runs updates and upon success(the &&) install the app listed.
apt-get install is the install command of apt-get essentially what Synaptic does in the background. There are other variables remove purge, update and others.
sudo dpkg --configure -a
This was actually being told to you within the error messages when updating. At some point there was an interruption this command corrected it. dpkg relates to the base package system.
-
thank you really helped me i got my answer this topic can be locked now :D
-
I hope firenice03 doesn't mind me adding some additional information for clarification.
sudo apt-get update
is updating the system only in the sense that the software lists get updated according to the active software repositories!
The above command is not updating the system itself, i.e. is not downloading and installing any software packages. For this to happen you need to run:
sudo apt-get upgrade
Hope that helps :)
-
I hope firenice03 doesn't mind me adding some additional information for clarification.
sudo apt-get update
is updating the system only in the sense that the software lists get updated according to the active software repositories!
The above command is not updating the system itself, i.e. is not downloading and installing any software packages. For this to happen you need to run:
sudo apt-get upgrade
Hope that helps :)
Don't mind at all :D
I think.. well I like to think I have a decent grasp and try to help when I can
-
Am pretty sure your generous input and help is highly appreciated, not only by myself! :)