[pacman-dev] [PATCH] Cleanup code handling a sysupgrade of pacman itself

Dan McGee dpmcgee at gmail.com
Fri Jul 13 14:07:15 EDT 2007


On 7/13/07, Aaron Griffin <aaronmgriffin at gmail.com> wrote:
> On 6/13/07, Dan McGee <dpmcgee at gmail.com> wrote:
> > The old code attempted to upgrade pacman by itself and automate the process
> > by creating a new transaction and a bunch of other complicated stuff. We
> > should just leave such actions to the user to decide instead of trying to
> > do it for them, and it caused problems when pulling in dependencies.
>
> Going through some older mails.  Not sure if this was implemented or
> not, but I always figured pacman should be handled exactly like every
> other HoldPkg.  It makes sense to me.  That way an end user has
> complete control of the warning level for this, AND we don't have
> weird special case code like this.

I ended up going back on myself and leaving it as is. To be honest,
I'm not sure what special stuff we do for a holdpkg in the code. I'll
have to take a look at that.

The main thing is pacman will now pull in any required dependencies
when upgraded, unlike before when it would not.

-Dan




More information about the pacman-dev mailing list