Date: Wed, 17 Sep 2014 20:11:27 +0200 From: olli hauer <ohauer@gmx.de> To: Lucas Willian Bocchi <lucas.bocchi@gmail.com>, freebsd-ports@freebsd.org Subject: Re: pkg-static: pkg-1.4.0.p.a11 conflicts with pkg-1.3.7 (installs files into the same place). Message-ID: <5419CECF.8060704@gmx.de> In-Reply-To: <CA%2Bm52=fUd5PoMDA57rfSLXYK7jvo-is9iOo8S-aYJDnEuj5Hog@mail.gmail.com> References: <CA%2Bm52=fUd5PoMDA57rfSLXYK7jvo-is9iOo8S-aYJDnEuj5Hog@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5419CECF.8060704>