[ubuntu-za] Downloading update files via script

Lee Sharp leesharp at hal-pc.org
Fri Nov 8 15:59:56 UTC 2013

On 11/08/2013 12:24 AM, Raoul Snyman wrote:

>> Use sudo apt-get *dist-upgrade*

> Secondly, don't use dist-upgrade unless you are upgrading between releases (and even then don't use it, use do-release-upgrade). What the man page means when it says "intelligently" is that it will remove packages which depends on a package which is being upgraded if those packages depend on a previous version of the package being upgraded.

Unfortunatly, apt-get upgrade will NOT give kernal upgrades.  That is 
because the package changes to a different package, not an updated 
package. linux-image-3.5.0-42-generic is not an update to 
linux-image-3.5.0-37-generic, it is a totally new thing.  And a 
dit-upgrade is what the GUI upgrade-manager is doing.

As for it breaking your KDE, that is a different problem.  It usually 
involves packages outside the repository system, so apt does not know to 
hold them.

Now for another option, if you have Gnome, run software-properties-gtk 
and go to the updates tab.  You can set how often it checks, and what do 
do when it find them.  The choices are disply, download or install. 
This does only work for security updates, but kernal updates ARE 
security updates, so it may solve most of your issues.


More information about the ubuntu-za mailing list