Backport packages

From Wikitech
(Difference between revisions)
Jump to: navigation, search
(Created page with "You want to use the <tt>backportpackage</tt> command available in Ubuntu via: apt-get install ubuntu-dev-tools Read the manual documentation at http://manpages.ubuntu.com/manpa...")
 
Line 8: Line 8:
 
  mkdir workdir
 
  mkdir workdir
 
  backportpackage -s quantal -d precise -d lucid -w workdir python-git
 
  backportpackage -s quantal -d precise -d lucid -w workdir python-git
 +
 +
It will automatically download the dependencies using <tt>dpkg-source</tt>:
 +
 +
dpkg-source: info: unpacking python-git_0.3.2~RC1.orig.tar.gz
 +
dpkg-source: info: unpacking python-git_0.3.2~RC1.orig-doc.tar.gz
 +
dpkg-source: info: unpacking python-git_0.3.2~RC1-1.debian.tar.gz
 +
 +
If you do not have a GPG key, you will want to disable signature. This require <tt>ubuntu-dev-tools</tt> >= 0.142 . You could install it from Quantal http://packages.ubuntu.com/quantal/all/ubuntu-dev-tools/download .
 +
 +
Direct link: <s>http://ubuntu.wikimedia.org/ubuntu//pool/universe/u/ubuntu-dev-tools/ubuntu-dev-tools_0.143_all.deb</s> (broken has of Sep 25th 2012).
 +
 +
Alternate link: http://mirrors.us.kernel.org/ubuntu//pool/universe/u/ubuntu-dev-tools/ubuntu-dev-tools_0.143_all.deb

Revision as of 10:07, 25 September 2012

You want to use the backportpackage command available in Ubuntu via:

apt-get install ubuntu-dev-tools

Read the manual documentation at http://manpages.ubuntu.com/manpages/precise/man1/backportpackage.1.html . You basically pass the source distribution with -s and the target destination with -d then the package as argument.

Example backporting python-git from Quantal to both Precise and Lucid:

mkdir workdir
backportpackage -s quantal -d precise -d lucid -w workdir python-git

It will automatically download the dependencies using dpkg-source:

dpkg-source: info: unpacking python-git_0.3.2~RC1.orig.tar.gz
dpkg-source: info: unpacking python-git_0.3.2~RC1.orig-doc.tar.gz
dpkg-source: info: unpacking python-git_0.3.2~RC1-1.debian.tar.gz

If you do not have a GPG key, you will want to disable signature. This require ubuntu-dev-tools >= 0.142 . You could install it from Quantal http://packages.ubuntu.com/quantal/all/ubuntu-dev-tools/download .

Direct link: http://ubuntu.wikimedia.org/ubuntu//pool/universe/u/ubuntu-dev-tools/ubuntu-dev-tools_0.143_all.deb (broken has of Sep 25th 2012).

Alternate link: http://mirrors.us.kernel.org/ubuntu//pool/universe/u/ubuntu-dev-tools/ubuntu-dev-tools_0.143_all.deb

Personal tools
Namespaces

Variants
Actions
Navigation
Ops documentation
Wiki
Toolbox