Date: Thu, 14 Mar 2002 15:56:19 -0500 (EST) From: Garance A Drosehn <gad@santropez.acs.rpi.edu> To: FreeBSD-gnats-submit@FreeBSD.org Cc: gad@gilead.acs.rpi.edu Subject: ports/35897: upgrading the linux_base port runs into trouble Message-ID: <200203142056.g2EKuJAY043216@santropez.acs.rpi.edu>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203142056.g2EKuJAY043216>