Skip site navigation (1)Skip section navigation (2)
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=3D193016

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

Some dirty hack for now:

In the attached script =C2=BBrm_old_multiple_pkgs.sh=C2=AB:
Read the comments there:

Adjust =C2=BBpoudriere_pkgdir=C2=AB 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
=C2=BBdeleteOldMultiplePkgVersions=C2=AB in =C2=BBmain()=C2=AB to automatic=
ally delete them.

I suggest you build the packages (e.g. using poudriere), than call this scr=
ipt
(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 =C2=BBpkg repo ${poudriere_pkgdir}/All=C2=AB.

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

--=20
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>