Date: Wed, 6 Feb 2008 08:19:13 -0800 From: Garrett Cooper <yanegomi@gmail.com> To: navneet Upadhyay <navneet.upadhyay@gmail.com> Cc: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>, freebsd-ports@freebsd.org Subject: Re: Upgrading the Installed package Message-ID: <6EDA3ABE-36F2-4D7B-AAEC-8B81150D18DF@u.washington.edu> In-Reply-To: <1563a4fd0802060239t16e539adn784001d75f9d1d02@mail.gmail.com> References: <1563a4fd0802052211h623de132q68a1ad0c8a9b930c@mail.gmail.com> <230174700802060040x4f2a0815r1a4bdc7fccf62b5d@mail.gmail.com> <20080206095133.GA94134@eos.sc1.parodius.com> <20080206110215.T2130@wojtek.tensor.gdynia.pl> <1563a4fd0802060239t16e539adn784001d75f9d1d02@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Feb 6, 2008, at 2:39 AM, navneet Upadhyay wrote: > Since i am not using the ports , i have complied my product and have > created > package using pkg_create on Machine B(build)and added it using > pkg_add on > machine A . > so after these steps i have my 1.0 installed on Machine A. > > Now i have made some changes in my product and created a package on > Machine > B using pkg_create, and it is my 1.1 version. > > I want to install this(1.1) version on machine A(which is having 1.0 > already > installed) . > > one way is to remove 1.0 and install 1.1 on machine A, but i cannot > afford > to do so. IS there any way to upgrade it to 1.1 without uninstalling? > pkg_update command is not present. > > I hope i am clear with what i want. > > Help will be appreciated. > > Thanks, > Navneet pkg_delete(1) and pkg_add(1) will do the trick if you want to do a straight upgrade of the packages. Otherwise, I suggest installing the package to another directory for evaluation purposes (see the PKG_PREFIX variable). Everything should work (crosses fingers), pending that the packages don't CONFLICT with one another and/or the metadata (/var/db/pkg) is stored in 2 different locations (I forget whether or not that is the case). See each respective manpage for more info. Cheers, -Garrett
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6EDA3ABE-36F2-4D7B-AAEC-8B81150D18DF>