Debian Planet

Welcome to Debian Planet


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



  • EsDebian


  • DebianWorld


  • MaximumDebian


  • DebianUsers


  • Debian-BR


  • IRC

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

    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.


    DP is sponsored by Xinit Systems and

    Domains paid for and hosted by

    Buy your Debian merchandise at

    Who's Online

    There are currently, 46 guest(s) and 4 member(s) that are online.

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

    Putting packages on hold?
    Contributed by Anonymous on Thursday, November 09 @ 16:07:05 GMT

    Ask Debianplanet
    I've read somewhere that you can put a package 'on hold' so that the normal package tools won't try to upgrade it. When I've made some local modification to something that an upgrade would clobber, I really want to use this feature, but I can't find the documentation on how. I run potato some places and woody others, if that makes any difference. Thanks in advance!

    Related Links

  • More about Ask Debianplanet
  • News by ressu

    Most read story about Ask Debianplanet:
    XFree86 4.2.0

    Last news about Ask Debianplanet:

    Printer Friendly Page  Send this Story to a Friend
  • "Putting packages on hold?" | Login/Create Account | 9 comments

    The comments are owned by the poster. We aren't responsible for their content.

    Re: Putting packages on hold? (Score: 3, Informative)
    by ressu on Thursday, November 09 @ 16:08:43 GMT
    (User Info)

    easiest way would be

    echo package hold | dpkg --set-selections

    apt-get dselect-upgrade

    dselect upgrade respects the current selections in dpkg's database, and won't try to upgrade everything...

    [ Reply ]

    Re: Putting packages on hold? (Score: -1, Troll)
    by joeyh on Thursday, November 09 @ 20:48:55 GMT
    (User Info)

    I have to wonder if we really need full-fledged articles for such simple questions. A post to debian-user should suffice.

    [ Reply ]

    Re: Putting packages on hold? (Score: 2, Interesting)
    by ressu on Friday, November 10 @ 07:55:20 GMT
    (User Info)

    the point is to collect a KB of questions and answers.. (ofcourse the easy ones come first..)

    [ Reply ]

    Re: Putting packages on hold? (Score: 1)
    by Terence on Tuesday, August 14 @ 06:40:32 BST
    (User Info)

    I subscribed to debian-user for a few days - my e-mail account filled up with half a thousand messages unrelated to my problem. Web discussions boards are more organized and to the point.

    {I'm not saying debian-user is bad. I just have my preference for what forums should be.}

    [ Reply ]

    Update to apt-get needed? (Score: 2, Interesting)
    by dale (Dale) on Friday, November 10 @ 04:25:04 GMT
    (User Info)

    Maybe it should be more obvious for

    the user. Maybe we should have:

    apt-get hold

    Then apt-get simply reports that the package

    will be held back, and an upgrade.

    [ Reply ]

    Plain Old text doesn't work (Score: 0, Redundant)
    by dale (Dale) on Friday, November 10 @ 04:31:12 GMT
    (User Info)

    I sent the previous comment in plain
    old text and it seems to have to have
    removed the symbols.

    I should be:

    apt-get hold

    [ Reply ]

    Re: Putting packages on hold? (Score: 1)
    by Ghiottone on Friday, November 10 @ 10:42:00 GMT
    (User Info)

    Use dselect.

    You can put a package on hold by pressing '='.

    It will then prompt you about the depending packages too.

    [ Reply ]

    Re: Putting packages on hold? (Score: 1)
    by Pflipp on Friday, November 10 @ 23:57:56 GMT
    (User Info)

    So hey, does this mean that I can e.g. upgrade to Woody while keeping my custom kernel image? Currently apt downloads the newer Woody kernel, so I gave that up.

    If that's true, I'd be glad. Now the only thing that still needs to be resolved is apt-getting only one ore two packages and deps from Woody, instead of having to upgrade half of your system immediately.



    [ Reply ]

    Re: Putting packages on hold? (Score: 1)
    by Joy (joy@d.o) on Saturday, November 11 @ 14:14:55 GMT
    (User Info)

    This is answered in the Debian FAQ, section 6.12, How do I put a package on hold?.

    [ Reply ]

    Based on: PHP-Nuke

    All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © 2000 by Debian Planet

    You can syndicate our news using the file backend.php.