Debian Planet








Welcome to Debian Planet

Search

Apt-get into it.
Main Menu

  • Home

  • Topics

  • Web Links

  • Your Account

  • Submit News

  • Stats

  • Top 10

  • Debian

    These are important Debian sites one should not be without!

  • Official Debian site

  • Package search

  • Mailing list archives

  • Bug reports

  • Debian on CD

  • Unofficial woody CD ISOs

  • Unofficial APT sources

  • Developers’ Corner

    Other great Debian news sources:

  • Debian Weekly News

  • Kernel Cousin Debian

    (Debian mailing lists digested)
  • Community Groups

    Need help? You’re not alone on this planet.

  • debianHELP

    (User support site)

  • Debian International

  • DebianForum.de

    (Deutsch)

  • EsDebian

    (español)

  • DebianWorld

    (français)

  • MaximumDebian

    (Italiano)

  • DebianUsers

    (Korean)

  • Debian-BR

    (Português)

  • IRC

    The place to get help on a Debian problem (after reading docs) or to just chat and chill is #debian on irc.debian.org.

    Many of the Debian Planet staff live there so pop by and say hello.

    Wanna write?

    Got that latest or greatest scoop? Perhaps you have some important news for the Debian community? Submit a news item!

    Or perhaps you’ve written a rather ground breaking insight into some aspect of Debian and you feel compelled to share it with others? Knock up a longer editorial article and send it to the editors.

    Sponsorship

    DP is sponsored by Xinit Systems and kieser.net.

    Domains paid for and hosted by uklinux.net.

    Buy your Debian merchandise at DebianShop.com.

    Who’s Online

    There are currently, 86 guest(s) and 6 member(s) that are online.

    You are Anonymous user. You can register for free by clicking here.

      

    Re: Apt-get – The next generation? (Score: 2)
    by purcell on Tuesday, October 30 @ 14:01:04 GMT

    Producing the diff has to be quite easy, unless I’m missing something:

    1. Unpack both packages using ‘dpkg-deb –extract’

    2. Diff the package contents using ‘diff -Naur’

    3. Distribute that patch gzipped.

    And applying it should be as simple as:

    1. Unpack the old package on the target machine using ‘dpkg-deb –extract’

    2. Apply the patch using ‘patch’

    3. Build the new package using ‘dpkg-deb –build’

    4. Install the new package

    (Give or take a few details that haven’t occurred to me and that would preclude this approach 🙂


    If upgrading more than one package version at a time, more than one patch must be applied, or a selection of ‘bumper patches’ made available.


    The main issues would seem to be the processing time it would take to generate patches, the storage space required for numerous patches per package, and the additional complexity of integrating such a mechanism into ‘dpkg’/index.html’apt-get’ etc.


    Your Name: Anonymous [ New User ]

    Subject

    Comment

    Allowed HTML:
    <p> <b> <i> <a> <em> <br> <strong> <blockquote> <tt> <li> <ol> <ul>