NetBSD-Users archive

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

Re: How to update pkg_install package?

Thank you for your advice.

I installed successfuly with Greg's advice.

I didn't know about 'pkg_admin' command and pkgsrc system. Your advic e make me know how pkgsrc system does work.

松村英俊(MATSUMURA Hidetoshi) ,

From: Takahiro Kambe <>
Subject: Re: How to update pkg_install package?
Date: Sat, 24 Sep 2011 16:32:35 +0900 (JST)
Message-ID: <

In message <20110924.132010.1682271453241107169.bnj_2_h@muf.biglobe>
        on Sat, 24 Sep 2011 13:20:10 +0900 (JST),
        MATSUMURA Hidetoshi <> wrote:
I updated NetBSD/i386 From 4.0.2 to 5.1, and updated pkgsrc to 201 1Q2
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 <>

Home | Main Index | Thread Index | Old Index