Re: Why can ubuntu dist upgrade dist from within an X session?
On Sun 19 May 2013 at 18:11:56 +0300, Πρεκατές Αλέξανδρος wrote:
> In release notes it says:
>
> "You should not upgrade using telnet, rlogin, rsh, or from an X session
> managed by xdm, gdm or kdm etc. on the machine you are upgrading. That is
> because each of those services may well be terminated during the upgrade,
> which can result in an inaccessible system that is only half-upgraded. Use of
> the GNOME application update-manager is strongly discouraged for upgrades to
> new releases, as this tool relies on the desktop session remaining active. "|
>
> So i wonder why can ubuntu dist upgrade dist from within an X session?
One imagines killing X during an upgrade is avoided by not restarting
gdm (for example). Looking at the postinst, postrm and prerm files and
what is run in debian/rules is very likely to reduce your wondering.
Reply to: