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/
--
Tong (remove underscore(s) to reply)
http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/i53pof$tgc$1...@dough.gmane.org
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-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/AANLkTikfZw3efGvJ9xvH1...@mail.gmail.com
>> 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-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/i53qg7$tgc$4...@dough.gmane.org
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-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/AANLkTi=xVk32H0Z+6yb-E=3R0X=vOvOXe_pn7Ss=Rj...@mail.gmail.com
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.
--
Tong (remove underscore(s) to reply)
http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/i540nq$qc0$1...@dough.gmane.org
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.html Please, don't Cc: me.
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/i5482m$moo$1...@speranza.aioe.org
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
On Wed, Aug 25, 2010 at 11:13:26PM +0000, s. keeling wrote:
> T o n g <mlist4...@yahoo.com>:
> >
> > 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-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
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-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
I just tested. It worked for me.
Osamu
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
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-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
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-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/AANLkTim6XfPdEV_9Oat1Cb4tB-6HZVuUvAE=b2qi...@mail.gmail.com
Why is this old? What is out-of-date?
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.
Thanks, Aaron, case well stated!
-Tom
Tom Browder
Niceville, FL
USA
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/AANLkTikZgY21u3KfYy5-m...@mail.gmail.com
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
> 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
On reading above, I think it is time for me to do away with aptitude and
use back to my apt-get again, since I've been using aptitude's CLI
interface all the time. But one more question before I jump ahead,
I used to use either apt-get or aptitude to install packages, mostly
aptitude. Do apt-get and aptitude keeps track of packages status (which
are manual installed and which are automatic dependencies) at the same
place or their have their own inventory. If latter, how would I build up
my aptitude dependencies info to apt-get?
Thanks
--
Tong (remove underscore(s) to reply)
http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/i56q4r$gv5$1...@dough.gmane.org
>> 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-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/i56qa4$gv5$2...@dough.gmane.org
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.html Please, don't Cc: me.
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/i5734a$rbt$1...@speranza.aioe.org
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
Have a look at wajig, which makes it easy to use apt-get without having
to remember when to use dpkg, apt-get, or apt-cache. I did away with
aptitude several years ago when it it removed half my packages for its
own reasons. I've used wajig ever since.
Anthony
>
--
Anthony Campbell - a...@acampbell.org.uk
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk - sample my ebooks at
http://www.smashwords.com/profile/view/acampbell
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/20100827080...@acampbell.org.uk
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-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/20100827133523.GA20997@fischer
$ 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-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Your negative reaction to aptitude is shared by some prominent DD.
This isuue of mass removal came from auto-install data. Now that
both apt-get and aptitude share the same data, this root cause has been
removed. You do not need to worry. (At least this is what I think
now.)
I do not know much about wajig since I hardly used it. It looks
interesing but this "simplicity" requires me to learn new things. Also
this is not new tool with really new functionality but just a wrapper.
Here is what people use:
Osamu
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
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-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Ah yes. The page should describe more of why aptitude vs apt-get, and
let the user decide.
> 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.
Hi Osamu,
May I suggestion one minor amend to debian-reference?
About having N/A for 'aptitude why' with apt-get/apt-cache, how about at
least put 'apt-cache rdepends' there? That's what I've been using before
'aptitude why'.
my 2c.
thanks
--
Tong (remove underscore(s) to reply)
http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/i5a5uf$mcf$3...@dough.gmane.org
On Sat, Aug 28, 2010 at 05:13:52AM +0000, T o n g wrote:
> On Sat, 28 Aug 2010 12:52:48 +0900, Osamu Aoki wrote:
...
> May I suggestion one minor amend to debian-reference?
>
> About having N/A for 'aptitude why' with apt-get/apt-cache, how about at
> least put 'apt-cache rdepends' there? That's what I've been using before
> 'aptitude why'.
I understand. Thanks for your suggestion.
"apt-rdepends -r " does more but not exactly the same.
Question is do I add value to document by adding this here for novice.
Maybe no. I can not come up with good way to update all en fr it ja
documents with minimum damage. This provides related informatio but
this does not match text in description. (IMHO, suggesting people to use
apt-cache to do such task is counter productive. DR does not describe
everything by policy.)
I for now will not add this.
But if you find something which you think useful, please file a bug on
debian-reference with concrete suggestion. (Not just I want this
described but with exact replacement text.)
Thanks,
Osamu
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org