Date: Sat, 19 Oct 2002 03:13:04 +0200 (CEST) From: Stefan `Sec` Zehl <sec@42.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: knu@FreeBSD.org Subject: ports/44253: portupgrade removes files it shouldn't. Message-ID: <20021019011304.B789EE1@ice.42.org>
next in thread | raw e-mail | index | archive | help
>Number: 44253 >Category: ports >Synopsis: portupgrade removes files it shouldn't. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Oct 18 18:20:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Stefan `Sec` Zehl >Release: FreeBSD 4.7-RC i386 >Organization: >Environment: System: FreeBSD ice 4.7-RC FreeBSD 4.7-RC #25: Thu Oct 10 02:08:04 CEST 2002 root@ice:/usr/export/obj/usr/export/src/sys/ICE i386 port: portupgrade-20020921.1 >Description: portupgrade removes installed ports by means of 'pkg_delete -f'. This is wrong because it removes files which were modified by the user (and thus most probably config files) >How-To-Repeat: Install a port, edit a file of that port and do a portupgrade of that port. See something like this scroll by: | ---> Backing up the old version | ---> Uninstalling the old version | ---> Deinstalling 'omi-a9' | pkg_delete: '/usr/local/share/doc/omi/CHANGES' fails original MD5 checksum - deleted anyway. >Fix: Not sure. Either check for that beforehand and save those files, or perhaps modify pkg_delete to add a switch to only override dependencys when removing >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?20021019011304.B789EE1>