Gentoo Wiki




Deltup is a program that allows you to fetch the changes to a program, instead of the entire tarball. In other words if you already have and a new version is released, instead of having to download you would only have to download the minor differences between the two (also known as patch). This tutorial is an absolute must for dialup users.


Code: Installation
echo "app-portage/deltup ~arch" >> /etc/portage/package.keywords
echo "dev-util/bdelta ~arch" >> /etc/portage/package.keywords
echo "app-portage/getdelta ~arch" >> /etc/portage/package.keywords

emerge --ask --verbose getdelta

Replace arch with your architecture (e.g. x86, amd64).


To enable getdelta, you have to edit your /etc/make.conf:

File: /etc/make.conf
FETCHCOMMAND="/usr/bin/ \${URI}"

Tuning of the script may be accomplished by editing /etc/deltup/getdelta.rc

What if digest verification fails?

Due to the on-the-fly-generation of the package-files the digest verification may fail. If you are sure that the package has been downloaded correctly, you can run

ebuild /path/to/ebuild digest 

to re-digest the file and try to emerge the package.

Warning: This is strongly not recommended! Try first update deltup and bdelta before to do this
Retrieved from ""

Last modified: Wed, 01 Oct 2008 08:22:00 +0000 Hits: 25,965