Bug#577062: junior-toys: missing /etc/blends/blends.conf breaks dist-upgrade
Hi Steve, On Mon, Nov 08, 2010 at 12:30:01PM -0800, Steve Langasek wrote: > severity 577062 serious > thanks Thanks for the tagging I was about to do so (should have done earlier) and to merge it with #601959 (which is actually the very same problem just filed against science-* but junior packages are mentioned as well. I was hesitating a bit whether a merge would be apropriate or whether I should rather open a third bug against debian-med packages as well in separate. Finally the problem has to be fixed in blends-dev if not solved by pre-depends (see below). > As for the proposed change, I disagree that this is the right way to fix it. > This is not a correct use of pre-depends; nothing in this sequence has a > logical pre-depends relationship, the problem is entirely due to a buggy > postrm script in the old version of the package. The correct way to fix > this is by adding a postrm script to the *new* version of the individual > packages, that handles the cleanup on upgrade. This postrm script should > check for $1 = failed-upgrade and include an appropriate version check on > $2, and be a no-op otherwise. OK. This needs to be done in blends-dev which was used to build the source package. > (The proposed patch also includes a change to debian-junior-tasks.desc which > is not documented in the changelog; please don't include undocumented > changes in packages that you're requesting a freeze exception for.) The debian-junior source package is auto-generated by blends-dev which does a check in the target distribution whether a package is available or not. The files which are affected are on one hand debian/control which puts not available packages to Suggests instead of Recommends on the other hand it creates a tasksel conftol file (debian-junior-tasks.desc) which mentions all packages available in the target distribution. Thus these changes are automatically generated and the only reasonable way to mention this in the changelog would be to create an automated changelog entry. I do not think that following this strategy for Squeeze is a good thing to do because I'm afraid the "new feature" might have unwanted side effects but I'd definitely put it on my todo list for Squeeze+1. Kind regards Andreas. -- http://fam-tille.de -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#577062: junior-toys: missing /etc/blends/blends.conf breaks dist-upgrade
severity 577062 serious thanks Why are you proposing to upload this to testing-proposed-updates? The package is at the same version in testing and unstable - this looks like an update that should go via unstable only. As for the proposed change, I disagree that this is the right way to fix it. This is not a correct use of pre-depends; nothing in this sequence has a logical pre-depends relationship, the problem is entirely due to a buggy postrm script in the old version of the package. The correct way to fix this is by adding a postrm script to the *new* version of the individual packages, that handles the cleanup on upgrade. This postrm script should check for $1 = failed-upgrade and include an appropriate version check on $2, and be a no-op otherwise. (The proposed patch also includes a change to debian-junior-tasks.desc which is not documented in the changelog; please don't include undocumented changes in packages that you're requesting a freeze exception for.) Anyway, since this renders the packages un-upgradeable in many (all?) cases, I'm marking this bug severity: serious for the release. Thanks, -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developerhttp://www.debian.org/ slanga...@ubuntu.com vor...@debian.org signature.asc Description: Digital signature
Bug#577062: junior-toys: missing /etc/blends/blends.conf breaks dist-upgrade
On Fri, Apr 09, 2010 at 07:58:07PM +1000, Russell Coker wrote: > Package: junior-toys > Version: 1.19 > Severity: normal > > I am running "apt-get dist-upgrade" as part of the process of upgrading a > system from Lenny to testing. Upgrading junior-toys fails in the following > manner: > > Unpacking replacement junior-toys ... > File /etc/blends/blends.conf is missing. Please check installation of > package blends-common. This message is issued by postinst of junior-config which in turn depends from blends-common (>= 0.6.12) which is shippinig the file /etc/blends/blends.conf Could you please verify why this file is missing even if it should be installed by the dependency chain? > dpkg: warning: old post-removal script returned error exit status 13 > dpkg - trying script from the new package instead ... > dpkg: error processing /var/cache/apt/archives/junior-toys_1.19_all.deb > (--unpack): > there is no script in the new version of the package - giving up > Errors were encountered while processing: > /var/cache/apt/archives/junior-toys_1.19_all.deb I currently do not have access to a stable system but I verified the upgrade process before the last upgrade. If you can not find a problem in the installation of blends-common and junior-config I would like you to have some patiences (about one week) until I'm back home. Kind regards and thanks for your bug report Andreas. -- http://fam-tille.de -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#577062: junior-toys: missing /etc/blends/blends.conf breaks dist-upgrade
Package: junior-toys Version: 1.19 Severity: normal I am running "apt-get dist-upgrade" as part of the process of upgrading a system from Lenny to testing. Upgrading junior-toys fails in the following manner: Unpacking replacement junior-toys ... File /etc/blends/blends.conf is missing. Please check installation of package blends-common. dpkg: warning: old post-removal script returned error exit status 13 dpkg - trying script from the new package instead ... dpkg: error processing /var/cache/apt/archives/junior-toys_1.19_all.deb (--unpack): there is no script in the new version of the package - giving up Errors were encountered while processing: /var/cache/apt/archives/junior-toys_1.19_all.deb -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (350, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-3-amd64 (SMP w/2 CPU cores) Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org