Mailinglist Archive: opensuse (3464 mails)
| < Previous | Next > |
Re: [opensuse] Smart package manager problem
- From: Pascal Bleser <pascal.bleser@xxxxxxxxx>
- Date: Fri, 13 Apr 2007 09:06:33 +0200
- Message-id: <461F2BF9.7030203@xxxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Stevens wrote:
> I asked this question a few days ago but it got no reply, so I am
> asking again in the hope that someone may know.
>
> Smart hosed up (hung, quit, froze, whatever) and I killed it with the
> kill command. Subsequent launches give the warning that the configuration
> is read only, even as root. If I use cli (smart --gui --ignore-locks) then it
> works.
>
> I have looked in what I thought were the obvious places for a lock file but I
> cannot find one. I also searched through the mail list archives and bug
> reports for Smart to see if anyone else reported the problem but nothing
> came back. Anyone know where the lock file is hiding?
The lock file is in the "data-dir":
$ smart config --show data-dir
/var/lib/smart
But it's a real file lock, so it doesn't remain once the process died.
Are you really sure there is no smart process still running ?
ps -ef | grep smart | grep -v grep
If that line shows anything, kill those processes.
cheers
- --
-o) Pascal Bleser http://linux01.gwdg.de/~pbleser/
/\\ <pascal.bleser@xxxxxxxxx> <guru@xxxxxxxxxxx>
_\_v The more things change, the more they stay insane.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFGHyv5r3NMWliFcXcRAgH6AKCE762f1BAFYFyHJTwXQdP8Y6RE1ACgvs2D
syjopRmGyCdTsqu8iGMvz2U=
=NsUF
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
Hash: SHA1
Stevens wrote:
> I asked this question a few days ago but it got no reply, so I am
> asking again in the hope that someone may know.
>
> Smart hosed up (hung, quit, froze, whatever) and I killed it with the
> kill command. Subsequent launches give the warning that the configuration
> is read only, even as root. If I use cli (smart --gui --ignore-locks) then it
> works.
>
> I have looked in what I thought were the obvious places for a lock file but I
> cannot find one. I also searched through the mail list archives and bug
> reports for Smart to see if anyone else reported the problem but nothing
> came back. Anyone know where the lock file is hiding?
The lock file is in the "data-dir":
$ smart config --show data-dir
/var/lib/smart
But it's a real file lock, so it doesn't remain once the process died.
Are you really sure there is no smart process still running ?
ps -ef | grep smart | grep -v grep
If that line shows anything, kill those processes.
cheers
- --
-o) Pascal Bleser http://linux01.gwdg.de/~pbleser/
/\\ <pascal.bleser@xxxxxxxxx> <guru@xxxxxxxxxxx>
_\_v The more things change, the more they stay insane.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFGHyv5r3NMWliFcXcRAgH6AKCE762f1BAFYFyHJTwXQdP8Y6RE1ACgvs2D
syjopRmGyCdTsqu8iGMvz2U=
=NsUF
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |