You are not logged in.

#1 2011-09-23 11:41:00

svu
Member
Registered: 2011-09-21
Posts: 2

[SOLVED]list packages that will be upgraded before the actual upgrade?

Hi,

I've tried searching an answer myself : google , the forums , "man pacman" but I can't seem to find a solution.

I know there are applications that can notify you when there are new package updates and I know you can check the "Recent Updates (more)" on http://www.archlinux.org/ but I was wondering if there is a pacman command one can use to check the packages that will be installed when using the command : pacman -Syu or pacman -Su on your system ...

It just seems right to verify what will happen before doing the upgrades.

Thanks!

Last edited by svu (2011-09-23 11:54:18)

Offline

#2 2011-09-23 11:45:55

marxav
Member
From: Gatineau, PQ, Canada
Registered: 2006-09-24
Posts: 386

Re: [SOLVED]list packages that will be upgraded before the actual upgrade?

pacman -Qu

http://www.archlinux.org/pacman/pacman.8.html#QO:

Restrict or filter output to packages that are out of date on the local system. (Only package versions are used to find outdated packages, replacements are not checked here.) This option works best if the sync database is refreshed using -Sy.

Offline

#3 2011-09-23 11:47:11

ethail
Member
From: Spain
Registered: 2011-02-10
Posts: 225

Re: [SOLVED]list packages that will be upgraded before the actual upgrade?

pacman -Sy

Upgrades database, then

pacman -Qu

Queries for upgrades


My GitHub Page

Best Testing Repo Warning: [testing] means it can eat you hamster, catch fire and you should keep it away from children. And I'm serious here, it's not an April 1st joke.

Offline

#4 2011-09-23 11:52:37

Awebb
Member
Registered: 2010-05-06
Posts: 6,309

Re: [SOLVED]list packages that will be upgraded before the actual upgrade?

I usually do -Syu, read the list of updates and hit n, if I don't like something.

Offline

#5 2011-09-23 11:53:24

svu
Member
Registered: 2011-09-21
Posts: 2

Re: [SOLVED]list packages that will be upgraded before the actual upgrade?

Thanks a lot for the quick answer!

Offline

Board footer

Powered by FluxBB