Comment 7 for bug 1103061

Revision history for this message
Michael Mori (mori-mike) wrote : Re: [Bug 1103061] Re: apport-gpu-error-intel.py crashed with SystemError in open()

Hi Bryce,

I must apologise for not acknowledging your emails, so thanks very much. I
have got the latest 12.10 on my machine and all is working very well. I
have Chrome, Skype and Dropbox all working perfectly, but I am very scared
to install the 302 updates that are available, because every time I have
done this over the past few weeks, I encountered the display issues. So
unless you suggest otherwise, I will not install any updates for a few
weeks.

Best wishes

Michael Mori

On 25 April 2013 06:26, Bryce Harrington <email address hidden> wrote:

> ...however as of 3.2.3 the apport hook is no longer being run, so this
> issue should not crop up in practice anymore.
>
> ** Changed in: xdiagnose (Ubuntu Quantal)
> Status: Triaged => Fix Released
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1158213).
> https://bugs.launchpad.net/bugs/1103061
>
> Title:
> apport-gpu-error-intel.py crashed with SystemError in open()
>
> Status in “xdiagnose” package in Ubuntu:
> Fix Released
> Status in “xdiagnose” source package in Quantal:
> Fix Released
>
> Bug description:
> I don't know how this happened.
> It just happened after I logged into Unity desktop environment and
> executed `apt-get update` in gnome-terminal.
>
> Traceback:
> Traceback (most recent call last):
> File "/usr/share/apport/apport-gpu-error-intel.py", line 170, in
> <module>
> sys.exit(main())
> File "/usr/share/apport/apport-gpu-error-intel.py", line 135, in main
> attach_related_packages(report, ["xserver-xorg", "libdrm2",
> "xserver-xorg-video-intel"])
> File "/usr/lib/python2.7/dist-packages/apport/hookutils.py", line
> 646, in attach_related_packages
> report['RelatedPackageVersions'] = package_versions(*packages)
> File "/usr/lib/python2.7/dist-packages/apport/hookutils.py", line
> 658, in package_versions
> matching_packages = packaging.package_name_glob(package_pattern)
> File "/usr/lib/python2.7/dist-packages/apport/packaging_impl.py",
> line 589, in package_name_glob
> return glob.fnmatch.filter(self._cache().keys(), nameglob)
> File "/usr/lib/python2.7/dist-packages/apport/packaging_impl.py",
> line 53, in _cache
> self._apt_cache = apt.Cache(progress, rootdir='/')
> File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 102, in
> __init__
> self.open(progress)
> File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 145, in
> open
> self._cache = apt_pkg.Cache(progress)
> SystemError: E:Problem renaming the file
> /var/cache/apt/pkgcache.bin.V1T9Mp to /var/cache/apt/pkgcache.bin - rename
> (2: No such file or directory), W:You may want to run apt-get update
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/xdiagnose/+bug/1103061/+subscriptions
>

--
Kind regards,

Michael Mori