0 Members and 1 Guest are viewing this topic.
I hope firenice03 doesn't mind me adding some additional information for clarification.Code: [Select]sudo apt-get updateis 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 upgradeHope that helps
sudo apt-get update
sudo apt-get upgrade
it worked thank you but do i have to do the same method everytime i install something
can you please explain to me these commands do
sudo apt-get update && sudo apt-get install APP_NAME_HERE
sudo dpkg --configure -a
Try Code: [Select]sudo dpkg --configure -aIt may not appear it did much then Code: [Select]sudo apt-get update
Looks like update was interrupted.. It may have stopped on one of the Try Code: [Select]sudo apt-get update
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.
sudo apt-get update && sudo apt-get install tor-web-browser
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..
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 InReleaseGet: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 InReleaseHit:9 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu xenial InReleaseFetched 190 kB in 2s (83.3 kB/s)E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
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?