我在装了btrfs_snapshot插件后,任何GUI下 操作包都会报这个错误(比如使用GUI更新,直接双击RPM安装)。
卸载了yum-plugin-fs-snapshot 后就没问题了。不知道有解决办法吗?
我更新过PackageKit* ,和 yum 都没用。
Traceback (most recent call last):
File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 2234,
in _runYumTransaction
rpmDisplay=rpmDisplay)
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 4170,
in processTransaction
self._doTransaction(callback,display=rpmDisplay)
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 4284,
in _doTransaction
self.runTransaction( cb=cb )
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 1157,
in runTransaction
self.plugins.run('pretrans')
File "/usr/lib/python2.6/site-packages/yum/plugins.py", line 177, in run
func(conduitcls(self, self.base, conf, **kwargs))
File "/usr/lib/yum-plugins/fs-snapshot.py", line 280, in pretrans_hook
rc = _create_snapshot(conduit, snapshot_tag, volume)
File "/usr/lib/yum-plugins/fs-snapshot.py", line 180, in _create_snapshot
return _create_btrfs_snapshot(conduit, snapshot_tag, volume)
File "/usr/lib/yum-plugins/fs-snapshot.py", line 204, in
_create_btrfs_snapshot
p = Popen(["btrfsctl", "-c", mntpnt], stdout=PIPE, stderr=PIPE)
File "/usr/lib/python2.6/subprocess.py", line 621, in __init__
errread, errwrite)
File "/usr/lib/python2.6/subprocess.py", line 1126, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory