You are not logged in.

#1 2016-01-10 13:18:20

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,523

Knowing which package will need to upgrade

Hello,
I like programming in python, I've some idea to query alpm.
I'm curious to know whether exists a way that will tell which package(s) need to upgrade, without modifying the database. Obviously it doesn't mean to backup the DBs and restore them after.


do it good first, it will be faster than do it twice the saint wink

Offline

#2 2016-01-10 13:59:57

runical
Member
From: The Netherlands
Registered: 2012-03-03
Posts: 896

Re: Knowing which package will need to upgrade

You could take a look at the checkupdates script and see how that checks for updates.

Offline

#3 2016-01-10 14:20:10

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,523

Re: Knowing which package will need to upgrade

I was confused to find checkupdates. Then the script does a copy of the databases and query those.
Thank you for the point.


do it good first, it will be faster than do it twice the saint wink

Offline

Board footer

Powered by FluxBB