Re: apt-get dist-upgrade on shutdown ?
On Thu, Jan 23, 2014 at 10:40 PM, Zenaan Harkness z...@freedbms.net wrote: apt-get upgrade seems to have less reboot requiring updates. There ought be a way to schedule a dist-upgrade, to occur the next time I shutdown my computer - not on hibernate/suspend or even logout (I work on cmd line here and there). Doing a dist-upgrade right when I'm shutting the machine down, is usually the most convenient time for me (before bedtime or whatever), and so this ought be an easy thing to automate/achieve (as an option at least). Another reason to do so, if one is normally in a gui, and running sid, is that sometimes gui packages break with an upgrade and a logout at least is required. Sometimes a reboot is required. Well, if you get it running, what I will want to know is whether you don't find it refusing to shut down just exactly when you need it to shut down in a hurry. That happens to me a lot when I'm shutting MSWindows down. A thought, to reduce the impact, I would tend to want to let it download n the background if I were going to go with this. Then the only thing that would be holding you up on shutdown would be the install part. I think I'd also like it to query me before it started the install, so I have a chance to hold the install off when I need to reboot it quick or something. Not telling you what to do with your computer, of course, just thinking out loud. -- Joel Rees Be careful where you see conspiracy. Look first in your own heart. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/caar43ipmpyfkssn+1xkout7zbo-l_0j-qxmfrlzep3dy2qt...@mail.gmail.com
Re: apt-get dist-upgrade on shutdown ?
On 1/24/14, Joel Rees joel.r...@gmail.com wrote: On Thu, Jan 23, 2014 at 10:40 PM, Zenaan Harkness z...@freedbms.net wrote: apt-get upgrade seems to have less reboot requiring updates. There ought be a way to schedule a dist-upgrade, to occur the next time I shutdown my computer - not on hibernate/suspend or even logout (I work on cmd line here and there). Doing a dist-upgrade right when I'm shutting the machine down, is usually the most convenient time for me (before bedtime or whatever), A thought, to reduce the impact, I would tend to want to let it download n the background if I were going to go with this. Then the Ubuntu had some GUI option thing to auto-download (and also to auto-install, which I never enabled) updates. only thing that would be holding you up on shutdown would be the install part. Definitely the way to go. I think I'd also like it to query me before it started the install, so I have a chance to hold the install off when I need to reboot it quick or something. Totally agree. Not telling you what to do with your computer, of course, just thinking out loud. O. M. G. Yu tellin' me how to shut the fine PC down yo?!? Yeah ah got sumthin' ta say ... that one over there ... he tellin' me what to do yo! ok ok ... that's enough now ... OK, we'll be right back after this break. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAOsGNSRp_5OkkhMX3vMJuaG5nbF1gbwy=px9wqf4xsopbsy...@mail.gmail.com
apt-get dist-upgrade on shutdown ?
apt-get upgrade seems to have less reboot requiring updates. There ought be a way to schedule a dist-upgrade, to occur the next time I shutdown my computer - not on hibernate/suspend or even logout (I work on cmd line here and there). Doing a dist-upgrade right when I'm shutting the machine down, is usually the most convenient time for me (before bedtime or whatever), and so this ought be an easy thing to automate/achieve (as an option at least). Another reason to do so, if one is normally in a gui, and running sid, is that sometimes gui packages break with an upgrade and a logout at least is required. Sometimes a reboot is required. TIA Zenaan -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/caosgnsr+gnlfhxvn3vchubpkbpgshq34bofysj_5d8aglpi...@mail.gmail.com
Re: apt-get dist-upgrade on shutdown ?
On Fri, Jan 24, 2014 at 12:40:26AM +1100, Zenaan Harkness wrote: apt-get upgrade seems to have less reboot requiring updates. There ought be a way to schedule a dist-upgrade, to occur the next time I shutdown my computer - not on hibernate/suspend or even logout (I work on cmd line here and there). Doing a dist-upgrade right when I'm shutting the machine down, is usually the most convenient time for me (before bedtime or whatever), and so this ought be an easy thing to automate/achieve (as an option at least). Another reason to do so, if one is normally in a gui, and running sid, is that sometimes gui packages break with an upgrade and a logout at least is required. Sometimes a reboot is required. Write a script that runs apt-get dist-upgrade with appropriate options (things to consider might be --assume-yes/--assume-no, --trivial-only and maybe DEBIAN_FRONTEND=noninteractive. The hazard of doing an upgrade at shutdown is that you are asked a question and have walked away from the machine so it never halts). When you are happy with the script, create an initscript for it that *starts* in runlevels 0 (halt) and 6 (shutdown). Pitch it to happen sometime between X (and other user-facing services) stopping and the network going down. signature.asc Description: Digital signature
Re: apt-get dist-upgrade on shutdown ?
On Thu, Jan 23, 2014 at 03:08:29PM +, Lisi Reisz wrote: On Thursday 23 January 2014 13:52:39 Darac Marjal wrote: runlevels 0 (halt) and 6 (shutdown) runlevel 6 is surely reboot? Whereas shutdown needs further information: e.g. shutdown -r reboot, shutdown -h halt http://linux.101hacks.com/unix/shutdown/ Bah, yes, you're right. That was a PEBKAC :) signature.asc Description: Digital signature
Re: apt-get dist-upgrade on shutdown ?
On Thursday 23 January 2014 13:52:39 Darac Marjal wrote: runlevels 0 (halt) and 6 (shutdown) runlevel 6 is surely reboot? Whereas shutdown needs further information: e.g. shutdown -r reboot, shutdown -h halt http://linux.101hacks.com/unix/shutdown/ Lisi -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201401231508.29826.lisi.re...@gmail.com
Re: apt-get dist-upgrade on shutdown ?
On Jo, 23 ian 14, 13:52:39, Darac Marjal wrote: When you are happy with the script, create an initscript for it that *starts* in runlevels 0 (halt) and 6 (shutdown). Pitch it to happen sometime between X (and other user-facing services) stopping and the network going down. Not sure if this is going to work due to /etc/init.d/sendsigs #! /bin/sh ### BEGIN INIT INFO # Provides: sendsigs # Required-Start: # Required-Stop: umountnfs # Default-Start: # Default-Stop: 0 6 # Short-Description: Kill all remaining processes. I'd rather put a 'shutdown -h now' at the end of the script. Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic http://nuvreauspam.ro/gpg-transition.txt signature.asc Description: Digital signature