LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-07-2010, 09:17 AM   #16
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: No more Linux. Done with it.
Posts: 1,238

Original Poster
Rep: Reputation: Disabled

Apt & aptitude only download from repos. Wget downloads files from URLs.
And I've never heard of "aptitude-get". You can either "aptitude install ..." or "apt-get install ...". But aptitude sometimes has problems. With apt I never had problems.

Have no idea why Debian developers recommend using aptitude.

Last edited by Mr. Alex; 08-07-2010 at 09:18 AM.
 
Old 08-07-2010, 09:29 AM   #17
Xanios
Member
 
Registered: Jul 2010
Posts: 216

Rep: Reputation: 30
Oh i see.
i have never use aptitude before. only use apt-get hahas(:
 
Old 08-07-2010, 12:48 PM   #18
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
apt-get will happily remove critical packages without asking, aptitude won't.
 
Old 08-07-2010, 12:58 PM   #19
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: No more Linux. Done with it.
Posts: 1,238

Original Poster
Rep: Reputation: Disabled
I am sure there must be an option to prevent this...
 
Old 08-07-2010, 04:17 PM   #20
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
I think it's worth mentioning that aptitude is the preferred choice for upgrading from one release to the next.
 
Old 08-07-2010, 04:43 PM   #21
tealio
LQ Newbie
 
Registered: Aug 2010
Location: Atlanta, GA
Distribution: Ubuntu 10.04
Posts: 23

Rep: Reputation: 18
Maybe for you. I've typically seen
Code:
apt-get dist-upgrade
recommended. I've never done a dist-upgrade, but if I did that's the method I'd prefer.
 
Old 08-07-2010, 04:52 PM   #22
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,886
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
Quote:
Originally Posted by smeezekitty View Post
apt-get will happily remove critical packages without asking, aptitude won't.
Both will have a y/n option any time you do anything.


Aptitude still duplicates some APT/dpkg features. Its resolver can sometimes produce unexpected results.
It also has many more frontend-specific bugs. Despite the slogan, it is quite heavy, in part due to the mix of several front-ends in
a single binary package and duplication. The curses-based frontend is more memory intensive and slower than apt-get.

aptitude has more advanced conflict/dependency resolution and will often find a solution where apt-get gives up.
It can be used from the command line like apt-get plus an interactive resolver makes it much easier to recover from broken dependencies. It has advanced search capabilities. aptitude search is a powerful searching facility that by default only searches package names, but can be made to search priorities,
installation status, dependencies etc.
See /usr/share/doc/aptitude/html/en/ch02s03.html from the aptitude-doc package or http://algebraicthunk.net/~dburrows/...n/ch02s03.html

See Aptitude - Debian Wiki http://wiki.debian.org/Aptitude for a comparison between aptitude and apt-get commands. As well as
http://www.debian.org/doc/manuals/re...ent_operations
 
Old 08-07-2010, 05:04 PM   #23
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
Quote:
Maybe for you.
No.
Aptitude is the recommended application from Debian,here's a quote from the Lenny release notes:

Quote:
The recommended way to upgrade from previous Debian GNU/Linux releases is to use the package management tool aptitude. This program makes safer decisions about package installations than running apt-get directly.
Taken from the Lenny release notes here:

http://www.debian.org/releases/stabl...en.html#backup
 
Old 08-07-2010, 08:50 PM   #24
tealio
LQ Newbie
 
Registered: Aug 2010
Location: Atlanta, GA
Distribution: Ubuntu 10.04
Posts: 23

Rep: Reputation: 18
Quote:
Originally Posted by the trooper View Post
I think it's worth mentioning that aptitude is the preferred choice for upgrading from one release to the next.
The word preferred implies a personal preference.
 
1 members found this post helpful.
Old 08-08-2010, 03:22 AM   #25
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
Quote:
The word preferred implies a personal preference.
It's not just my preference is it.
Debian recommend aptitude,so that's what I use, I don't bother with the ncurses interface either.
Also Debian have suggested using aptitude over apt-get since the release of Etch!.


Quote:
I've never done a dist-upgrade
I have.
From Lenny to Squeeze/Testing on several machines without problems using aptitude.
FYI that command is deprecated now for full-upgrade.

Last edited by the trooper; 08-08-2010 at 10:12 AM.
 
Old 08-08-2010, 06:36 AM   #26
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,886
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
I have always used apt-get dist-upgrade, but I also run sid. never ran stable or testing.
 
Old 08-08-2010, 06:04 PM   #27
tealio
LQ Newbie
 
Registered: Aug 2010
Location: Atlanta, GA
Distribution: Ubuntu 10.04
Posts: 23

Rep: Reputation: 18
You really want to argue semantics don't you? The fact is you said preferred. Had you said something along the lines of "officially recommended" there would be no argument.

I "prefer" apt-get. I personally would recommend it. I'd recommend any console program over it's GUI counterpart (assuming they're both available) for one simple reason: if your GUI fails or you need to do something remotely and you're stuck at a console, it's nice to know what you're doing.

Another reason I would prefer a console over a gui is that frequently there are more options available thru command line parameters that are not made available in a GUI.

Finally, when making major changes to a system, I've always found it best to have the smallest possible amount of things running. This means single user mode.

Basically, make the command line your friend.
 
Old 08-09-2010, 03:18 AM   #28
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
Quote:
You really want to argue semantics don't you? The fact is you said preferred. Had you said something along the lines of "officially recommended" there would be no argument.
If there is a point to be made yes.
As regards to preferred,that's why I posted the link and quote from the Lenny release notes.
So yes you can take it as "offically recommended".Are you happy now?.
In future I will write it as such,so that people like you don't start pointless debates like this.

Quote:
I "prefer" apt-get. I personally would recommend it. I'd recommend any console program over it's GUI counterpart (assuming they're both available) for one simple reason: if your GUI fails or you need to do something remotely and you're stuck at a console, it's nice to know what you're doing.
Who said anything about running aptitude with a gui?
You can use it just fine from the cli just like apt-get.
Here is a quote from my previous post that you seem incapable of reading or understanding:

Quote:
I don't bother with the ncurses interface either
Quote:
Another reason I would prefer a console over a gui is that frequently there are more options available thru command line parameters that are not made available in a GUI.
Again,what gui are you talking about?

Quote:
Finally, when making major changes to a system, I've always found it best to have the smallest possible amount of things running. This means single user mode.
Yes.Agree completely.

Quote:
Basically, make the command line your friend
When I install Debian I use the net-install disc.
I don't check the desktop option,just install the minimal system.
So you then reboot into a command prompt and use aptitude to install the system from there.
All command line,no gui until you install X and a window manager.

Quote:
I "prefer" apt-get. I personally would recommend it
Great! I'm happy for you.
Obviously you know better than Debian.
It's your machine,you administer it whichever way suits.
 
Old 08-09-2010, 03:25 AM   #29
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
You're both right. I'm sure I've read somewhere that Ubuntu recommend using apt-get, whereas Debian recommend aptitude.
 
Old 08-09-2010, 03:29 AM   #30
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
Quote:
I'm sure I've read somewhere that Ubuntu recommend using apt-get, whereas Debian recommend aptitude.
Yes,I'd say so.
When I see people saying "sudo apt-get <package>" with Debian,it makes me cringe!
 
  


Reply

Tags
apt, apt-get, aptitude, dpkg, synaptic



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apt/aptitude package management "auto" flag cjmueller Debian 2 10-16-2011 10:52 PM
locating packages held with "aptitude hold <packagename>" farslayer Debian 3 12-01-2008 09:56 AM
Is there an "apt-get" equivalent of "yum list available"? geeeeky.girl Linux - General 3 07-20-2008 08:40 PM
Aptitude giving error after "apt-get update" ciden Linux - Software 6 03-22-2008 03:53 AM
How "low-level" is the dd-command? (Backups) JZL240I-U Linux - Software 11 05-28-2004 10:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration