From owner-freebsd-ports@FreeBSD.ORG Wed Sep 17 18:24:18 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 140B4D1A for ; Wed, 17 Sep 2014 18:24:18 +0000 (UTC) Received: from mail-ie0-x230.google.com (mail-ie0-x230.google.com [IPv6:2607:f8b0:4001:c03::230]) (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 D81103D9 for ; Wed, 17 Sep 2014 18:24:17 +0000 (UTC) Received: by mail-ie0-f176.google.com with SMTP id ar1so2338929iec.21 for ; Wed, 17 Sep 2014 11:24:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=X39cGY+ROIYPKg/kLn+7zXy8EZy76ZJ/TYQxRwuUhO8=; b=aZNPPS4lPTMKGGPQr45ZZlqDK6j6RaGjXxbeU2yerAZd0igmHDldKUGBQg6slXKBnT yaUfxBHMIGfbrToWs5C57l4Ujl3g+T7/qhSguCI67/jue2iX71P91vSauUDyB6pdBeh8 PLlAGrSyGnYgXWrVC4n/QZkXBoc2igmtCWK+BLrbcpnXgP9KubLhfIRVFW4Ft023E58z LA4c+FH3R+xYrmXi4EKrqu3jeRzEd1MzpRqxa+DuUAA7ntYE9WzkaX7Zb5EyeBIy/r6Q 56IrPqWlsxLCnYBpw5793q8n9IRX6qcB3SlwcevLYc917CrpPgkgPnMJu4+lK6o39uiw fNVg== MIME-Version: 1.0 X-Received: by 10.50.143.65 with SMTP id sc1mr8364731igb.19.1410978257141; Wed, 17 Sep 2014 11:24:17 -0700 (PDT) Received: by 10.42.183.142 with HTTP; Wed, 17 Sep 2014 11:24:17 -0700 (PDT) In-Reply-To: <5419CECF.8060704@gmx.de> References: <5419CECF.8060704@gmx.de> Date: Wed, 17 Sep 2014 15:24:17 -0300 Message-ID: Subject: Re: pkg-static: pkg-1.4.0.p.a11 conflicts with pkg-1.3.7 (installs files into the same place). From: Lucas Willian Bocchi To: freebsd-ports Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Sep 2014 18:24:18 -0000 No. The packages are downloaded using pkg. 2014-09-17 15:11 GMT-03:00 olli hauer : > On 2014-09-17 16:15, Lucas Willian Bocchi wrote: >> Hi >> >> I have the same problem on my FreeBSD 10. >> >> My server are in production environment and now packages such as PHP >> and others won't work anymore because the packages have updates to do >> but with this conflict the server won't complete the update process. >> No way to force the installation of pkg 1.4 and no way to solve the >> problem using pkg 1.3.7. >> >> Any ideas? > > Are the packages build by yourself and if yes with which pkg version? > > In case packages where build with pkg 1.3.7 there is a way back. > > $ cp -R /var/db/pkg /var/db/pkg.save > $ mkdir backdir && cd backdir > $ cp /usr/local/sbin/pkg-static pkg-static-$pkgver > $ ./pkg-static-$pkgver delete -f pkg > > Transfer pkg-static from 1.3.7 to the system and read 'man pkg-backup' > > $ ./pkg-static-1.3.7 backup -r src_file > > where src_file is one of the backups stored as as /var/backups/pkgdb.bak.tbz(.num) > > > -- > hth. > olli