[DRE-maint] Bug#455122: libqt4-ruby1.8 -- Doesn't purge all files after piuparts Install+Upgrade+Purge test

Kumar Appaiah akumar at ee.iitm.ac.in
Tue Dec 11 01:56:29 UTC 2007


On Tue, Dec 11, 2007 at 12:36:13AM +0100, Vincent Fourmond wrote:
>   I'm somehow puzzled, because I've just tried to do this on a sid
> chroot (installing the etch version then the sid version, then purging),
> and I find nothing in /var/lib/dpkg/diversions, nor any trace of a
> /usr/bin/rbqtapi left.

Let me go through the steps once...

[(sid)kumar at debian ~] sudo apt-get install libqt4-ruby1.8/stable
Reading package lists... Done
Building dependency tree
Reading state information... Done
Selected version 1.4.6-2 (Debian:4.0r1/stable) for libqt4-ruby1.8
The following extra packages will be installed:
  libaudio2 libdbus-1-3 liblcms1 libmng1 libmysqlclient15off libpq5
  libqt4-core libqt4-gui libqt4-ruby1.8 libqt4-sql
  libruby1.8 libsmokeqt4-1 libsqlite0 libsqlite3-0 mysql-common ruby
  ruby1.8
Suggested packages:
  nas liblcms-utils libqt4-dev ruby1.8-examples rdoc1.8 ri1.8
Recommended packages:
  dbus qt4-qtconfig
The following NEW packages will be installed:
  libaudio2 libdbus-1-3 liblcms1 libmng1 libmysqlclient15off libpq5
  libqt4-core libqt4-gui libqt4-ruby1.8 libqt4-sql
  libruby1.8 libsmokeqt4-1 libsqlite0 libsqlite3-0 mysql-common ruby
  ruby1.8
0 upgraded, 17 newly installed, 0 to remove and 125 not upgraded.
Need to get 0B/14.0MB of archives.
After unpacking 37.6MB of additional disk space will be used.
Do you want to continue [Y/n]?
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously deselected package libaudio2.
(Reading database ... 25477 files and directories currently
installed.)
Unpacking libaudio2 (from .../libaudio2_1.9.1-1_i386.deb) ...
Selecting previously deselected package libdbus-1-3.
Unpacking libdbus-1-3 (from .../libdbus-1-3_1.1.2-1_i386.deb) ...
Selecting previously deselected package liblcms1.
Unpacking liblcms1 (from .../liblcms1_1.16-7_i386.deb) ...
Selecting previously deselected package libmng1.
Unpacking libmng1 (from .../libmng1_1.0.9-1_i386.deb) ...
Selecting previously deselected package mysql-common.
Unpacking mysql-common (from .../mysql-common_5.0.45-4_all.deb) ...
Selecting previously deselected package libmysqlclient15off.
Unpacking libmysqlclient15off (from
.../libmysqlclient15off_5.0.45-4_i386.deb) ...
Selecting previously deselected package libpq5.
Unpacking libpq5 (from .../libpq5_8.2.5-4_i386.deb) ...
Selecting previously deselected package libqt4-core.
Unpacking libqt4-core (from .../libqt4-core_4.3.3-1_i386.deb) ...
Selecting previously deselected package libqt4-gui.
Unpacking libqt4-gui (from .../libqt4-gui_4.3.3-1_i386.deb) ...
Selecting previously deselected package libsqlite0.
Unpacking libsqlite0 (from .../libsqlite0_2.8.17-4_i386.deb) ...
Selecting previously deselected package libsqlite3-0.
Unpacking libsqlite3-0 (from .../libsqlite3-0_3.4.2-2_i386.deb) ...
Selecting previously deselected package libqt4-sql.
Unpacking libqt4-sql (from .../libqt4-sql_4.3.3-1_i386.deb) ...
Selecting previously deselected package libsmokeqt4-1.
Unpacking libsmokeqt4-1 (from .../libsmokeqt4-1_1.4.9-6_i386.deb) ...
Selecting previously deselected package libruby1.8.
Unpacking libruby1.8 (from .../libruby1.8_1.8.6.111-2_i386.deb) ...
Selecting previously deselected package ruby1.8.
Unpacking ruby1.8 (from .../ruby1.8_1.8.6.111-2_i386.deb) ...
Selecting previously deselected package ruby.
Unpacking ruby (from .../archives/ruby_1.8.2-1_all.deb) ...
Selecting previously deselected package libqt4-ruby1.8.
Unpacking libqt4-ruby1.8 (from .../libqt4-ruby1.8_1.4.6-2_i386.deb)
...
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up libaudio2 (1.9.1-1) ...
Setting up libdbus-1-3 (1.1.2-1) ...
Setting up liblcms1 (1.16-7) ...
Setting up libmng1 (1.0.9-1) ...
Setting up mysql-common (5.0.45-4) ...
Setting up libmysqlclient15off (5.0.45-4) ...
Setting up libpq5 (8.2.5-4) ...
Setting up libqt4-core (4.3.3-1) ...
Setting up libqt4-gui (4.3.3-1) ...
Setting up libsqlite0 (2.8.17-4) ...
Setting up libsqlite3-0 (3.4.2-2) ...
Setting up libqt4-sql (4.3.3-1) ...
Setting up libsmokeqt4-1 (1.4.9-6) ...
Setting up libruby1.8 (1.8.6.111-2) ...
Setting up ruby1.8 (1.8.6.111-2) ...
Setting up ruby (1.8.2-1) ...
Setting up libqt4-ruby1.8 (1.4.6-2) ...

[(sid)kumar at debian ~] sudo apt-get install libqt4-ruby1.8
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  qt4-doc
The following packages will be upgraded:
  libqt4-ruby1.8
1 upgraded, 0 newly installed, 0 to remove and 125 not upgraded.
Need to get 0B/391kB of archives.
After unpacking 741kB of additional disk space will be used.
Can not write log, openpty() failed (/dev/pts not mounted?)
(Reading database ... 26285 files and directories currently installed.)
Preparing to replace libqt4-ruby1.8 1.4.6-2 (using .../libqt4-ruby1.8_1.4.9-6_i386.deb) ...
Adding `diversion of /usr/bin/rbqtapi to /usr/bin/rbqtapi.qt3 by libqt4-ruby1.8'
Adding `diversion of /usr/share/man/man1/rbqtapi.1.gz to /usr/share/man/man1/rbqtapi.qt3.1.gz by libqt4-ruby1.8'
Unpacking replacement libqt4-ruby1.8 ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up libqt4-ruby1.8 (1.4.9-6) ...

[(sid)kumar at debian ~] sudo apt-get --purge remove libqt4-ruby1.8
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  liblcms1 libdbus-1-3 libqt4-core libsqlite0 mysql-common libsqlite3-0 libmysqlclient15off ruby1.8 ruby libqt4-gui
  libqt4-sql libpq5 libruby1.8 libsmokeqt4-1 libaudio2 libmng1
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  libqt4-ruby1.8*
0 upgraded, 0 newly installed, 1 to remove and 125 not upgraded.
Need to get 0B of archives.
After unpacking 1163kB disk space will be freed.
Do you want to continue [Y/n]?
Can not write log, openpty() failed (/dev/pts not mounted?)
(Reading database ... 26292 files and directories currently installed.)
Removing libqt4-ruby1.8 ...
Removing `diversion of /usr/bin/rbqtapi to /usr/bin/rbqtapi.qt3 by libqt4-ruby1.8'
Removing `diversion of /usr/share/man/man1/rbqtapi.1.gz to /usr/share/man/man1/rbqtapi.qt3.1.gz by libqt4-ruby1.8'
Purging configuration files for libqt4-ruby1.8 ...
No diversion `diversion of /usr/bin/rbqtapi to /usr/bin/rbqtapi.qt3 by libqt4-ruby1.8', none removed
No diversion `diversion of /usr/share/man/man1/rbqtapi.1.gz to /usr/share/man/man1/rbqtapi.qt3.1.gz by libqt4-ruby1.8', none removed

And sure enough, the file /usr/bin/rbqtapi still exists.

> 7m15.1s DUMP:
>   (Reading database ... 8289 files and directories currently installed.)
>   Removing libqt4-ruby1.8 ...
>   Removing `diversion of /usr/bin/rbqtapi to /usr/bin/rbqtapi.qt3 by
> libqt4-ruby1.8'
>   Removing `diversion of /usr/share/man/man1/rbqtapi.1.gz to
> /usr/share/man/man1/rbqtapi.qt3.1.gz by libqt4-ruby1.8'
> 9m18.2s DUMP:
>   (Reading database ... 5080 files and directories currently installed.)
>   Removing libqt4-ruby1.8 ...
>   Purging configuration files for libqt4-ruby1.8 ...
>   No diversion `diversion of /usr/bin/rbqtapi to /usr/bin/rbqtapi.qt3 by
> libqt4-ruby1.8', none removed
>   No diversion `diversion of /usr/share/man/man1/rbqtapi.1.gz to
> /usr/share/man/man1/rbqtapi.qt3.1.gz by libqt4-ruby1.8', none removed
> 
>   Together, they seem to indicate that the diversions were removed.
> Could it be a false positive ? If not, do you have any idea of what is
> causing the problem ?

I am sorry, I am also unable to figure out where the problem lies. But
I whink we should eliminate all other possible failure cases before
putting the blame on piuparts! ;-)

Thanks.

Kumar
-- 
Kumar Appaiah,
458, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20071211/340c383c/attachment-0001.pgp 


More information about the Pkg-ruby-extras-maintainers mailing list