Weblog entry #82 for ajt

Do You Use The Latest Tools?
Posted by ajt on Tue 17 Apr 2007 at 20:36
Tags: none.
Since Etch went live I've seen a whole host of Etch reviews. Many of them look like re-treads of Sarge reviews. One of them made a number of suggestions for an ultimate server configuration that I would not consider. That made me think, now that Etch has been released, are people still using apt-get, when they should be using aptitude?

So here is my question, when a new release comes out and a tool is still available but deprecated do you carry on using it, or do you migrate to the replacement tool?

Just curious...

 

Comments on this Entry

Posted by Steve (62.30.xx.xx) on Tue 17 Apr 2007 at 22:24
[ Send Message | View Steve's Scratchpad | View Weblogs ]

I think it depends very much upon the tool.

For example I'm often corrected when I refer to depreciated tools such as ifconfig. I am trying to make it a habit to use ip in preference these days, but it has proved pretty hard to get myself to switch. If I don't actively think "I need to bring up a new interface with ip" then my fingers type ifconfig before I've realised!

There aren't that many new tools that I've actively switched to, I guess xmms2 is the only one that comes to mind.

It is a shame that many guides haven't been updated to take advantage of using Etch properly - but to be honest I've been very disappointed by Sarge-specific guides in the past in much the same way. (Though I'm sure peoples intentions are good; I'd rather have no documentation than some of the "perfect setup" guides which seem to be commonly recommended ..)

Steve

[ Parent | Reply to this comment ]

Posted by rob (72.192.xx.xx) on Wed 18 Apr 2007 at 03:04
[ Send Message | View Weblogs ]
"ip"? Hmmm, you lost me on that one brother. I'm using Etch and don't see ip anywhere nor have I ever read or heard of it. I'm still using ifconfig and didn't know that it had been deprecated. Guess I'll have to check it out, get with the times.

[ Parent | Reply to this comment ]

Posted by dkg (216.254.xx.xx) on Wed 18 Apr 2007 at 06:48
[ Send Message | View dkg's Scratchpad | View Weblogs ]
If you're interested in /sbin/ip, you want the iproute package. You can get iproute-doc if you want to read up on it, or just go straight to the Linux Advanced Routing and Traffic Control documentation.

[ Parent | Reply to this comment ]

Posted by Anonymous (213.164.xx.xx) on Wed 18 Apr 2007 at 09:19
But if you have to install it, then surely ifconfig is not deprecated?

[ Parent | Reply to this comment ]

Posted by Anonymous (200.68.xx.xx) on Fri 20 Apr 2007 at 00:29
It's not installed by default on debian. But its "the way to go", there are lot of reasons you want to use ip instead of ifconfig. There is a "why iproute ?" in lartc, perhaps reading that convince you ;)

[ Parent | Reply to this comment ]

Posted by ajt (204.193.xx.xx) on Wed 18 Apr 2007 at 09:10
[ Send Message | View Weblogs ]
I have a bunch of aliases for some common things thus switching from apt-get to aptitude for example was simply a case of updating my aliases. On that front I think I've switched almost entirely to the new tool.

Other tools such as ifconfig I've not switched to as I don't use them all that often, so while I know I should upgrade I've not done anything.

I suppose there must be a whole batch of things that I shouldn't be using anymore that I didn't know had changed.


I've not been that impressed with the ultimate/perfect guides either, I'm not convinced they are all that perfect and I agree that following a recipe blindly isn't a good idea. Suggestions are useful but it helps if they are explained.

--
"It's Not Magic, It's Work"
Adam

[ Parent | Reply to this comment ]

Posted by daemon (155.232.xx.xx) on Tue 17 Apr 2007 at 22:42
[ Send Message | View Weblogs ]

I can get stuck in my ways I guess -- I still prefer to use apt-get, mostly because my fingers go into auto-pilot ;-)

However, there are some instances where I try a new tool once, and leap into always using that if I can, the prime example for me being using the iproute tools (ip link, ip addr, ip route, etc...) rather than (the crusty old) ifconfig I always used before.

"ip addr list eth0" is now in auto-pilot ;-)

Cheers.

[ Parent | Reply to this comment ]

Posted by Anonymous (213.164.xx.xx) on Wed 18 Apr 2007 at 09:22
Any chance of an article on the two programs compared?

[ Parent | Reply to this comment ]

Posted by Arthur (66.28.xx.xx) on Thu 19 Apr 2007 at 02:15
[ Send Message | View Weblogs ]
Once I invest the time in learning and becoming comfortable with a tool, I'm going to stick with that tool unless/until there's some clear advantage to using something else.

Going with the apt-* example: apt-get and friends still do for me what I want done, and I'm not aware of any significant detriment in using them or advantage in using something else. The thing I like most about apt-get is that it doesn't force me into a hierarchical list, and will just do the one thing I'm asking of it with minimal bother. That's what I expect of a computer, that's what I get.

[ Parent | Reply to this comment ]

Posted by Anonymous (190.3.xx.xx) on Fri 20 Apr 2007 at 17:35
That is the beauty of aptitude, just replace apt-get with aptitude in your autopilot typing and your are good to go.

Aptitude will show you its UI if you just type aptitude, but if you type for example aptitude update; aptitude upgrade it runs just like apt-get.

The reason I switched to aptitude from apt-get was that during remove operations aptitude will also remove unused dependencies which is very cool.

This feature will work if you installed the package with aptitude though.

[ Parent | Reply to this comment ]

Posted by ajt (85.211.xx.xx) on Sat 21 Apr 2007 at 00:18
[ Send Message | View Weblogs ]
Ditto, I hated aptitude until someone said I should use it as a command line replacement for apt-get, now I use aptitude without thinking. I don't think I've used it once as a TUI application since switching.

--
"It's Not Magic, It's Work"
Adam

[ Parent | Reply to this comment ]

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Quick Site Search