debsnap - retrieve old snapshots of Debian packages
debsnap [options] package [version] debsnap [-h | --help] [--version]
debsnap is a tool to help with retrieving snapshots of old packages from a daily archive repository. The only publicly available snapshot archive is currently located at http://snapshot.debian.org By default, debsnap will download all the available versions for package that are found in the snapshot archive. If a version is specified, only that particular version will be downloaded, if available.
The following options are available: -d destination, --destdir destination Directory to place retrieved packages. -f, --force Force writing into an existing destination. By default debsnap will insist the destination directory does not exist yet unless it is explicitly specified to be '.' (the current working directory). This is to avoid files being accidentally overwritten by what is fetched from the archive and to provide a guarantee for other scripts that only the files fetched will be present there upon completion. -v, --verbose Report on the debsnap configuration being used and progress during the download operation. Please always use this option when reporting bugs. --list Don't download but just list versions. --binary Download binary packages instead of source packages. -a, --architecture Specify architecture of downloaded binary packages. Implies --binary. This can be given multiple times in order to download binary packages for multiple architectures. --first Specify the minimum version of a package which will be downloaded. Any versions which compare larger than this, according to dpkg, will be considered for download. May be used in combination with --last. --last Specify the maximum version of a package which will be downloaded. Any package versions which compare less than this, according to dpkg, will be considered for download. May be used in combination with --first. -h, --help Show a summary of these options. --version Show the version of debsnap.
debsnap may also be configured through the use of the following options in the devscripts configuration files: DEBSNAP_VERBOSE Same as the command line option --verbose. Set to yes to enable. DEBSNAP_DESTDIR Set a default path for the destination directory. If unset ./source-<package_name> will be used. The command line option --destdir will override this. DEBSNAP_BASE_URL The base url for the snapshots archive. If unset this defaults to http://snapshot.debian.org
debsnap will return an exit status of 0 if all operations succeeded, 1 if a fatal error occurred, and 2 if some packages failed to be downloaded but operations otherwise succeeded as expected. In some cases packages may fail to be downloaded because they are no longer available on the snapshot mirror, so any caller should expect this may occur in normal use.
debsnap -a amd64 xterm 256-1 Download the binary package of a specific xterm version for amd64 architecture. debsnap -a armel xterm Download binary packages for all versions of xterm for armel architecture. debsnap --binary xterm 256-1 Download binary packages for a specific xterm version but for all architectures. debsnap --binary xterm Download binary packages for all versions of xterm for all architectures. aptitude search '~i' -F '%p %V' | while read pkg ver; do debsnap -a $(dpkg-architecture -qDEB_HOST_ARCH) -a all $pkg $ver; done Download binary packages of all packages that are installed on the system.
/etc/devscripts.conf Global devscripts configuration options. Will override hardcoded defaults. ~/.devscripts Per-user configuration options. Will override any global configuration.
devscripts(1), devscripts.conf(5), git-debimport(1)
David Paleino <dapal@debian.org>
Copyright 2010 David Paleino Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 or (at your option) any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
Reporting bugs The program is part of the devscripts package. Please report bugs using `reportbug devscripts`
Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.
Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.
Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.
Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.
The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.
Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.
Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.
Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.