On 2006-05-20 08:49 -0400, Jim McQuillan wrote: > Andre Majorel wrote: > >On 2006-05-19 15:06 -0400, Jim McQuillan wrote: > >>On Fri, May 19, 2006 3:01 pm, Andre Majorel wrote: > >>>I rm -rf'd /opt/ltsp/i386. But now I can't recreate it. ltspadmin > >>>sees that the packages are still in /opt/ltsp/pkg_cache (which is > >>>good) but assumes they don't need to be extracted again (which is > >>>not so good). > >>> > >>>Is there a preferred way to extract all packages again ? (Besides > >>>tar xz, that is.) > >>> > >>This is real easy to fix. > >> > >>Just go into /opt/ltsp/data, and clean out the package.db file. > >> > >>That's the file that keeps track of what's been installed. > > > >Thank you, deleting it did the trick. Although ltspadmin > >re-downloaded all the packages, which I was trying to avoid. > > It shouldn't have done that, unless you also removed the > /opt/ltsp/pkg_cache directory.
I didn't touch /opt/ltsp/pkg_cache. I'm not that far gone. :-) > What version of ltspadmin are you running? ltspadmin 0.14 from the latest package in Debian testing (ltsp-utils 0.11-1). The strange thing is, /opt/ltsp/pkg_cache, looks like this : /opt/ltsp/pkg_cache# ls -l ltsp-a* -rw-r--r-- 1 root root 247 2006-05-19 21:24 ltsp-audiofile-1.1-0-i386.ltsp -rw-r--r-- 1 root root 70175 2006-05-19 11:38 ltsp-audiofile-1.1-0-i386.tgz -rw-r--r-- 1 root root 237 2006-05-19 21:27 ltsp-aumix-1.1-0-i386.ltsp -rw-r--r-- 1 root root 7279 2006-05-19 11:39 ltsp-aumix-1.1-0-i386.tgz /opt/ltsp/pkg_cache# ls -cl ltsp-a* -rw-r--r-- 1 root root 247 2006-05-19 21:24 ltsp-audiofile-1.1-0-i386.ltsp -rw-r--r-- 1 root root 70175 2006-05-19 11:38 ltsp-audiofile-1.1-0-i386.tgz -rw-r--r-- 1 root root 237 2006-05-19 21:27 ltsp-aumix-1.1-0-i386.ltsp -rw-r--r-- 1 root root 7279 2006-05-19 11:39 ltsp-aumix-1.1-0-i386.tgz The .ltsp files have their mtime and ctime set to when I ran ltspadmin again after deleting package.db (21:24). The .tgz have both times set to the first time I ran ltspadmin (11:38). I guess had the .tgz been downloaded again, their ctime would be set to the time of the second download ? Unless ltspadmin downloads into a temp file and replaces the existing .tgz only if it differs ? Wouldn't that be sneaky. But really, I'm pretty sure ltspadmin downloaded the files again. It went through the files so slowly that I lost patience and went working on something else. The process must have taken on the order of half an hour. Simply extracting them can't be what took it so long. The server is an Athlon64 3200. -- André Majorel <URL:http://www.teaser.fr/~amajorel/> Do not use this account for regular correspondence. See the URL above for contact information. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.freenode.net