Not to bikeshed what Omer Ozarslan (ozars) proposed, but instead to
reflect what upstream implemented...

http://repo.or.cz/iotop.git/commit/0392b205b5c3973a326721c2e9f97f0fa2eefa82

http://repo.or.cz/iotop.git/commit/7c51ce0e29bd135c216f18e18f0c4ab769af0d6f

http://repo.or.cz/iotop.git/blobdiff/69107ad1bfa05d240dbeac52f7d377dbb4c29daf..7c51ce0e29bd135c216f18e18f0c4ab769af0d6f:/iotop/data.py

the attached patch applies to the iotop 0.6-1 source package and creates
the iotop 0.6-1u1604+1 source package with the upstream patch(es) in
iotop-0.6/debian/patches/Skip_invalid_lines_in__proc_PID_status_files-
LP1773383.patch.

apt-get source iotop
patch -p1 <iotop_0.6-1u1604+1.patch
apt-get build-dep iotop
# instead of devscripts you can install dpkg-dev and "dpkg-buildpackage -D -us 
-uc"
apt-get install devscripts
cd iotop-0.6
debuild -i -us -uc
cd ..
dpkg -i iotop_0.6-1u1604+1_*.deb


** Patch added: "iotop_0.6-1u1604+1.patch"
   
https://bugs.launchpad.net/ubuntu/+source/iotop/+bug/1773383/+attachment/5146156/+files/iotop_0.6-1u1604+1.patch

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

Title:
  iotop crashes on launch

To manage notifications about this bug go to:
https://bugs.launchpad.net/pkg-website/+bug/1773383/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to