Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Feb 2002 14:11:36 -0800 (PST)
From:      Mike Beeler <info@netarmor.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/34562: pkg_tarup-1.2_3 has invalid distinfo name preventing update to it and portupgrade-20020128
Message-ID:  <200202022211.g12MBaS54026@freefall.freebsd.org>

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

>Number:         34562
>Category:       ports
>Synopsis:       pkg_tarup-1.2_3 has invalid distinfo name preventing update to it and portupgrade-20020128
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 02 14:20:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Mike Beeler
>Release:        4.4-R
>Organization:
NetArmor, Inc.
>Environment:
FreeBSD primus.netarmor.net 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Tue Sep 18 11:57:08 PDT 2001 murray@builder.FreeBSD.org:/usr/src/sys/compile/GENERIC  i386
    
>Description:
Using CVSUP on a daily basis to maintain Ports tree. Resent change to misc/pkg_tarup to sysutils/pkg_tarup has created an update file name for pkg_tarup of "pkg_tarup?rev=1.2&content-type=text%2fplain".  Needless to say this file name does not exist.  Portupgrade-20020128 has a dependency on pkg_tarup. In short neither of these files will update due to error in pkg_tarup distribution file name.      
>How-To-Repeat:
Do CVSUP on the ports tree. Then "pkgdb -F and change stale dependency on pkg_tarup from misc\pkg_tarup to sysutils\pkg_tarup. Then do portupgrade -ra. The upgrade for both will fail. Its more evident if neither port is installed.  I made the mistake of thinking I could do a work around (as I have done may times before) of "pkg_remove pkg_tarup" and then reinstalling. Much to my surprise both pkg_tarup AND portupgrade were removed.

I then realized my error and went to my network server (I was working on my FreeBSD workstation when this was first discovered) and repeated but make the correction on the stale dependency for pkg_tarup correctly when running pkgdb-F (changed it to sysutils/pkg_tarup). Since pkg_tarup was still installed the subsequent portupgrade for portupgrade went smoothly.  But pkg_tarup will still not upgrade. 

On my workstation without pkgdb -F (removed when pkg_remove also removed portupgrade and pkg_tarup) I cannot correct the stale dependency for pkg_tarup. I cannot reinstall pkg_tarup because of the distribution file name problem and until pkg_tarup is fixed I cannot reinstall portupgrade which installs pkgdb.

Seems I'm in a catch 22 situation, at least with regard to my level of knowledge on CVSUP and local admin files and systems. 
>Fix:
Correct distribution file name error in CVS for the sysutils/pkg_tarup file.  Run CVSUP on ports distribution tree, check that the sysutils/pkg_tarup distinfo file contains correct pkg_tarup file name, reinstall pkg_tarup, then reinstall portupgrade, then run pkgdb -F and correct stale dependency on pkg_tarup.  I think???????
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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