Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gOpxV-0001yL-5M for pgsql-general@arkaria.postgresql.org; Mon, 19 Nov 2018 20:15:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gOpxT-0003wd-Bd for pgsql-general@arkaria.postgresql.org; Mon, 19 Nov 2018 20:15:47 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gOpxT-0003vR-2x for pgsql-general@lists.postgresql.org; Mon, 19 Nov 2018 20:15:47 +0000 Received: from smtp5.hushmail.com ([65.39.178.142]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gOpxO-00045B-8u for pgsql-general@lists.postgresql.org; Mon, 19 Nov 2018 20:15:45 +0000 Received: from smtp5.hushmail.com (localhost [127.0.0.1]) by smtp5.hushmail.com (Postfix) with SMTP id DD69320E34 for ; Mon, 19 Nov 2018 20:15:37 +0000 (UTC) Received: from smtp.hushmail.com (w7.hushmail.com [65.39.178.32]) by smtp5.hushmail.com (Postfix) with ESMTP for ; Mon, 19 Nov 2018 20:15:35 +0000 (UTC) To: pgsql-general@lists.postgresql.org From: Chris Mair Subject: postgresql10-server RPM unpacking of archive failed Message-ID: <547881a8ab7a722ccc3159f3b7b25644@smtp.hushmail.com> Date: Mon, 19 Nov 2018 21:15:33 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:60.0) Gecko/20100101 Thunderbird/60.3.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, on a CentOS 7.5 machine with PostgreSQL 10.3 installed from the PGDG yum repo, I have a strange error when trying to update to 10.6. A simple "yum update" updated everything except postgresql10-server.x86_64! That package gives (repeatedly) the error message: Error unpacking rpm package postgresql10-server-10.6-1PGDG.rhel7.x86_64 error: unpacking of archive failed: cpio: lstat (full output below) I'm a bit at loss here... I'd interpret the message towards a corrupted package (?). Has anybody seen something like this? Thanks, Bye, Chris. # yum update Loaded plugins: fastestmirror Determining fastest mirrors epel/x86_64/metalink | 25 kB 00:00:00 * base: centos.mirror.garr.it * epel: epel.mirror.far.fi * extras: centos.mirror.garr.it * updates: centos.mirror.garr.it base | 3.6 kB 00:00:00 epel | 3.2 kB 00:00:00 extras | 3.4 kB 00:00:00 pbiso | 2.5 kB 00:00:00 pgdg10 | 4.1 kB 00:00:00 pgdg96 | 4.1 kB 00:00:00 updates | 3.4 kB 00:00:00 (1/12): base/7/x86_64/group_gz | 166 kB 00:00:00 (2/12): extras/7/x86_64/primary_db | 205 kB 00:00:00 (3/12): pbiso/x86_64/primary_db | 5.1 kB 00:00:00 (4/12): epel/x86_64/group_gz | 88 kB 00:00:00 (5/12): pgdg10/7/x86_64/group_gz | 245 B 00:00:00 (6/12): pgdg96/7/x86_64/group_gz | 249 B 00:00:00 (7/12): pgdg96/7/x86_64/primary_db | 203 kB 00:00:00 (8/12): pgdg10/7/x86_64/primary_db | 176 kB 00:00:00 (9/12): epel/x86_64/updateinfo | 932 kB 00:00:02 (10/12): epel/x86_64/primary | 3.6 MB 00:00:03 (11/12): base/7/x86_64/primary_db | 5.9 MB 00:00:03 (12/12): updates/7/x86_64/primary_db | 6.0 MB 00:00:03 epel 12706/12706 Resolving Dependencies --> Running transaction check ---> Package postgresql10-server.x86_64 0:10.3-1PGDG.rhel7 will be updated ---> Package postgresql10-server.x86_64 0:10.6-1PGDG.rhel7 will be an update --> Finished Dependency Resolution Dependencies Resolved =============================================================================================================================================================================================== Package Arch Version Repository Size =============================================================================================================================================================================================== Updating: postgresql10-server x86_64 10.6-1PGDG.rhel7 pgdg10 4.6 M Transaction Summary =============================================================================================================================================================================================== Upgrade 1 Package Total download size: 4.6 M Is this ok [y/d/N]: y Downloading packages: Delta RPMs disabled because /usr/bin/applydeltarpm not installed. postgresql10-server-10.6-1PGDG.rhel7.x86_64.rpm | 4.6 MB 00:00:01 Running transaction check Running transaction test Transaction test succeeded Running transaction Updating : postgresql10-server-10.6-1PGDG.rhel7.x86_64 1/2 Error unpacking rpm package postgresql10-server-10.6-1PGDG.rhel7.x86_64 error: unpacking of archive failed: cpio: lstat Verifying : postgresql10-server-10.6-1PGDG.rhel7.x86_64 1/2 postgresql10-server-10.3-1PGDG.rhel7.x86_64 was supposed to be removed but is not! Verifying : postgresql10-server-10.3-1PGDG.rhel7.x86_64 2/2 Failed: postgresql10-server.x86_64 0:10.3-1PGDG.rhel7 postgresql10-server.x86_64 0:10.6-1PGDG.rhel7 Complete!