[Bug 193016] pkg upgrade does not use latest version from repo

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Oct 20 13:53:02 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193016

--- Comment #3 from Kalten <kalten at gmx.at> ---
Created attachment 148502
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=148502&action=edit
rm_old_multiple_pkgs.sh

Some dirty hack for now:

In the attached script »rm_old_multiple_pkgs.sh«:
Read the comments there:

Adjust »poudriere_pkgdir« and run it.
As it is now, it will only list the to be deleted files to stdout but not
actually delete them. You would have to uncomment the call
»deleteOldMultiplePkgVersions« in »main()« to automatically delete them.

I suggest you build the packages (e.g. using poudriere), than call this script
(having changed it to deleting mode), (may be build missing packages again as
the script might have deleted some it should not have) and thereafter build the
meta files by calling »pkg repo ${poudriere_pkgdir}/All«.

I hope, it will be of use to some people.
 Kalten

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-pkg mailing list