Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2003 15:49:56 +0100 (CET)
From:      Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/47298: pkg_update removes installed package even if prerequisites are missing
Message-ID:  <200301211449.h0LEnud0048675@naos.dbai.tuwien.ac.at>

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

>Number:         47298
>Category:       ports
>Synopsis:       pkg_update removes installed package even if prerequisites are missing
>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:   Tue Jan 21 07:00:18 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Gerald Pfeifer
>Release:        FreeBSD 4.7-RELEASE i386
>Organization:
>Environment:
System: FreeBSD naos.dbai.tuwien.ac.at 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Thu Jan 9 09:25:29 CET 2003 root@aludra.dbai.tuwien.ac.at:/usr/src/sys/compile/DBAI-MP i386


	
>Description:
	Even if prerequisites of the newer version of an already installed package
	are missing, pkg_update removes the installed (older) version of the package
	_before_ noticing that it won't be able to install the newer version.
>How-To-Repeat:
	naos# pkg_info | grep mozilla
	mozilla-1.1_1,1     The open source, standards compliant web browser

	naos# pkg_update mozilla-1.2b_3,1.tgz 
	Updating mozilla packages to version 1.2
	pkg_add: could not find package fontconfig-2.0_2 !
	pkg_add: could not find package Xft-2.0_1 !
	Command '/usr/sbin/pkg_add mozilla-1.2b_3,1' failed, No such file or directory

	naos# pkg_info | grep mozilla
	naos# 

>Fix:
	First check for prerequisites of the new package, and only then remove 
	the old package.
>Release-Note:
>Audit-Trail:
>Unformatted:

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




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