[Bug 727738] Re: dpkg keeps diversions for removed packages

2011-04-17 Thread Launchpad Bug Tracker
This bug was fixed in the package byobu - 3.30-0ubuntu1 --- byobu (3.30-0ubuntu1) natty; urgency=low [ Dustin Kirkland ] * usr/share/applications/byobu.desktop: fix description * usr/bin/byobu-status-detail: make a couple of minor modifications noticed while investigating

[Bug 727738] Re: dpkg keeps diversions for removed packages

2011-04-14 Thread Dustin Kirkland
Okay, I thought I had fixed this correctly before, with the sunsetting of the screen-profiles package. Evidently that was wrong. Can someone clearly explain to me what needs to be done in byobu at this point to fix this? Do I need to resurrect a screen-profiles binary package to force the

[Bug 727738] Re: dpkg keeps diversions for removed packages

2011-04-14 Thread Chaskiel Grundman
Since dpkg-divert takes a package name as an arg, you should not need the other binary package. I don't know what policy/lintian say about dpkg-divert invocations though. First, remove this from the postinst: # The target of the diversion somehow disappeared which will cause # the divert removal

[Bug 727738] Re: dpkg keeps diversions for removed packages

2011-04-14 Thread Steve Langasek
I don't know what policy/lintian say about dpkg-divert invocations though. Policy has no problem; lintian stands no more chance of grokking dpkg- divert invocations than developers do. :P This is how I re-created the situation to test. I don't know if it covers all the possible situations

[Bug 727738] Re: dpkg keeps diversions for removed packages

2011-04-14 Thread Dustin Kirkland
Thank you very much Chaskiel! And you, Steve for the review. I'll try to squeeze this into Natty, as I think this is an important fix for an annoying issue that creeps up from time to time. ** Changed in: byobu (Ubuntu) Status: Triaged = In Progress ** Changed in: byobu (Ubuntu)

[Bug 727738] Re: dpkg keeps diversions for removed packages

2011-04-14 Thread Launchpad Bug Tracker
** Branch linked: lp:byobu -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/727738 Title: dpkg keeps diversions for removed packages -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com

[Bug 727738] Re: dpkg keeps diversions for removed packages

2011-03-28 Thread Chaskiel Grundman
So, it seems that this was caused by an incorrect fix for 390808 in byobu: * debian/postinst, debian/screen-profiles.postinst: ensure that /usr/bin/screen doesn't disappear, which causes the dpkg-divert removal to fail; LP: #390808 But just the opposite is true. dpkg-divert fails *if*

[Bug 727738] Re: dpkg keeps diversions for removed packages

2011-03-02 Thread Steve Langasek
sorry, but dpkg-divert only does what it's told here. This screen- profiles package was responsible for removing /usr/bin/screen on package removal; nothing dpkg can do when a package decides to leave one around. Reassigning to byobu which provided screen-profiles. ** Package changed: dpkg