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)
bnj_2_h%muf.biglobe.ne.jp@localhost , icarrot%mac.com@localhost

From: Takahiro Kambe <taca%back-street.net@localhost>
Subject: Re: How to update pkg_install package?
Date: Sat, 24 Sep 2011 16:32:35 +0900 (JST)
Message-ID: <20110924.163235.1306558653819368629.taca%back-street.net@localhost


In message <20110924.132010.1682271453241107169.bnj_2_h@muf.biglobe .ne.jp>
        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 201 1Q2
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