apt-get dist-upgrade v. apt-get upgrade - Raspberry Pi Forums
in documentation , posts i've read raspi recommended way upgrade distribution , packages use sudo apt-get update followed sudo apt-get upgrade. elsewhere it's recommended use sudo apt-get dist-upgrade rather sudo apt-get upgrade. see, example, http://askubuntu.com/questions/194651/w ... st-upgrade :-
"the upgrade option installs new version of packages installed on system (and yes, kernel updates belong them).
however, updates change dependencies: example, new version of package no longer depend on library have installed, or require installation of additional libraries. upgrade option never remove installed packages no longer need.
however, dist-upgrade option can "intelligently" handle changes in dependencies system. includes removing packages no longer necessary or resolve conflicts between packages arose because of changes in dependencies."
because of i've started use apt-get update && apt-get dist-upgrade with pi (running raspbian) rather apt-get update && apt-get upgrade. gather other google searches disadvantage of doing using apt-get upgrade "you keep old kernel versions around in case there problem booting new kernel, can choose old 1 boot menu , recover."
has comments/advice regarding this?
"the upgrade option installs new version of packages installed on system (and yes, kernel updates belong them).
however, updates change dependencies: example, new version of package no longer depend on library have installed, or require installation of additional libraries. upgrade option never remove installed packages no longer need.
however, dist-upgrade option can "intelligently" handle changes in dependencies system. includes removing packages no longer necessary or resolve conflicts between packages arose because of changes in dependencies."
because of i've started use apt-get update && apt-get dist-upgrade with pi (running raspbian) rather apt-get update && apt-get upgrade. gather other google searches disadvantage of doing using apt-get upgrade "you keep old kernel versions around in case there problem booting new kernel, can choose old 1 boot menu , recover."
has comments/advice regarding this?
use apt-get upgrade, reboot, test. if apt-get autoremove uninstall redundant packages. or use dist-upgrade , live life on edge. well, debian it's bit edge.
raspberrypi
Comments
Post a Comment