Aere, On 04/19/2013 12:23 PM, Aere Greenway wrote:
> sudo apt-get update > sudo apt-get dist-upgrade Better to do this as one line with && between the two commands, since if the first fails, the second is usually rather pointless... so sudo apt-get update && sudo apt-get dist-upgrade > The first problem, is that while I was doing the first command, the > system was trying to find out if updates were available, so it had > ownership of a lock that the "apt-get update" command needed. This > resulted in the first step not successfully completing. If you typed them on one line as I suggest, you can just close Update Manager and then use uparrow and Enter to re-run the command line. If you know you will always use the command line approach, you can also prevent the Update Manager from running automatically, perhaps by rm /etc/xdg/autostart/update-notifier-desktop If you want a semi-GUI approach to starting your updates, create a shell script that does gksudo "bash -c 'apt-get update && apt-get dist-upgrade -y'" in ~/Desktop, and use that instead. > To get it to work, I had to run the update-manager GUI to where it > reported the updates available, but use the "Remind Me Later" button > to dismiss it. At that point, I could (in the terminal window) do > the "apt-get dist-upgrade" command. Seems unnecessarily complicated. Just use the command line tools, wrapped in gksudo if desired. > The second problem, was that after doing the "apt-get dist-upgrade", > the CPU was still 100% busy for quite awhile (a minute?) afterwards > even though control had returned to the command prompt. I entered > the "top" command, and it showed there was a root process, named > something like "update-xapi-index". update-xapian-index. If you do not want this indexing to happen, you can remove the relevant package, which is libxapian22 in 12.04, so sudo apt-get purge libxapian22 This will also remove synaptic, but since you are using command line tools for package management now, maybe that is OK for you on this machine anyway. This a bug report about how much of a hog the update-xapian-index process is on low RAM machines, but it has been there a while, and remains un-fixed, so getting rid of it is probably more practically useful than waiting for the bug to be fixed :) Jonathan -- Lubuntu-users mailing list Lubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/lubuntu-users