have to update on a regular basis...why?

phil phil at philfixit.info
Sun Mar 8 02:27:45 UTC 2015


On 8/03/2015 1:13 PM, Dan Purgert wrote:
> On Sun, 08 Mar 2015 01:57:21 +0000, Thufir wrote:
>
>> Quite frequently when I go to install a package it can't be found, but
>> just running sudo apt-get update fixes that.  Why the constant need to
>> update?  It's not like the package was suddenly added.
>>
>>
>> thanks,
>>
>> Thufir
>
> Updates your apt-repo list.  In theory, you shouldn't need to do this
> unless you're adding new PPAs or repos.  However, it's possible that apt-
> get has some form of age limit on the cached information anyway ... some
> quick google-fu didn't turn up anything though, and the man pages aren't
> exactly helpful either.
>
>
Thufir i just use a command like thus on a fairly regular basis:

sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade 
&& sudo apt-get autoremove && sudo apt-get autoclean && exit

overkill - possibly :)
Phil
cheers from sunny mildura australia




More information about the ubuntu-users mailing list