Tag Info

Hot answers tagged

2

As far as I know, getting apt to not lock is impossible. The error is happening because the script is trying to run multiple apt sessions simultaneously. I think it would be best if you could modify the script so that apt operations are run after each other, in a queue maybe.


1

in addition to @Wilhelm's advice (which is good) if you are left with a stale lock file that will not go away (this happens some times) you must remove it manually. sudo rm -rf /var/lib/dpkg/lock But be very careful that you have the path exactly correct as the sudo rm -rf will remove files (even system files) in use if you point it to them and can thus ...


1

You have added a repository to your system, but you did not have registered the GPG-key. You can do the following: sudo add-apt-repository ppa:webupd8team/y-ppa-manager sudo apt-get update sudo apt-get install y-ppa-manager Start the programm "Y PPA Manager" Click Advanced Click Try to import all missing GPG keys And just wait until the import ...


1

One forum thread says Synaptic's search function is affected if you remove apt-xapian-index. You can disable the periodic updates by adding this line: APT::Periodic::Enable "0"; to a file called /etc/apt/apt.conf.d/99periodic-disable (I picked that name. You can change it, as long as you keep the 99 in front, if you don't like it). I have no idea if the ...


1

My answer to How do I reset a lost password (using recovery mode requires me to type the password)? also contains instructions for the related task of making a user an administrator by booting from a live CD and chrooting into your system. One benefit of chrooting is that you don't have to edit any configuration files manually, and thus are somewhat less ...


1

During boot Ubuntu runs a script /etc/init.d/ondemand that waits one minute, then sets ondemand mode. You can make a change to that script such that it sets powersave mode instead. Note that doing so, and with the acpi-cpufreq driver, your CPUs will always be at the very minimum clock frequency.



Only top voted, non community-wiki answers of a minimum length are eligible