Software update problem

Ralf Mardorf silver.bullet at zoho.com
Tue Oct 25 05:41:22 UTC 2016


On Tue, 25 Oct 2016 01:54:05 +0200, Liam Proven wrote:
>On 24 October 2016 at 23:30, Ralf Mardorf wrote:
>> Running 'autoclean' after 'clean' makes no sense. Liam most likely
>> made a typo, this probably should read.  
>
>Oops, sorry, my mistake!
>
>I misunderstood what "autoclean" did compared to "clean". No, I didn't
>mean
>
>> sudo apt autoremove  
>
>... I'm not that brave!

Ok, I don't know if cleaning the cache is required at all, OTOH its
also questionable if keeping the cache is useful. I don't know how much
interaction between apt and the cache is, so maybe cleaning the cache
could solve an issue.

We perhaps confuse the original poster. So here's an explanation.

The 'clean' commands tidy up a cache were packages are stored,
it might or might not be useful to do so, however, you should do it,
since it doesn't harm.

'autoremove' is the command that failed last time you run it, to
automatically remove unneeded packages, so don't be brave, don't do it
now, IOW run

  sudo -i
  dpkg --configure -a
  apt install -f
  apt clean
  apt update
  apt full-upgrade # with or without -y
  logout # or push the keys Ctrl+D

The 'dpkg' command will configure what wasn't correctly configured
before and 'install -f' tries to fix broken dependencies.

If you run full-upgrade without '-y', you always need to confirm
before the upgrade continues after a question, if you run it with '-y'
you most of the times don't need to confirm, that the upgrade should
continue.

Regards,
Ralf





More information about the ubuntu-users mailing list