Project

General

Profile

Actions

Bug #4550

closed

Error update

Added by Sergey Yakubenko almost 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
PKG (Image Packaging System)
Target version:
-
Start date:
2014-01-30
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

pkg update: The package pkg:,5.11-0.151.1.8.1:20140130T033101Z delivers conflicting action types (hardlink and file) to usr/share/lib/zoneinfo/Europe/Tiraspol
This package must be corrected before it can be installed.

Actions #1

Updated by Predrag Zečević almost 10 years ago

Hi,

today is worse:

..
DOWNLOAD                                PKGS         FILES    XFER (MB)   SPEED
Completed                            360/360     2529/2529    93.5/93.5    0B/s

PHASE                                          ITEMS
Removing old actions                         323/323
Installing new actions                       186/207Action install failed for 'usr/share/lib/zoneinfo/Europe/Chisinau' (pkg://openindiana.org/system/data/zoneinfo):
  ActionExecutionError: Requested operation failed for package pkg://openindiana.org/system/data/zoneinfo@2013.9,5.11-0.151.1.8.1:20140131T015317Z:
Unable to create hard link /tmp/tmpYK93b4/usr/share/lib/zoneinfo/Europe/Chisinau; target /tmp/tmpYK93b4/usr/share/lib/zoneinfo/Europe/Tiraspol is missing.
 The running system has not been modified. Modifications were only made to a clone of the running system.  This clone is mounted at /tmp/tmpYK93b4 should you wish to inspect it.

pkg: Requested operation failed for package pkg://openindiana.org/system/data/zoneinfo@2013.9,5.11-0.151.1.8.1:20140131T015317Z:
Unable to create hard link /tmp/tmpYK93b4/usr/share/lib/zoneinfo/Europe/Chisinau; target /tmp/tmpYK93b4/usr/share/lib/zoneinfo/Europe/Tiraspol is missing.

that leaves process unfinished, new BE mounted

Regards.

Actions #2

Updated by Predrag Zečević almost 10 years ago

Hi,

forgot to mention that my installation uses /hipster repository.

Regards.

Actions #4

Updated by Predrag Zečević almost 10 years ago

Hi,

still didn't fixed:

DOWNLOAD                                PKGS         FILES    XFER (MB)   SPEED
Completed                            404/404     3038/3038  110.7/110.7 1009k/s

PHASE                                          ITEMS
Removing old actions                       1290/1290
Installing new actions                       706/899Action install failed for 'usr/share/lib/zoneinfo/Europe/Chisinau' (pkg://openindiana.org/system/data/zoneinfo):
  ActionExecutionError: Requested operation failed for package pkg://openindiana.org/system/data/zoneinfo@2013.9,5.11-0.151.1.8.1:20140131T015317Z:
Unable to create hard link /tmp/tmpQzIXwT/usr/share/lib/zoneinfo/Europe/Chisinau; target /tmp/tmpQzIXwT/usr/share/lib/zoneinfo/Europe/Tiraspol is missing.
 The running system has not been modified. Modifications were only made to a clone of the running system.  This clone is mounted at /tmp/tmpQzIXwT should you wish to inspect it.

pkg: Requested operation failed for package pkg://openindiana.org/system/data/zoneinfo@2013.9,5.11-0.151.1.8.1:20140131T015317Z:
Unable to create hard link /tmp/tmpQzIXwT/usr/share/lib/zoneinfo/Europe/Chisinau; target /tmp/tmpQzIXwT/usr/share/lib/zoneinfo/Europe/Tiraspol is missing.

Just tried.
Regards.

Actions #5

Updated by Predrag Zečević almost 10 years ago

This is still an issue...
Any progress on it?

Regards.

Actions #6

Updated by Alexander Pyhalov almost 10 years ago

Actual zoneinfo package version is pkg::20140204T114429Z and it is installable.

Actions #7

Updated by Predrag Zečević almost 10 years ago

OK,

just saw that number is different.
Will give it a try.

Thanks.

Actions #8

Updated by Predrag Zečević almost 10 years ago

How to pull that version?

My system tries something else:

$ pkg publisher -a
PUBLISHER                   TYPE     STATUS P LOCATION
openindiana.org              origin   online F http://pkg.openindiana.org/hipster/
sfe-encumbered              origin   online F http://pkg.openindiana.org/sfe-encumbered/
sfe            (non-sticky) origin   online F http://pkg.openindiana.org/sfe/
sfe-solarix                 origin   online F http://solarix:15100/ # <-- my local IPS server

$ pfexec pkg refresh --full 
$ pfexec pkg update -v
...
DOWNLOAD                                PKGS         FILES    XFER (MB)   SPEED
Completed                            417/417     3395/3395  120.6/120.6  1.0M/s

PHASE                                          ITEMS
Removing old actions                       2171/2171
Installing new actions                     3171/3339Action install failed for 'usr/share/lib/zoneinfo/Europe/Chisinau' (pkg://openindiana.org/system/data/zoneinfo):
  ActionExecutionError: Requested operation failed for package pkg://openindiana.org/system/data/zoneinfo@2013.9,5.11-0.151.1.8.1:20140207T030140Z:
Unable to create hard link /tmp/tmpeBK9WI/usr/share/lib/zoneinfo/Europe/Chisinau; target /tmp/tmpeBK9WI/usr/share/lib/zoneinfo/Europe/Tiraspol is missing.
 The running system has not been modified. Modifications were only made to a clone of the running system.  This clone is mounted at /tmp/tmpeBK9WI should you wish to inspect it.

pkg: Requested operation failed for package pkg://openindiana.org/system/data/zoneinfo@2013.9,5.11-0.151.1.8.1:20140207T030140Z:
Unable to create hard link /tmp/tmpeBK9WI/usr/share/lib/zoneinfo/Europe/Chisinau; target /tmp/tmpeBK9WI/usr/share/lib/zoneinfo/Europe/Tiraspol is missing.

and

$ pfexec pkg install -vn system/data/zoneinfo@2013.9-0.151.1.8.1:20140204T114429Z
Creating Plan (Solver setup): -
pkg install: No matching version of system/data/zoneinfo can be installed:
  Reject:  pkg://openindiana.org/system/data/zoneinfo@2013.9,5.11-0.151.1.8.1:20140204T114429Z
  Reason:  This version is excluded by installed incorporation pkg://openindiana.org/consolidation/osnet/osnet-incorporation@0.5.11,5.11-0.151.1.8.1:20140128T232133Z

Look at the hipster repo (http://pkg.openindiana.org/hipster/en/catalog.shtml?version=0.5.11%2C0.5.11-0.151.1.8.1&action=Browse) shows only:

consolidation/osnet/osnet-incorporation     0.5.11,5.11-0.151.1.8.1:20140207T025346Z     Install     Manifest
consolidation/osnet/osnet-message-files     0.5.11,5.11-0.151.1.8.1:20140207T025348Z     Install     Manifest

So, trying now (I've made current BE backup):

$ pfexec pkg install -v system/data/zoneinfo@2013.9-0.151.1.8.1:20140204T114429Z consolidation/osnet/osnet-incorporation@0.5.11,5.11-0.151.1.8.1:20140207T025346Z
            Packages to update:         2
     Estimated space available: 111.14 GB
Estimated space to be consumed: 364.44 MB
       Create boot environment:        No
Create backup boot environment:       Yes
          Rebuild boot archive:        No

Changed packages:
openindiana.org
  consolidation/osnet/osnet-incorporation
    0.5.11-0.151.1.8.1:20140128T232133Z -> 0.5.11-0.151.1.8.1:20140207T025346Z
  system/data/zoneinfo
    2011.13-0.151.1.8.1:20140128T234519Z -> 2013.9-0.151.1.8.1:20140204T114429Z
DOWNLOAD                                PKGS         FILES    XFER (MB)   SPEED
Completed                                2/2         97/97      0.2/0.2    0B/s

PHASE                                          ITEMS
Removing old actions                             2/2
Installing new actions                          1/18Action install failed for 'usr/share/lib/zoneinfo/Europe/Chisinau' (pkg://openindiana.org/system/data/zoneinfo):
  ActionExecutionError: Requested operation failed for package pkg://openindiana.org/system/data/zoneinfo@2013.9,5.11-0.151.1.8.1:20140204T114429Z:
Unable to create hard link //usr/share/lib/zoneinfo/Europe/Chisinau; target //usr/share/lib/zoneinfo/Europe/Tiraspol is missing.
The Boot Environment oi151_181hipster_20140129 failed to be updated. A snapshot was taken before the failed attempt and is mounted here /tmp/tmp2ZXJkB. 
Use 'beadm unmount oi151_181hipster_20140129-1' and then 'beadm activate oi151_181hipster_20140129-1' if you wish to boot to this BE.

pkg: Requested operation failed for package pkg://openindiana.org/system/data/zoneinfo@2013.9,5.11-0.151.1.8.1:20140204T114429Z:
Unable to create hard link //usr/share/lib/zoneinfo/Europe/Chisinau; target //usr/share/lib/zoneinfo/Europe/Tiraspol is missing.

So, there is ALWAYS same problem: "target //usr/share/lib/zoneinfo/Europe/Tiraspol is missing."

BUT, this time it says that I can try to boot: "and then 'beadm activate oi151_181hipster_20140129-1' if you wish to boot to this BE"
Will give it a try (will come back later, after reboot).

Thanks and Regards.

Actions #9

Updated by Predrag Zečević almost 10 years ago

Hi,

it didn't help:

$ beadm list
BE                                 Active Mountpoint     Space Policy Created
oi151_181hipster_20140127          -      -              34.2M static 2014-01-27 08:09
oi151_181hipster_20140129          -      -              19.2M static 2014-01-29 10:20
oi151_181hipster_20140129-1        NR     /              25.6G static 2014-02-07 08:18
oi151_181hipster_20140129-backup   -      -              179K  static 2014-02-07 08:17
oi151_181hipster_20140129-backup-1 -      -              179K  static 2014-02-07 08:18
oi151_181hipster_20140207          -      /tmp/tmp5o5yxw 31.9M static 2014-02-07 08:32

$ pfexec pkg refresh --full
$ pfexec pkg image update -v 
---
DOWNLOAD                                PKGS         FILES    XFER (MB)   SPEED
Completed                            417/417     3395/3395  120.6/120.6    0B/s

PHASE                                          ITEMS
Removing old actions                       2171/2171
Installing new actions                     3148/3339Action install failed for 'usr/share/lib/zoneinfo/Europe/Chisinau' (pkg://openindiana.org/system/data/zoneinfo):
  ActionExecutionError: Requested operation failed for package pkg://openindiana.org/system/data/zoneinfo@2013.9,5.11-0.151.1.8.1:20140207T030140Z:
Unable to create hard link /tmp/tmp5o5yxw/usr/share/lib/zoneinfo/Europe/Chisinau; target /tmp/tmp5o5yxw/usr/share/lib/zoneinfo/Europe/Tiraspol is missing.
 The running system has not been modified. Modifications were only made to a clone of the running system.  This clone is mounted at /tmp/tmp5o5yxw should you wish to inspect it.

pkg: Requested operation failed for package pkg://openindiana.org/system/data/zoneinfo@2013.9,5.11-0.151.1.8.1:20140207T030140Z:
Unable to create hard link /tmp/tmp5o5yxw/usr/share/lib/zoneinfo/Europe/Chisinau; target /tmp/tmp5o5yxw/usr/share/lib/zoneinfo/Europe/Tiraspol is missing.

How to solve this problem?

Regards.

Actions #10

Updated by Predrag Zečević almost 10 years ago

Hi,

I have solved problem by returning to BE oi151_181hipster_20140127 (BEFORE this and similar changes of that day: http://hipster.openindiana.org:8080/job/illumos-gate/2384/changes), ran pkg update (with all publishers active) w/o any error.

Now, after reboot, I have zoneinfo finally updated:

$ pkg info zoneinfo
          Name: system/data/zoneinfo
       Summary: Timezone Information
   Description: timezone information
      Category: System/Core
         State: Installed
     Publisher: openindiana.org
       Version: 2013.9
        Branch: 0.151.1.8.1
Packaging Date: Fri Feb  7 03:01:40 2014
          Size: 855.47 kB
          FMRI: pkg://openindiana.org/system/data/zoneinfo@2013.9-0.151.1.8.1:20140207T030140Z

Not sure how people which doesn't have saved so old BE can do update.

Regards.

Actions #11

Updated by Predrag Zečević over 9 years ago

I guess this one can be closed now.

It looks like I had bad luck and picked up OI snapshot with error (which was fixed in meantime).

Regards.

Actions #12

Updated by Ken Mays over 9 years ago

  • Status changed from New to Closed
  • Target version deleted (oi_151_stable)
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF