Jaunty python upgrade prevents pygtk apps from working
Posted Mar 27, 2009 22:57 UTC (Fri) by sbdep (subscriber, #13282)
[Link]
hmm, that's actually a neat trick.
Usually dpkg -l will try to limit it's output based on the COLUMNS env variable. As a result, dpkg cuts off part of the package name, the version, and the description.
This ensures that dpkg does not look at the COLUMNS variable (since it is writing to a pipe instead) and this you get the full data from the dpkg -l command.
Jaunty python upgrade prevents pygtk apps from working
Posted Mar 28, 2009 14:43 UTC (Sat) by james_w (subscriber, #51167)
[Link]
As sbdep pointed out dpkg trims its output by default. mdz spotted that the way dpkg does that makes the two version numbers indistinguishable on an 80 column terminal, so I added the "| cat" to make sure that everybody saw the full version number.
Jaunty python upgrade prevents pygtk apps from working
Posted Mar 29, 2009 0:48 UTC (Sun) by khc (subscriber, #45209)
[Link]
ah, thanks!
Jaunty python upgrade prevents pygtk apps from working
Posted Apr 8, 2009 11:25 UTC (Wed) by fjorba (subscriber, #6175)
[Link]
Neat. The trick I knew so far was:
$ COLUMNS=132 dpkg -l python2.6
132 columns being a magic number that we, the elder, know as the width of a wide, continuous paper dot-matrix printer.