Paludis: Difference between revisions
No edit summary |
|||
| Line 102: | Line 102: | ||
location = /usr/portage | location = /usr/portage | ||
sync = rsync://rsync.europe.gentoo.org/gentoo-portage/ | sync = rsync://rsync.europe.gentoo.org/gentoo-portage/ | ||
profiles = ${location}/profiles/default/linux/amd64/ | profiles = ${location}/profiles/default/linux/amd64/10.0/desktop | ||
format = | format = e | ||
provides_cache = /var/cache/paludis/gentoo/provides | provides_cache = /var/cache/paludis/gentoo/provides | ||
names_cache = /var/cache/paludis/gentoo/names | names_cache = /var/cache/paludis/gentoo/names | ||
| Line 115: | Line 115: | ||
{{Codeline|# paludis --regenerate-installable-cache}} | {{Codeline|# paludis --regenerate-installable-cache}} | ||
=== Configuration (Portage incompatible - Automatic repository configuration) === | |||
{{Box File|/etc/paludis/repositories/layman.conf| | |||
<pre> | |||
format = unavailable | |||
name = layman | |||
location = /var/db/paludis/repositories/layman | |||
sync = tar+http://git.exherbo.org/layman_repositories.tar.bz2 | |||
importance = -100 | |||
</pre> | |||
}} | |||
{{Box File|/etc/paludis/repository.template| | |||
<pre> | |||
format = %{repository_template_format} | |||
location = /var/db/paludis/repositories/%{repository_template_name} | |||
sync = %{repository_template_sync} | |||
master_repository = gentoo | |||
</pre> | |||
}} | |||
=== Configuration (Portage incompatible - Developer configuration) === | === Configuration (Portage incompatible - Developer configuration) === | ||
| Line 125: | Line 145: | ||
location = ${ROOT}/home/psy/gentoo-dev/tree/gentoo-x86 | location = ${ROOT}/home/psy/gentoo-dev/tree/gentoo-x86 | ||
sync = cvs+ssh://tgurr@cvs.gentoo.org:/var/cvsroot:gentoo-x86 | sync = cvs+ssh://tgurr@cvs.gentoo.org:/var/cvsroot:gentoo-x86 | ||
profiles = ${location}/profiles/default/linux/amd64/ | profiles = ${location}/profiles/default/linux/amd64/10.0/desktop | ||
format = ebuild | format = ebuild | ||
provides_cache = /var/cache/paludis/gentoo/provides | provides_cache = /var/cache/paludis/gentoo/provides | ||
Revision as of 14:13, 28 July 2010
Paludis on Gentoo
Installation
USE="-python glsa inquisitio pink ruby visibility" emerge paludis
Configuration (Portage compatible)
With this configuration you are able to still use portage, although paludis will be sloooow and portage will spit out a few warnings when there are any kde4-svn ebuilds installed since it can't handle them but it will still work. It's a good first step to migrate and get used to paludis.
# mkdir -p /etc/paludis
# mkdir -p /etc/paludis/repositories
# cat /etc/portage/package.use >> /etc/paludis/use.conf
# cp /etc/portage/package.unmask /etc/paludis/package_unmask.conf
# cp /etc/portage/package.mask /etc/paludis/package_mask.conf
# paludis -i --dl-reinstall if-use-changed everything --pretend
Configuration (Portage incompatible - Gentoo offical tree)
Now that we have played around a little with Paludis we really don't need Portage compatibility anymore, so lets adjust our configuration to speed up Paludis.
# mv /usr/portage/distfiles /var/cache
# chmod g+w /var/tmp/paludis
# mkdir -p /var/cache/paludis/gentoo/provides
# mkdir -p /var/cache/paludis/gentoo/names
# mkdir -p /var/cache/paludis/metadata
# chown -R paludisbuild:paludisbuild /var/cache/paludis
# chown -R paludisbuild:paludisbuild /var/cache/distfiles
# chown -R paludisbuild:paludisbuild /var/tmp/paludis
# paludis --regenerate-installed-cache
# paludis --regenerate-installable-cache
Configuration (Portage incompatible - Automatic repository configuration)
Configuration (Portage incompatible - Developer configuration)
nano -w /etc/paludis/environment.conf
world = /var/lib/portage/world reduced_username = psy
nano -w /etc/paludis/repositories/gentoo.conf
location = ${ROOT}/home/psy/gentoo-dev/tree/gentoo-x86
sync = cvs+ssh://tgurr@cvs.gentoo.org:/var/cvsroot:gentoo-x86
profiles = ${location}/profiles/default/linux/amd64/10.0/desktop
format = ebuild
provides_cache = /var/cache/paludis/gentoo/provides
names_cache = /var/cache/paludis/gentoo/names
write_cache = /var/cache/paludis/metadata
distdir = /var/cache/distfiles
/etc/paludis/repositories/kde4-experimental.conf
master_repository = gentoo
location = ${ROOT}/home/psy/gentoo-dev/portage-kde4git/genkde4svn-dev/
sync = git+ssh://git@www2.mailstation.de/genkde4svn-dev.git
format = ebuild
provides_cache = /var/cache/paludis/kde4-experimental/provides
names_cache = /var/cache/paludis/kde4-experimental/names
write_cache = /var/cache/paludis/metadata
distdir = /var/cache/distfiles
chown psy:psy /var/log/paludis.log
chown -R psy:psy /var/cache/paludis
chown -R psy:psy /var/cache/distfiles
chown -R psy:psy /var/db/pkg
chown -R psy:psy /var/tmp/paludis
Portage vs. Paludis vs. Paludis cave commands
Sync all repositories
Portage short:
Portage long:
Paludis short:
Paludis long:
Paludis cave short:
Paludis cave long:
Sync specific repository/overlay
Portage short:
Portage long:
Paludis short:
Paludis long:
Paludis cave short:
Paludis cave long:
World update
Portage short:
Portage long:
Paludis short:
Paludis long:
Paludis cave short:
Paludis cave long:
Install package
Portage short:
Portage long:
Paludis short:
Paludis long:
Paludis cave short:
Paludis cave long:
Install package without adding it to the world file
Portage short:
Portage long:
Paludis short:
Paludis long:
Paludis cave short:
Paludis cave long:
Update scm packages (daily)
Portage short:
Portage long:
Paludis short:
Paludis long:
Paludis cave short:
Paludis cave long:
Which package ownes <file>
Portage short:
Portage long:
Paludis short:
Paludis long:
Paludis cave short:
Paludis cave long:
Search for broken packages and rebuild them
Portage short:
Portage long:
Paludis short:
Paludis long:
Paludis cave short:
Paludis cave long:
Remove unnecessary/leftover packages
Portage short:
Portage long:
Paludis short:
Paludis long:
Paludis cave short:
Paludis cave long: