Results 1 to 3 of 3

Thread: Package versions and updates.. How does it work?

  1. #1
    Join Date
    Dec 2006
    Beans
    297

    Package versions and updates.. How does it work?

    As I have gotten more comfortable with Ubuntu, I have been wanting to play around with newer release packages before they hit the Ubuntu repos -
    However, I still want automatic updates to work, etc. So my question is:

    If I install a newer package than is available in the repos (eiter via .deb file or manually compiling myself), will automatic updates still work when the Ubuntu repos catch up, or even pass up, my manually installed version?

    For example, lets say that somepackage-0.1.0 existed in the ubuntu repos. But I noticed that somepackage is now up to 0.1.1, so I download the source, compile and install. Then, sometime in the future somepackage-0.1.2 hits the ubuntu repos and I still have my manually installed 0.1.1 on my local machine.. Will automatic updates still update my system to the new repo package?

    Also, how important is the naming convention of packages when it comes to automatic updates? Lets say I compiled and installed someotherpackage-0.1.0 which has its environmental variable for execution as someotherpackage. Then later it goes through a name change to Gsomeotherpackage-0.1.1 then hits the Ubuntu repos.. Can ubuntu make this distinguishment and keep my version updated so long as the environmental variable is unchanged (I.e. it can still be launched in the terminal with someotherpackage)? The reason I'm asking is what if I find 2 sources for the same package, but they have slightly different naming conventions yet are the same program and version.
    Do the updates work on the package name itsself, or the environmental variable name of the package?

    thanks

    Jon
    Last edited by jondecker76; November 5th, 2007 at 03:29 AM.

  2. #2
    Join Date
    May 2005
    Location
    Reno,NV
    Beans
    150

    Re: Package versions and updates.. How does it work?

    The package manager will know nothing of software you've built from source ( ./configure && make && sudo make install and the like) and it should be installed to /usr/local/ so they don't run into each other. Basically, if you install from source the package manager can neither hurt nor help you.

    If you install via .debs then the package manager will be aware of the package and would be able to update if the package name is the same. There's no way for the package manager to know that two packages with different names are the same software.

    In general the best thing to do is to look for backports of your favorite software.

    Hope that helps.

    -LaserJock
    "That's all very well in practice, but will it ever work in theory?" -- G. Hill
    "A tidy laboratory means a lazy chemist." -- Jöns Jacob Berzelius

  3. #3
    Join Date
    Oct 2007
    Location
    Berlin, Germany
    Beans
    84

    Re: Package versions and updates.. How does it work?


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •