tech-pkg archive

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

pkg_install update



As if any confirmation were needed that pkgsrc is a research project...


[hf@Gstoder] /<2>pkgtools/pkg_install > make update
/usr/bin/make
/usr/bin/make deinstall _UPDATE_RUNNING=YES
===> Deinstalling for pkg_install-20090513
=> Becoming ``root'' to make su-deinstall (/usr/bin/su)
Password:
Erase is backspace.
Terminal type is xterm.
No match.
Running /var/obj/pkgsrc/pkgtools/pkg_install/work/pkg_install-20090513/delete/pkg_delete -K /var/db/pkg pkg_install-20090226
pkg_delete: The following packages are marked as not for deletion:
        pkg_install-20090226
=> Dropping ``root'' privileges.
/usr/bin/make install
===> Installing for pkg_install-20090513
=> Becoming ``root'' to make su-install-all (/usr/bin/su)
Password:
Erase is backspace.
Terminal type is xterm.
No match.
ERROR: pkg_install-20090226 is already installed - perhaps an older version?
ERROR: If so, you may use either of:
ERROR:     - "pkg_delete pkg_install-20090226" and "/usr/bin/make reinstall"
ERROR:       to upgrade properly
ERROR:     - "/usr/bin/make update" to rebuild the package and all
ERROR:       of its dependencies
ERROR:     - "/usr/bin/make replace" to replace only the package without
ERROR:       re-linking dependencies, risking various problems.
*** Error code 1

Stop.
make: stopped in /amd/hochstuhl/public/pkgsrc/pkgtools/pkg_install
*** Error code 1

Stop.
make: stopped in /amd/hochstuhl/public/pkgsrc/pkgtools/pkg_install
*** Error code 1

Stop.
make: stopped in /misc/pkgsrc/pkgtools/pkg_install
*** Error code 1

Stop.
make: stopped in /misc/pkgsrc/pkgtools/pkg_install
[hf@Gstoder] /<2>pkgtools/pkg_install > uname -a
NetBSD Gstoder 5.0_STABLE NetBSD 5.0_STABLE (P4W) #0: Mon May 4 12:17:34 CEST 2009 hf@Hochstuhl:/var/obj/netbsd-builds/5/i386/sys/arch/i386/compile/P4W i386
[hf@Gstoder] /<2>pkgtools/pkg_install >


I bet there's a hundred workarounds, and twisty little scripts all alike, but that is obviously not the point.

Sigh,
        hauke

--
     The ASCII Ribbon Campaign                    Hauke Fath
()     No HTML/RTF in email             Institut für Nachrichtentechnik
/\     No Word docs in email                     TU Darmstadt
     Respect for open standards              Ruf +49-6151-16-3281


Home | Main Index | Thread Index | Old Index