aptdcon crashed with IOError in _get_terminal_width(): [Errno 5] Input/output error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
aptdaemon (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
the following maintainer script crashed aptdaemon:
# enqueue ppa-purges - requires the aptdaemon version of ppa-purge
ppa-purge -r ppa:elementary-
ppa-purge -r ppa:elementary-
ppa-purge -r ppa:nemequ/sqlheavy &
ppa-purge -r ppa:midori/
ppa-purge -r ppa:ricotz/docky &
ppa-purge -r ppa:marlin-
# 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/
rm -f /etc/apt/
rm -f /etc/apt/
rm -f /etc/apt/
rm -f /etc/apt/
rm -f /etc/apt/
rm -rf /var/tmp/
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-
ProcVersionSign
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/
ExecutablePath: /usr/bin/aptdcon
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120303)
InterpreterPath: /usr/bin/python2.7
PackageArchitec
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/
SourcePackage: aptdaemon
Title: aptdcon crashed with IOError in _get_terminal_
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
tags: | removed: need-duplicate-check |
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.