[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#616060: marked as done (/usr/sbin/dpkg-reconfigure: should use dpkg-query --control-path to find path for templates/config files)



Your message dated Fri, 22 Apr 2011 21:02:28 +0000
with message-id <E1QDNUi-00067Y-Eq@franck.debian.org>
and subject line Bug#616060: fixed in cdebconf 0.155
has caused the Debian Bug report #616060,
regarding /usr/sbin/dpkg-reconfigure: should use dpkg-query --control-path to find path for templates/config files
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 owner@bugs.debian.org
immediately.)


-- 
616060: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=616060
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: cdebconf
Version: 0.154
Severity: important
File: /usr/sbin/dpkg-reconfigure
User: debian-dpkg@lists.debian.org
Usertags: multiarch

dpkg's internal database will evolve with multiarch and you should not
have to hardcode this knowledge in your program. Instead of accessing
/var/lib/dpkg/info/foo.{templates,config} you should use
dpkg-query --control-path to find out the path to those files.

$ dpkg-query --control-path debconf
/var/lib/dpkg/info/debconf.templates
/var/lib/dpkg/info/debconf.md5sums
/var/lib/dpkg/info/debconf.prerm
/var/lib/dpkg/info/debconf.config
/var/lib/dpkg/info/debconf.preinst
/var/lib/dpkg/info/debconf.postinst
$ dpkg-query --control-path debconf templates
/var/lib/dpkg/info/debconf.templates
$ dpkg-query --control-path debconf config
/var/lib/dpkg/info/debconf.config

If the file doesn't exist, it will return nothing.

You must also be aware that users might ask "dpkg-reconfigure foo:i386" to
explain what version of the package they are referring to.

$ dpkg-query --control-path debconf:i386 templates
/var/lib/dpkg/info/debconf.templates

Cheers,
Raphaël.




--- End Message ---
--- Begin Message ---
Source: cdebconf
Source-Version: 0.155

We believe that the bug you reported is fixed in the latest version of
cdebconf, which is due to be installed in the Debian FTP archive:

cdebconf-gtk-udeb_0.155_i386.udeb
  to main/c/cdebconf/cdebconf-gtk-udeb_0.155_i386.udeb
cdebconf-gtk_0.155_i386.deb
  to main/c/cdebconf/cdebconf-gtk_0.155_i386.deb
cdebconf-newt-udeb_0.155_i386.udeb
  to main/c/cdebconf/cdebconf-newt-udeb_0.155_i386.udeb
cdebconf-priority_0.155_all.udeb
  to main/c/cdebconf/cdebconf-priority_0.155_all.udeb
cdebconf-text-udeb_0.155_i386.udeb
  to main/c/cdebconf/cdebconf-text-udeb_0.155_i386.udeb
cdebconf-udeb_0.155_i386.udeb
  to main/c/cdebconf/cdebconf-udeb_0.155_i386.udeb
cdebconf_0.155.dsc
  to main/c/cdebconf/cdebconf_0.155.dsc
cdebconf_0.155.tar.gz
  to main/c/cdebconf/cdebconf_0.155.tar.gz
cdebconf_0.155_i386.deb
  to main/c/cdebconf/cdebconf_0.155_i386.deb
libdebconfclient0-dev_0.155_i386.deb
  to main/c/cdebconf/libdebconfclient0-dev_0.155_i386.deb
libdebconfclient0-udeb_0.155_i386.udeb
  to main/c/cdebconf/libdebconfclient0-udeb_0.155_i386.udeb
libdebconfclient0_0.155_i386.deb
  to main/c/cdebconf/libdebconfclient0_0.155_i386.deb



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 616060@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christian Perrier <bubulle@debian.org> (supplier of updated cdebconf 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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Fri, 22 Apr 2011 22:33:35 +0200
Source: cdebconf
Binary: cdebconf cdebconf-gtk libdebconfclient0 libdebconfclient0-dev cdebconf-udeb cdebconf-priority libdebconfclient0-udeb cdebconf-text-udeb cdebconf-slang-udeb cdebconf-newt-udeb cdebconf-gtk-udeb
Architecture: source all i386
Version: 0.155
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Christian Perrier <bubulle@debian.org>
Description: 
 cdebconf   - Debian Configuration Management System (C-implementation)
 cdebconf-gtk - Gtk+ frontend for Debian Configuration Management System
 cdebconf-gtk-udeb - Gtk+ frontend for Debian Configuration Management System (udeb)
 cdebconf-newt-udeb - Newt frontend for Debian Configuration Management System (udeb)
 cdebconf-priority - Change debconf priority (udeb)
 cdebconf-slang-udeb - S-Lang frontend for Debian Configuration Management System (udeb)
 cdebconf-text-udeb - Plain text frontend for Debian Configuration Management System (udeb)
 cdebconf-udeb - Debian Configuration Management System (C-implementation) (udeb)
 libdebconfclient0 - Debian Configuration Management System (C-implementation)
 libdebconfclient0-dev - Development files for cdebconf
 libdebconfclient0-udeb - Debian Configuration Management System (C-implementation) (udeb)
Closes: 616060
Changes: 
 cdebconf (0.155) unstable; urgency=low
 .
   [ Colin Watson ]
   * Appease compiler warnings in align_text_renderer_render.  (In practice
     x_offset and y_offset are never uninitialised here, but knowing that
     requires knowing that cell_area can never be NULL.)
   * Make some more variables and functions static (in programs - no library
     ABI changes).
   * Use 'dpkg-query --control-path' in dpkg-reconfigure rather than
     hardcoding /var/lib/dpkg/info (closes: #616060).
   * Use getline rather than a fixed-length buffer in dpkg-reconfigure
     getfield.
 .
   [ Updated translations ]
   * Bulgarian (bg.po) by Damyan Ivanov
   * Czech (cs.po) by Miroslav Kure
   * Esperanto (eo.po) by Felipe Castro
   * Korean (ko.po) by Changwoo Ryu
   * Romanian (ro.po) by Eddy Petrișor
   * Slovak (sk.po) by Ivan Masár
   * Swedish (sv.po) by Daniel Nylander
   * Uighur (ug.po) by Sahran
Checksums-Sha1: 
 548ba0898ced09ccdf60cff2e2c83cbf9f1a9a4b 2033 cdebconf_0.155.dsc
 a54bece834d5ac914583e838191b1e7c5dc4586f 345004 cdebconf_0.155.tar.gz
 c872d56d2651cabc1eb7c23273e46637eefe6643 3064 cdebconf-priority_0.155_all.udeb
 bdf29acb98833eb6a77394073957706529959a98 148542 cdebconf_0.155_i386.deb
 998e1ff2b138697f1b16289b6e553e6361851f89 68032 cdebconf-gtk_0.155_i386.deb
 38c332f9dae80c5972b998049362253d5a6f1dcb 41334 libdebconfclient0_0.155_i386.deb
 7bb80b4e2c4372a8f7873965eeb953e99692941a 46592 libdebconfclient0-dev_0.155_i386.deb
 6758feb1bd7dc987d1c951fb461eeeddcb8b2ea9 79896 cdebconf-udeb_0.155_i386.udeb
 b8ea0e5db17742d285b5b3a33cc2ad05209a56bb 3038 libdebconfclient0-udeb_0.155_i386.udeb
 2d5a4cfead1ac7dfec856d17f80ed0d6c74ce4df 21044 cdebconf-text-udeb_0.155_i386.udeb
 76ef161daeb0d50e56c3ec8a2ab4f44671ac984e 19592 cdebconf-newt-udeb_0.155_i386.udeb
 a719dfb9ffd987aacbb189e4c349e3794902960a 30572 cdebconf-gtk-udeb_0.155_i386.udeb
Checksums-Sha256: 
 2b28b9d8f0ce9e0632b1fa55deb6313b8d75699232297e0cf170c474a5ab3b82 2033 cdebconf_0.155.dsc
 a5d9818f37aea0e78d2281af87852b605d0bad72e28b21ca02c7859f564e7684 345004 cdebconf_0.155.tar.gz
 b67dd9775a3c613375640c4a3dba823702dd3b0258e3ad742d75bd2c65262ae2 3064 cdebconf-priority_0.155_all.udeb
 25b3f2eaca59996f666c0bfd66fb26981f79d685f2b5aedcd201864e638a774e 148542 cdebconf_0.155_i386.deb
 f29b2ff6352161ebd032a28700a61c8e5d6bf9f0619ee106b6901669b7a58eb7 68032 cdebconf-gtk_0.155_i386.deb
 4d80da7452b992282853da44f53f4f870d39a01101c18ae67d7d56468e7aba9b 41334 libdebconfclient0_0.155_i386.deb
 e3adcf5bf2e054e8cae80c19958a2f064bd4cadd3ca5cbc6c9d546421837ae96 46592 libdebconfclient0-dev_0.155_i386.deb
 c8cf85d6514bc84b78214ff90171df40c3c51af4d384998cb99cfaabe5e97ad1 79896 cdebconf-udeb_0.155_i386.udeb
 720ea4bd8ddfd98521f49651b1c7b663cce54d7da1b11b4b1cf73cf36a729c5f 3038 libdebconfclient0-udeb_0.155_i386.udeb
 4da8b7cfc5320242d24fc4b2b79ebd0877d6ebc6ed3781e1af4732ca7866c9d1 21044 cdebconf-text-udeb_0.155_i386.udeb
 20a7fd6749aa97596a2f6852140a318f4fb038c3a47d48ae19e5cde69259b4cc 19592 cdebconf-newt-udeb_0.155_i386.udeb
 12c6394ea1b83c716ff933006051fbacb231ce573b87f3816c47e6f0030b261a 30572 cdebconf-gtk-udeb_0.155_i386.udeb
Files: 
 013b125c6f253725fee4a2de5c8df610 2033 utils optional cdebconf_0.155.dsc
 ecc79ad2b57f5b949166a043660fc7bb 345004 utils optional cdebconf_0.155.tar.gz
 90d575cea5a65a6b07d75af0cf8cc159 3064 debian-installer standard cdebconf-priority_0.155_all.udeb
 2121d55dca20bcc2693312d67ec127f2 148542 utils extra cdebconf_0.155_i386.deb
 bba9a0fd2a8923501a84d3c619b00fee 68032 admin optional cdebconf-gtk_0.155_i386.deb
 9cba22ae0b8ad02a3068283363f4dbf2 41334 libs optional libdebconfclient0_0.155_i386.deb
 eb3b330d105c8740a2387774e9a4b8cb 46592 libdevel optional libdebconfclient0-dev_0.155_i386.deb
 fb59ff1d63d16ae171ea303935de5b43 79896 debian-installer standard cdebconf-udeb_0.155_i386.udeb
 8a1c0d0dd57c697c8f258c7dc365f2d5 3038 debian-installer optional libdebconfclient0-udeb_0.155_i386.udeb
 1088b4d79f47515ff9ed1f1b66dc4028 21044 debian-installer optional cdebconf-text-udeb_0.155_i386.udeb
 e06fa263acd5338c39bbdfa390773806 19592 debian-installer optional cdebconf-newt-udeb_0.155_i386.udeb
 5bd9420e2573927dc2cd541b275e76e3 30572 debian-installer optional cdebconf-gtk-udeb_0.155_i386.udeb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIVAwUBTbHnWIcvcCxNbiWoAQKifBAAll7guCayOcKwNV4a+izAMkwAjJdKjk+P
rWU9JzLa+Q71sk8LBpPTh9g18s8QfstfyXDsh2VHD2FfsqadaSqOQwy5S/d0fxOI
LidrICBlsQMDfv9omVK2hdI6Y3mOKQUIZrXCPRVFbqBfGSONEvh+AhBGLxCnIBJT
u0WJnmX3elxbSPRZz5TB+R+y+N2eli6kYiBOSHp79UBgwP0T7ecnLy9IL5xw3MX5
sPDinKFgeSDH6Y672TjFXvvCsnwDVbRzdW/7xhVuvMXO3jukFC76GcxXCStTGUa/
i+ngWXk2IbsHpJ2LzFCApTn3wbytrNNTplJEtkphtWt4GQaJzF4oqjtu3Oa9FXF8
6jrorUxl6cuLU6Kl9XLdlswUJLUzhtGrA5D6/YBWm5BpQfHT11+15A++HEGsoQdT
zkr+jAAW12Gp9dJ68QIbEnYwQyL2ncTbsXZg0J/bnRZghAfJzsFFBolbPTCw7VzK
bwm5GYUg5bc1oZPD8K8OZ0lJj6DqSAlxouIQyJGTU+YGhhPrPF2ZLlfrMBfrymEP
YXJs+0Vvp2H2wrdOqduoR3Ri/nhvFHAE3mWRV6mkPw2LO10aaWrV1WhuJOEX4Gg+
+AIbxC5rINaOViS3hontIIUt9TmGbynD2sxOW1v9oAE5N0s201IcdTehK14E3Oga
HXziwsmFdKQ=
=p2pE
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: