[Bug 174314] Re: apt-listchanges crashed with IOError "Too many levels of symbolic links" with libqt4-core

Daniel Hahler launchpad at thequod.de
Mon Jan 9 21:22:00 UTC 2012


I had apport redirect me to this bug report just now.

The test case does not crash for me either anymore (after making sure
that libqt4-core is installed before / at all).

The traceback from this report is:

 Traceback (most recent call last):
   File "/usr/bin/apt-listchanges", line 237, in <module>
     main()
   File "/usr/bin/apt-listchanges", line 142, in main
     (news, changelog) = pkg.extract_changes(config.which, fromversion, config.reverse)
   File "/usr/share/apt-listchanges/DebianFiles.py", line 159, in extract_changes
     changelog  = reduce(find_first, changelog_filenames + changelog_filenames_native, None)
   File "/usr/share/apt-listchanges/DebianFiles.py", line 156, in <lambda>
     find_first = lambda acc, fname: acc or self.read_changelog(os.path.join(tempdir, fname), since_version, reverse)
   File "/usr/share/apt-listchanges/DebianFiles.py", line 217, in read_changelog
     fd = gzip.GzipFile(filename)
   File "/usr/lib/python2.7/gzip.py", line 89, in __init__
     fileobj = self.myfileobj = __builtin__.open(filename, mode or 'rb')
 IOError: [Errno 40] Too many levels of symbolic links: '/tmp/apt-listchangesfKmDOW/usr/share/doc/ntrack-module-libnl-0/changelog.Debian.gz'

I am re-assigning it to apt-listchanges, because it appears to be a more
generic problem.

** Changed in: qt4-x11 (Ubuntu)
       Status: Fix Released => Triaged

** Package changed: qt4-x11 (Ubuntu) => apt-listchanges (Ubuntu)

** Description changed:

  Binary package hint: apt-listchanges
  
  It happened during an 'aptitude dist-upgrade'
  
- TEST CASE:
+ TEST CASE (invalid):
  $ wget http://launchpadlibrarian.net/10756952/libqt4-core_4.3.3-0ubuntu1_amd64.deb
  $ apt-listchanges -a libqt4-core_4.3.3-0ubuntu1_amd64.deb
  
  ProblemType: Crash
  Architecture: amd64
  Date: Thu Dec  6 11:47:46 2007
  DistroRelease: Ubuntu 8.04
  ExecutablePath: /usr/bin/apt-listchanges
  InterpreterPath: /usr/bin/python2.5
  Package: apt-listchanges 2.74ubuntu3
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/apt-listchanges --apt
  ProcCwd: /home/harinath
  ProcEnviron:
-  PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
-  LANG=en_IN.UTF-8
-  SHELL=/bin/bash
+  PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
+  LANG=en_IN.UTF-8
+  SHELL=/bin/bash
  PythonArgs: ['/usr/bin/apt-listchanges', '--apt']
  SourcePackage: apt-listchanges
  Title: apt-listchanges crashed with IOError in __init__()
  Uname: Linux hariville.hurrynot.org 2.6.24-1-generic #1 SMP Thu Nov 29 18:47:10 GMT 2007 x86_64 GNU/Linux
  UserGroups:

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt-listchanges in Ubuntu.
https://bugs.launchpad.net/bugs/174314

Title:
  apt-listchanges crashed with IOError "Too many levels of symbolic
  links" with libqt4-core

Status in “apt-listchanges” package in Ubuntu:
  Triaged

Bug description:
  Binary package hint: apt-listchanges

  It happened during an 'aptitude dist-upgrade'

  TEST CASE (invalid):
  $ wget http://launchpadlibrarian.net/10756952/libqt4-core_4.3.3-0ubuntu1_amd64.deb
  $ apt-listchanges -a libqt4-core_4.3.3-0ubuntu1_amd64.deb

  ProblemType: Crash
  Architecture: amd64
  Date: Thu Dec  6 11:47:46 2007
  DistroRelease: Ubuntu 8.04
  ExecutablePath: /usr/bin/apt-listchanges
  InterpreterPath: /usr/bin/python2.5
  Package: apt-listchanges 2.74ubuntu3
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/apt-listchanges --apt
  ProcCwd: /home/harinath
  ProcEnviron:
   PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
   LANG=en_IN.UTF-8
   SHELL=/bin/bash
  PythonArgs: ['/usr/bin/apt-listchanges', '--apt']
  SourcePackage: apt-listchanges
  Title: apt-listchanges crashed with IOError in __init__()
  Uname: Linux hariville.hurrynot.org 2.6.24-1-generic #1 SMP Thu Nov 29 18:47:10 GMT 2007 x86_64 GNU/Linux
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-listchanges/+bug/174314/+subscriptions




More information about the foundations-bugs mailing list