Date: Mon, 20 Oct 2014 13:53:02 +0000 From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 193016] pkg upgrade does not use latest version from repo Message-ID: <bug-193016-32340-GiM12UsVDr@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-193016-32340@https.bugs.freebsd.org/bugzilla/> References: <bug-193016-32340@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193016 --- Comment #3 from Kalten <kalten@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-193016-32340-GiM12UsVDr>
