Re: portupgrade modifys EVERY +CONTENTS now?
On Mon, Aug 06, 2007 at 02:01:51AM -0400, Tuc at T-B-O-H.NET wrote: On Mon, Aug 06, 2007 at 12:49:31AM -0400, Tuc at T-B-O-H.NET wrote: On Sun, Aug 05, 2007 at 11:10:42PM -0400, Tuc at T-B-O-H.NET wrote: Hi, I've noticed that recent version(s?) of portupgrade seem to update the +CONTENTS of *EVERY* package on my system, not just the ones it used to actually make a difference to. Is there a way to revert to the old behaviour? With 915 ports (WAS only around 600 before the recent Xorg upgrade) its a killer. On my Soekris with a CF drive, and only 57 ports, its still killing that CF chip. Please show us how you came to this conclusion. Kris script output from a recent update : --- Upgrade of sysutils/bsdstats started at: Mon, 23 Jul 2007 10:52:00 -0400 --- Upgrading 'bsdstats-5.3' to 'bsdstats-5.3_4' (sysutils/bsdstats) OK? [yes] --- Build of sysutils/bsdstats started at: Mon, 23 Jul 2007 10:52:09 -0400 --- Building '/usr/ports/sysutils/bsdstats' === Cleaning for bsdstats-5.3_4 === Vulnerability check disabled, database not found === Extracting for bsdstats-5.3_4 === Patching for bsdstats-5.3_4 === Configuring for bsdstats-5.3_4 --- Build of sysutils/bsdstats ended at: Mon, 23 Jul 2007 10:52:10 -0400 (cons umed 00:00:00) --- Updating dependency info --- Modifying /var/db/pkg/Hermes-1.3.3_2/+CONTENTS Is it actually writing to these files, or just examining them to see whether they need to be updated? Kris I was truthfully only going by what I believed it was saying, that it was really modifying them. I upgraded fetchyahoo tonite after I emailed this, and if I do an ls -lt in /var/db/pkg I see : -rw-r--r-- 1 root wheel 15891456 Aug 6 00:59 pkgdb.db drwxr-xr-x 2 root wheel 512 Aug 6 00:59 fetchyahoo-2.10.9 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-Compress-Zlib-2.005 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-Crypt-SSLeay-0.56 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-IO-Compress-Zlib-2.005 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-libwww-5.805 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 openssl-0.9.8e_1 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-Authen-SASL-2.10_1 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-Digest-MD5-2.36 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-MIME-Tools-5.420_1,2 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-Net-1.21,1 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-Compress-Raw-Zlib-2.005 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-Digest-HMAC-1.01 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-GSSAPI-0.24 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-HTML-Parser-3.56 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-HTML-Tagset-3.10 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-IO-Compress-Base-2.005 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-Convert-BinHex-1.119 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-Digest-1.15 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-IO-stringy-2.110 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-MIME-Base64-3.07 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-Mail-Tools-1.74 (etc) drwxr-xr-x 2 root wheel 512 Aug 6 00:58 bsdstats-5.3_4 drwxr-xr-x 2 root wheel 512 Aug 6 00:58 Hermes-1.3.3_2 drwxr-xr-x 2 root wheel 512 Aug 6 00:58 ImageMagick-6.3.3.5_1 drwxr-xr-x 2 root wheel 512 Aug 6 00:58 ORBit-0.5.17_3 drwxr-xr-x 2 root wheel 512 Aug 6 00:58 ORBit2-2.14.8 drwxr-xr-x 2 root wheel 512 Aug 6 00:58 OpenEXR-1.4.0 drwxr-xr-x 2 root wheel 512 Aug 6 00:58 OpenSP-1.5.2 drwxr-xr-x 2 root wheel 512 Aug 6 00:58 Xaw3d-1.5E_2 drwxr-xr-x 2 root wheel 512 Aug 6 00:58 aalib-1.4.r5_3 I thought the timestamp of a directory only changes if a file was added or modified in the directory. If I do the ls -lt */\+CONTENTS, I see : -rw-r--r-- 1 root wheel2386 Aug 6 00:59 fetchyahoo-2.10.9/+CONTENTS -rw-r--r-- 1 root wheel1113 Aug 6 00:59 xset-1.0.2/+CONTENTS -rw-r--r-- 1 root wheel 976 Aug 6 00:59 xsetmode-1.0.0/+CONTENTS -rw-r--r-- 1 root wheel1003 Aug 6 00:59 xsetpointer-1.0.0/+CONTENTS -rw-r--r-- 1 root wheel1204 Aug 6 00:59 xsetroot-1.0.1/+CONTENTS -rw-r--r-- 1 root wheel1597 Aug 6 00:59 xsm-1.0.1/+CONTENTS -rw-r--r-- 1 root wheel1149 Aug 6 00:59 xstdcmap-1.0.1/+CONTENTS -rw-r--r-- 1 root wheel5124 Aug 6 00:59 xterm-228/+CONTENTS -rw-r--r-- 1 root wheel1157 Aug 6 00:59 xtrans-1.0.3/+CONTENTS -rw-r--r-- 1 root wheel3097 Aug 6 00:59 xtrap-1.0.2/+CONTENTS -rw-r--r-- 1 root wheel6643 Aug 6 00:59 xv-3.10a_7/+CONTENTS -rw-r--r-- 1 root wheel4629 Aug 6 00:59
Re: portupgrade modifys EVERY +CONTENTS now?
On Mon, Aug 06, 2007 at 02:01:51AM -0400, Tuc at T-B-O-H.NET wrote: On Mon, Aug 06, 2007 at 12:49:31AM -0400, Tuc at T-B-O-H.NET wrote: On Sun, Aug 05, 2007 at 11:10:42PM -0400, Tuc at T-B-O-H.NET wrote: Hi, I've noticed that recent version(s?) of portupgrade seem to update the +CONTENTS of *EVERY* package on my system, not just the ones it used to actually make a difference to. Is there a way to revert to the old behaviour? With 915 ports (WAS only around 600 before the recent Xorg upgrade) its a killer. On my Soekris with a CF drive, and only 57 ports, its still killing that CF chip. Please show us how you came to this conclusion. Kris script output from a recent update : --- Upgrade of sysutils/bsdstats started at: Mon, 23 Jul 2007 10:52:00 -0400 --- Upgrading 'bsdstats-5.3' to 'bsdstats-5.3_4' (sysutils/bsdstats) OK? [yes] --- Build of sysutils/bsdstats started at: Mon, 23 Jul 2007 10:52:09 -0400 --- Building '/usr/ports/sysutils/bsdstats' === Cleaning for bsdstats-5.3_4 === Vulnerability check disabled, database not found === Extracting for bsdstats-5.3_4 === Patching for bsdstats-5.3_4 === Configuring for bsdstats-5.3_4 --- Build of sysutils/bsdstats ended at: Mon, 23 Jul 2007 10:52:10 -0400 (cons umed 00:00:00) --- Updating dependency info --- Modifying /var/db/pkg/Hermes-1.3.3_2/+CONTENTS Is it actually writing to these files, or just examining them to see whether they need to be updated? Kris I was truthfully only going by what I believed it was saying, that it was really modifying them. I upgraded fetchyahoo tonite after I emailed this, and if I do an ls -lt in /var/db/pkg I see : -rw-r--r-- 1 root wheel 15891456 Aug 6 00:59 pkgdb.db drwxr-xr-x 2 root wheel 512 Aug 6 00:59 fetchyahoo-2.10.9 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-Compress-Zlib-2.005 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-Crypt-SSLeay-0.56 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-IO-Compress-Zlib-2.005 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-libwww-5.805 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 openssl-0.9.8e_1 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-Authen-SASL-2.10_1 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-Digest-MD5-2.36 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-MIME-Tools-5.420_1,2 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-Net-1.21,1 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-Compress-Raw-Zlib-2.005 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-Digest-HMAC-1.01 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-GSSAPI-0.24 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-HTML-Parser-3.56 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-HTML-Tagset-3.10 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-IO-Compress-Base-2.005 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-Convert-BinHex-1.119 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-Digest-1.15 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-IO-stringy-2.110 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-MIME-Base64-3.07 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-Mail-Tools-1.74 (etc) drwxr-xr-x 2 root wheel 512 Aug 6 00:58 bsdstats-5.3_4 drwxr-xr-x 2 root wheel 512 Aug 6 00:58 Hermes-1.3.3_2 drwxr-xr-x 2 root wheel 512 Aug 6 00:58 ImageMagick-6.3.3.5_1 drwxr-xr-x 2 root wheel 512 Aug 6 00:58 ORBit-0.5.17_3 drwxr-xr-x 2 root wheel 512 Aug 6 00:58 ORBit2-2.14.8 drwxr-xr-x 2 root wheel 512 Aug 6 00:58 OpenEXR-1.4.0 drwxr-xr-x 2 root wheel 512 Aug 6 00:58 OpenSP-1.5.2 drwxr-xr-x 2 root wheel 512 Aug 6 00:58 Xaw3d-1.5E_2 drwxr-xr-x 2 root wheel 512 Aug 6 00:58 aalib-1.4.r5_3 I thought the timestamp of a directory only changes if a file was added or modified in the directory. If I do the ls -lt */\+CONTENTS, I see : -rw-r--r-- 1 root wheel2386 Aug 6 00:59 fetchyahoo-2.10.9/+CONTENTS -rw-r--r-- 1 root wheel1113 Aug 6 00:59 xset-1.0.2/+CONTENTS -rw-r--r-- 1 root wheel 976 Aug 6 00:59 xsetmode-1.0.0/+CONTENTS -rw-r--r-- 1 root wheel1003 Aug 6 00:59 xsetpointer-1.0.0/+CONTENTS -rw-r--r-- 1 root wheel1204 Aug 6 00:59 xsetroot-1.0.1/+CONTENTS -rw-r--r-- 1 root wheel1597 Aug 6 00:59 xsm-1.0.1/+CONTENTS -rw-r--r-- 1 root wheel1149 Aug 6 00:59 xstdcmap-1.0.1/+CONTENTS -rw-r--r-- 1 root wheel5124 Aug 6 00:59 xterm-228/+CONTENTS -rw-r--r-- 1 root wheel1157 Aug 6 00:59 xtrans-1.0.3/+CONTENTS -rw-r--r-- 1 root wheel3097 Aug 6 00:59 xtrap-1.0.2/+CONTENTS -rw-r--r-- 1
Re: portupgrade modifys EVERY +CONTENTS now?
Tuc at T-B-O-H.NET wrote: Ok. But I part of my question to people , and reason for posting it here, is the old Is anyone else seeing this. When/if you use portupgrade, does it do the same for you? Or is it just something that I happened some how to inherit on atleast 2 of my machines? 2 machines (7.0-CURRENT and 6.2-RELEASE, i386), same behaviour: $ cd /var/db/pkg $ ls -l */\+CONTENTS | wc -l 556 $ ls -lt */\+CONTENTS -rw-r--r-- 1 root wheel 15736 Aug 6 10:38 mplayer-0.99.10_13/+CONTENTS -rw-r--r-- 1 root wheel 571 Aug 6 10:38 xf86dgaproto-2.0.2/+CONTENTS -rw-r--r-- 1 root wheel 544 Aug 6 10:38 xf86driproto-2.0.3/+CONTENTS [...] -rw-r--r-- 1 root wheel1232 Aug 6 10:37 adns-1.4/+CONTENTS -rw-r--r-- 1 root wheel 61306 Aug 6 10:37 apache+mod_ssl-1.3.37+2.8.28/+CONTENTS -rw-r--r-- 1 root wheel1154 Aug 6 10:37 apg-2.3.0b_1/+CONTENTS $ pkg_info -Ix portupgrade portupgrade-2.3.1,2 FreeBSD ports/packages administration and management tool s $ portupgrade portupgrade 2.3.0 (2007/07/03) HTH, Karol -- Karol Kwiatkowski karol.kwiat at gmail dot com OpenPGP 0x06E09309 signature.asc Description: OpenPGP digital signature
Re[2]: portupgrade modifys EVERY +CONTENTS now?
On August 06, 2007 at 02:55AM Tuc at T-B-O-H.NET wrote: [snip} Ok. But I part of my question to people , and reason for posting it here, is the old Is anyone else seeing this. When/if you use portupgrade, does it do the same for you? Or is it just something that I happened some how to inherit on atleast 2 of my machines? I have noticed the same behavior. I have some 815 ports installed; however, I had not noticed any significant deterioration in performance. -- Gerard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade modifys EVERY +CONTENTS now?
On Mon, 6 Aug 2007 02:55:34 -0400 (EDT) Tuc at T-B-O-H.NET [EMAIL PROTECTED] wrote: [...] Ok. But I part of my question to people , and reason for posting it here, is the old Is anyone else seeing this. When/if you use portupgrade, does it do the same for you? Or is it just something that I happened some how to inherit on atleast 2 of my machines? Interestingly, I see this behaviour only _partially_ with %ls -d /var/db/pkg/portupgrade* /var/db/pkg/portupgrade-devel-2.3.1 I've just upgraded the following ports (extract from build script): === Registering installation for sudo-1.6.9.3_1 === Registering installation for jasper-1.900.1_6 === Registering installation for intltool-0.36.0 === Registering installation for cups-base-1.2.11_3 === Registering installation for libglade2-2.6.2 === Registering installation for ffmpeg-2007.07.12_1 === Registering installation for libgnomeprint-2.18.0_3 === Registering installation for py25-tkinter-2.5.1_2 === Registering installation for xpdf-3.02_2 === Registering installation for gstreamer-0.10.14 === Registering installation for gstreamer-plugins-0.10.14,3 However: %ls -lt /var/db/pkg/*/*CONTENTS -rw-r--r-- 1 root wheel 50114 Aug 6 11:28 /var/db/pkg/wxgtk2-common-2.8.4/+CONTENTS -rw-r--r-- 1 root wheel9772 Aug 6 11:28 /var/db/pkg/wxgtk2-unicode-2.8.4/+CONTENTS -rw-r--r-- 1 root wheel 35998 Aug 6 11:27 /var/db/pkg/aMule-2.1.3_4/+CONTENTS -rw-r--r-- 1 root wheel 20786 Aug 6 11:26 /var/db/pkg/gstreamer-plugins-0.10.14,3/+CONTENTS -rw-r--r-- 1 root wheel 992 Aug 6 11:13 /var/db/pkg/xwud-1.0.1/+CONTENTS -rw-r--r-- 1 root wheel 21020 Aug 6 11:13 /var/db/pkg/yelp-2.18.1_1/+CONTENTS -rw-r--r-- 1 root wheel 28133 Aug 6 11:13 /var/db/pkg/zenity-2.18.2/+CONTENTS -rw-r--r-- 1 root wheel 441 Aug 6 11:13 /var/db/pkg/zip-2.32/+CONTENTS -rw-r--r-- 1 root wheel 440 Aug 6 11:13 /var/db/pkg/zoo-2.10.1_2/+CONTENTS -rw-r--r-- 1 root wheel1765 Aug 6 11:13 /var/db/pkg/xsm-1.0.1/+CONTENTS [...] [all other +CONTENTS files are in 11:13 and 11:12] This means that upgrading of gstreamer-plugins affected only ports depending on it (aMule and wxgtk2*). But this is obviously not the case with some other ports. However[2]: %ls -lt /var/db/pkg | head total 23198 drwxr-xr-x 2 root wheel 512 Aug 6 11:28 gstreamer-plugins-0.10.14,3 drwxr-xr-x 2 root wheel 512 Aug 6 11:28 wxgtk2-common-2.8.4 drwxr-xr-x 2 root wheel 512 Aug 6 11:28 wxgtk2-unicode-2.8.4 drwxr-xr-x 2 root wheel 512 Aug 6 11:27 aMule-2.1.3_4 -rw-r--r-- 1 root wheel 21974016 Aug 6 11:26 pkgdb.db drwxr-xr-x 2 root wheel 512 Aug 6 11:16 gstreamer-0.10.14 drwxr-xr-x 2 root wheel 512 Aug 6 11:16 libXft-2.1.12 drwxr-xr-x 2 root wheel 512 Aug 6 11:16 xorg-libraries-7.2_2 drwxr-xr-x 2 root wheel 512 Aug 6 11:16 libXcomposite-0.3.2,1 I haven't recently noticed any significant change in performance. (The times in the above lists are not relevant since couple of demanding things were running at the same time.) Nikola Lečić ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Re[2]: portupgrade modifys EVERY +CONTENTS now?
On August 06, 2007 at 02:55AM Tuc at T-B-O-H.NET wrote: [snip} Ok. But I part of my question to people , and reason for posting it here, is the old Is anyone else seeing this. When/if you use portupgrade, does it do the same for you? Or is it just something that I happened some how to inherit on atleast 2 of my machines? I have noticed the same behavior. I have some 815 ports installed; however, I had not noticed any significant deterioration in performance. Ok, so someone else is seeing it... Its not performance I'm worried about though. For the laptop, its just sitting and watching it go through 915 files for an update to a small program that doesn't rely on anything but perl. For my Soekris, it IS bothersome. CF cards have a limited life, and all those rewrites decrease it. So I guess its the new way it does it then. Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade modifys EVERY +CONTENTS now?
At 2:55 AM -0400 8/6/07, Tuc at T-B-O-H.NET wrote: Ok. But I part of my question to people , and reason for posting it here, is the old Is anyone else seeing this. When/if you use portupgrade, does it do the same for you? Or is it just something that I happened some how to inherit on at least 2 of my machines? I've noticed it, but I've also noticed that it does not happen every time. I had one case were I did a portupgrade of a specific set of components, and later I noticed that all the directories under /var/db/pkg had been modified. I did a 'portupgrade -f' of the exact same components, and this time the only directories which changed were the ones which were upgraded. While the behavior seems odd, it has not caused any problems for me, so I haven't done much investigation of it. (the above paragraph describes almost all of the investigation that I have done...) Warner Losh also stumbled into this, in a recent case where he ended up losing all subdirectories of /var/db/pkg due to a system crash during a portupgrade. -- Garance Alistair Drosehn = [EMAIL PROTECTED] Senior Systems Programmer or [EMAIL PROTECTED] Rensselaer Polytechnic Institute; Troy, NY; USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
portupgrade modifys EVERY +CONTENTS now?
Hi, I've noticed that recent version(s?) of portupgrade seem to update the +CONTENTS of *EVERY* package on my system, not just the ones it used to actually make a difference to. Is there a way to revert to the old behaviour? With 915 ports (WAS only around 600 before the recent Xorg upgrade) its a killer. On my Soekris with a CF drive, and only 57 ports, its still killing that CF chip. Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade modifys EVERY +CONTENTS now?
On Sun, Aug 05, 2007 at 11:10:42PM -0400, Tuc at T-B-O-H.NET wrote: Hi, I've noticed that recent version(s?) of portupgrade seem to update the +CONTENTS of *EVERY* package on my system, not just the ones it used to actually make a difference to. Is there a way to revert to the old behaviour? With 915 ports (WAS only around 600 before the recent Xorg upgrade) its a killer. On my Soekris with a CF drive, and only 57 ports, its still killing that CF chip. Please show us how you came to this conclusion. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]