Debian: Remove package from update list

Discussion in 'Linux / Unix Discussion' started by Fergal1982, Sep 21, 2008.

  1. Fergal1982

    Fergal1982 Petabyte Poster

    4,196
    172
    211
    Does anyone know how to stop a package being updated by apt-get dist-upgrade?

    To be clear, I dont want to remove the package, I just want to make sure it doesnt update from apt-get any more (its a website I initially installed via apt-get, but I want to maintain it manually from now on)
     
    Certifications: ITIL Foundation; MCTS: Visual Studio Team Foundation Server 2010, Administration
    WIP: None at present
  2. zimbo
    Honorary Member

    zimbo Petabyte Poster

    5,215
    99
    181
    i did this a while ago and i think it worked:

    http://www.debian.org/doc/manuals/apt-howto/ch-apt-get.en.html

     
    Certifications: B.Sc, MCDST & MCSA
    WIP: M.Sc - Computer Forensics
  3. Fergal1982

    Fergal1982 Petabyte Poster

    4,196
    172
    211
    Thanks for that Zimbo. I actually think I had a cleaner solution though. aptitude has a hold method that is supposed to do the same job.

    Code:
    apt-get hold <package>
    I'm not sure it filters through to apt-get, but i'll give it a shot. Failing that, I'll come back to your suggestion.

    Cheers
     
    Certifications: ITIL Foundation; MCTS: Visual Studio Team Foundation Server 2010, Administration
    WIP: None at present

Share This Page

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.