[arch-general] Modify installed package version
gt
static.vortex at gmx.com
Tue Oct 23 08:46:03 EDT 2012
On Tue, Oct 23, 2012 at 01:08:28PM +0200, Giorgio Lando wrote:
> On Tue 23/10/12, 12:14, gt wrote:
> > Actually, it is related to IgnorePkg.
> >
> > I have a few packages locally compiled, for example mutt. I have stripped
> > all unnecessary options from mutt, and added it to IgnorePkg. Now when an
> > upgrade is available, i see the changes and decide whether to upgrade or
> > not. In case of mutt, the last two upgrades had added patches which i didn't
> > need. So i just changed the version in PKGBUILD to correspond to the arch repos.
>
> Perhaps you can create a local repo with repo-add and list it in pacman.conf before the
> official ones.
That's a nice idea, though the packages i modify are usually less than
5, so i am fine with the current methodology. I'll keep it in mind for
the future.
On Tue, Oct 23, 2012 at 01:40:19PM +0200, Damjan wrote:
> In your case, I believe it's easiest if you change the name of the
> package to "mutt-custom" or some-such. Optionally you could also add
> provides=(mutt) if there are some other packages that depend on
> mutt.
I can do that, but then i wouldn't be notified of upgrades by pacman.
More information about the arch-general
mailing list