Debian Planet

Welcome to Debian Planet


All your woody are (not quite, but very very very soon) belong to us.
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 3 member(s) that are online.

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

    Tips 'n' Tricks: Potato users are you feeling left out?
    Posted on Sunday, April 01 @ 11:30:10 BST

    No need to be, here is a quick trick how to get, at least some, of the software
    that is new or upgraded in woody.

    You start by adding a new source to your apt (/etc/apt/sources.list)..

    deb-src woody main contrib non-free

    You should of course use your own closest mirror. then we update the sources,
    with apt-get update. next step would be to download the source package.

    ressu@stradivarius:/usr/src/tmp $ apt-get source nmap
    Reading Package Lists...
    Building Dependency Tree... 
    Need to get 589kB of source archives.
    Get:1 woody/main nmap 2.53-5 (dsc) [624B]
    Get:2 woody/main nmap 2.53-5 (tar) [584kB]
    Get:3 woody/main nmap 2.53-5 (diff) [3667B]
    Fetched 589kB in 1m21s (7233B/s)
    dpkg-source: extracting nmap in nmap-2.53

    We change to the directory and build the package...

    ressu@stradivarius:/usr/src/tmp $ cd nmap-2.53/
    ressu@stradivarius:/usr/src/tmp/nmap-2.53 $ debuild (or sudo dpkg-buildpackage)

    That should build the package, or as in my case.. fail..

    If you are lucky enough to get it compiled (please, do try a few times.. try to resolve some of the problems that come up) you will end up with nice clean deb for your Potato installation. Usually the package will compile cleanly.

    You should watch out for things that are depending on packages in woody, you will need to compile some of those packages too.. and if you dig up too far, you will end up compiling so much, that you would have been better of to just upgrade.

    Packages for the programs are...
    debuild: devscripts
    dpkg-buildpackage: dpkg-dev
    apt-get: apt
    sudo: sudo

    Update: As pointed out by yann

    Not changing the version number may cause official packages not to be installed
    if the version you recompiled end up being the one shipped in next stable release.
    Usually I add a new entry with lesser debian revision and local ID in debien/changelog
    to avoid this (eg: 1.2.3-4yann1 if the version I got was 1.2.3-5 ). Also listing in the
    changelog entry what you needed to change to make it work will help you upgrading
    to subsequent releases. 


    Related Links

  • Package database in 'stable'
  • More about Potato
  • News by rob

    Most read story about Potato:
    Potato users are you feeling left out?

    Last news about Potato:

    Printer Friendly Page  Send this Story to a Friend
  • "Tips 'n' Tricks: Potato users are you feeling left out?" | Login/Create Account | 0 comments

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

    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.