Bug#502764: hildon-update-category-database: piuparts test fails: /usr/bin/hildon-update-category-database: I don't have write permission on /usr/share/mime.

Lucas Nussbaum lucas at lucas-nussbaum.net
Sun Oct 19 14:01:32 UTC 2008


Package: hildon-update-category-database
Version: 1.10.1.debian.1-3
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts-20081019 piuparts

Hi,

During tests using piuparts of all packages in lenny,
I ran into the following problem:

>   Reading package lists...
>   Building dependency tree...
>   Reading state information...
>   The following packages were automatically installed and are no longer required:
>     libgc1c2
>   Use 'apt-get autoremove' to remove them.
>   The following extra packages will be installed:
>     ifupdown libgdbm3 libglib2.0-0 libglib2.0-data libpcre3 libxml2 net-tools
>     netbase perl perl-doc perl-modules sgml-base xml-core
>   Suggested packages:
>     iproute dhcp3-client dhcp-client ppp libterm-readline-gnu-perl
>     libterm-readline-perl-perl man-browser groff sgml-base-doc debhelper
>   The following NEW packages will be installed:
>     hildon-update-category-database ifupdown libgdbm3 libglib2.0-0
>     libglib2.0-data libpcre3 libxml2 net-tools netbase perl perl-doc
>     perl-modules sgml-base xml-core
>   0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded.
>   Need to get 18.8MB of archives.
>   After this operation, 51.0MB of additional disk space will be used.
>   WARNING: The following packages cannot be authenticated!
>     net-tools ifupdown libgdbm3 netbase libpcre3 perl-modules perl libglib2.0-0
>     libxml2 hildon-update-category-database libglib2.0-data perl-doc sgml-base
>     xml-core
>   Authentication warning overridden.
>   Get:1 http://127.0.0.1 lenny/main net-tools 1.60-20 [263kB]
>   Get:2 http://127.0.0.1 lenny/main ifupdown 0.6.8+nmu1 [47.2kB]
>   Get:3 http://127.0.0.1 lenny/main libgdbm3 1.8.3-3 [22.5kB]
>   Get:4 http://127.0.0.1 lenny/main netbase 4.34 [18.5kB]
>   Get:5 http://127.0.0.1 lenny/main libpcre3 7.6-2.1 [211kB]
>   Get:6 http://127.0.0.1 lenny/main perl-modules 5.10.0-15 [3191kB]
>   Get:7 http://127.0.0.1 lenny/main perl 5.10.0-15 [4547kB]
>   Get:8 http://127.0.0.1 lenny/main libglib2.0-0 2.16.6-1 [756kB]
>   Get:9 http://127.0.0.1 lenny/main libxml2 2.6.32.dfsg-4 [814kB]
>   Get:10 http://127.0.0.1 lenny/main hildon-update-category-database 1.10.1.debian.1-3 [16.3kB]
>   Get:11 http://127.0.0.1 lenny/main libglib2.0-data 2.16.6-1 [696kB]
>   Get:12 http://127.0.0.1 lenny/main perl-doc 5.10.0-15 [8221kB]
>   Get:13 http://127.0.0.1 lenny/main sgml-base 1.26 [11.7kB]
>   Get:14 http://127.0.0.1 lenny/main xml-core 0.11 [22.4kB]
>   debconf: delaying package configuration, since apt-utils is not installed
>   Fetched 18.8MB in 0s (27.3MB/s)
>   Can not write log, openpty() failed (/dev/pts not mounted?)
>   Selecting previously deselected package net-tools.
>   (Reading database ... 5779 files and directories currently installed.)
>   Unpacking net-tools (from .../net-tools_1.60-20_i386.deb) ...
>   Selecting previously deselected package ifupdown.
>   Unpacking ifupdown (from .../ifupdown_0.6.8+nmu1_i386.deb) ...
>   Selecting previously deselected package libgdbm3.
>   Unpacking libgdbm3 (from .../libgdbm3_1.8.3-3_i386.deb) ...
>   Selecting previously deselected package netbase.
>   Unpacking netbase (from .../archives/netbase_4.34_all.deb) ...
>   Selecting previously deselected package libpcre3.
>   Unpacking libpcre3 (from .../libpcre3_7.6-2.1_i386.deb) ...
>   Selecting previously deselected package perl-modules.
>   Unpacking perl-modules (from .../perl-modules_5.10.0-15_all.deb) ...
>   Selecting previously deselected package perl.
>   Unpacking perl (from .../perl_5.10.0-15_i386.deb) ...
>   Selecting previously deselected package libglib2.0-0.
>   Unpacking libglib2.0-0 (from .../libglib2.0-0_2.16.6-1_i386.deb) ...
>   Selecting previously deselected package libxml2.
>   Unpacking libxml2 (from .../libxml2_2.6.32.dfsg-4_i386.deb) ...
>   Selecting previously deselected package hildon-update-category-database.
>   Unpacking hildon-update-category-database (from .../hildon-update-category-database_1.10.1.debian.1-3_i386.deb) ...
>   Selecting previously deselected package libglib2.0-data.
>   Unpacking libglib2.0-data (from .../libglib2.0-data_2.16.6-1_all.deb) ...
>   Selecting previously deselected package perl-doc.
>   Unpacking perl-doc (from .../perl-doc_5.10.0-15_all.deb) ...
>   Adding `diversion of /usr/bin/perldoc to /usr/bin/perldoc.stub by perl-doc'
>   Selecting previously deselected package sgml-base.
>   Unpacking sgml-base (from .../sgml-base_1.26_all.deb) ...
>   Selecting previously deselected package xml-core.
>   Unpacking xml-core (from .../archives/xml-core_0.11_all.deb) ...
>   Can not write log, openpty() failed (/dev/pts not mounted?)
>   Setting up net-tools (1.60-20) ...
>   Setting up ifupdown (0.6.8+nmu1) ...
>   ifupdown.postinst: Warning: No 'iface lo' definition found in /etc/network/interfaces
>   ifupdown.postinst: Warning: No 'auto lo' statement found in /etc/network/interfaces
>   Setting up libgdbm3 (1.8.3-3) ...
>   Setting up netbase (4.34) ...
>   Setting up libpcre3 (7.6-2.1) ...
>   Setting up libglib2.0-0 (2.16.6-1) ...
>   Setting up libxml2 (2.6.32.dfsg-4) ...
>   Setting up hildon-update-category-database (1.10.1.debian.1-3) ...
>   /usr/bin/hildon-update-category-database: I don't have write permission on /usr/share/mime.
>   Try rerunning me as root.
>   dpkg: error processing hildon-update-category-database (--configure):
>    subprocess post-installation script returned error exit status 1
>   Setting up libglib2.0-data (2.16.6-1) ...
>   Setting up perl-modules (5.10.0-15) ...
>   Setting up perl (5.10.0-15) ...
>   Setting up perl-doc (5.10.0-15) ...
>   Setting up sgml-base (1.26) ...
>   Setting up xml-core (0.11) ...
>   Errors were encountered while processing:
>    hildon-update-category-database
>   E: Sub-process /usr/bin/dpkg returned an error code (1)

It is reproducible by installing your package in a clean chroot - cleaned
up using:
 debfoster -o MaxPriority=required -o UseRecommends=no -f -n apt debfoster

-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |





More information about the pkg-maemo-maintainers mailing list