Re: automate updates in Lenny

2010-04-15 Thread Rob Owens
On Sat, Apr 10, 2010 at 01:37:31AM +0200, Clive McBarton wrote: Ron Johnson wrote: Anyway, the cron-apt package does what you want. It is recommended, though, to use it only for downloads. It does help the OP since he uses apt-get, but what about the people who normally use aptitude?

Re: automate updates in Lenny

2010-04-15 Thread Rob Owens
On Sat, Apr 10, 2010 at 03:07:31AM +0200, thib wrote: Chris Hiestand wrote: On Apr 7, 2010, at 12:27 PM, Ron Johnson wrote: On 2010-04-07 13:52, Jozsi Vadkan wrote: [snip] That's a foolish thing to do, since blind acceptance can lead to a broken system. Maybe so, but I've been using

Re: automate updates in Lenny

2010-04-15 Thread Ron Johnson
On 2010-04-15 18:45, Rob Owens wrote: On Sat, Apr 10, 2010 at 01:37:31AM +0200, Clive McBarton wrote: Ron Johnson wrote: Anyway, the cron-apt package does what you want. It is recommended, though, to use it only for downloads. It does help the OP since he uses apt-get, but what about the

Re: automate updates in Lenny

2010-04-10 Thread Clive McBarton
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John Hasler wrote: Clive writes: It does help the OP since he uses apt-get, but what about the people who normally use aptitude? If you are only using it for downloads (usual) it doesn't matter. Certainly so. What I meant to ask is what to do

Re: automate updates in Lenny

2010-04-10 Thread Andrei Popescu
On Sat,10.Apr.10, 08:51:16, Clive McBarton wrote: Certainly so. What I meant to ask is what to do if you (like the OP) want automatic upgrades (downloaded and installed without the admin present) but (unlike the OP) only use aptitude and never apt-get. It doesn't matter. Mixing apt-get and

Re: automate updates in Lenny

2010-04-10 Thread Merciadri Luca
Andrei Popescu wrote: On Sat,10.Apr.10, 08:51:16, Clive McBarton wrote: It doesn't matter. Mixing apt-get and aptitude is not a problem anymore. Sure? How can you state this? Any proof? I always thought that they were incompatible. -- Merciadri Luca See

Re: automate updates in Lenny

2010-04-10 Thread Andrei Popescu
On Sat,10.Apr.10, 11:38:08, Merciadri Luca wrote: Andrei Popescu wrote: It doesn't matter. Mixing apt-get and aptitude is not a problem anymore. Sure? How can you state this? Any proof? I always thought that they were incompatible. I'm not sure what I can do to prove that something

Re: automate updates in Lenny

2010-04-10 Thread Merciadri Luca
Okay. Thanks for these precisions. Andrei Popescu wrote: On Sat,10.Apr.10, 11:38:08, Merciadri Luca wrote: I'm not sure what I can do to prove that something doesn't exist. I could for example post the console output of: # apt-get update # apt-get upgrade # aptitude safe-upgrade

Re: automate updates in Lenny

2010-04-10 Thread Osamu Aoki
On Sat, Apr 10, 2010 at 01:09:58PM +0300, Andrei Popescu wrote: On Sat,10.Apr.10, 11:38:08, Merciadri Luca wrote: Andrei Popescu wrote: It doesn't matter. Mixing apt-get and aptitude is not a problem anymore. Sure? How can you state this? Any proof? I always thought that they were

Re: automate updates in Lenny

2010-04-10 Thread Merciadri Luca
Osamu Aoki wrote: On Sat, Apr 10, 2010 at 01:09:58PM +0300, Andrei Popescu wrote: I guess this was the big headach http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=411123 _was_ or _is still_? -- Merciadri Luca See http://www.student.montefiore.ulg.ac.be/~merciadri/ I use PGP.

Re: automate updates in Lenny

2010-04-10 Thread thib
Merciadri Luca wrote: Osamu Aoki wrote: On Sat, Apr 10, 2010 at 01:09:58PM +0300, Andrei Popescu wrote: I guess this was the big headach http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=411123 _was_ or _is still_? Was. The only thing to keep in mind is that aptitude keeps an internal

Re: automate updates in Lenny

2010-04-10 Thread Merciadri Luca
Thanks. thib wrote: Was. The only thing to keep in mind is that aptitude keeps an internal state; a sort of staging state that you work on while using the ncurses UI. It only clears it on demand or when you commit your changes, thus you can close and re-open a session without losing your

Re: automate updates in Lenny

2010-04-10 Thread Clive McBarton
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrei Popescu wrote: On Sat,10.Apr.10, 08:51:16, Clive McBarton wrote: Certainly so. What I meant to ask is what to do if you (like the OP) want automatic upgrades (downloaded and installed without the admin present) but (unlike the OP) only

Re: automate updates in Lenny

2010-04-10 Thread Andrei Popescu
On Sat,10.Apr.10, 18:41:15, Clive McBarton wrote: Andrei Popescu wrote: It doesn't matter. Mixing apt-get and aptitude is not a problem anymore. I believe that this is not complelely true. What is true is that, on the command line, in interactive mode, you can use either and it will work

Re: automate updates in Lenny

2010-04-10 Thread Freeman
On Sat, Apr 10, 2010 at 07:43:29PM +0900, Osamu Aoki wrote: On Sat, Apr 10, 2010 at 01:09:58PM +0300, Andrei Popescu wrote: On Sat,10.Apr.10, 11:38:08, Merciadri Luca wrote: Andrei Popescu wrote: It doesn't matter. Mixing apt-get and aptitude is not a problem anymore. Sure?

Re: automate updates in Lenny

2010-04-09 Thread Clive McBarton
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ron Johnson wrote: Anyway, the cron-apt package does what you want. It is recommended, though, to use it only for downloads. It does help the OP since he uses apt-get, but what about the people who normally use aptitude? There's no cron-aptitude

Re: automate updates in Lenny

2010-04-09 Thread John Hasler
Clive writes: It does help the OP since he uses apt-get, but what about the people who normally use aptitude? If you are only using it for downloads (usual) it doesn't matter. -- John Hasler -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe.

Re: automate updates in Lenny

2010-04-09 Thread thib
Chris Hiestand wrote: On Apr 7, 2010, at 12:27 PM, Ron Johnson wrote: On 2010-04-07 13:52, Jozsi Vadkan wrote: [snip] That's a foolish thing to do, since blind acceptance can lead to a broken system. Maybe so, but I've been using automatic upgrades for the last 2-3 years on many stable

Re: automate updates in Lenny

2010-04-08 Thread Chris Hiestand
On Apr 7, 2010, at 12:27 PM, Ron Johnson wrote: On 2010-04-07 13:52, Jozsi Vadkan wrote: how do you automate the updates in Lenny? [if you're using it as a desktop os, and you don't want to give: apt-get update; apt-get upgrade -y every week..]? That's a foolish thing to do, since blind

automate updates in Lenny

2010-04-07 Thread Jozsi Vadkan
how do you automate the updates in Lenny? [if you're using it as a desktop os, and you don't want to give: apt-get update; apt-get upgrade -y every week..]? i'm using this: #!/bin/bash RANDOMTIME=$(echo $[ ($RANDOM % 60 ) ] ) if ! grep -q root dpkg --configure -a /etc/crontab; then echo

Re: automate updates in Lenny

2010-04-07 Thread Ron Johnson
On 2010-04-07 13:52, Jozsi Vadkan wrote: how do you automate the updates in Lenny? [if you're using it as a desktop os, and you don't want to give: apt-get update; apt-get upgrade -y every week..]? That's a foolish thing to do, since blind acceptance can lead to a broken system. Anyway

Re: automate updates in Lenny

2010-04-07 Thread Constantine
On Wednesday 07 April 2010 22:52:34 Jozsi Vadkan wrote: how do you automate the updates in Lenny? [if you're using it as a desktop os, and you don't want to give: apt-get update; apt-get upgrade -y every week..]? i'm using this: #!/bin/bash RANDOMTIME=$(echo $[ ($RANDOM % 60

Re: automate updates in Lenny

2010-04-07 Thread thib
Yet another solution: http://packages.debian.org/lenny/unattended-upgrades -thib -- 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/4bbcf698.5080...@stammed.net