[Bug 948588] Re: aptdcon crashed with IOError in _get_terminal_width(): [Errno 5] Input/output error

Sebastian Heinlein 948588 at bugs.launchpad.net
Fri Apr 6 05:43:29 UTC 2012


There are some serious issues in your script. I would not recommend to
run aptdcon as a background task and then wait for it? This is a little
bit inconsitent. Why do you redirect the output? If you don't want to
see the terminal output just use the --hide-terminal option.

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

Title:
  aptdcon crashed with IOError in _get_terminal_width(): [Errno 5]
  Input/output error

Status in “aptdaemon” package in Ubuntu:
  Fix Committed

Bug description:
  the following maintainer script crashed aptdaemon:

  # enqueue ppa-purges - requires the aptdaemon version of ppa-purge
  ppa-purge -r ppa:elementary-os/daily &
  ppa-purge -r ppa:elementary-os/testing &
  ppa-purge -r ppa:nemequ/sqlheavy &
  ppa-purge -r ppa:midori/midori-dev &
  ppa-purge -r ppa:ricotz/docky &
  ppa-purge -r ppa:marlin-devs/marlin-daily &
  # make sure we clean up even if something goes terribly wrong, e.g.
  # there's no suitable ppa-purge and we're cleaning up after a failed install
  rm -f /etc/apt/sources.list.d/elementary-daily-channel-elementary-os-daily-precise.list
  rm -f /etc/apt/sources.list.d/elementary-daily-channel-elementary-os-testing-precise.list
  rm -f /etc/apt/sources.list.d/elementary-daily-channel-nemequ-sqlheavy-precise.list
  rm -f /etc/apt/sources.list.d/elementary-daily-channel-midori-midori-dev-precise.list
  rm -f /etc/apt/sources.list.d/elementary-daily-channel-ricotz-docky-precise.list
  rm -f /etc/apt/sources.list.d/elementary-daily-channel-marlin-devs-marlin-daily-precise.list
  rm -rf /var/tmp/elementary-daily-release-channel

  the part with rm's is actually very silly, reverted it already. I'm
  using a custom aptdaemon-based version of ppa-purge which can be found
  at lp:~shnatsel/ppa-purge/ppa-purge-aptdaemon

  ProblemType: Crash
  DistroRelease: Ubuntu 12.04
  Package: aptdaemon 0.43+bzr769-0ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-18.28-generic 3.2.9
  Uname: Linux 3.2.0-18-generic x86_64
  ApportVersion: 1.94-0ubuntu2
  Architecture: amd64
  CrashCounter: 1
  Date: Wed Mar  7 04:15:25 2012
  DesktopFile: /usr/share/aptdaemon/aptdaemon.desktop
  ExecutablePath: /usr/bin/aptdcon
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120303)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/aptdcon --refresh
  ProcEnviron:
   SHELL=/bin/bash
   TERM=xterm
   PATH=(custom, no user)
   LANG=ru_RU.UTF-8
  PythonArgs: ['/usr/bin/aptdcon', '--refresh']
  SourcePackage: aptdaemon
  Title: aptdcon crashed with IOError in _get_terminal_width(): [Errno 5] Input/output error
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aptdaemon/+bug/948588/+subscriptions




More information about the foundations-bugs mailing list