From owner-freebsd-questions@FreeBSD.ORG Mon Jul 26 17:06:23 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF63216A4CE for ; Mon, 26 Jul 2004 17:06:23 +0000 (GMT) Received: from smtp.owt.com (smtp.owt.com [204.118.6.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A3A343D31 for ; Mon, 26 Jul 2004 17:06:23 +0000 (GMT) (envelope-from kstewart@owt.com) Received: from [207.41.94.233] (owt-207-41-94-233.owt.com [207.41.94.233]) by smtp.owt.com (8.12.8/8.12.8) with ESMTP id i6QH4rIB024476; Mon, 26 Jul 2004 10:04:54 -0700 From: Kent Stewart To: freebsd-questions@freebsd.org Date: Mon, 26 Jul 2004 10:06:03 -0700 User-Agent: KMail/1.6.2 References: <4104F6F3.2080900@ukug.uk.freebsd.org> <200407260605.37511.kstewart@owt.com> <41051652.9070806@ukug.uk.freebsd.org> In-Reply-To: <41051652.9070806@ukug.uk.freebsd.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <200407261006.03632.kstewart@owt.com> cc: Mark Ovens Subject: Re: portupgrade(1) kde fails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jul 2004 17:06:24 -0000 On Monday 26 July 2004 07:33 am, Mark Ovens wrote: > Kent Stewart wrote: > > Hi Mark, > > > > On a 2nd read, I thought I was kind of sharp. > > No problem. I saw the message: > > ===> kdelibs-3.2.3_1 conflicts with installed package(s): > kdebase-3.1.2 > > They install files into the same place. > Please remove them first with pkg_delete(1). > *** Error code 1 > > but it seemed misleading because I thought that portupgrade(1) > pkg_delete-ed the old version (after first backing up the files) - > obviously not. > > > What you have is a similar > > problem to the old problem with XFree86-server and -libraries. You > > update -libraries, which contain the new files, and then you delete > > them when you update -server. Then, nothing would update because > > files were missing. > > > > There were a number of comments on -questions or -ports when this > > first happened. > > Yes, I'd searched the mailing lists (for KDE problems, not XFree86) > but didn't find anything that seemd relevant, although after your > reply some of them make sense now. > > > You might get by just deleting kdebase. > > Delete kde-libs surely? Kdelibs has the new files and when you try to update kdebase later, it messes up the install. That is why you have to delete kdebase first. If the files had been moved from kdelibs into kdebase, it wouldn't have mattered. > > Is this a limitation/shortcoming/bug of portupgrade(1)? Is the whole > point of it ot that it handles, often complex, dependencies for you? Portupgrade doesn't deal with the situation with large projects such as KDE when files or tools are moved from a lower port into one required as a base port such as kdelibs. I don't think it could deal with it. I always build packages and can just reinstall the one that I just trashed. Kent > > Thanks for the reply. > > Regards, > > Mark > > > Kent > > > > On Monday 26 July 2004 05:40 am, Kent Stewart wrote: > >> On Monday 26 July 2004 05:20 am, Mark Ovens wrote: > >> > I'm trying to upgrade kde (the meta-port), 3.1.2->3.2.3_1 using > >> > portupgrade(1) but it fails trying to install kdelibs. > >> > > >> > Can anyone shed any light on what's wrong? > >> > > >> > FreeBSD redshift 5.2-CURRENT FreeBSD 5.2-CURRENT #2: Sun Jul 25 > >> > 19:19:46 BST 2004 > >> > root@redshift:/usr/obj/usr/src/sys/REDSHIFT i386 > >> > > >> > /home/mark{106}# pkg_info | grep kde > >> > > >> > kde-3.1.2 The "meta-port" for KDE > >> > kdebase-3.1.2 This package provides the basic applications > >> > for the KDE sy > >> > kdegames-3.1.2 Games for the KDE integrated X11 desktop > >> > kdegraphics-3.1.2 Graphics utilities for the KDE3 integrated > >> > X11 desktop kdelibs-3.1.2 This is the base set of > >> > libraries needed by KDE programs kdemultimedia-3.1.2 Multimedia > >> > utilities for the KDE integrated X11 desktop kdenetwork-3.1.2 > >> > Network-related programs and modules for KDE kdesdk-3.1.4 > >> > KDE Software Development Kit kdeutils-3.1.2 Utilities for > >> > the KDE integrated X11 desktop xmms-kde-3.0.0 Integrates > >> > XMMS into the KDE3 Panel > >> > /home/mark{107}# > >> > > >> > /home/mark{107}# portupgrade -Rv kde-3.1.2 > >> > > >> > [snip successful build of dependencies and kdelibs] > >> > > >> > pkg_delete: unable to completely remove directory > >> > '/usr/local/share/servicetypes' > >> > > >> > [snip lots of similar lines] > >> > > >> > pkg_delete: unable to completely remove directory > >> > '/usr/local/include/kate' rmdir: /usr/local/include/arts: > >> > Directory not empty > >> > pkg_delete: couldn't entirely delete package (perhaps the > >> > packing list is incorrectly specified?) > >> > [Updating the pkgdb in /var/db/pkg ... - 148 > >> > packages found (-1 +0) (...) done] > >> > ---> Uninstallation of kdelibs-3.1.2 ended at: Mon, 26 Jul 2004 > >> > 13:12:26 +0100 (consumed 00:00:28) > >> > ---> Installation of x11/kdelibs3 started at: Mon, 26 Jul 2004 > >> > 13:12:26 +0100 > >> > ---> Installing the new version via the port > >> > ===> Installing for kdelibs-3.2.3_1 > >> > > >> > ===> kdelibs-3.2.3_1 conflicts with installed package(s): > >> > kdebase-3.1.2 > >> > > >> > They install files into the same place. > >> > Please remove them first with pkg_delete(1). > >> > *** Error code 1 > >> > >> It told you what to do right here. You can't directly upgrade to > >> the next level because of the file shift. > >> > >> Kent > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html