NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: How to update pkg_install package?



In message 
<20110924.132010.1682271453241107169.bnj_2_h%muf.biglobe.ne.jp@localhost>
        on Sat, 24 Sep 2011 13:20:10 +0900 (JST),
        MATSUMURA Hidetoshi <bnj_2_h%muf.biglobe.ne.jp@localhost> wrote:
> Hi,
> I updated NetBSD/i386 From 4.0.2 to 5.1, and updated pkgsrc to 2011Q2
> branch.
> When I executed 'lintpkgsrc -i',results was "Version mismatch:
> 'pkg_install' 20100915 vs 20110215".
Here is my ad hoc procedure.

1. Remove current pkg_install's information.

        # cd /var/db/pkg
        # rm -rf pkg_install

2. Rebuild pkgdb for safety.

        # pkg_admin rebuild

3. Add new pkg_install

        # cd /usr/pkgsrc/pkgtools/pkg_install
        # make install

-- 
Takahiro Kambe <taca%back-street.net@localhost>


Home | Main Index | Thread Index | Old Index