kpackagekit problem

Jonas Norlander jonorland at gmail.com
Wed Apr 29 15:00:53 UTC 2009


On Wed, Apr 29, 2009 at 4:20 PM, John Pierce <john.j35 at gmail.com> wrote:
> Hello list members!
>
> Each time I try to add or remove programs with kpackagekit I get the
> following errors:
>
> Traceback (most recent call last): File
> "/usr/lib/python2.6/dist-packages/packagekit/daemonBackend.py", line
> 109, in run threading.Thread.run(self) File
> "/usr/lib/python2.6/threading.py", line 477, in run
> self.__target(*self.__args, **self.__kwargs) File
> "/usr/lib/packagekit/aptDBUSBackend.py", line 168, in wrapper
> func(*args, **kwargs) File "/usr/lib/packagekit/aptDBUSBackend.py",
> line 1231, in doInstallPackages if not self._commit_changes(): return
> False File "/usr/lib/packagekit/aptDBUSBackend.py", line 1704, in
> _commit_changes PackageKitInstallProgress(self, install_range)) File
> "/usr/lib/python2.6/dist-packages/apt/cache.py", line 277, in commit
> res = self.installArchives(pm, installProgress) File
> "/usr/lib/python2.6/dist-packages/apt/cache.py", line 252, in
> installArchives res = installProgress.run(pm) File
> "/usr/lib/python2.6/dist-packages/apt/progress.py", line 278, in run
> pid = self.fork() File "/usr/lib/packagekit/aptDBUSBackend.py", line
> 429, in fork (pid, self.master_fd) = pty.fork() File
> "/usr/lib/python2.6/pty.py", line 107, in fork master_fd, slave_fd =
> openpty() File "/usr/lib/python2.6/pty.py", line 29, in openpty
> master_fd, slave_name = _open_terminal() File
> "/usr/lib/python2.6/pty.py", line 70, in _open_terminal raise
> os.error, 'out of pty devices' OSError: out of pty devices
>
> This is an upgraded system from 8.04 to 9.04.
>
> Also, if I use apt-get install it works, but I get an error stating
> that "cannot write log (/dev/pts not mounted" or something like that.
>

Check if /dev/pts is mounted also check dmesg and your logs for
messages with pts or pty.

/ Jonas




More information about the kubuntu-users mailing list