Automatic updates in Mint 19

Automatic updated is not a recomment way to upgrade system, because if user interrupts the process, system can be borked. Anyway if wanting to use automatic updates, it can do many ways, and here is one way. 1. Make a AUTOUPDATE script: sudo nano /etc/AUTOUPDATE … the contents #!/bin/bash ## Automatic updates in Mint 19 Continue reading →

Simple update script for Slackware

For getting to work this script, packages zenity and xterm must be installed. The Script: #!/bin/sh zenity –question –text “Would you like check updates?” if [ $? = 0 ]; then xterm -e su -c ‘xterm -e slackpkg update’ root else exit 0 fi zenity –question –text “Would you like to install updates?” if [ Continue reading →

Simple update script for PCLinuxOS

For getting to work this script, packages zenity and xterm must be installed. The Script: #!/bin/sh zenity –question –text “Would you like check updates?” if [ $? = 0 ]; then xterm -e su -c ‘xterm -e apt-get update’ root else exit 0 fi zenity –question –text “Would you like to install updates?” if [ Continue reading →

Simple update script

For getting to work this script, packages zenity and xterm must be installed. The Script: #!/bin/sh zenity –question –text “Would you like check updates?” if [ $? = 0 ]; then xterm -e sudo apt-get update else exit 0 fi zenity –question –text “Would you like to install updates?” if [ $? = 0 ]; Continue reading →

To correct apt lists (if updates not working)

A graphical way is to fix merge-list errors via Software Sources.   An another way is to fix via command line. sudo rm /var/lib/apt/lists/* -vf sudo apt-get clean sudo apt-get update