Summary: | Change app-portage/g-ctan's default store directory to /var/lib/layman | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Luis Ferreira <luisav.ferreira> |
Component: | Current packages | Assignee: | Christian Faulhammer (RETIRED) <fauli> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
URL: | https://bugs.launchpad.net/g-ctan/+bug/563317 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Luis Ferreira
2010-04-14 00:44:17 UTC
Configure g-ctan according to the message, please. Christian, how about creating the needed directory with the installation? Prefereably something like /var/gentoo/g-ctan, maybe!? (In reply to comment #1) > Configure g-ctan according to the message, please. > > > Christian, how about creating the needed directory with the installation? > Prefereably something like /var/gentoo/g-ctan, maybe!? The man page says: "Before the packages can be installed, it is needed to create a separate overlay for g-CTAN, so no harm is done to other package repositories. The default location is PORTDIR/local/g-ctan, but can be changed through the configuration file (see FILES section). Additionally g-CTAN checks before most operations if that overlay directory has been added to the PORTDIR_OVERLAY variable from make.conf." As I don't want to create such directories in a user's system, the user should do it. Is this answer satisfying. (In reply to comment #2) > As I don't want to create such directories in a user's system, the user should > do it. Is this answer satisfying. This was my thought as well and I almost did resolve this bug report as dupe of bug 283642. On the other hand it's not the most pleasant out of the box experience. Frankly, this is too often the case with Gentoo. Sorry, /var/cache/g-ctan/ it was a mistake, I want to write /var/lib/layman , because this: 2010-02-28-layman-storage-path-change Title Layman storage path changed from version 1.3.0 on Author Sebastian Pipping <sping@gentoo.org> Posted 2010-02-28 Revision 2 Layman has been using /usr/local/portage/layman to store overlay checkouts from version 1.2.3 on. As that path was violating the concept of keeping portage away from /usr/local the default of this storage location moves to /var/lib/layman from version 1.3.0 on. If you have never touched the file /etc/layman/layman.cfg manually before, you may be tempted to let tools like etc-update or dispatch-conf blindly accept this new version of layman.cfg. As that would hide all your currently installed overlays from layman it's probably not what you want. Your options are: A) Moving 1. Move your current content to /var/lib/layman. 2. Update PORTDIR_OVERLAY in /var/lib/layman/make.conf accordingly. 3. Make /etc/make.conf source /var/lib/layman/make.conf. 4. Set option "storage" in /etc/layman/layman.cfg to "/var/lib/layman". B) A symlink Put a symlink to your current storage location at /var/lib/layman before upgrading layman. C) Configuration Reject the path change for layman.cfg when running tools like etc-update or dispatch-conf. Be aware with this way you'll have to do it for each layman update again. PS: This news item is a reaction to users having run into this problem (see bug #306233). Thanks to Volker Hemmann for reporting. Yes, I had that in mind, but forgot it completely. Will fix it upstream and then do a release in the next couple of weeks. I already changed the directory in the trunk to /var/lib/g-ctan, so this bug is fixed upstream. As my laptop got stolen I could not work on Gentoo for more than a month. Finally the situation is resolved and I could make the release I promised. Thank you for your patience, g-ctan 2009.2 is now in the tree. |