A friend of mine asked me to install Windows 7 on his laptop. I installed Windows 7 SP1, but something changed because when I tried to search for updates, it didn’t want to finish! I waited for 12 hours but it was still looking for… Damn, how to do an update?
- Start an admin terminal and stop the Windows Update service: “net stop wuauserv”.
- Install the update. Restart the machine if you are asked to.
- Take the next update and repeat.
There is no need to restart the WU service manually since it is started automatically after a reboot.
When these three updates are installed, the Windows Update will find the updates “quickly” (“quicly” is relative; for me it was about 15 minutes).
Manjaro had a major update at the end of April 2016 and after that my XFCE theme looked very strange.
In this thread I found that GTK3 was updated to version 3.20 and my current theme doesn’t support it. Solution: choose a different theme.
I chose the vertex-maia theme since it looks similar to my old theme. With Xfce Theme Manager I set this configuration:
- theme: Vertex-Maia
- windows borders: w8
- icons: Menda-Circle
- cursors: aero-drop
As the release date of the new Ubuntu is approaching, it’s time to revise how to update several machines without downloading the packages on each machine. There is a simple solution for this:
- Upgrade the first machine normally.
- Then copy the .deb packages from
/var/cache/apt/archivesto the other machine.
Careful, don’t run
apt-get clean on the first machine before copying the packages because
clean will delete these files. Of course, after copying the .deb files you can run the
For updating my Ubuntu, I use the following script:
#!/usr/bin/bash # good_shape.sh sudo dpkg --configure -a\ && sudo apt-get -f install\ && sudo apt-get --fix-missing install\ && sudo apt-get clean\ && sudo apt-get update\ && sudo apt-get upgrade\ && sudo apt-get dist-upgrade\ && sudo apt-get clean\ && sudo apt-get autoremove
As it calls
apt-get clean, it’ll remove the previously downloaded .deb packages which is usually no problem. If you don’t want that, here is a modified version of the same same script without
#!/usr/bin/bash # good_shape_safe.sh sudo dpkg --configure -a\ && sudo apt-get -f install\ && sudo apt-get --fix-missing install\ && sudo apt-get update\ && sudo apt-get upgrade\ && sudo apt-get dist-upgrade\ && sudo apt-get autoremove
I execute this script every day if I don’t forget that.