JP Vossen on 28 Nov 2007 21:48:47 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] APT and RPM Packager Lookup Tables


From: Robert Spangler <lazydog@zoominternet.net>

On Wed November 28 2007 02:07, JP Vossen wrote:
> > I just got around to converting my package manager cheat sheet to
> > HTML and putting it up on my site.  Please let me know if you find
> > any errors...

> Not an error but to avoid being prompted every time you run yum
> install/remove <package>  there is the '-y' switch that answers yes
> for you at the prompt.

Hummm. Good point. (Likewise the yes command.) However, I think it requires a bit more thought. My knee-jerk reaction to this is that anyone who is technically aware enough to know how to use something like this without getting bitten will already know about -y, or at least figure it out.

IIRC APT only prompts if:
* Packages other than those explicitly specified on the command line will be installed, e.g. to satisfy dependencies
* Un-authenticated packages will be installed
* Packages will be removed, due to a conflict or newer package superseding an older one somehow


I forget if yum is "smart" like that, or if it always asks blindly.

Obviously, the point of asking for user confirmation is that what was given on the command line is not always what will actually be done. Personally, I think it's a *really bad idea* to -y something like this, e.g., in cron, and I don't do it. Those who are determined to shoot themselves in the foot can always find a way, I don't need to hand out bullets. :-)

Having said all that, thank you for the feedback, I do appreciate it, even if that isn't apparent. :-)

Thanks,
JP
----------------------------|:::======|-------------------------------
JP Vossen, CISSP            |:::======|        jp{at}jpsdomain{dot}org
My Account, My Opinions     |=========|      http://www.jpsdomain.org/
----------------------------|=========|-------------------------------
Microsoft has single-handedly nullified Moore's Law.
Innate design flaws of Windows make a personal firewall, anti-virus
and anti-malware software mandatory. The resulting software arms race
has effectively flattened Moore's Law on hardware running Windows.
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug