Package: libuuid1
Version: 2.27.1-1
Severity: serious

Hi,

libuuid1 fails to upgrade cleanly in sid under certain circumstances:

| (sid-amd64-sbuild)root@burlewii:~# apt-cache policy libuuid1
| libuuid1:
|   Installed: 2.27-3
|   Candidate: 2.27-3
|   Version table:
|  *** 2.27-3 0
|         100 /var/lib/dpkg/status
| (sid-amd64-sbuild)root@burlewii:~# apt-get update
| Get:1 http://debian.osuosl.org sid InRelease [256 kB]
| Get:2 http://debian.osuosl.org sid/main Sources [8264 kB]
| Get:3 http://debian.osuosl.org sid/main amd64 Packages [7762 kB]
| Fetched 16.3 MB in 17s (938 kB/s)
| Reading package lists... Done
| (sid-amd64-sbuild)root@burlewii:~# getent passwd | grep uui
| libuuid:x:100:101::/var/lib/libuuid:/bin/sh
| (sid-amd64-sbuild)root@burlewii:~# getent group | grep uui
| libuuid:x:101:
| (sid-amd64-sbuild)root@burlewii:~# apt-cache policy libuuid1
| libuuid1:
|   Installed: 2.27-3
|   Candidate: 2.27.1-1
|   Version table:
|      2.27.1-1 0
|         500 http://debian.osuosl.org/debian/ sid/main amd64 Packages
|  *** 2.27-3 0
|         100 /var/lib/dpkg/status
| (sid-amd64-sbuild)root@burlewii:~# apt-get install libuuid1
| Reading package lists... Done
| Building dependency tree
| Reading state information... Done
| Recommended packages:
|   uuid-runtime
| The following packages will be upgraded:
|   libuuid1
| 1 upgraded, 0 newly installed, 0 to remove and 15 not upgraded.
| Need to get 67.2 kB of archives.
| After this operation, 0 B of additional disk space will be used.
| Get:1 http://debian.osuosl.org/debian/ sid/main libuuid1 amd64 2.27.1-1 [67.2 
kB]
| Fetched 67.2 kB in 0s (240 kB/s)
| debconf: delaying package configuration, since apt-utils is not installed
| (Reading database ... 12350 files and directories currently installed.)
| Preparing to unpack .../libuuid1_2.27.1-1_amd64.deb ...
| Unpacking libuuid1:amd64 (2.27.1-1) over (2.27-3) ...
| Processing triggers for libc-bin (2.19-22) ...
| Setting up libuuid1:amd64 (2.27.1-1) ...
| dpkg: error processing package libuuid1:amd64 (--configure):
|  subprocess installed post-installation script returned error exit status 1
| Processing triggers for libc-bin (2.19-22) ...
| Errors were encountered while processing:
|  libuuid1:amd64
| E: Sub-process /usr/bin/dpkg returned an error code (1)
| (sid-amd64-sbuild)root@burlewii:~# 
| 
| 
| (sid-amd64-sbuild)root@burlewii:~# getent passwd | grep uuidd
| uuidd:x:100:101::/run/uuidd:/bin/false
| (sid-amd64-sbuild)root@burlewii:~# getent group | grep uuidd
| uuidd:x:101:
| (sid-amd64-sbuild)root@burlewii:~# dpkg --configure -a
| Setting up libuuid1:amd64 (2.27.1-1) ...
| Processing triggers for libc-bin (2.19-22) ...
| (sid-amd64-sbuild)root@burlewii:~# 

[clean chroot again]

| (sid-amd64-sbuild)root@burlewii:~# dpkg --unpack 
/var/cache/apt/archives/libuuid1_2.27.1-1_amd64.deb 
| (Reading database ... 12350 files and directories currently installed.)
| Preparing to unpack .../libuuid1_2.27.1-1_amd64.deb ...
| Unpacking libuuid1:amd64 (2.27.1-1) over (2.27-3) ...
| Processing triggers for libc-bin (2.19-22) ...
| (sid-amd64-sbuild)root@burlewii:~# sed -i -e '1a set -x' 
/var/lib/dpkg/info/libuuid1\:amd64.postinst
| (sid-amd64-sbuild)root@burlewii:~# 
| (sid-amd64-sbuild)root@burlewii:~# dpkg --configure -a
| Setting up libuuid1:amd64 (2.27.1-1) ...
| + set -e
| + getent group libuuid
| + getent group uuidd
| + groupmod --new-name uuidd libuuid
| + getent passwd libuuid
| + getent passwd uuidd
| + invoke-rc.d --quiet uuidd stop
| + true
| + usermod --login uuidd --shell /bin/false --home /run/uuidd libuuid
| + [ -d /var/lib/libuuid ]
| dpkg: error processing package libuuid1:amd64 (--configure):
|  subprocess installed post-installation script returned error exit status 1
| Processing triggers for libc-bin (2.19-22) ...
| Errors were encountered while processing:
|  libuuid1:amd64

and once more.  unpacked..

| (sid-amd64-sbuild)root@burlewii:~# sed -i -e '1a set -x' 
/var/lib/dpkg/info/libuuid1\:amd64.postinst
| (sid-amd64-sbuild)root@burlewii:~# sed -i -e '$a echo done' 
/var/lib/dpkg/info/libuuid1\:amd64.postinst
| (sid-amd64-sbuild)root@burlewii:~# dpkg --configure -a
| Setting up libuuid1:amd64 (2.27.1-1) ...
| + set -e
| + getent group libuuid
| + getent group uuidd
| + groupmod --new-name uuidd libuuid
| + getent passwd libuuid
| + getent passwd uuidd
| + invoke-rc.d --quiet uuidd stop
| + true
| + usermod --login uuidd --shell /bin/false --home /run/uuidd libuuid
| + [ -d /var/lib/libuuid ]
| + echo done
| done
| Processing triggers for libc-bin (2.19-22) ...
| (sid-amd64-sbuild)root@burlewii:~# 

So an 'exit 0' at the end of the script would fix this.

Cheers,

Reply via email to