pkgsrc-Users archive

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

Re: Error replacing gnome-utils-2.20.0.1nb1



  > Look in work, and you'll see .replace_oldname and .replace_newname.
  > It looks above like .replace_oldname is not set to something that
  > matches an installed package.  Check the value against pkg_info.  I
  > just added a better error message, but the problem is probably that
  > oldname is empty.

  .replace_oldname indeed is empty. Any solution to solve this?

You have to either have the package name match an installed package, or
give an OLDNAME that matches.  See /usr/pkgsrc/mk/flavor/pkg/replace.mk
and the line

        ${_PKG_BEST_EXISTS} "$${wildcard}" > ${_REPLACE_OLDNAME_FILE}

and then go trace this through the definitions.  But if you can say 

pkg_info oldname

and that works, then 

make replace OLDNAME=oldname

will probably be ok.



Home | Main Index | Thread Index | Old Index