From owner-freebsd-questions@FreeBSD.ORG Tue Jul 15 14:50:55 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 390A9F12 for ; Tue, 15 Jul 2014 14:50:55 +0000 (UTC) Received: from mail-qc0-x236.google.com (mail-qc0-x236.google.com [IPv6:2607:f8b0:400d:c01::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EDD6B2E67 for ; Tue, 15 Jul 2014 14:50:54 +0000 (UTC) Received: by mail-qc0-f182.google.com with SMTP id r5so4323226qcx.27 for ; Tue, 15 Jul 2014 07:50:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=353DOa6zish5YroTdBA11gwfUfkm3We2CMV1IZOD3Rk=; b=aubkXStGK7KStriFsmWWsB0vjD1gDsufVb6clUH5Qo2V6OLbocyTAAtVXxzfWaMh8W 3jpe68vCLlQZYYTBdAVhbGmHSKVGM2O8Yy0LEeWyExXFbtNXNAsP6ffbECP5qUlCuiMS VHEUWpfnfVnEHybncbgVFCgQcI0U0cOsTbXCCShgVa15llcbNZQgc07+D972ZxR6dF6+ wWDkF1caL8Xis1IK0AqqmevYW74F4E0dp4Vh1F7Zqt2w6KpL+Uz5cK3UXv2hpgTDuTof FQM8Mgqb6F17NZ7+eh02ZCZSfURwxPZ6mtSKzuf6SKitvaOWLwyMd1+N2wDpbV0JLUrl mmhw== MIME-Version: 1.0 X-Received: by 10.224.71.198 with SMTP id i6mr33614977qaj.76.1405435854183; Tue, 15 Jul 2014 07:50:54 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.202.193 with HTTP; Tue, 15 Jul 2014 07:50:54 -0700 (PDT) In-Reply-To: <20140715190250.Y50382@sola.nimnet.asn.au> References: <20140715190250.Y50382@sola.nimnet.asn.au> Date: Tue, 15 Jul 2014 07:50:54 -0700 X-Google-Sender-Auth: QqrmEHjf8WQObkn6GVSN9MirvUc Message-ID: Subject: Re: Long delays in 'pkg upgrade' and other mysteries .. From: Adrian Chadd To: Ian Smith Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jul 2014 14:50:55 -0000 Ugh, so, there's a bunch of conflicts with package renames. You have to read /usr/ports/UPDATING to get the full list of what to modify. I haven't had this happen in months. The ports metadata side of things has gotten a lot better over the last year - you're just experiencing the handful of rounds of "incomplete metadata" and "wanton package renaming" hilarity that marred the whole binary package experience. (It got better. :-) -a On 15 July 2014 07:26, Ian Smith wrote: > Dear Hive, > > On 9.3-PRE world June 26th, I converted the 700-odd packages originally > installed from the 9.2-R dvd1_memstick, plus a handful subsequently, to > pkgng three days ago. That seemed to go smoothly, and didn't take long. > > So today I ran 'pkg update' to sync it up, then 'pkg upgrade' to upgrade > all packages. That was almost 4 hrs ago and ever since I've watched it > fetch 657 packages to /var/cache/pkg/All, one about every 16-17 seconds, > doing apparently nothing meanwhile. > > I'm getting 3-400KB/s on small packages, taking one or two seconds each, > and 5-700KB/s on larger ones. Then it sits, top showing pkg in kqwait > for around 15-17 seconds, gkrellm the busiest thing running at 2-3%, few > percent for Xorg, KDE etc - basically idle - until (what looks like) a > sleep expires, pkg springs into action for maybe a second doing the next > fetch, then it goes back to sleep. Why would this be? > > During that ~4 hours the sqlite db was locked, I couldn't 'pkg info' to > see where it was up to, or 'pkg which' to hunt down a lost link related > to an earlier unsuccessful 'portmaster --packages www/firefox' run which > may have screwed things up, after which I thought upgrading all packages > the best idea, and certainly worth a try to gain confidence with pkg :) > > But no; after fetching ~900MB to cache, it spewed a large number (eg): > > pkg: WARNING: locally installed docbook-5.0_1 conflicts on > /usr/local/share/xml/docbook/5.0/xsd/xml.xsd with: - docbook-xml-5.0_2 > > After that, the last 'pkg: WARNING:' line above .. nothing. Not a word. > Just the prompt. Too many errors? No apparent changes to any pkgs nor > the database, though the earlier portmaster shows some installed. > > That was the last of > 2000 lines of these msgs, for installed packages > qt4-*-4.84, perl5.14-5.14.4_7 and docbook-5.0_1 mostly, but I lost lots > off the top; python27-2.7.6_4 came up too. I suspect portmaster earlier > managed to update these, but not register them? > > Ah yes, later, perhaps I see; I should have upgraded portmaster before > using it, the older one was doing an all-source upgrade :( And likely > trying to register upgrades using the old package_tools too .. there > still be a few dragons afoot .. > > Later; I ran a second 'pkg upgrade' inside script(1), so if anyone might > benefit from seeing a 170KB list of conflicts, just ask. > > So what should I do now, short of starting from scratch? > > cheers, Ian (please cc me) > _______________________________________________ > 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"