[Pkg-fonts-devel] Bug#563703: Bug#563703: messages upon upgrade
Christian PERRIER
bubulle at debian.org
Tue Jan 5 06:20:19 UTC 2010
Quoting jidanni at jidanni.org (jidanni at jidanni.org):
> Here on aptitude full-upgrade|sort|uniq -c, we see some problems that
> you might want to be aware of
>
> 4 No CIDSupplement specified for Batang-Regular, defaulting to 0.
> 2 No CIDSupplement specified for BousungEG-Light-GB, defaulting to 0.
> 4 No CIDSupplement specified for Dotum-Regular, defaulting to 0.
> 3 No CIDSupplement specified for GBZenKai-Medium, defaulting to 0.
> 4 No CIDSupplement specified for Gulim-Regular, defaulting to 0.
> 4 No CIDSupplement specified for Headline-Regular, defaulting to 0.
> 1 No CIDSupplement specified for ShanHeiSun-Light, defaulting to 0.
> 4 No CIDSupplement specified for UKaiCN, defaulting to 0.
> 4 No CIDSupplement specified for UMingCN, defaulting to 0.
> 4 No CIDSupplement specified for ZenHei, defaulting to 0.
> 4 No CIDSupplement specified for ZenHei-CNS, defaulting to 0.
I'm not sure that these are problems. Anyone with a wiser advice?
> 1 Obsolete conffile /etc/defoma/hints/ttf-arphic-bkai00mp.hints has been modified by you.
> 1 Obsolete conffile /etc/defoma/hints/ttf-arphic-bsmi00lp.hints has been modified by you.
> 1 Obsolete conffile /etc/defoma/hints/ttf-arphic-gbsn00lp.hints has been modified by you.
> 1 Obsolete conffile /etc/defoma/hints/ttf-arphic-gkai00mp.hints has been modified by you.
I'm seeing these ones on my own system as well. Strange as I installed
the former version of these packages just yesterday....when I was
building the packages for adoption by the pkg-fonts team. So I'm 150%
sure that I never modified these hints files.
In our packages' preinst files, we're using always the same code:
rm_conffile() {
local PKGNAME="$1"
local CONFFILE="$2"
[ -e "$CONFFILE" ] || return 0
local md5sum="$(md5sum $CONFFILE | sed -e 's/ .*//')"
local old_md5sum="$(dpkg-query -W -f='${Conffiles}' $PKGNAME | \
sed -n -e "\' $CONFFILE ' { s/ obsolete$//; s/.* //; p }")"
if [ "$md5sum" != "$old_md5sum" ]; then
echo "Obsolete conffile $CONFFILE has been modified by you."
echo "Saving as $CONFFILE.dpkg-bak ..."
mv -f "$CONFFILE" "$CONFFILE".dpkg-bak
else
echo "Removing obsolete conffile $CONFFILE ..."
rm -f "$CONFFILE"
fi
}
... this code is apparently used by other packages (maintained outside
the pkg-fonts team) as well.
I wonder what's specific in the ttf-arphic-* packages that makes this
fail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-fonts-devel/attachments/20100105/ee3ff1d0/attachment.pgp>
More information about the Pkg-fonts-devel
mailing list