Re: Mixing apt-get and aptitude
On 8/27/2010 9:52 PM, Osamu Aoki wrote: > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=594512 > > I just updates most gross errors in CVS so updated page will show up > soon. Ah yes. The page should describe more of why aptitude vs apt-get, and let the user decide. -- . O . O . O . . O O . . . O . . . O . O O O . O . O O . . O O O O . O . . O O O O . O O O signature.asc Description: OpenPGP digital signature
Re: Mixing apt-get and aptitude
On Thu, Aug 26, 2010 at 09:54:54AM -0600, Aaron Toponce wrote: > On Thu, Aug 26, 2010 at 10:27:58PM +0900, Osamu Aoki wrote: > > On Wed, Aug 25, 2010 at 06:23:56PM -0600, Aaron Toponce wrote: > > > http://www.debian.org/doc/manuals/debian-faq/ch-pkgtools.en.html#s-aptitude > > > > This needs update. This is very old. > > Why is this old? What is out-of-date? http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=594512 I just updates most gross errors in CVS so updated page will show up soon. Osamu -- 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/20100828035247.gc6...@debian.org
Re: Mixing apt-get and aptitude
On Thu, Aug 26, 2010 at 10:36:52PM +, T o n g wrote: > On Thu, 26 Aug 2010 22:30:30 +0900, Osamu Aoki wrote: > > >> To hold a Debian package not to be updated by apt-get > >> > >> echo $package hold | dpkg --set-selections > >> > >> Please note that such holding will not work for aptitude. . . > > > > I just tested. It worked for me. > > Please elaborate a bit more. What worked for you? Above dpkg hold, or > something else about aptitude? $ echo $package hold | dpkg --set-selections This trick also properly altered both aptitide and apt-get. As I checked and recall, lenny had this enabled. (I rarely use apt-get so I had no reason to use dpkg. aptitude hold was enough for me. It is nice to see things work together flawlessly together.) I just updated next debian-eference along this. http://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_basic_package_management_operations_with_the_commandline http://www.debian.org/doc/manuals/debian-reference/ch02.en.html#listofadvancedpagementoperations Osamu -- 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/20100828020617.ga6...@debian.org
Re: Mixing apt-get and aptitude
On Wed, Aug 25, 2010 at 07:09:04PM +, T o n g wrote: > Hi, > > I used to use either apt-get or aptitude to install packages. Is it OK to > do so? > > I read [1] that it is not a good idea. > Please comment. http://lists.debian.org/debian-devel/2010/07/maillist.html -- "Religion is excellent stuff for keeping common people quiet." -- Napoleon Bonaparte -- 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/20100827133523.ga20...@fischer
Re: Mixing apt-get and aptitude
On Vi, 27 aug 10, 01:07:22, s. keeling wrote: > > I've my own complaints about pkg managers (*everything* drags in > CUPS!) Package managers are not responsible by the dependencies set by individual packages. Regards, Andrei -- Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic signature.asc Description: Digital signature
Re: Mixing apt-get and aptitude
Osamu Aoki : > On Wed, Aug 25, 2010 at 11:13:26PM +, s. keeling wrote: > > T o n g : > > > > > > I used to use either apt-get or aptitude to install packages. Is it > > > OK to do so? > > > > Joey Hess wrote a long critique in here a couple of years ago, saying > > essentially yes. aptitude (I thimk) logs more of its actions than > > Old information may not be valiad for new apt-get :-) > > You may see change in release note: > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=411280 Um, "Old information?" Yours was from sarge --> etch! 2.6.8 kernel! I've my own complaints about pkg managers (*everything* drags in CUPS!), but I still think Joey understands this stuff better than we ever will. Perhaps he'll deign to update his assessment of the situation. -- Any technology distinguishable from magic is insufficiently advanced. (*)http://blinkynet.net/comp/uip5.html Linux Counter #80292 - -http://www.faqs.org/rfcs/rfc1855.htmlPlease, don't Cc: me. -- 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/i5734a$rb...@speranza.aioe.org
Re: Mixing apt-get and aptitude
On Thu, 26 Aug 2010 22:30:30 +0900, Osamu Aoki wrote: >> To hold a Debian package not to be updated by apt-get >> >> echo $package hold | dpkg --set-selections >> >> Please note that such holding will not work for aptitude. . . > > I just tested. It worked for me. Please elaborate a bit more. What worked for you? Above dpkg hold, or something else about aptitude? Thanks -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- 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/i56qa4$gv...@dough.gmane.org
Re: Mixing apt-get and aptitude
> > > > Original Message >From: tom.brow...@gmail.com >To: aaron.topo...@gmail.com >Subject: Re: Mixing apt-get and aptitude >Date: Thu, 26 Aug 2010 08:51:29 -0500 > >>On Wed, Aug 25, 2010 at 19:23, Aaron Toponce > wrote: >>> On 08/25/2010 01:09 PM, T o n g wrote: >>>> I used to use either apt-get or aptitude to install packages. Is >it OK to >>>> do so? >>> >>> Yes. However, aptitude is a much more powerful program. Check my >blog >>> post on the many reasons to use aptitude over apt: >>> >>> http://pthree.org/2007/08/12/aptitude-vs-apt-get/ >> >>Excellent! Thanks. >> >>Aside, can you post another blog (or another thread here) about why >>you use both Ubuntu and Debian? >> >>I assume Debian for a stable server host and Ubuntu for a more >>up-to-date desktop host, but I may be wrong. >> >>Thanks. >> >>-Tom >> >>Niceville, FL >>USA >> This is exactly what I use for my systems and those of my students (I teach C) (Lenny for the stagle server and Ubuntu 10.4 for the more recent hardware such as laptops) Larry >> >>-- >>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/AANLkTim6XfPdEV_9Oat1Cb4tB-6HZVuUvA >e=b2qip...@mail.gmail.com >> >> -- 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/380-220108426194029...@netptc.net
Re: Mixing apt-get and aptitude
On Thu, Aug 26, 2010 at 10:59, Aaron Toponce wrote: > On Thu, Aug 26, 2010 at 08:51:29AM -0500, Tom Browder wrote: >> Aside, can you post another blog (or another thread here) about why >> you use both Ubuntu and Debian? > > http://pthree.org/2009/02/19/server-migration-from-ubuntu-804-to-debian-50/ ... Thanks, Aaron, case well stated! -Tom Tom Browder Niceville, FL USA -- 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/aanlktikzgy21u3kfyy5-m0a0jujyquhajzhxdjg7m...@mail.gmail.com
Re: Mixing apt-get and aptitude
On Thu, Aug 26, 2010 at 08:51:29AM -0500, Tom Browder wrote: > Aside, can you post another blog (or another thread here) about why > you use both Ubuntu and Debian? http://pthree.org/2009/02/19/server-migration-from-ubuntu-804-to-debian-50/ Long story short- Debian does a better job at package quality assurance and bug fixing BEFORE release than Ubuntu, which does a great deal of it afterwards. If you want a server, I would only trust Debian stable and CentOS to power my data. For the desktop, I see no reason why Debian GNU/Linux doesn't fit the bill either. I have it installed on a workstation, two laptops, a netbook and a virtual machine, all without any headache (there is an annoyance with the netbook, actually, but minor). The only reason I can see usuing Ubuntu is if you like the direction they are taking with their operating system (UbuntuOne, MeMenu, notifications, etc). In terms of hardware, I don't have any additional problems getting Debian installed, with everything working out of the box, than Ubuntu. -- . O . O . O . . O O . . . O . . . O . O O O . O . O O . . O O O O . O . . O O O O . O O O signature.asc Description: Digital signature
Re: Mixing apt-get and aptitude
On Thu, Aug 26, 2010 at 10:27:58PM +0900, Osamu Aoki wrote: > On Wed, Aug 25, 2010 at 06:23:56PM -0600, Aaron Toponce wrote: > > http://www.debian.org/doc/manuals/debian-faq/ch-pkgtools.en.html#s-aptitude > > This needs update. This is very old. Why is this old? What is out-of-date? -- . O . O . O . . O O . . . O . . . O . O O O . O . O O . . O O O O . O . . O O O O . O O O signature.asc Description: Digital signature
Re: Mixing apt-get and aptitude
On Wed, Aug 25, 2010 at 19:23, Aaron Toponce wrote: > On 08/25/2010 01:09 PM, T o n g wrote: >> I used to use either apt-get or aptitude to install packages. Is it OK to >> do so? > > Yes. However, aptitude is a much more powerful program. Check my blog > post on the many reasons to use aptitude over apt: > > http://pthree.org/2007/08/12/aptitude-vs-apt-get/ Excellent! Thanks. Aside, can you post another blog (or another thread here) about why you use both Ubuntu and Debian? I assume Debian for a stable server host and Ubuntu for a more up-to-date desktop host, but I may be wrong. Thanks. -Tom Niceville, FL USA -- 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/aanlktim6xfpdev_9oat1cb4tb-6hzvuuvae=b2qip...@mail.gmail.com
Re: Mixing apt-get and aptitude
On Wed, Aug 25, 2010 at 09:08:10PM +, T o n g wrote: > First of all, sorry that I miss read your meaning. > > On Wed, 25 Aug 2010 15:47:30 -0400, Anticept . wrote: > > > Can apt-get hold back package updates like aptitude? This might be one > > of them. > > Yes, it can, but it's done at the dpkg level. > > To hold a Debian package not to be updated by apt-get > > echo $package hold | dpkg --set-selections > > Please note that such holding will not work for aptitude. So I agree with > you, this might be one of them. I just tested. It worked for me. Osamu -- 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/20100826133029.gf3...@debian.org
Re: Mixing apt-get and aptitude
On Wed, Aug 25, 2010 at 06:23:56PM -0600, Aaron Toponce wrote: > On 08/25/2010 01:09 PM, T o n g wrote: > > I used to use either apt-get or aptitude to install packages. Is it OK to > > do so? > > Yes. However, aptitude is a much more powerful program. Check my blog > post on the many reasons to use aptitude over apt: > > http://pthree.org/2007/08/12/aptitude-vs-apt-get/ > > Debian also mentions to use aptitude over apt: > > http://www.debian.org/doc/manuals/debian-faq/ch-pkgtools.en.html#s-aptitude This needs update. This is very old. > To answer your question directly though, both apt and aptitude rely on > dpkg for the installation and removal of packages. So, no worries. > -- > . O . O . O . . O O . . . O . > . . O . O O O . O . O O . . O > O O O . O . . O O O O . O O O > -- 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/20100826132758.ge3...@debian.org
Re: Mixing apt-get and aptitude
Hi, On Wed, Aug 25, 2010 at 11:13:26PM +, s. keeling wrote: > T o n g : > > > > I used to use either apt-get or aptitude to install packages. Is it > > OK to do so? > > I've not read your link. > > Joey Hess wrote a long critique in here a couple of years ago, saying > essentially yes. aptitude (I thimk) logs more of its actions than > does apt-get, but other than that, they're just wrappers that call > dpkg. I think. Read Joey's post, it's definitive. Old information may not be valiad for new apt-get :-) You may see change in release note: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=411280 -- 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/20100826132102.gd3...@debian.org
Re: Mixing apt-get and aptitude
On Wed, Aug 25, 2010 at 09:08:10PM +, T o n g wrote: > First of all, sorry that I miss read your meaning. > > On Wed, 25 Aug 2010 15:47:30 -0400, Anticept . wrote: > > > Can apt-get hold back package updates like aptitude? This might be one > > of them. > > Yes, it can, but it's done at the dpkg level. > > To hold a Debian package not to be updated by apt-get > > echo $package hold | dpkg --set-selections > > Please note that such holding will not work for aptitude. So I agree with > you, this might be one of them. This is how release note was updated. aptitude with hold -> "dpkg --set-selections" mixing will cause such minor headache. But I do not think it is as major problem. -- 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/20100826131815.gc3...@debian.org
Re: Mixing apt-get and aptitude
On 08/25/2010 01:09 PM, T o n g wrote: > I used to use either apt-get or aptitude to install packages. Is it OK to > do so? Yes. However, aptitude is a much more powerful program. Check my blog post on the many reasons to use aptitude over apt: http://pthree.org/2007/08/12/aptitude-vs-apt-get/ Debian also mentions to use aptitude over apt: http://www.debian.org/doc/manuals/debian-faq/ch-pkgtools.en.html#s-aptitude To answer your question directly though, both apt and aptitude rely on dpkg for the installation and removal of packages. So, no worries. -- . O . O . O . . O O . . . O . . . O . O O O . O . O O . . O O O O . O . . O O O O . O O O signature.asc Description: OpenPGP digital signature
Re: Mixing apt-get and aptitude
T o n g : > > I used to use either apt-get or aptitude to install packages. Is it > OK to do so? I've not read your link. Joey Hess wrote a long critique in here a couple of years ago, saying essentially yes. aptitude (I thimk) logs more of its actions than does apt-get, but other than that, they're just wrappers that call dpkg. I think. Read Joey's post, it's definitive. > I read [1] that it is not a good idea. > > [1] > http://www.linuxquestions.org/questions/ubuntu-63/mixing-apt-*-and-aptitude-nok-828408/ -- Any technology distinguishable from magic is insufficiently advanced. (*)http://blinkynet.net/comp/uip5.html Linux Counter #80292 - -http://www.faqs.org/rfcs/rfc1855.htmlPlease, don't Cc: me. -- 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/i5482m$mo...@speranza.aioe.org
Re: Mixing apt-get and aptitude
On Wed, Aug 25, 2010 at 3:21 PM, T o n g wrote: > On Wed, 25 Aug 2010 15:16:44 -0400, Anticept . wrote: > >>> I used to use either apt-get or aptitude to install packages. Is it OK >>> to do so? >>> >>> I read [1] that it is not a good idea. Please comment. >>> . . . >>> >> There is no reason that these two can't be mixed. Aptitude, however, >> keeps track of packages in which you have marked, and will automatically >> remove dependencies that are no longer needed. Check "man aptitude" for >> more information. > > apt-get can keeps track of manual installed packages and dependencies one > as well. Check "man apt-get" for more information. > > I'm sorry, I didn't mean to come across like that. There was a couple sentences I removed which I had typed; what I meant to say is: I believe there are a couple of other more subtle things that aptitude does that apt-get can't do, check "man aptitude" for more information. Again, sorry :( -Anticept P.S. Can apt-get hold back package updates like aptitude? This might be one of them. -- 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/aanlkti=xvk32h0z+6yb-e=3r0x=vovoxe_pn7ss=r...@mail.gmail.com
Re: Mixing apt-get and aptitude
On Wed, 25 Aug 2010 15:16:44 -0400, Anticept . wrote: >> I used to use either apt-get or aptitude to install packages. Is it OK >> to do so? >> >> I read [1] that it is not a good idea. Please comment. >> . . . >> > There is no reason that these two can't be mixed. Aptitude, however, > keeps track of packages in which you have marked, and will automatically > remove dependencies that are no longer needed. Check "man aptitude" for > more information. apt-get can keeps track of manual installed packages and dependencies one as well. Check "man apt-get" for more information. -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- 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/i53qg7$tg...@dough.gmane.org
Re: Mixing apt-get and aptitude
On Wed, Aug 25, 2010 at 3:09 PM, T o n g wrote: > Hi, > > I used to use either apt-get or aptitude to install packages. Is it OK to > do so? > > I read [1] that it is not a good idea. > Please comment. > thanks > > [1] http://www.linuxquestions.org/questions/ubuntu-63/mixing-apt-*-and- > aptitude-nok-828408/ > There is no reason that these two can't be mixed. Aptitude, however, keeps track of packages in which you have marked, and will automatically remove dependencies that are no longer needed. Check "man aptitude" for more information. -- 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/aanlktikfzw3efgvj9xvh1dercujjhunw+to4atis8...@mail.gmail.com
Re: mixing apt-get and aptitude
On 2004-02-17, David penned: > On Mon, Feb 16, 2004 at 10:35:26PM -0700, Monique Y. Herman wrote: >> On 2004-02-17, David penned: >> > >> > Well.. I _just now_ did.. didn't get my first report formatted >> > right.. but I've just received acknowledgement that the report has >> > been received - bug #233129 >> >> Have you looked into the reportbug utility? Takes all the effort out >> of putting together a proper debian bug report. > > That was what was using.. What I had done - well _hadn't_ done - was > do my homework. On my first report, I just started typing at the top, > above the pseudo-header > > After getting my paper back with red marks all over it ( and being > told to do it over) , I finally sent in a "correct" one. > Ah. Well, I'm sure you have an A now =) -- monique -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: mixing apt-get and aptitude
On Mon, Feb 16, 2004 at 10:35:26PM -0700, Monique Y. Herman wrote: > On 2004-02-17, David penned: > > > > Well.. I _just now_ did.. didn't get my first report formatted right.. > > but I've just received acknowledgement that the report has been > > received - bug #233129 > > Have you looked into the reportbug utility? Takes all the effort out of > putting together a proper debian bug report. That was what was using.. What I had done - well _hadn't_ done - was do my homework. On my first report, I just started typing at the top, above the pseudo-header After getting my paper back with red marks all over it ( and being told to do it over) , I finally sent in a "correct" one. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: mixing apt-get and aptitude
On 2004-02-17, David penned: > > Well.. I _just now_ did.. didn't get my first report formatted right.. > but I've just received acknowledgement that the report has been > received - bug #233129 Have you looked into the reportbug utility? Takes all the effort out of putting together a proper debian bug report. -- monique -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: mixing apt-get and aptitude
On Tue, Feb 17, 2004 at 12:41:49PM +1100, Rob Weir wrote: > On Mon, Feb 16, 2004 at 09:13:28AM -0600, David said > > However, it seems that aptitude always exits with status 0 regardless of > > what's happened. FWIW, I've filed a wishlist bugreport in this regard. > > Ah, cool. Well.. I _just now_ did.. didn't get my first report formatted right.. but I've just received acknowledgement that the report has been received - bug #233129 > > Now, would it be the same to use apt-get for at least the update > > Yup. I believe that I've already seen that aptitude will use apt-get's updates, so this would be OK. > > , or > > perhaps even the -d upgrade? > > Yes, but apt-get won't notice that aptitude has some packages on hold. It's something like that which I was concerned about. IIRC, when I first tried aptitude upgrade on apt-get's dloads, it first reported that it would have to download the (already-downloaded) packages, but went ahead and used the files in /var/cache/apt/archives anyway. > > It seems that apt-get upgrade does not > > show up in dselect, and I wonder if there would be any probs between > > apt-get and aptitude.. > > You need "dselect update" for dselect to see new things. Yes, I found that out. However, apt-get _will_ use the info that dselect gets without redownloading. The only problem I've found with trying to use dselect to update is that if an error occurs, dselect will report an error and then wait for a keypress - not good for a script :-) and I've not been able to find any option that will get around this. I hope this exit status thing will be fixed. I think it would be very helpful for situations like mine. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: mixing apt-get and aptitude
On Mon, Feb 16, 2004 at 09:13:28AM -0600, David said > However, it seems that aptitude always exits with status 0 regardless of > what's happened. FWIW, I've filed a wishlist bugreport in this regard. Ah, cool. > Now, would it be the same to use apt-get for at least the update Yup. > , or > perhaps even the -d upgrade? Yes, but apt-get won't notice that aptitude has some packages on hold. > It seems that apt-get upgrade does not > show up in dselect, and I wonder if there would be any probs between > apt-get and aptitude.. You need "dselect update" for dselect to see new things. -- Rob Weir <[EMAIL PROTECTED]> | [EMAIL PROTECTED] | Do I look like I want a CC? Words of the day: bootleg 2600 Magazine IMF embassy AGT. AMME Rubin White Water signature.asc Description: Digital signature