LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I can't install Tor Web Browser
#1
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 i entered the code that guy gave in terminal then entered my password but i got this :

Code:
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
Reply
#2
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..
LL4.8 UEFI 64 bit ASUS E402W - AMD E2 (Quad) 1.5Ghz  - 4GB - AMD Mullins Radeon R2
LL5.8 UEFI 64 bit Test UEFI Kangaroo (Mobile Desktop) - Atom X5-Z8500 1.44Ghz - 2GB - Intel HD Graphics
LL4.8 64 bit HP 6005- AMD Phenom II X2 - 8GB - AMD/ATI RS880 (HD4200)
LL3.8 32 bit Dell Inspiron Mini - Atom N270 1.6Ghz - 1GB - Intel Mobile 945GSE Express  -- Shelved
BACK LL5.8 64 bit Dell Optiplex 160 (Thin) - Atom 230 1.6Ghz - 4GB-SiS 771/671 PCIE VGA - Print Server
Running Linux Lite since LL2.2
Reply
#3
(09-08-2016, 12:37 AM)firenice03 link Wrote: 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:
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.
Reply
#4
Looks like it was interrupted/stopped during update process..

Try
Code:
sudo apt-get update
Oh yes to any updates is ok..

If updates process try to rerun
Code:
sudo apt-get update && sudo apt-get install tor-web-browser
LL4.8 UEFI 64 bit ASUS E402W - AMD E2 (Quad) 1.5Ghz  - 4GB - AMD Mullins Radeon R2
LL5.8 UEFI 64 bit Test UEFI Kangaroo (Mobile Desktop) - Atom X5-Z8500 1.44Ghz - 2GB - Intel HD Graphics
LL4.8 64 bit HP 6005- AMD Phenom II X2 - 8GB - AMD/ATI RS880 (HD4200)
LL3.8 32 bit Dell Inspiron Mini - Atom N270 1.6Ghz - 1GB - Intel Mobile 945GSE Express  -- Shelved
BACK LL5.8 64 bit Dell Optiplex 160 (Thin) - Atom 230 1.6Ghz - 4GB-SiS 771/671 PCIE VGA - Print Server
Running Linux Lite since LL2.2
Reply
#5
(09-08-2016, 01:40 AM)firenice03 link Wrote: Looks like update was interrupted.. It may have stopped on one of the
Try
Code:
sudo apt-get update

same error:
Code:
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:

[Image: Jjt2mFr.png]


i dont know should i reinstall they system?
Reply
#6
Try
Code:
sudo dpkg --configure -a

It may not appear it did much then
Code:
sudo apt-get update
LL4.8 UEFI 64 bit ASUS E402W - AMD E2 (Quad) 1.5Ghz  - 4GB - AMD Mullins Radeon R2
LL5.8 UEFI 64 bit Test UEFI Kangaroo (Mobile Desktop) - Atom X5-Z8500 1.44Ghz - 2GB - Intel HD Graphics
LL4.8 64 bit HP 6005- AMD Phenom II X2 - 8GB - AMD/ATI RS880 (HD4200)
LL3.8 32 bit Dell Inspiron Mini - Atom N270 1.6Ghz - 1GB - Intel Mobile 945GSE Express  -- Shelved
BACK LL5.8 64 bit Dell Optiplex 160 (Thin) - Atom 230 1.6Ghz - 4GB-SiS 771/671 PCIE VGA - Print Server
Running Linux Lite since LL2.2
Reply
#7
(09-08-2016, 02:06 AM)firenice03 link Wrote: Try
Code:
sudo dpkg --configure -a

It may not appear it did much then
Code:
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
Reply
#8
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:
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...

Code:
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.

Code:
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.


LL4.8 UEFI 64 bit ASUS E402W - AMD E2 (Quad) 1.5Ghz  - 4GB - AMD Mullins Radeon R2
LL5.8 UEFI 64 bit Test UEFI Kangaroo (Mobile Desktop) - Atom X5-Z8500 1.44Ghz - 2GB - Intel HD Graphics
LL4.8 64 bit HP 6005- AMD Phenom II X2 - 8GB - AMD/ATI RS880 (HD4200)
LL3.8 32 bit Dell Inspiron Mini - Atom N270 1.6Ghz - 1GB - Intel Mobile 945GSE Express  -- Shelved
BACK LL5.8 64 bit Dell Optiplex 160 (Thin) - Atom 230 1.6Ghz - 4GB-SiS 771/671 PCIE VGA - Print Server
Running Linux Lite since LL2.2
Reply
#9
thank you really helped me i got my answer this topic can be locked now  Big Grin
Reply
#10
I hope firenice03 doesn't mind me adding some additional information for clarification.

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

Hope that helps Smile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)