Your message dated Thu, 21 Mar 2013 19:33:41 +0000
with message-id <[email protected]>
and subject line Bug#703141: fixed in scratch 1.4.0.6~dfsg1-4
has caused the Debian Bug report #703141,
regarding scratch: fails to install if gnome-session-common is installed but
hicolor-icon-theme is not
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
703141: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=703141
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: scratch
Version: 1.4.0.6~dfsg1-2
Severity: serious
User: [email protected]
Usertags: piuparts
Control: found -1 1.4.0.6~dfsg1-2
Hi,
during a test with piuparts I noticed your package failed to install. As
per definition of the release team this makes the package too buggy for
a release, thus the severity.
>From the attached log (scroll to the bottom...):
Selecting previously unselected package scratch.
(Reading database ... 8890 files and directories currently installed.)
Unpacking scratch (from .../scratch_1.4.0.6~dfsg1-2_all.deb) ...
Processing triggers for shared-mime-info ...
Setting up scratch (1.4.0.6~dfsg1-2) ...
gtk-update-icon-cache: No theme index file.
dpkg: error processing scratch (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
scratch
Actually I only wanted to look whether I can write a patch for #682933
... I'm sorry, but these are the worst maintainer scripts I've seen so
far. There is exactly one statement I agree with:
debian/postinst
1 #!/bin/sh -e
## should be #!/bin/sh\nset -e
2 DEFAULTS=/etc/gnome/defaults.list
3 if [ -f $DEFAULTS ]; then
4 chmod 666 $DEFAULTS
## WTF ???
5 echo "application/x-scratch-project=scratch.desktop" >> $DEFAULTS
## modifies conffile, violates policy 10.7.3, adds the same line
everytime
6 chmod 644 $DEFAULTS
## WTF ???
7 gtk-update-icon-cache -qf /usr/share/icons/hicolor
## managed by a trigger in hicolor-icon-theme
8 fi
9 update-mime-database /usr/share/mime
## proper code should be generated by dh_installmime
10
11 # for freedeskoptop compatible env's
12 if [ -x update-desktop-database ]; then
## does not work, proper code should be generated by dh_desktop
13 update-desktop-database
## unreachable
14 fi
15 # for KDE
16 if [ -x kbuildsycoca ]; then
## does not work, command not in wheezy, that was for KDE3
17 kbuildsycoca
## unreachable
18 fi
19
20 # dh_installdeb will replace this with shell code automatically
21 # generated by other debhelper scripts.
22
23 #DEBHELPER#
## OK
24
debian/postrm
1 #!/bin/sh -e
## same as above
2 DEFAULTS=/etc/gnome/defaults.list
3 if [ -f $DEFAULTS ]; then
4 cat $DEFAULTS | sed -e
'/application\/x\-scratch\-project\=scratch\.desktop/d' > ./defaults.list ##
insecure tempfile, modifies conffile
5 mv ./defaults.list $DEFAULTS
## cd /tmp; ln -s /etc/passwd defaults.list; dpkg -r scratch
6 gtk-update-icon-cache -qf /usr/share/icons/hicolor
7 fi
8 update-mime-database /usr/share/mime
9
10 # for freedeskoptop compatible env's
11 if [ -x update-desktop-database ]; then
12 update-desktop-database
13 fi
14 # for KDE
15 if [ -x kbuildsycoca ]; then
16 kbuildsycoca
17 fi
18
19 # dh_installdeb will replace this with shell code automatically
20 # generated by other debhelper scripts.
21
22 #DEBHELPER#
## OK
23
Missing restriction to certain ways the script is called:
if [ "$1" = "configure" ]; then ...
if [ "$1" = "remove" ]; then ...
if [ "$1" = "purge" ]; then ...
cheers,
Andreas
scratch-wheezy.log.gz
Description: GNU Zip compressed data
--- End Message ---
--- Begin Message ---
Source: scratch
Source-Version: 1.4.0.6~dfsg1-4
We believe that the bug you reported is fixed in the latest version of
scratch, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Miriam Ruiz <[email protected]> (supplier of updated scratch package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Thu, 21 Mar 2013 09:10:03 +0100
Source: scratch
Binary: scratch
Architecture: source all
Version: 1.4.0.6~dfsg1-4
Distribution: unstable
Urgency: low
Maintainer: Miriam Ruiz <[email protected]>
Changed-By: Miriam Ruiz <[email protected]>
Description:
scratch - easy to use programming environment for ages 8 and up
Closes: 703141
Changes:
scratch (1.4.0.6~dfsg1-4) unstable; urgency=low
.
* Removed dependency from hicolor-icon-theme. Closes: #703141
* Added proper support for MIME
* Removed obsolete postinst/postrm scripts
Checksums-Sha1:
360c9b79e905b2a14076d68c453e7a420f02032b 1264 scratch_1.4.0.6~dfsg1-4.dsc
810cb2a8ca2acfddf2655ffea32a59f2b86f0ee1 11791
scratch_1.4.0.6~dfsg1-4.debian.tar.bz2
57c06a7275418d252f1d35eea001886fa7c80c4b 30823878
scratch_1.4.0.6~dfsg1-4_all.deb
Checksums-Sha256:
c17658e7ab4580f97de36a43b1a2097699a642992dcf84ea11898788ac5a0be7 1264
scratch_1.4.0.6~dfsg1-4.dsc
f2e59bb5f640dfb33a3f170ea2d51865dd95f08726dc43babfbc66ecc5c2e989 11791
scratch_1.4.0.6~dfsg1-4.debian.tar.bz2
d5b855f7fcec3db22e42f21017700379f8684a73769041e5a10d6b4c495b0361 30823878
scratch_1.4.0.6~dfsg1-4_all.deb
Files:
601098bef44274522cfee3302e56270a 1264 education optional
scratch_1.4.0.6~dfsg1-4.dsc
6c52fc2d0d38188461a34f0ed0d744df 11791 education optional
scratch_1.4.0.6~dfsg1-4.debian.tar.bz2
c46905b52a67afb4826eeef9acc2eb99 30823878 education optional
scratch_1.4.0.6~dfsg1-4_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAlFLWmsACgkQfbltLjbuCGEvWACgyWGG+sbqjVkrh1Ho8oL5oTwK
RP0AmwSlsjE5fvqPATj9ak5bMGu1AUOv
=2xyQ
-----END PGP SIGNATURE-----
--- End Message ---