1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
|
General
-------
The dist-upgrader is designed to make upgrades for ubuntu (or similar
distributions) easy and painless. It supports both network mode and
cdrom upgrades. The cdromupgrade will ask if it should use the network
or not. There is a wrapper script "cdromugprade" (that assumes the
file of the upgrade life in
CDROM_ROOT/dists/stable/dist-upgrader/binary-all/) that can be put
onto the CD and it will support upgrades directly from the CD.
Configuration
-------------
The DistUpgrade.cfg format is based on the python ConfigParser.
It supports the following sections:
[View] - controls the output
[Distro] - global distribution specfic options
BaseMetaPkgs:
the basic meta-pkgs that must be installed (ubuntu-base usually)
MetaPkgs:
packages that define a "desktop" (e.g. ubuntu-desktop)
PostUpgrade{Install,Remove,Purge}:
action right after the upgrade was calculated in the cache (marking
happens *before* the cache.commit())
ForcedObsoletes:
Obsolete packages that the user is asked about after the upgrade (marking
happens *after* the cache.commit())
RemoveEssentialOk:
Those packages are ok to remove even though they are essential
KeepInstalledPkgs:
If the package was installed before, it should still be installed
after the upgrade
KeepInstalledSection:
Packages from this section that were installed should always be
installed afterwards as well (useful for eg translations)
[$meta-pkg]
KeyDependencies:
Dependencies that are considered "key" dependencies of the meta-pkg to
detect if it was installed but later removed by the user
PostUpgrade{Install,Remove,Purge}:
s.above
ForcedObsoletes:
s.above
[Files] - file specific stuff
[Sources] - how to rewrite the sources.list
[Network] - network specific options
[Backports] - use specific packages for dist-upgrade
Packages= List of what packages to look for
VersionIdent=Version identification. needs to be uniq, dist-upgrader will
fetch the version that contains this string
SourcesList=a sources.list fragment that will be placed into
/etc/apt/sources.list.d and that contains the backported pkgs
|