Re: Debian Questions on apt-get
On Fri, 2011-06-10 at 08:21 -0400, Nico Kadel-Garcia wrote:
> On Mon, Jun 6, 2011 at 12:15 PM, Darac Marjal <email@example.com> wrote:
> > On Mon, Jun 06, 2011 at 11:03:36AM -0500, Matt wrote:
> >> I have worked with Centos quite a bit in past though no expert.
> >> Giving Debian a whirl now.
> > [cut]
> >> yum update
> > This becomes "apt-get update" in debian.
> No. It's not. This is an endless source of confusion for folks coming
> over from RHEL land. "apt-get update" just resyncs your local
> repository information, it attempts to install nothing.
> The equivalent apt command is "apt-get upgrade". The equivalent yum
> command to "apt-get update" is "yum clean metadata; yum list", to
> update the available package list.
As a German and a child from the 80's (44 years today) I started with
SUSE Linux and IIRC they do use yum too, still have got Suse 11.2
installed, but I'm using yast2, if ever I should change something.
Don't try to find equivalents, re-educate yourself.
> Your other notes are helpful, but please try not to confuse a nice new
> person with mismatched comparisons of existing commands that *don't*
> have the same features between operating systems. I just went through
> this with a recent switch from RHEL based systems to Debian, so it's
> very fresh in my mind.
Good that somebody knows about the differences.