You are not logged in.
I just did a -Qdt to check for orphans -- its been a while since I've done so -- and apparently both I've failed to use -Rs religiously and some dependencies have changed, I had quite a few orphans, including some packages I knew I only had because of dependency issues.
Anyway, looking through the packages I found a few, like zip, that were labeled as "installed as dependency", which may be true but if so it is no longer a dependency for something I have. But I need zip so I'd like to change it to be "explicitly installed".
I just want to make sure: Changing the desc file in /var/lib/pacman/local/$PKGNAME and changing %REASON% from 1 to a 0, or just getting rid of %REASON%, is all I have to do to fix this, right?
Offline
I generally don't suggest editing the DB by hand - have you just tried pacman -S zip?
Offline
Yeah, that was the first thing I tried. Explicitly sync'ing the package doesn't change its install status. It makes sense, otherwise you couldn't explicitly re-sync dependencies without messing up dependency-install info.
Offline
I think you might need to first uninstall the package in question with -Rd and then install it again with -S. Just reinstalling (without previously removing the package) doesn't change the "install reason", if I remember correctly.
Offline
Yeah, that fixed the problem. I'll just do that for all the packages.
Offline