From owner-freebsd-ports Thu Mar 14 13: 0:17 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4FD8937B417 for ; Thu, 14 Mar 2002 13:00:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2EL02e13976; Thu, 14 Mar 2002 13:00:02 -0800 (PST) (envelope-from gnats) Received: from santropez.acs.rpi.edu (santropez.acs.rpi.edu [128.113.24.162]) by hub.freebsd.org (Postfix) with ESMTP id 1C66D37B402 for ; Thu, 14 Mar 2002 12:56:14 -0800 (PST) Received: from santropez.acs.rpi.edu (localhost [127.0.0.1]) by santropez.acs.rpi.edu (8.12.2/8.12.2) with ESMTP id g2EKuJuu043217; Thu, 14 Mar 2002 15:56:19 -0500 (EST) (envelope-from gad@santropez.acs.rpi.edu) Received: (from gad@localhost) by santropez.acs.rpi.edu (8.12.2/8.12.2/Submit) id g2EKuJAY043216; Thu, 14 Mar 2002 15:56:19 -0500 (EST) Message-Id: <200203142056.g2EKuJAY043216@santropez.acs.rpi.edu> Date: Thu, 14 Mar 2002 15:56:19 -0500 (EST) From: Garance A Drosehn Reply-To: Garance A Drosehn To: FreeBSD-gnats-submit@FreeBSD.org Cc: gad@gilead.acs.rpi.edu X-Send-Pr-Version: 3.113 Subject: ports/35897: upgrading the linux_base port runs into trouble Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 35897 >Category: ports >Synopsis: upgrading the linux_base port runs into trouble >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: Thu Mar 14 13:00:02 PST 2002 >Closed-Date: >Last-Modified: >Originator: Garance A Drosehn >Release: FreeBSD 5.0-CURRENT i386 >Organization: RPI ; Troy NY >Environment: System: FreeBSD santropez.acs.rpi.edu 5.0-CURRENT FreeBSD 5.0-CURRENT #2: Wed Mar 13 21:12:40 EST 2002 root@santropez.acs.rpi.edu:/usr/obj/usr/src/sys/Dual-650P3-LessWit i386 >Description: There is a new version of linux_base-7.1_1 available, so I tried a portupgrade of it. Everything compiles OK, but the attempt to de-install the old version runs into the problems: pkg_delete: unable to completely remove directory '/compat/linux/usr/lib' pkg_delete: unable to completely remove directory '/compat/linux/usr/X11R6/lib' pkg_delete: unable to completely remove directory '/compat/linux/usr/X11R6' pkg_delete: unable to completely remove directory '/compat/linux/usr' pkg_delete: unable to completely remove directory '/compat/linux/proc' pkg_delete: unable to completely remove directory '/compat/linux/lib' pkg_delete: unable to completely remove directory '/compat/linux/bin' pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) portupgrade then goes on to try to install the new version of the port, and runs into: unpacking of archive failed on file /proc: cpio: chown failed - Operation not su pported *** Error code 1 Stop in /usr/ports/emulators/linux_base-7. *** Error code 1 ** Command failed: make >How-To-Repeat: I know I've run into this in past attempts to update linux_base, this time I thought I'd write-up a PR about it. Now let me see if I can remember how to solve the problem... >Fix: To get around the problem, I did the following as root: # To really de-install it: /usr/local/sbin/pkg_deinstall -f linux_base umount linprocfs rm -Rf /compat/linux/* # To install the new version: cd /usr/ports/emulators/linux_base-7 make make install /usr/local/sbin/pkgdb -F At this point I have it correctly installed. I'll now reboot and see if it's actually working. I expect it will be, but I will send a follow-up message if it is not. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message