You are not logged in.

#1 2011-11-28 17:08:28

ypoluektovich
Member
Registered: 2011-11-10
Posts: 17

[SOLVED] yaourt upgrade check skips(?) packages

When running "yaourt -Syu --aur", after updating package databases for normal repositories, yaourt checks for AUR package upgrades and shows a counter, for example:

[ypoluektovich@arch ~]$ yaourt -Syu --aur
Password: 
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 Foreign packages: 34 / 34

But lately, for me, the counter has been stopping just short of completion:

 Foreign packages: / 49 / 50

What's going on and how do I fix it?

Last edited by ypoluektovich (2012-01-22 11:07:04)

Offline

#2 2012-01-22 11:06:43

ypoluektovich
Member
Registered: 2011-11-10
Posts: 17

Re: [SOLVED] yaourt upgrade check skips(?) packages

Right, I've figured it out. Turns out the "missing" packages have been removed/renamed in the AUR database. Here's a one-liner that will print names of all such packages:

for x in `pacman -Qqm`; do [[ $( yaourt -Ss $x | grep "installed" | wc -l ) == 0 ]] && echo "$x"; done

Offline

Board footer

Powered by FluxBB