A problem when initialization smart
Anders F Björklund
afb at algonet.se
Mon Nov 8 11:35:33 PST 2010
Sriram Narayanan wrote:
> I'm trying to initialize smart on my system. I get the following error:
> smart install --data-dir=~/aaaa --log-level=debug
> warning: The Smart library is already in use by another process.
> warning: Configuration is in readonly mode!
> Updating cache...
> ############################################################### [100%]
>
> Computing transaction...
> debug:
> debug: Tasks started: 0, completed: 0, pruned: 0, failed: 0.
>
> What am I doing wrong here ?
You might want to give some more details, like versions and such.
Normally you would need to use something like "sudo" for install ?
> warning: Configuration is in readonly mode!
That does not account for the "already in use" though, but anyway.
> warning: The Smart library is already in use by another process.
The --data-dir only affects the smart files (i.e. /var/lib/smart),
the install root is set with other options: one per smart backend.
There is one option to set the root, and one to set the pm db dir.
It's a bit unfortunate that they are split, but that's how it is.
"rpm-root", "/",
"rpm-dbpath", "var/lib/rpm"
"deb-root", "/",
"deb-admindir", "var/lib/dpkg"
"slack-root", "/",
"slack-packages-dir", "var/log/packages"
"arch-root", "/",
"arch-packages-dir", "var/lib/pacman"
--anders
More information about the Smart
mailing list