Comments (12)
The command is right; if you replace /usr/bin/checkupdates
by /usr/bin/yaourt -Qqu -a
you should have both AUR and regular repos updates.
Does /usr/bin/yaourt -Qqu -a
shows updates in a terminal ?
from arch-update.
Today it worked and notified me about a community-package. Not sure why it did not yesterday. Maybe bacause the widget was restarted through a reboot after I changed the settings?
Seems to work now though. Closing this ticket. Thank you for your kind reply.
from arch-update.
Hmm..Closed it too early. It notified me about a community package this morning and I thought it was allright. But not about the regular packages (non-AUR) that came this afternoon.
In order to make it check for both regular packages and AUR-packages I had to do it with this command:
/bin/sh -c "/usr/bin/checkupdates &> /dev/null && /usr/bin/yaourt -Qu -a"
It updates and syncs the regular package list with checkupdates first (which uses fakeroot). Then it lists those packages + updates and shows the list of any new packages in the AUR with yaourt afterwards.
from arch-update.
You're right, yaourt works like pacaur, and shows only AUR updates with -a
flag. Sorry I've should have check that before. (I did not test AUR support myself)
But your command does not list non-AUR packages. You should not ignore checkupdates output, instead chain both scripts :
/bin/sh -c "/usr/bin/checkupdates ; /usr/bin/yaourt -Qqu -a"
If this works I will update the wiki.
from arch-update.
Yaourt also shows pending regular packages (after the sync with checkupdates). That is why I had to silence checkupdates - otherwise I would get double.
from arch-update.
Sounds strange. Checkupdates does not store anything after it's run.
Yaourt shows regular updates only if system databases are updated (with -Syu flag)
If you continue to ignore checkupdates output, you will not see new updates until you run yaourt -Syu
.
from arch-update.
checkupdates does two things:
fakeroot -- pacman -Sy --dbpath "$CHECKUPDATES_DB" --logfile /dev/null &> /dev/$
pacman -Qu --dbpath "$CHECKUPDATES_DB" 2> /dev/null | grep -v '\[.*\]'
As far as I could tell my command worked, but I may be wrong. It is very hard to test, as I have to wait for new packages to arrive :)
from arch-update.
Yes. But the db in $CHECKUPDATES_DB is not read by subsequent yaourt calls. (I mean the newly sync data part)
from arch-update.
I have added your command to test. We have to wait and see. ⌚
from arch-update.
I can confirm that your suggested command is the right one. The reason I got it double was because I did yaourt -Suy --aur
in between.
from arch-update.
Ok thanks for the feedback. I'll update the wiki.
Edit : wiki updated 😄
from arch-update.
Closing this then :)
from arch-update.
Related Issues (20)
- Fedora adaptation? HOT 4
- Update button not working after a while HOT 4
- [Feature request] Debian and apt HOT 9
- Local pacman dir folder setting changed needs a restart HOT 1
- How to change fnome-terminal to alacritty to update? HOT 1
- Refresh seems not to be working anymore? HOT 1
- Gnome 45 version HOT 12
- Rejected from extensions.gnome.org HOT 2
- Package names are underlined HOT 6
- AUR : pamac issue HOT 15
- Check AUR updates and show them in the topbar icon HOT 2
- [Feature request] option to move the indicator into quick settings menu HOT 1
- wiki error with the update command for yay HOT 2
- add whitelist
- Incompatibility with Gnome 46 (beta) HOT 27
- Version number is not shown properly while scrolling HOT 2
- Enhancement archlinux news HOT 2
- Timer is reset on lock/unlock preventing automatic checks if locked often HOT 7
- PACKAGE_INFO_CMD ==> Bad Request HOT 8
- Yay updates HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arch-update.