Thursday, March 20, 2008

The future of package manager.

I truly believe that dpkg ( Debian/Ubuntu) and rpm ( Red Hat/OpenSUSE/PCLinuxOS) are all dated package managers which have not evolved enough with time. Not to undermine any of the two -- they have been performing well since ages and have given us some excellent distributions.
However, like everything, technology also ages; enters the newer breed like emerge(gentoo/Sabayon), pacman (Arch/Frugalware), PBI(PC-BSD) and conary(Foresight/r-path).

Unfortunately Gentoo development team has gone crazy and are busy in doing everything but development. Check out a small review of the other three by lazytechguy.

Of the three mentioned Conary seems to be the most technically advanced. I came across an interview with the developer of Foresight Linux and was impressed by the description of Conary by the dev. Check out some of the fine points.

  1. Foresight Linux seems to have an interesting release cycle, can you explain it in-depth?
    - Our package manager, Conary, follows many of the principles found in version control systems. Not only does it maintain the source of our packages in the same place as the binaries created, but there are branches. So we have development, QA, and release branches. We are able to do our development on the development branch, without affecting our users. We then promote packages to our QA branch, and test them as a group. The entire operating system is defined in a group, and the packages are built together for optimal compatibility. We test the group of packages together, as a whole, when the QA cycle is complete the entire group is promoted to the release label for user consumption.
    NOTE: Foresight is the first distribution to make a release immediately after a GNOME release.
  2. When did you come to realize that Foresight Linux was needed?
    - Well mostly frustration with existing distros. At the time I was working for a large enterprise where we managed a very large scale linux infrastructure. We struggled with maintenance and deployment issues, as well as the “we have to customize red hat mentality”. I always hated rpm spec files, and hated that our environment was never easily reproducable. Using Conary, I was able to very quickly build a distro that was made up of what I defined as of proper desktop OS using the latest GNOME.
    NOTE: Foresight follows a rolling release so we need not wait for 6 months to get a new package as in Ubuntu or one year in case of Red Hat
  3. How does Conary differ to other popular package management systems (such as dkpg, Portage, and Yum) and why is it a better method of doing things?
    - Whew… where to start :) Conary does so much more than legacy packaging systems such as apt(dpkg) and yum(rpm). Conary melds version control concepts into package management. Not only on the build/packaging side of things, but even for system maintenance. Conary stores sources with the binaries, in the same package, supports branching, merging, etc. On the flip side of that, Conary does some other very nice things. For example, every operation is a transaction. So you can actually rollback your last update or even all the way back to when the system was installed. And, these rollbacks contain local changes that get merged. Also being transactional, Conary breaks updates into smaller “jobs”. These jobs are dep complete, so if at anytime an update fails Conary will rollback to the previous job leaving your system dep complete and fully functional. Conary also breaks packages down into manageable components, :runtime, :lib, :devel, :devellib, :doc, etc. So unlike other packaging systems, where you might have 2 packages, firefox and firefox-devel, Conary would have one package with the devel headers split into firefox:devel. This is a great thing, you no longer end up installing -devel packages from random repos in your sources.list just because it looks like a newer version. The devel headers are just part of the same package, you just don’t have to have them installed. These components combined with rich dependancy information really shines.
    NOTE: This means that even if we subscribe to dev repository we will be shielded from a development version of an application.
All the above statements( except for my comments in form of NOTE) are copied verbatim from fscking.com.
Enjoy the full article there.

20 comments:

  1. Excellent post,thanks for sharing.
    pdf to tiff
    ipod manager
    Perfect !! Now i add it to bookmark!
    YouTube to MP4 Converter

    ReplyDelete
  2. Christian Louboutin Tall Boots
    Christian Louboutin Wedges
    Christian Louboutin Pumps
    Christian Louboutin Sandals
    Jimmy Choo Shoes
    Moncler Kid's Jackets
    Moncler clothing wholesale
    Wholesale Moncler Jackets
    discount Moncler Jackets
    http://www.shopmoncler.hk/moncler-jackets
    http://www.utsource.net/BUK444-500B.html
    http://www.utsource.net/MG50Q6ES41.html
    http://www.utsource.net/UM150CDY-10.html
    http://www.utsource.net/MP7002.html
    http://www.utsource.net/TMS320F2812PGFA.html
    http://www.utsource.net/CEM3374.html
    http://www.utsource.net/2sj74.html

    ReplyDelete
  3. Thank you for sharing, you're right, you're just for me is very useful. I really like your post.

    ReplyDelete
  4. Surely a nice post, well done keep posting posts like these, enjoyed reading a lot as how the manager of future will be.....

    Magento Themes

    ReplyDelete
  5. Really enjoyed reading your post on the topic of future of package manager a lot. Made me to realize of my manager as well.....

    Electric Cigarette

    ReplyDelete
  6. Türkiye'nin ücretsiz domain ve hosting hizmetleri, Hizla genisleyen ailemize sizde katilin. bedava web siteniz olsun, hiç para ödemeden 1 günde.
    Name.con.tc

    ReplyDelete
  7. Bu paylaşım için teşekkürler, bedava alan adı ve sunucu hizmetleri
    Name.con.Tc

    ReplyDelete
  8. Useful sharing. If something is bothering you, it is a good idea to talk about it. Call a friend or relative. A good chat is great way to feel better fast!

    ReplyDelete
  9. Nice sharing. Chocolate has special natural chemicals that make you happy. Plus, it tastes so good.

    ReplyDelete
  10. Thanks for sharing such a useful information.It will really help us in future.

    ReplyDelete
  11. The future of package manager, wow never knew it would be a having a future too, anyways a great post. Thanks a lot for the share.

    ReplyDelete
  12. I think this is one of the most impressive info for me. And i’m glad reading your article. But wanna remark on few general things, The site style is ideal, the articles is really great. Great job!

    ReplyDelete
  13. I think I need it. Thank you for update information. i like your blog.
    ---
    facebook movil | facebook movil gratis | facebook móvil

    ReplyDelete
  14. This article is really fantastic and thanks for sharing the valuable post.
    ---
    i like play game clickjogos online free and apply baixar facebook online free and apply baixar mobogenie online free

    ReplyDelete
  15. Great post,Thanks for providing us this great knowledge,Keep it up.
    A good blog.
    ---
    five nights at freddy's demo | five nights at freddy's | fnaf 3

    ReplyDelete
  16. Thanks for sharing this quality information with us and i like this. I hope you post again soon.
    ---
    facebook móvil and facebook movil gratis and apply facebook iniciar sesion

    ReplyDelete