On Tue, 1 Jun 2004, Mike Hearn wrote:
Getting a list of what *is* installed:
{bryce@...347...} ~ (48): package list /usr/bin/package: line 1808: cd: /var/packages: Permission denied
<whimper> Is this related to your umask, do you think? /var/packages should be world readable.
Yup, it turned out to be another umask issue.
Well remove is just an alias for uninstall.
Yeah, I figured. Note that your website suggests 'package uninstall' but the help message from running 'package' shows a 'remove' command but not 'uninstall'. Maybe add 'uninstall' to the help message?
This all works OK here (with 0.5.1). All I can suggest is doing this:
export DEBUGLEVEL=3 package uninstall inkscape
then seeing if you can divine the entrails (it's possible a lot of text will be printed). Hopefully that'll help. I can't reproduce these sort of problems, and it's not been reported by anybody else either :(
Don't worry - my goals here are to help shake out autopackage and learn more about it. Installation of Inkscape isn't a goal, just a nice side effect. ;-)
Okay, so here's the debug output:
{bryce@...347...} ~ (57): setenv DEBUGLEVEL 3 {bryce@...347...} ~ (58): package uninstall inkscape * trace:funclib: imports completed * trace:_initializeAutopackage():called * trace:userPrefix():called * trace:userPrefix():prefix=/home/bryce/.local * trace:_initializePackageDB():called * trace:_initializePackageDB():user prefix:autopackage_db_location=/home/bryce/.packages * trace:getLanguages():called * trace:getLanguages():using LANG=en_US * trace:getLanguages():adding en to language_list * trace:getLanguages():language_list=en_US en * trace:_determineMachine():AUTOPACKAGE_LSB_VERSION="1.3" * trace:_determineMachine():AUTOPACKAGE_DISTRIBUTION_ID="suse" * trace:_determineMachine():AUTOPACKAGE_DISTRIBUTION_RELEASE="9.0" * trace:_determineMachine():AUTOPACKAGE_DISTRIBUTION_CODENAME="" * trace:_determineMachine():AUTOPACKAGE_DISTRIBUTION_DESCRIPTION="SuSE Linux 9.0 (i586)" * trace:locateCommand():which:lc_location=/usr/bin/md5sum * trace:_initializeAutopackage():finished Uninstalling inkscape... * trace:uninstallPackage():called with inkscape * trace:resolveName():resolving inkscape * trace:resolveName():no reference or dead symlink trail in user db package not found. {bryce@...347...} ~ (59):
It looks like my 'user db' is borked up? Is there a way to rebuild it, or to blow it away entirely and start over?
Bryce