You are not logged in.

#1 2009-12-11 15:14:55

ngsupb
Member
Registered: 2009-07-29
Posts: 57
Website

[solved] pacman output date

Someone knows if it is possible to output the time the packages are available for/ from?

here is an example:
==> Software upgrade (new version) :
extra/aria2 1.6.3-1 -> 1.7.1-2  (10 days ago)

Is it possible?

It would help for those who wants to stick to tested releases by community and avoid upgrading to newest packages those have a risk of non-discovered  bugs and just update to these packages later after a few weeks of the release date

Sometimes I update right away after packages are released, but when I don't have time to fix something I would prefer to stay away from the newest upgrades. But the problem it is hard to know which is new package and which one is old

Last edited by ngsupb (2009-12-12 15:24:24)

Offline

#2 2009-12-11 17:31:52

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] pacman output date

When updating via 'pacman -Syu' you'll get a mix of new and "slightly old" packages. ARM and http://schlunix.org/archlinux/ are OK for manual updates - you can hand-pick "slightly old" ones.
Why did you choose Arch? Maybe another distro would suit you better?

Offline

#3 2009-12-11 18:46:57

ngsupb
Member
Registered: 2009-07-29
Posts: 57
Website

Re: [solved] pacman output date

Sorry, Karol, it seems you are missing my point. I can update manually and can compile from sources it isn't a problem and I like Arch a lot.

I just like to see how old the packages I am updating to.

Offline

#4 2009-12-11 18:53:40

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] pacman output date

From schlunix.org:
      xorg-server-1.4.2-1-..> 21-Jun-2008 11:28  8.1M 
      xorg-server-1.4.2-2-..> 31-Aug-2008 06:50  8.1M 
      xorg-server-1.5.3-2-..> 30-Nov-2008 06:01  4.4M 
      xorg-server-1.5.3-3-..> 05-Dec-2008 15:16  4.4M 
      xorg-server-1.5.3-4-..> 18-Dec-2008 03:12  4.4M 
      xorg-server-1.5.3-5-..> 05-Apr-2009 06:29  4.5M 
      xorg-server-1.6.0-3-..> 11-Apr-2009 08:01  3.8M 
      xorg-server-1.6.1-1-..> 15-Apr-2009 04:19  3.8M 
      xorg-server-1.6.1.90..> 28-May-2009 14:08  3.9M 
      xorg-server-1.6.1.90..> 28-Jun-2009 04:34  3.9M 
      xorg-server-1.6.2-1-..> 20-Jul-2009 02:24  3.9M 
      xorg-server-1.6.3-1-..> 01-Aug-2009 12:43  3.9M 
      xorg-server-1.6.3-2-..> 03-Aug-2009 13:50  3.9M 
      xorg-server-1.6.3-3-..> 14-Aug-2009 13:13  3.9M 
      xorg-server-1.6.3-4-..> 25-Aug-2009 14:33  3.8M 
      xorg-server-1.6.3.90..> 04-Sep-2009 09:17  3.8M 
      xorg-server-1.7.1-1-..> 31-Oct-2009 07:58  3.8M 
      xorg-server-1.7.1.90..> 06-Nov-2009 13:38  3.8M 
      xorg-server-1.7.1.90..> 08-Nov-2009 08:22  3.8M 
      xorg-server-1.7.1.90..> 21-Nov-2009 02:50  3.8M 
      xorg-server-1.7.2-1-..> 29-Nov-2009 11:30  3.8M 
      xorg-server-1.7.2-2-..> 30-Nov-2009 01:36  3.8M 
      xorg-server-1.7.3-1-..> 07-Dec-2009 07:31  3.8M

Edit: 'curl -s http://www.schlunix.org/archlinux/extra/os/i686/ | grep xorg-server' will give you the basics, you can play w/ the html parsing if you like.

Last edited by karol (2009-12-11 19:00:45)

Offline

#5 2009-12-12 12:07:15

ngsupb
Member
Registered: 2009-07-29
Posts: 57
Website

Re: [solved] pacman output date

ok, thanks karol. It appears the only way was to write some own script.

Now it outputs how old a particular update is:


@localhost ~]$ pd

core
extra
community

cpufrequtils-006-1             1 week
gparted-0.5.0-1                1 week
parted-1.9.0-3                 1 week
devicekit-disks-009-3          1 week
telepathy-glib-0.9.2-1         1 week
libv4l-0.6.3-2                 7 days
gen-init-cpio-2.6.32-1         7 days
enchant-1.5.0-2                7 days
pm-utils-1.2.6.1-2             6 days
wine-1.1.34-1                  5 days
aria2-1.7.1-2                  3 days
flashplugin-10.0.42.34-1       3 days
mono-2.4.3-1                   3 days
libpst-0.6.41-2                2 days
libldap-2.4.20-1               2 days
gnome-power-manager-2.28.      2 days
gtk2-2.18.5-1                  2 days
nano-2.2.0-1                   1 day
sqlite3-3.6.21-1               1 day

I am happy now big_smile

Offline

#6 2009-12-12 14:46:08

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] pacman output date

That's the Arch Way :-)
[solved]?

Offline

Board footer

Powered by FluxBB