Linux Lite Forums

Software - Support => Installing Software => Topic started by: Humble on September 07, 2016, 07:37:51 PM

Title: I can't install Tor Web Browser
Post 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 :

Code: [Select]
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
Title: Re: I can't install Tor Web Browser
Post by: firenice03 on September 07, 2016, 08:37:08 PM
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..
Title: Re: I can't install Tor Web Browser
Post by: Humble on September 07, 2016, 08:47:38 PM
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:


Code: [Select]
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.
Title: Re: I can't install Tor Web Browser
Post by: firenice03 on September 07, 2016, 09:40:30 PM
Looks like it was interrupted/stopped during update process..

Try
Code: [Select]
sudo apt-get updateOh yes to any updates is ok..

If updates process try to rerun
Code: [Select]
sudo apt-get update && sudo apt-get install tor-web-browser
Title: Re: I can't install Tor Web Browser
Post by: Humble on September 07, 2016, 09:53:54 PM
Looks like update was interrupted.. It may have stopped on one of the
Try
Code: [Select]
sudo apt-get update

same error:
Code: [Select]
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?
Title: Re: I can't install Tor Web Browser
Post by: firenice03 on September 07, 2016, 10:06:19 PM
Try
Code: [Select]
sudo dpkg --configure -a
It may not appear it did much then
Code: [Select]
sudo apt-get update
Title: Re: I can't install Tor Web Browser
Post by: Humble on September 08, 2016, 07:45:41 AM
Try
Code: [Select]
sudo dpkg --configure -a
It may not appear it did much then
Code: [Select]
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
Title: Re: I can't install Tor Web Browser
Post by: firenice03 on September 08, 2016, 11:27:10 AM
Quote
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..


Quote
can you please explain to me these commands do
Sure... I'll do my best  ;D

Code: [Select]
sudo apt-get updateThis 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...

Code: [Select]
sudo apt-get update && sudo apt-get install APP_NAME_HEREThis 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.

Code: [Select]
sudo dpkg --configure -aThis 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.


Title: Re: I can't install Tor Web Browser
Post by: Humble on September 08, 2016, 02:24:47 PM
thank you really helped me i got my answer this topic can be locked now  :D
Title: Re: I can't install Tor Web Browser
Post by: LL-user on September 08, 2016, 05:19:10 PM
I hope firenice03 doesn't mind me adding some additional information for clarification.

Code: [Select]
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:
Code: [Select]
sudo apt-get upgrade

Hope that helps :)
Title: Re: I can't install Tor Web Browser
Post by: firenice03 on September 08, 2016, 08:17:50 PM
I hope firenice03 doesn't mind me adding some additional information for clarification.

Code: [Select]
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:
Code: [Select]
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
Title: Re: I can't install Tor Web Browser
Post by: LL-user on September 08, 2016, 08:47:08 PM
Am pretty sure your generous input and help is highly appreciated, not only by myself! :)