You are not logged in.
Hi,
is it possible to see the old version of a package before doing an update? "pacman -Suu" only shows the new version and not the installed version
Thanks
Last edited by genmich (2010-08-24 20:22:55)
Offline
pacman -Qu will show the upgradable packages, but it cannot be combined with "S".
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
I've created this horrible hack and still keep it in my .bashrc:
# when 'pacman -Qu' isn't enough
newp () {
files=$(for i in $(sudo pacman -Quq); do
find /var/lib/pacman/sync -iname $i-?\.* | cut -c 21-
find /var/lib/pacman/local -iname $i-?\.* | cut -c 16-
done)
echo "$files";
}
The output leaves much to be desired but it's a "works for me" solution:
/core/kernel26-2.6.35.3-1
/local/kernel26-2.6.34.3-1
This means I've got kernel26-2.6.34.3-1 but I can upgrade to kernel26-2.6.35.3-1 if I want.
Last edited by karol (2010-08-24 20:20:39)
Offline
Thanks for the quick answer!
Offline
Hi,
is it possible to see the old version of a package before doing an update? "pacman -Suu" only shows the new version and not the installed versionThanks
Actually, it shows both the old and new versions in a very pretty way:
[karol@black apps]$ sudo pacman -Suu
:: Starting full system upgrade...
warning: hdparm: downgrading from version 9.29-1 to version 9.28-1
warning: intel-dri: ignoring package upgrade (7.5.1-2 => 7.8.2-1)
warning: libdrm: ignoring package upgrade (2.4.19-1 => 2.4.21-2)
warning: libgl: ignoring package upgrade (7.5.1-2 => 7.8.2-1)
warning: lrzip: downgrading from version 0.46-1 to version 0.45-1
warning: stfl: downgrading from version 0.21-2 to version 0.21-1
warning: xf86-input-evdev: ignoring package upgrade (2.2.5-1 => 2.4.0-2)
warning: xf86-input-keyboard: ignoring package upgrade (1.3.2-2 => 1.4.0-2)
warning: xf86-input-mouse: ignoring package upgrade (1.4.0-2 => 1.5.0-2)
warning: ignoring package replacement (xf86-video-intel-legacy-2.3.2-3 => xf86-video-intel-newest-2.12.0-1)
warning: xf86-video-vesa: ignoring package upgrade (2.2.0-1 => 2.3.0-2)
warning: xorg-server: ignoring package upgrade (1.6.3.901-1 => 1.8.1.902-1)
warning: xorg-server-utils: ignoring package upgrade (7.4-7 => 7.5-5)
resolving dependencies...
looking for inter-conflicts...
I have all of the above packages in IgnorePkg:
IgnorePkg = xorg-server xorg-server-utils xf86-video-intel-legacy xf86-video-vesa xf86-input-evdev xf86-input-keyboard xf86-input-mouse intel-dri libgl libdrm
Offline
A (hopefully) better way: https://bbs.archlinux.org/viewtopic.php … 40#p816540
Offline