Date: Wed, 17 Sep 2014 13:51:37 -0500 From: Bryan Drewery <bdrewery@FreeBSD.org> To: freebsd-ports <freebsd-ports@FreeBSD.org> Cc: Lucas Willian Bocchi <lucas.bocchi@gmail.com> Subject: Re: pkg-static: pkg-1.4.0.p.a11 conflicts with pkg-1.3.7 (installs files into the same place). Message-ID: <5419D839.2040609@FreeBSD.org> In-Reply-To: <5419D773.8080707@gmx.de> References: <CA%2Bm52=fUd5PoMDA57rfSLXYK7jvo-is9iOo8S-aYJDnEuj5Hog@mail.gmail.com> <5419CECF.8060704@gmx.de> <CA%2Bm52=eZM32WR3Wg8yw8gwKd3JjZ7V00dKoxV9rgvRowZtBOzQ@mail.gmail.com> <5419D773.8080707@gmx.de>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --foDq3Stw273CjWvldhIcuT2dwlTBdAgwI Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 9/17/2014 1:48 PM, olli hauer wrote: > On 2014-09-17 20:24, Lucas Willian Bocchi wrote: >> No. The packages are downloaded using pkg. >=20 > Look if you have a copy of pkg-1.3.7 in /var/cache/pkg/ > If not run '$ pkg -vv' there are lines similar to the next lines >=20 > Repositories: > FreeBSD: { > url : "pkg+http://pkg.FreeBSD.org/freebsd:10:x86:64/lat= est", > ... > } >=20 > Now append "/Latest/pkg.txz" and use fetch to get pkg-1.3.7 for your sy= stem > $ fetch http://pkg.freebsd.org/freebsd:10:x86:64/latest/Latest/pkg.txz >=20 > Extract the archive and use pkg-static from here. > All othere steps are the same as described in the first reply >=20 > // hth. olli >=20 >> >> 2014-09-17 15:11 GMT-03:00 olli hauer <ohauer@gmx.de>: >>> 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 d= o >>>> 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) >>> None of this manual work is needed. Just run 'pkg bootstrap -f' --=20 Regards, Bryan Drewery --foDq3Stw273CjWvldhIcuT2dwlTBdAgwI Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) iQEcBAEBAgAGBQJUGdg5AAoJEDXXcbtuRpfP59MH/RI9oBDr7ogAnHmKszuwHrxh aldT6Kq1oU3ncj1viKva4ENugIgj3CgL4s3Oh29Yrwcld1Wo7Y2r5B58iGYXG9vI zSgpkmK/u0ENgTk4ZpV3EukuBS7gEMw+GgUP55p6PCngNXWyWOi44mGRCC5ldOZD 6ud/jBh/ZpzUNiz1ePS391vQuiDAZMSqwBKW9vWolwhZgYutwC0IjBGu+FQGO7mz UK7cnecp28gE5oKWsbd9kJFpd1zKQFez284rWI+N+BQa4eyLSbk3feZ+e/h0bMoL bcINANoYhQYb+xDSoWwkXFinuEIf2HzXi3pWRsIN9RCQchYx1QcrVNcKNoSLAeY= =UELw -----END PGP SIGNATURE----- --foDq3Stw273CjWvldhIcuT2dwlTBdAgwI--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5419D839.2040609>