Is Linux Annoying?
Subject:   Bad idea!
Date:   2003-09-16 15:56:39
From:   anonymous2
Response to: Bad idea!

That's exactly what I did to upgrade PHP recently. Took one look at the 6 or so failed depedencies and said nope...time for an upgrade. But one has to ask whether something is seriously wrong when it is easier(and quicker mostly) to upgrade the whole OS than one app of 1 or 2 Mb!
Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • Bad idea!
    2003-09-27 00:15:15  anonymous2 [View]

    The debian equivalent of this technique works reliably - often a binary package from the next release up will depend on later versions of core packages like libc than are standard in the current release. Upgrading libc for this one package has the knock-on effect of upgrading a large amount of the distribution. But the source of the package is not incapable of building against the current libc, it's just that the precompiled binary wasn't build against it. Which means that we can do

    # get any programs/headers necessary to compile
    apt-get build-dep foo/testing
    # get source
    apt-get source foo/testing
    # compile source
    cd testing
    debian/rules binary
    # install recompiled custom package
    dpkg -i ../foo.deb

    Missing dependencies during compile are not a problem on debian :P