Converting Manifest2 to Manifest1
1.
Converting Manifest2 to Manifest1
Purpose
This procedure is intended for use as an upgrade path for systems that have a
2.0.x version of sys-apps/portage installed. It will convert a portage tree
from Manifest2 format to Manifest1 format so that it is suitable for use by
2.0.x versions of sys-apps/portage. It is only necessary to perform this
procedure if a !!! No package digest file found
error occurs when attempting to install any and all packages.
Running manifest221
A script named manifest221 is located in the files directory of the
sys-apps/portage package. In order to run the script, type
python /usr/portage/sys-apps/portage/files/manifest221 where
/usr/portage is substituted with the real location of the portage
tree if it is somewhere other than /usr/portage. The script will take a
few minutes to run and it is normal for it to produce some 'aux_get' error
messages that can be ignored as long as they do not apply to packages that are
needed to upgrade portage.
Updating
If your currently installed version of python is less than 2.3.6-r2 then there
is a python-updater
blocker that complicates the update procedure (see
bug 178490).
The recommended way to get around this blocker is to force installation
of python-2.3.6-r2 by using the --nodeps option. This package does
not have stable keywords so you may need to run
echo =dev-lang/python-2.3.6-r2 >> /etc/portage/package.keywords in
order to unmask it. After that, run emerge -p =python-2.3.6-r2 and
you should see the blocker from bug 178490. Newer versions of portage will
automatically resolve this blocker, but you will have to use the
--nodeps option
to override the blocker since you have an old version of portage. Run
emerge --oneshot --nodeps =python-2.3.6-r2 and python should update
successfully. After that, run emerge portage to update to a newer
version of portage (including it's dependencies). Finally, after upgrading
from portage-2.0.x to >=portage-2.1, you will need to run
emerge --metadata since portage-2.1 uses a new file format for
the metadata.
The contents of this document are licensed under the Creative Commons -
Attribution / Share Alike license.
|