dispel and ressurect don't work if /var/cache/sorcery is a link (Bug #340)
Description
LINK:
- gaze version lives; ls
ld /var/cache/sorcery; ls -l /var/cache/sorcery/lives-1.*------- ----- ---------------- -----------------
Grimoire Section Spell Grimoire Version Installed Version
-------
test video lives 1.6.0 1.0.10
lrwxrwxrwx 1 root root 25 Jan 19 16:37 /var/cache/sorcery -> /var/spool/sorcery/CACHE/
rw-r--r- 1 root root 3029626 May 23 2011 /var/cache/sorcery/lives-1.0.10-i686-pc-linux-gnu.tar.bz2rw-r--r- 1 root root 6288843 Jan 19 08:22 /var/cache/sorcery/lives-1.6.0-i686-pc-linux-gnu.tar.bz2
- dispel -d lives 1.6.0
Unable to resurrect lives because no cache for version 1.6.0 was found.
DIR:
- gaze version lives; ls
ld /var/cache/sorcery; ls -l /var/cache/sorcery/lives-1.*------- ----- ---------------- -----------------
Grimoire Section Spell Grimoire Version Installed Version
-------
test video lives 1.6.0 1.0.10
drwxr-xr-x 2 root root 4096 Jan 19 17:03 /var/cache/sorcery
rw-r--r- 1 root root 3029626 May 23 2011 /var/cache/sorcery/lives-1.0.10-i686-pc-linux-gnu.tar.bz2rw-r--r- 1 root root 6288843 Jan 19 08:22 /var/cache/sorcery/lives-1.6.0-i686-pc-linux-gnu.tar.bz2
- dispel -d lives 1.6.0
works like a charm
- ln -s /var/spool/sorcery/CACHE/ sorcery
- dispel -d lives 1.6.0
Unable to resurrect lives because no cache for version 1.6.0 was found.
History
Updated by Jaka Kranjc over 1 year ago
target filesystem type?
Updated by Ladislav Hagara over 1 year ago
ext3
Updated by Ladislav Hagara over 1 year ago
With "mount -o bind /var/spool/sorcery/CACHE/ sorcery" works OK.
- mount | grep sorcery
/dev/sda7 on /var/spool/sorcery type ext3 (rw)
/var/spool/sorcery/CACHE on /var/cache/sorcery type none (rw,bind)
Updated by Jaka Kranjc about 1 year ago
It worked for me when I tried it, but more importantly, I don't know why I didn't mention the correct way to do this back then. Just set INSTALL_CACHE to the new path, no need to symlink anything.
- Status changed from New to Resolved