Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Apr 2007 14:15:33 +0900 (JST)
From:      Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/111977: restoring package fails with portupgrade.
Message-ID:  <200704210515.l3L5FXkV010823@polymer3.scphys.kyoto-u.ac.jp>
Resent-Message-ID: <200704210520.l3L5K2kh003682@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         111977
>Category:       ports
>Synopsis:       restoring package fails with portupgrade.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 21 05:20:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Tsurutani Naoki
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD polymer3.scphys.kyoto-u.ac.jp 6.2-STABLE FreeBSD 6.2-STABLE #6: Thu Apr 19 11:11:18 JST 2007 turutani@polymer3.scphys.kyoto-u.ac.jp:/usr/local/work/usr/obj/usr/src/sys/POLYMER i386


	
>Description:
	with portupgrade installed by ports-mgmt/portupgrade,
	restoring a package when portupgrade fails with some cases.
	
>How-To-Repeat:
	portupgrade astro/google-earth with /compat/linux/usr/X11R6/lib/libGL.so.1
	missing:
	% portupgrade google-earth-4.0.2414	
	...
	===>   google-earth-4.0.2735 depends on file: /compat/linux/usr/X11R6/lib/libGL.so.1 - not found
	===>    Verifying reinstall for /compat/linux/usr/X11R6/lib/libGL.so.1 in /usr/ports/graphics/linux_dri
	===>  Installing for linux_dri-6.5
	===>   linux_dri-6.5 depends on file: /compat/linux/etc/fedora-release - found
	===>   linux_dri-6.5 depends on file: /compat/linux/usr/X11R6/lib/libXrender.so.1 - found
	===>   Generating temporary packing list
	===>  Checking if graphics/linux_dri already installed
	===>   linux_dri-6.5 is already installed
	      You may wish to ``make deinstall'' and install this port again
	      by ``make reinstall'' to upgrade it properly.
	      If you really wish to overwrite the old port of graphics/linux_dri
	      without deleting it first, set the variable "FORCE_PKG_REGISTER"
	      in your environment or the "make install" command line.
	*** Error code 1
	
	Stop in /usr/ports/graphics/linux_dri.
	*** Error code 1
	
	Stop in /usr/ports/graphics/linux_dri.
	*** Error code 1
	
	Stop in /usr/ports/astro/google-earth.
	*** Error code 1
	
	Stop in /usr/ports/astro/google-earth.
	** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.20716.0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=google-earth-4.0.2414 UPGRADE_PORT_VER=4.0.2414 make reinstall
	** Listing the failed packages (*:skipped / !:failed)
	        ! astro/google-earth (google-earth-4.0.2414)    (Failed to rewrite /var/db/pkg/google-earth-4.0.2414/+CONTENTS: No such file or directory - /var/db/pkg/
	google-earth-4.0.2414/+CONTENTS)
	--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
	** Could not clean up temporary directory: Directory not empty - /var/tmp/portupgradeyLiVJijp

	
>Fix:
	I do not know.
	


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704210515.l3L5FXkV010823>