Prev: How do I get the mbr package to do its job quietly?
Next: Keyboard gets stuck when closing PPP (was: Problems when logging out Gnome)
From: thib on 10 Apr 2010 08:00 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 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 work (yeah, sometimes package management is still work). People simply wonder when they modify some package status with apt-get in the middle of an aptitude session - but everything seems taken care of the best it can; I'm pretty sure there's no (known) bug, the user is almost always the problem. Note that using aptitude CLI only isn't messing with people's head. I also think the fuzz comes from #411123, which is fixed. I've never heard of anything else. Disclaimer -- just my understanding (I'm sometimes surprised.) -thib -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/4BC06641.5030408(a)stammed.net
From: Merciadri Luca on 10 Apr 2010 08:10 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 > work (yeah, sometimes package management is still work). > > People simply wonder when they modify some package status with apt-get > in the middle of an aptitude session - but everything seems taken care > of the best it can; I'm pretty sure there's no (known) bug, the user > is almost always the problem. > > Note that using aptitude CLI only isn't messing with people's head. > > I also think the fuzz comes from #411123, which is fixed. I've never > heard of anything else. > > Disclaimer -- just my understanding (I'm sometimes surprised.) > > -thib > > -- Merciadri Luca See http://www.student.montefiore.ulg.ac.be/~merciadri/ I use PGP. If there is an incompatibility problem with your mail client, please contact me.
From: Clive McBarton on 10 Apr 2010 12:50 -----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 use aptitude and never apt-get. > > 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 fine. But the options you can pass to aptitude and apt-get are not the same. Back to the specific question of cron-apt, I tried it myself (replacing "apt-get" with "aptitude" in its config) to notify me by email of pending upgrades, and it was useless. I had to remove it. Had I left apt-get in its config, it probably would have worked. I could probably dig out or try to reproduce some of the error msgs I got, but far more helpful for the list would be if someone who ever managed cron-apt with aptitude (if such a person exists) would post here how they did it. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkvAqisACgkQ+VSRxYk4408RlQCgivHltFne3WaGR109u648Mdx/ a28AnilCApaoy2XdmdiKT1iHXwDA1ABG =oqmY -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/4BC0AA2B.2060507(a)web.de
From: Andrei Popescu on 10 Apr 2010 16:10 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 > fine. But the options you can pass to aptitude and apt-get are not the same. As I mentioned in a later mail. And the specific behaviour is also different. But there shouldn't be any problem in installing/upgrading/removing/packages with one or the other tool. > Back to the specific question of cron-apt, I tried it myself (replacing > "apt-get" with "aptitude" in its config) to notify me by email of > pending upgrades, and it was useless. I had to remove it. Had I left > apt-get in its config, it probably would have worked. I could probably > dig out or try to reproduce some of the error msgs I got, but far more > helpful for the list would be if someone who ever managed cron-apt with > aptitude (if such a person exists) would post here how they did it. Last time I experimented with cron-apt it did mention that aptitude is not really supported. But I don't see a problem in letting it use apt-get and doing your own package management with aptitude. Regards, Andrei -- Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
From: Freeman on 10 Apr 2010 16:30
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? 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 doesn't exist. I > > could for example post the console output of: > > I guess this was the big headach > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=411123 > > I can't *prove* it because the point was implied, but there is August 2008 forum discussion where Daniel Burrows himself states "this hasn't been true for years." The issue is a broader point on compatibility with Synaptic, but apt-get is implied as Synaptic keeps no separate record from apt-get. http://forums.debian.net/viewtopic.php?p=188382#p188382 -- Kind Regards, Freeman http://bugs.debian.org/release-critical/ -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/20100410202210.GA9287(a)Europa.office |