[SOLVED] Question about package updates and ABS

Hello,
I have manually compile my kernel in order to apply a patch my laptop needs to suspend. So I use abs and customize the pkgbuild. A few days ago when the update for kernel26-2.6.33.3-2 came out, I thought I'd just refresh abs, rebuild, and then I'd be up to date. But instead now pacman -Syu tells me that there is still an update for the kernel.
Does building from ABS not get you the latest package update?
Also, what exactly is the package update compared to a software update? I'm guessing that it is an arch only update to the package but the software itself is the same version. Or am I totally off?
Thanks for the help!
Last edited by Fingel (2010-05-12 03:42:38)

When building via ABS, the package installed gets its version from the PKGBUILD ($pkgver-$pkgrel).  Pacman just looks at available version vs installed version to tell if you should upgrade.
Your abs tree was probably just not up to date; just because pacman -Syu says your mirror has a package, doesn't mean building via abs _at that moment_ will get that version.
Be sure to run `abs` to update your tree, then when you're editing the PKGBUILD, check which version it's building.  In some cases, you can simply increment those numbers right in the PKGBUILD before building as source files are often fetched based on those variables, etc. -- but I don't know if I'd recommend that when building something like the kernel.
Last edited by brisbin33 (2010-05-11 17:08:12)

Similar Messages

  • Basic questions about downloading updates and smartnet licensing

    I have been trying to get a definitive answer to these questions by browsing around cisco.com, but so far no luck.
    1. I manage an ASA5510 for which there is no current smartnet contract.  It is running an outdated code version (8.2) of the Security Plus license.  Is it allowable to download the 8.4 image and upgrade the ASA as long as I stay within the Security Plus license, or would there be a fee?
    2. Same question in general for routers without smartnet: If I have a router running old v12.x code is is permissible to upgrade to 15.x code as long as the featureset remains the same?
    3. If I were to purchase a new ASA feature license (e.g. SSL VPN 50 users) and then install it on this ASA, would the license be recoverable if the ASA were to become unusable because of a hardware failure?
    Help on any of these questions would be greatly appreciated.  All doc I have found so far either seems either contradictory or ambiguous.
    Thanks,
    -Mathew

    Answer 1:
    If you do not have a SMARTnet agreement for the device that you support, you will be unable to download updates for that device. You will need to have a CCO login with an active SMARTnet agreement for that device.
    Answer 2:
    Same answer to question 1 applies to routers. You will be unable to download updates if that device does not have an active SMARTnet agreement.
    Answer 3:
    If you add a feature, like updating the user license, you will be unable to transfer it to a new unit. This is because the license is bound to the device serial number. The new device will have a different serial number.
    Just to mention also, If you add a feature and have an active agreement, you will need to purchase a new agreement to cover that feature. The original agreement only covers the original device. If it goes bad and needs replacing, you will receive a replacement like the original. It will not contain the added license and you will be unable to install the license on the replacement unit because the license is bound to the serial number. The replacement will have a different serial number.
    Sent from Cisco Technical Support iPad App

  • [solved] Questions about pacman -Qk and -Qkk output.

    I was looking through the pacman manual today to see if there was anything I could add to a some Arch maintenance scripts I've been working on and came across -Qk which, among other things, lists missing files. I ran pacman -Qk in terminal and found a few package installations were missing files. I reinstalled them manually check again and the files were no longer missing. The first package I saw that was missing a file was gnome-command-center for instance.
    So I really have two questions.
    1) Is it normal for packages to have missing files?
    2) Is it a good idea to reinstall these packages to replace the missing files.
    I then ran pacman -Qkk, and got even more disturbing information such as modification time mismatches and size mismatches.
    $ pacman -Qkk |grep warning
    warning: avahi: /etc/avahi/avahi-daemon.conf (Modification time mismatch)
    warning: avahi: /etc/avahi/hosts (Modification time mismatch)
    warning: avahi: /etc/avahi/services/sftp-ssh.service (Modification time mismatch)
    warning: avahi: /etc/avahi/services/ssh.service (Modification time mismatch)
    warning: avahi: /usr/lib/avahi/service-types.db (Modification time mismatch)
    warning: avahi: /usr/share/avahi/service-types (Modification time mismatch)
    warning: bash: /etc/bash.bash_logout (Modification time mismatch)
    warning: bash: /etc/bash.bashrc (Modification time mismatch)
    warning: bash: /etc/skel/.bash_logout (Modification time mismatch)
    warning: bash: /etc/skel/.bash_profile (Modification time mismatch)
    warning: bash: /etc/skel/.bashrc (Modification time mismatch)
    warning: bluez: /etc/bluetooth/main.conf (Modification time mismatch)
    warning: bluez: /etc/dbus-1/system.d/bluetooth.conf (Modification time mismatch)
    warning: ca-certificates-java: /etc/default/cacerts (Modification time mismatch)
    warning: cdrtools: /etc/default/cdrecord (Modification time mismatch)
    warning: cdrtools: /etc/default/rscsi (Modification time mismatch)
    warning: chromium: /etc/chromium/default (Modification time mismatch)
    warning: chromium: /etc/chromium/default (Size mismatch)
    warning: colord: /var/lib/colord (UID mismatch)
    warning: colord: /var/lib/colord (GID mismatch)
    warning: dhcpcd: /etc/dhcpcd.conf (Modification time mismatch)
    warning: e2fsprogs: /etc/mke2fs.conf (Modification time mismatch)
    warning: filesystem: /etc/crypttab (Modification time mismatch)
    warning: filesystem: /etc/fstab (Modification time mismatch)
    warning: filesystem: /etc/fstab (Size mismatch)
    warning: filesystem: /etc/group (Modification time mismatch)
    warning: filesystem: /etc/group (Size mismatch)
    warning: filesystem: /etc/gshadow (Permissions mismatch)
    warning: filesystem: /etc/gshadow (Modification time mismatch)
    warning: filesystem: /etc/gshadow (Size mismatch)
    warning: filesystem: /etc/host.conf (Modification time mismatch)
    warning: filesystem: /etc/hosts (Modification time mismatch)
    warning: filesystem: /etc/issue (Modification time mismatch)
    warning: filesystem: /etc/ld.so.conf (Modification time mismatch)
    warning: filesystem: /etc/motd (Modification time mismatch)
    warning: filesystem: /etc/mtab (Modification time mismatch)
    warning: filesystem: /etc/mtab (Symlink path mismatch)
    warning: filesystem: /etc/nsswitch.conf (Modification time mismatch)
    warning: filesystem: /etc/passwd (Modification time mismatch)
    warning: filesystem: /etc/passwd (Size mismatch)
    warning: filesystem: /etc/profile (Modification time mismatch)
    warning: filesystem: /etc/resolv.conf (Modification time mismatch)
    warning: filesystem: /etc/resolv.conf (Size mismatch)
    warning: filesystem: /etc/securetty (Modification time mismatch)
    warning: filesystem: /etc/shadow (Permissions mismatch)
    warning: filesystem: /etc/shadow (Modification time mismatch)
    warning: filesystem: /etc/shadow (Size mismatch)
    warning: filesystem: /etc/shells (Modification time mismatch)
    warning: flashplugin: /etc/adobe/mms.cfg (Modification time mismatch)
    warning: flashplugin: /etc/adobe/mms.cfg (Size mismatch)
    warning: glibc: /etc/locale.gen (Modification time mismatch)
    warning: glibc: /etc/locale.gen (Size mismatch)
    warning: gnome-control-center: /usr/share/polkit-1/rules.d/gnome-control-center.rules (Permission denied)
    warning: gnomenu: /usr/share/cairo-dock/plug-ins/Dbus/third-party/GnoMenu/GnoMenu (Modification time mismatch)
    warning: gnomenu: /usr/share/cairo-dock/plug-ins/Dbus/third-party/GnoMenu/GnoMenu (Size mismatch)
    warning: gnomenu: /usr/share/cairo-dock/plug-ins/Dbus/third-party/GnoMenu/GnoMenu.conf (Modification time mismatch)
    warning: gnomenu: /usr/share/cairo-dock/plug-ins/Dbus/third-party/GnoMenu/GnoMenu.conf (Size mismatch)
    warning: gnomenu: /usr/share/cairo-dock/plug-ins/Dbus/third-party/GnoMenu/auto-load.conf (Permissions mismatch)
    warning: gnomenu: /usr/share/cairo-dock/plug-ins/Dbus/third-party/GnoMenu/auto-load.conf (Modification time mismatch)
    warning: gnomenu: /usr/share/cairo-dock/plug-ins/Dbus/third-party/GnoMenu/auto-load.conf (Size mismatch)
    warning: gnomenu: /usr/share/cairo-dock/plug-ins/Dbus/third-party/GnoMenu/icon (Modification time mismatch)
    warning: gnomenu: /usr/share/cairo-dock/plug-ins/Dbus/third-party/GnoMenu/icon (Size mismatch)
    warning: gnomenu: /usr/share/cairo-dock/plug-ins/Dbus/third-party/GnoMenu/preview (Permissions mismatch)
    warning: gnomenu: /usr/share/cairo-dock/plug-ins/Dbus/third-party/GnoMenu/preview (Modification time mismatch)
    warning: gnomenu: /usr/share/cairo-dock/plug-ins/Dbus/third-party/GnoMenu/preview (Size mismatch)
    warning: grub: /boot/grub/grub.cfg (Permissions mismatch)
    warning: grub: /boot/grub/grub.cfg (Modification time mismatch)
    warning: grub: /boot/grub/grub.cfg (Size mismatch)
    warning: iproute2: /etc/iproute2/ematch_map (Modification time mismatch)
    warning: iproute2: /etc/iproute2/rt_dsfield (Modification time mismatch)
    warning: iproute2: /etc/iproute2/rt_protos (Modification time mismatch)
    warning: iproute2: /etc/iproute2/rt_realms (Modification time mismatch)
    warning: iproute2: /etc/iproute2/rt_scopes (Modification time mismatch)
    warning: iproute2: /etc/iproute2/rt_tables (Modification time mismatch)
    warning: jack: /etc/security/limits.d/99-audio.conf (Modification time mismatch)
    warning: java-common: /etc/profile.d/jre.csh (Modification time mismatch)
    warning: java-common: /etc/profile.d/jre.sh (Modification time mismatch)
    warning: jre7-openjdk-headless: /etc/java-7-openjdk/calendars.properties (Modification time mismatch)
    warning: jre7-openjdk-headless: /etc/java-7-openjdk/content-types.properties (Modification time mismatch)
    warning: jre7-openjdk-headless: /etc/java-7-openjdk/flavormap.properties (Modification time mismatch)
    warning: jre7-openjdk-headless: /etc/java-7-openjdk/fontconfig.bfc (Modification time mismatch)
    warning: jre7-openjdk-headless: /etc/java-7-openjdk/fontconfig.properties (Modification time mismatch)
    warning: jre7-openjdk-headless: /etc/java-7-openjdk/logging.properties (Modification time mismatch)
    warning: jre7-openjdk-headless: /etc/java-7-openjdk/net.properties (Modification time mismatch)
    warning: jre7-openjdk-headless: /etc/java-7-openjdk/psfont.properties.ja (Modification time mismatch)
    warning: jre7-openjdk-headless: /etc/java-7-openjdk/psfontj2d.properties (Modification time mismatch)
    warning: jre7-openjdk-headless: /etc/java-7-openjdk/sound.properties (Modification time mismatch)
    warning: jre7-openjdk-headless: /etc/java-7-openjdk/tz.properties (Modification time mismatch)
    warning: jre7-openjdk-headless: /etc/java-7-openjdk/amd64/jvm.cfg (Modification time mismatch)
    warning: jre7-openjdk-headless: /etc/java-7-openjdk/images/cursors/cursors.properties (Modification time mismatch)
    warning: jre7-openjdk-headless: /etc/java-7-openjdk/management/jmxremote.access (Modification time mismatch)
    warning: jre7-openjdk-headless: /etc/java-7-openjdk/management/jmxremote.password (Modification time mismatch)
    warning: jre7-openjdk-headless: /etc/java-7-openjdk/management/management.properties (Modification time mismatch)
    warning: jre7-openjdk-headless: /etc/java-7-openjdk/management/snmp.acl (Modification time mismatch)
    warning: jre7-openjdk-headless: /etc/java-7-openjdk/security/java.policy (Modification time mismatch)
    warning: jre7-openjdk-headless: /etc/java-7-openjdk/security/java.security (Modification time mismatch)
    warning: jre7-openjdk-headless: /etc/java-7-openjdk/security/nss.cfg (Modification time mismatch)
    warning: krb5: /etc/krb5.conf (Modification time mismatch)
    warning: krb5: /var/lib/krb5kdc/kdc.conf (Modification time mismatch)
    warning: libcups: /etc/cups/client.conf (Modification time mismatch)
    warning: libirman: /etc/irman.conf (Modification time mismatch)
    warning: libnl: /etc/libnl/classid (Modification time mismatch)
    warning: libnl: /etc/libnl/pktloc (Modification time mismatch)
    warning: libreoffice-still-common: /etc/libreoffice/bootstraprc (Modification time mismatch)
    warning: libreoffice-still-common: /etc/libreoffice/psprint.conf (Modification time mismatch)
    warning: libreoffice-still-common: /etc/libreoffice/sofficerc (Modification time mismatch)
    warning: libreoffice-still-common: /etc/profile.d/libreoffice-still-common.csh (Modification time mismatch)
    warning: libreoffice-still-common: /etc/profile.d/libreoffice-still-common.sh (Modification time mismatch)
    warning: linux: /etc/mkinitcpio.d/linux.preset (Modification time mismatch)
    warning: linux: /usr/lib/modules/3.16.2-1-ARCH/modules.alias (Modification time mismatch)
    warning: linux: /usr/lib/modules/3.16.2-1-ARCH/modules.alias (Size mismatch)
    warning: linux: /usr/lib/modules/3.16.2-1-ARCH/modules.alias.bin (Modification time mismatch)
    warning: linux: /usr/lib/modules/3.16.2-1-ARCH/modules.alias.bin (Size mismatch)
    warning: linux: /usr/lib/modules/3.16.2-1-ARCH/modules.builtin.bin (Modification time mismatch)
    warning: linux: /usr/lib/modules/3.16.2-1-ARCH/modules.dep (Modification time mismatch)
    warning: linux: /usr/lib/modules/3.16.2-1-ARCH/modules.dep (Size mismatch)
    warning: linux: /usr/lib/modules/3.16.2-1-ARCH/modules.dep.bin (Modification time mismatch)
    warning: linux: /usr/lib/modules/3.16.2-1-ARCH/modules.dep.bin (Size mismatch)
    warning: linux: /usr/lib/modules/3.16.2-1-ARCH/modules.devname (Modification time mismatch)
    warning: linux: /usr/lib/modules/3.16.2-1-ARCH/modules.softdep (Modification time mismatch)
    warning: linux: /usr/lib/modules/3.16.2-1-ARCH/modules.symbols (Modification time mismatch)
    warning: linux: /usr/lib/modules/3.16.2-1-ARCH/modules.symbols (Size mismatch)
    warning: linux: /usr/lib/modules/3.16.2-1-ARCH/modules.symbols.bin (Modification time mismatch)
    warning: linux: /usr/lib/modules/3.16.2-1-ARCH/modules.symbols.bin (Size mismatch)
    warning: lirc-utils: /etc/lirc/lirc_options.conf (Modification time mismatch)
    warning: lirc-utils: /etc/lirc/lircd.conf (Modification time mismatch)
    warning: lirc-utils: /etc/lirc/lircmd.conf (Modification time mismatch)
    warning: lvm2: /etc/lvm/lvm.conf (Modification time mismatch)
    warning: mdadm: /etc/mdadm.conf (Modification time mismatch)
    warning: mime-types: /etc/mime.types (Modification time mismatch)
    warning: mkinitcpio: /etc/mkinitcpio.conf (Modification time mismatch)
    warning: mkinitcpio: /etc/mkinitcpio.conf (Size mismatch)
    warning: mplayer: /etc/mplayer/codecs.conf (Modification time mismatch)
    warning: mplayer: /etc/mplayer/input.conf (Modification time mismatch)
    warning: nano: /etc/nanorc (Modification time mismatch)
    warning: networkmanager: /etc/NetworkManager/NetworkManager.conf (Modification time mismatch)
    warning: openresolv: /etc/resolvconf.conf (Modification time mismatch)
    warning: openssl: /etc/ssl/openssl.cnf (Modification time mismatch)
    warning: pacman: /etc/makepkg.conf (Modification time mismatch)
    warning: pacman: /etc/makepkg.conf (Size mismatch)
    warning: pacman: /etc/pacman.conf (Modification time mismatch)
    warning: pacman: /etc/pacman.conf (Size mismatch)
    warning: pacman-mirrorlist: /etc/pacman.d/mirrorlist (UID mismatch)
    warning: pacman-mirrorlist: /etc/pacman.d/mirrorlist (GID mismatch)
    warning: pacman-mirrorlist: /etc/pacman.d/mirrorlist (Modification time mismatch)
    warning: pacman-mirrorlist: /etc/pacman.d/mirrorlist (Size mismatch)
    warning: pam: /etc/environment (Modification time mismatch)
    warning: pam: /etc/default/passwd (Modification time mismatch)
    warning: pam: /etc/security/access.conf (Modification time mismatch)
    warning: pam: /etc/security/group.conf (Modification time mismatch)
    warning: pam: /etc/security/limits.conf (Modification time mismatch)
    warning: pam: /etc/security/namespace.conf (Modification time mismatch)
    warning: pam: /etc/security/namespace.init (Modification time mismatch)
    warning: pam: /etc/security/pam_env.conf (Modification time mismatch)
    warning: pam: /etc/security/time.conf (Modification time mismatch)
    warning: polkit: /etc/polkit-1/rules.d/50-default.rules (Permission denied)
    warning: pulseaudio-alsa: /etc/asound.conf (Modification time mismatch)
    warning: rhash: /etc/rhashrc (Modification time mismatch)
    warning: rhash: /etc/rhashrc (Size mismatch)
    warning: rsync: /etc/rsyncd.conf (Modification time mismatch)
    warning: rsync: /etc/xinetd.d/rsync (Modification time mismatch)
    warning: samba: /etc/conf.d/samba (Modification time mismatch)
    warning: samba: /etc/logrotate.d/samba (Modification time mismatch)
    warning: samba: /etc/pam.d/samba (Modification time mismatch)
    warning: sudo: /etc/sudoers (Modification time mismatch)
    warning: sudo: /etc/sudoers (Size mismatch)
    warning: systemd: /etc/dbus-1/system.d/org.freedesktop.hostname1.conf (Modification time mismatch)
    warning: systemd: /etc/dbus-1/system.d/org.freedesktop.locale1.conf (Modification time mismatch)
    warning: systemd: /etc/dbus-1/system.d/org.freedesktop.login1.conf (Modification time mismatch)
    warning: systemd: /etc/dbus-1/system.d/org.freedesktop.machine1.conf (Modification time mismatch)
    warning: systemd: /etc/dbus-1/system.d/org.freedesktop.systemd1.conf (Modification time mismatch)
    warning: systemd: /etc/dbus-1/system.d/org.freedesktop.timedate1.conf (Modification time mismatch)
    warning: systemd: /etc/pam.d/systemd-user (Modification time mismatch)
    warning: systemd: /etc/systemd/bootchart.conf (Modification time mismatch)
    warning: systemd: /etc/systemd/coredump.conf (Modification time mismatch)
    warning: systemd: /etc/systemd/journald.conf (Modification time mismatch)
    warning: systemd: /etc/systemd/logind.conf (Modification time mismatch)
    warning: systemd: /etc/systemd/resolved.conf (Modification time mismatch)
    warning: systemd: /etc/systemd/system.conf (Modification time mismatch)
    warning: systemd: /etc/systemd/timesyncd.conf (Modification time mismatch)
    warning: systemd: /etc/systemd/timesyncd.conf (Size mismatch)
    warning: systemd: /etc/systemd/user.conf (Modification time mismatch)
    warning: systemd: /etc/udev/udev.conf (Modification time mismatch)
    warning: systemd: /var/log/journal/remote (GID mismatch)
    warning: texlive-core: /etc/texmf/web2c/updmap.cfg (Modification time mismatch)
    warning: texlive-core: /etc/texmf/web2c/updmap.cfg (Size mismatch)
    warning: util-linux: /etc/pam.d/chfn (Modification time mismatch)
    warning: util-linux: /etc/pam.d/chsh (Modification time mismatch)
    warning: util-linux: /etc/pam.d/login (Modification time mismatch)
    warning: util-linux: /etc/pam.d/su (Modification time mismatch)
    warning: util-linux: /etc/pam.d/su-l (Modification time mismatch)
    warning: vim-runtime: /etc/vimrc (Modification time mismatch)
    warning: vlc: /usr/lib/vlc/plugins/plugins.dat (Modification time mismatch)
    warning: vlc: /usr/lib/vlc/plugins/plugins.dat (Size mismatch)
    warning: xorg-xinit: /etc/X11/xinit/xinitrc (Modification time mismatch)
    warning: xorg-xinit: /etc/X11/xinit/xserverrc (Modification time mismatch)
    warning: xorg-xinit: /etc/skel/.xinitrc (Modification time mismatch)
    warning: xorg-xinit: /etc/skel/.xsession (Modification time mismatch)
    warning: xorg-xinit: /etc/skel/.xsession (Size mismatch)
    warning: yaourt: /etc/yaourtrc (Modification time mismatch)
    I'm assuming all of those are bad. "Warning" rarely sounds friendly, though for those files I've modified myself, such as passwd, shadow, and group, its okay. I assume I can fix msot of these by running # pacman -S {package}?
    Last edited by nstgc (2014-09-14 01:26:04)

     Awk processes the output from pacman, splits it using [white]space[⁣s] as delimiter and prints only first field $1, which is the package name. Those reoccur if several files are involved, so just to be sure, I also used awks sort, maybe that could be skipped or alternatively sort command outside awk used instead. This sorted output gets fed into uniq, which outputs only unique strings coming from input. And that leaves you with the package list.
    Edit: I think those are whitespaces actually, which if I recall correctly include space.
    Edit2: So this might be better and certainly a little faster:
    pacman -S $(pacman -Qkq | awk '{print $1}' | uniq)
    # And this should be even faster, since the output pacman
    # delivers seems to be sorted anyway. Should you parse
    # something else, use my first suggestion instead.
    pacman -Qkq | awk 'BEGIN{ y=0; }; {x=$1; if (x == y){ next; }; print $1; y=x;}'
    Edit3: Out of curiosity I tested different methods measuring execution time with a input file consisting out of 1443 lines from pacman -Qkkq. Here are the results and the bottom is the test script.
    Sun 14 Sep 15:14:26 CEST 2014, Generating input file
    Sun 14 Sep 15:15:22 CEST 2014, Loops: 10
    0 : /tmp/awk-adv.log
    0.01 : /tmp/awk-sort.log
    0 : /tmp/awk-sort-outside.log
    0.002 : /tmp/awk-uniq.log
    Seconds: 0
    Sun 14 Sep 15:15:22 CEST 2014, Loops: 20
    0.001 : /tmp/awk-adv.log
    0.0095 : /tmp/awk-sort.log
    0.0005 : /tmp/awk-sort-outside.log
    0 : /tmp/awk-uniq.log
    Seconds: 1
    Sun 14 Sep 15:15:23 CEST 2014, Loops: 50
    0 : /tmp/awk-adv.log
    0.0096 : /tmp/awk-sort.log
    0.0002 : /tmp/awk-sort-outside.log
    0 : /tmp/awk-uniq.log
    Seconds: 2
    Sun 14 Sep 15:15:25 CEST 2014, Loops: 100
    0.0003 : /tmp/awk-adv.log
    0.0092 : /tmp/awk-sort.log
    0 : /tmp/awk-sort-outside.log
    0.0003 : /tmp/awk-uniq.log
    Seconds: 5
    Sun 14 Sep 15:15:30 CEST 2014, Loops: 200
    0.00045 : /tmp/awk-adv.log
    0.00955 : /tmp/awk-sort.log
    0.0001 : /tmp/awk-sort-outside.log
    0.0006 : /tmp/awk-uniq.log
    Seconds: 8
    Sun 14 Sep 15:15:38 CEST 2014, Loops: 500
    0.00042 : /tmp/awk-adv.log
    0.0094 : /tmp/awk-sort.log
    0.0004 : /tmp/awk-sort-outside.log
    0.00026 : /tmp/awk-uniq.log
    Seconds: 21
    Sun 14 Sep 15:15:59 CEST 2014, Loops: 1000
    0.00034 : /tmp/awk-adv.log
    0.00942 : /tmp/awk-sort.log
    0.00042 : /tmp/awk-sort-outside.log
    0.00025 : /tmp/awk-uniq.log
    Seconds: 42
    Sun 14 Sep 15:16:41 CEST 2014, Loops: 2000
    0.00038 : /tmp/awk-adv.log
    0.009355 : /tmp/awk-sort.log
    0.000285 : /tmp/awk-sort-outside.log
    0.00042 : /tmp/awk-uniq.log
    Seconds: 83
    Sun 14 Sep 15:18:04 CEST 2014, Loops: 5000
    0.000388 : /tmp/awk-adv.log
    0.009274 : /tmp/awk-sort.log
    0.00034 : /tmp/awk-sort-outside.log
    0.000366 : /tmp/awk-uniq.log
    Seconds: 208
    Sun 14 Sep 15:21:32 CEST 2014, Loops: 10000
    0.00036 : /tmp/awk-adv.log
    0.009286 : /tmp/awk-sort.log
    0.000346 : /tmp/awk-sort-outside.log
    0.000358 : /tmp/awk-uniq.log
    Seconds: 419
    Sun 14 Sep 15:28:31 CEST 2014, Loops: 20000
    0.00029 : /tmp/awk-adv.log
    0.009115 : /tmp/awk-sort.log
    0.0002725 : /tmp/awk-sort-outside.log
    0.000299 : /tmp/awk-uniq.log
    Seconds: 828
    Sun 14 Sep 15:42:19 CEST 2014, Loops: 50000
    0.0003174 : /tmp/awk-adv.log
    0.0093014 : /tmp/awk-sort.log
    0.0002422 : /tmp/awk-sort-outside.log
    0.000292 : /tmp/awk-uniq.log
    Seconds: 2171
     The awk internal sorting is the slowest method, but it seems it initializes longer, since there appears to be a constant difference between internal and external sorting. Uniq fed by awk is faster with smaller loops, but gets slower if repeated more often, yet overall remain fastest with the unique function I used within awk. It appears the more lines the input has, the slower uniq in comparison uniq in awk gets. Here is the testing script:
    #!/bin/bash
    LOOPS=('10' '20' '50' '100' '200' '500' '1000' '2000' '5000' '10000' '20000' '50000');
    rm /tmp/results*.log
    echo $(date), Generating input file;
    pacman -Qkkq > /tmp/input.txt
    for LOOP in ${LOOPS[@]}; do
    START=$(date +%s);
    echo $(date), Loops: $LOOP;
    for i in $(seq $LOOP); do env TIME='%e:%U:%S' time awk '{print $1 | "sort" }' /tmp/input.txt | uniq; done 2>&1 >/dev/null | grep : > /tmp/awk-sort.log
    for i in $(seq $LOOP); do env TIME='%e:%U:%S' time awk '{print $1}' /tmp/input.txt | sort | uniq; done 2>&1 >/dev/null | grep : > /tmp/awk-sort-outside.log
    for i in $(seq $LOOP); do env TIME='%e:%U:%S' time awk '{print $1}' /tmp/input.txt | uniq; done 2>&1 >/dev/null | grep : > /tmp/awk-uniq.log
    for i in $(seq $LOOP); do env TIME='%e:%U:%S' time awk 'BEGIN{ y=0; }; {x=$1; if (x == y){ next; }; print $1; y=x;}' /tmp/input.txt; done 2>&1 >/dev/null | grep : > /tmp/awk-adv.log
    for FILE in /tmp/awk-*.log; do awk 'BEGIN{x=0; y=0; FS=":"}; {x++; y=y+$1;}; END{print "\t"y/x"\t:\t"FILENAME;}' "$FILE"; done | sort >> /tmp/results-sorted.log
    for FILE in /tmp/awk-*.log; do awk 'BEGIN{x=0; y=0; FS=":"}; {x++; y=y+$1;}; END{print "\t"y/x"\t:\t"FILENAME;}' "$FILE"; done | tee -a /tmp/results.log
    END=$(date +%s);
    DIFF=$(( $END - $START ));
    echo Seconds: $DIFF;
    done | tee /tmp/awk.log
    Last edited by emeres (2014-09-14 14:38:18)

  • [Solved] Questions about /etc/group and /etc/gshadow

    This morning, package filesystem was upgraded to 2015.02-1 and pacnew files were created for /etc/group and /etc/gshadow. I ran diff against my current files, and the differences seem very minor, to me. I need some guidance to understand whether I should implement the pacnew changes.
    The only significant difference I see in the group file is that in my original version, my username is added to the wheel group. This seems correct, to me.
    For gshadow, there is the same difference for wheel. However, there are several entries where my original entry contains an exclamation point, but the new version does not. For example:
    < proc:!::
    > proc:::
    If I run man /etc/gshadow, it does not give me what I understand as a man page, and gives me what appears to be a listing of the stuff in my /etc/gshadow file, instead. Which does not help me.
    So, like I say, I need some guidance on dealing with these pacnew files.
    Tim
    PS - I now see that "man gshadow" gives me an actual man page. Sorry. I am currently studying it.
    Last edited by ratcheer (2015-02-24 21:37:52)

    After the update to filesystem 2015.02-1 some voices in /etc/gshadow were changed (in the pacnew file) from
    systemd-journal-gateway:!::
    systemd-timesync:!::
    systemd-network:!::
    systemd-bus-proxy:!::
    systemd-resolve:!::
    to
    systemd-journal-gateway:::
    systemd-timesync:::
    systemd-network:::
    systemd-bus-proxy:::
    systemd-resolve:::
    What's the change? Before they had a locked password (the ! sign) and now they haven't?

  • [SOLVED] Question about DM's and WM's

    ok, so, i am not really a newbie, but im sure this is a newbie question. so im trying to run window manager's such as MetaCity and BlackBox, and i would like to also run a Display Manager, such as GDM (Gnome Display Manager) which is the one i normally use. i know that adding
    # ...Or add any other  Display Manager you want here.
    exec metacity
    to .xinitrc will make it start up, but i think that Display Managers may bypass the .xinitrc, though i may be wrong. i have a few Window Managers installed, but none of them are listed in GDM, only actual Desktop Environments. I have no clue what to do with this, but i do know that i want to have a window manager show up in my display manager, so that i can lock my computer if need be. i know a lot of people just simply use a Window Manager and dont bother with a Display Manager, but i would like to use one. any information or links to a wiki page i may have not found yet would be appreciated, thanks!
    Last edited by SpidermanD5 (2014-12-27 00:15:43)

    SpidermanD5 wrote:... but i think that Display Managers may bypass the .xinitrc
    Some do, some don't.
    SpidermanD5 wrote:any information or links to a wiki page i may have not found yet would be appreciated, thanks!
    What have you found?  Each DM should have a wiki page, and probably a man page.  That's how you'd find out how to configure them as they are all different.

  • [SOLVED]Questions about openbsd ffs and linux ext2fs

    Hello everyone.
    First of all, forgive me if the post is not on the correct section.
    I'm going to install arch linux to my thinkpad and i have some questions:
    I have two external hard disks (once) formatted to openbsd ffs. (now i'm making efforts to turn it to ext2fs )
    1) Does Arch have by default read support for openbsd ffs filesystems or i have to build a custom kernel?
    2)I would mostly like to have read and write access from both OSs. I know that ext2fs should work for read and write from Openbsd and Linux so this could be a good option. My problem starts when i try it for example to format the disks under Openbsd; i successfully created a working ext2 partition, but when i try it
    with an Ubuntu live cd to see if it works, i see no partitions and i have to reformat it. On the other hand, if i create it under Linux, then it's not working under Openbsd.
    So now that i'm migrating to arch, which are the good practices to make partitions work/cooperate under both OSs?
    notes: On Linux, i tried with both gparted and disk utility with no luck.( It works for linux but not for OpenBSD).
    Has anyone managed to work with both ext2fs and both Linux Openbsd?
    What are the best practices in such cases?
    Last edited by lambda (2012-09-26 12:07:26)

    well fstype is one thing , bsd labels vs mbr is another. In case with linux and bsd dualboot best practice is vfat (aka fat32) but with all its limitations ( i can be wrong here 'cos i never tested dual zfs for instance ).

  • [SOLVED] Question about URxvt - fontconfig and ulr launching

    So today I am slightly rewriting my .Xdefaults (actually outright copying MrElendig's...), and now my URxvt won't launch...
    Here is what I get as an output:
    [ ~ ] urxvt
    urxvt: unable to load base fontset, please specify a valid one using -fn, aborting.
    What's the error?
    You can find my .Xdefaults here:
    http://pastie.org/231515
    Also, I have an issue with my URL handling from within URxvt:
    I want to launch a URL clicking on it. But no matter what I specify for urxvt*matcher.Button, I can only use my middle mouse button (on a Thinkpad X60s.... could that be the problem?).
    Last edited by Stalafin (2008-07-11 14:14:54)

    pseup wrote:
    Xft is for prettier, anti aliased / hinted fonts I think. But I find that using xft makes urxvt extremely sluggish when using large terminals.
    Eg, I open a full screen URXVT (1920x1200), running 'time seq -s " " 1 100000' to print out heaps of text:
    0m0.306s with '-*-terminus-*-*-*-*-12-*-*-*-*-*-*-*'
    0m12.165s with 'xft:terminus:pixelsize=12'
    Sure I'm not looking at full screen terminals of scrolling text all the time, but it is still noticeably slow even in small terminals.
    I don't have url matching enabled now, but I did use Gigamo's config at one stage to try it, and the mouse behaved as expected. Not sure if there is anything in it that would make a difference: http://github.com/gigamo/config/tree/master/.Xdefaults
    pseup: I get different results.  urxvt -fn xft:terminus:pixelsize=12 gives me a time of 5.351s and urxvt -fn -*-terminus-*-*-*-*-12-*-*-*-*-*-*-* gives me a time of ranges from 4-9 seconds! This is in a half screen terminal with the other terminal running the urxvt -fn *** command.
    Fullscreen terminal (1280x800) with fonts defined in Xdefaults give the same results you got. intresting.
    Last edited by semperfiguy (2008-07-10 18:10:04)

  • A question about screen updation of T61

    Hi there
    I got a question about screen updation. 
    Currently, my T61's screen is 14.1 XGA TFT 1028x768, and it can't work, thus I am considering to replace it with the better 14.1" SXGA+ LCD SCREEN .
    However, I am a little concerned about the compatiblility problem, hence I just wonder whether the new SXGA+ screen can fit for my current T61 laptop or not?? Thanks a lot for your answers!
    Regards
    Peng

    you can buy it from IBM parts, and it will then sure to work for your laptop.
    Here is the manual that shows you how and what parts you need:
    http://www-307.ibm.com/pc/support/site.wss/MIGR-67979.html
    P.S. If you have warranty this upgrade will void your remaining laptop warranty, as the LCD is not CRU (customer replaceable unit). 
    Regards,
    Jin Li
    May this year, be the year of 'DO'!
    I am a volunteer, and not a paid staff of Lenovo or Microsoft

  • Question About Color's and Gradients

    Hi all,
    I have a question about color swatches and gradients.
    I am curious to know, if I have 2 color swatches that I make into a gradient color, is it posible to change the tint of each indivdual color in that gradient and have that applied to the gradient without having to adjust the gradients opacity.
    The reason that I'm asking this is because in creating a project I found that the colors that I chose for to make my gradient from my swatches were to dark, and while I can adjust each one's tint to my liking (if the object they were applied to was going to be a solid color) but that doesn't seem to apply to the overall gradient.
    I hope that makes sense, I know that this was something that was able to be accomplished in quark and was wondering if I can do something similar.

    If you double click your gradient swatch (after adding it to the swatches)
    Then click a colour stop in the gradient, and then change the drop down menu to CMYK (or rgb)
    And you can alter the percentages there. It's not much use for spot colours but it's a start.
    But making tint swatches would be a good start anyway.
    At least then when you double click the gradient (in the swatches) to edit it you can choose from CMYK, RGB, LAB, or Swatches and adjust each colour stop to your liking.

  • Question about clear page and reset pagination

    Hi,
    I have a question about clear pages and the reset pagination in an URL. What is the reason why a clear page doesn't also trigger a reset pagination on the pages which are cleared?
    I can't really imagine a business case where it makes sense to clear all data of page items on a page and don't reset the pagination of reports on that page which probably use a page item in there where clause...
    The drawback of this behavior is that a developer always has to set the reset pagination checkbox when he clears the target page and the even bigger drawback is that if you specify other pages to clear, you can't reset pagination for them, because reset pagination only works for the target page.
    Thanks for your input.
    Patrick
    *** New *** Oracle APEX Essentials *** http://essentials.oracleapex.info/
    My Blog, APEX Builder Plugin, ApexLib Framework: http://www.oracleapex.info/

    Enhancement request filed, thanks,
    Scott

  • The question about portlet customization and synchronization

    I have a question about portlet customization and synchronization.
    When I call
    NameValuePersonalizationObject data = (NameValuePersonalizationObject) PortletRendererUtil.getEditData(portletRenderRequest);
    portletRenderRequest.setPortletTitle(str);
    portletRenderRequest.putString(aKey, aValue);
    PortletRendererUtil.submitEditData(portletRenderRequest, data);
    Should I make any synchronization myself (use "synchronized" blocks or something else) or this procedure is made thread-safe on the level of the Portal API?

    HI Dimitry,
    I dont think you have to synchronize the block. i guess the code is synchronized internally.
    regards,
    Harsha

  • A question about item "type and release" of  source system creation

    Hello expert,
    I have a question about item "type and release" of  source system creation.
    As we know,when we create a web servie source system,there will display a pop-up which includes three items as "logical system","source system"and "type and release".
    About the item "type and release",when we push "F4" button,there will be three default selections as below:
    "ORA 115     Oracle Applications 11i
    TLF 205     Tealeaf 2.05B
    XPD 020     SAP xPD".
    Who can tell me when and how should I use the three selections.
    And also I attempted to input the item by some optional letters except the default three selections and it seems that I can input it freely.
    Thank you and Best Regards,
    Maggie

    Hello DMK,
    Thank you very much for your answer.It is very helpful for me.
    Can I ask you further about it?
    I got that it is a semantic description item.
    You said the default selections are set by our basis people.Would you like to tell me how should we creat a new value except the default ones for item "type and release"?Only by inputing the value in the item directly?But you see we canot see the new value item we created by ourself when we push "F4" button next time ,is that ok?Or do we have to ask basis people to define one new value item just like the default seletions before we use it.
    Also if possible would you like to describe detail about "This becomes important when you are troubleshooting certain issues especially when RFC connection problems."
    Thank you and Best Regards,
    Maggie
    Message was edited by: Maggie

  • A few questions about the ka790gx and dka790gx

    i have a few questions about the ka790gx and dka790gx , how much better is the dka790gx compaired to the ka790gx ? . how much difference does the ACC function make to overclocking etc , i plan on getting a phenom II 940BE or 720BE . i already have the ka790gx so would it be worth building another system using the dka790gx mobo , or should i keep what i already have and just change the cpu ?

    It's largely irrelevant what other boards had VRM issues other than the KA790GX - the fact is it died at stock settings. Since there is little cost difference between the more robust DKA790GX (or Platinum if you really need 1394) why bother with the proven weakling? There are other examples around of the KA not having a robust power section.  There's no way I would use even a 95W TDP CPU in the KA and absolutely not O/C.....!
    As for the credentials of Custom PC, I have generally found their reviews accurate and balanced, and echo my own findings where applicable. If a little too infrequent.
    The fact that the KA has such a huge VRM heatsink leads me to my other comments on the Forum, particularly regarding the "fudge" aspect:
    """Henry is spot on - the notion that adding a heatsink to the top of the D2PAK or whatever MOSFETS is effective is virtually worthless. The device's die thermal junction is the tab on the device back - which is always against the PCB pad. The majority of heat is therefore dissipated in to the board, and the fact that the epoxy plastic encapsulation gets hot is simply due to the inability of the heat to be conducted away from the device die via the tab. Not sure when Epoxy become an effective conductor of heat.... Good practice is to increase the size of the PCB pad (or "land" in American) such that the enlarged PCB copper area acts as an adequate heatsink. This is still not as effective as clamping a power device tab to an actual piece of ali or copper, but since the devices used are SMD devices, this is not possible. However, the surface area required to provide sufficient PCB copper area to act as a heatsink for several devices isn't available in the current motherboard layouts. Where industrial SBC designs differ in this respect is to place the VRM MOSFETs on the back of the PCB on very enlarged PCB pads - where real estate for components is not an issue.
    Gigabyte's UD3 2oz copper mainboards sound like a good idea, on the face of it. However, without knowing how they have connected the device tabs to where and what remains a mystery. I suspect it is more hype than solution, although there will be some positive effect. From an electrical perspective, having lower resistance connecting whatever to whatever (probably just a 0V plane) is no bad thing.
    The way the likes of ASUS sort of get round the problem is to increase the sheer number of MOSFET devices and effectively spread the heat dissipation over a larger physical area. This works to a degree, there is the same amount of heat being dissipated, but over several more square inches. The other advantage of this is that each leg of the VRM circuit passes less current and therefore localised heat is reduced. Remember that as well as absolute peak operating temperature causing reduced component life, thermal cycling stresses the mechanical aspects of components (die wire bonds for example) as well as the solder joints on the board. Keeping components at a relatively constant temperature, even if this is high (but within operating temperature limits), is a means of promoting longevity.
    For myself, the first thing I do with a seperate VRM heatsink is take it off and use a quiet fan to blow air on to the VRM area of the PCB - this is where the heat is. This has the added benefit of actively cooling the inductors and capacitors too....
    Cooling the epoxy component body is a fudge. If the epoxy (and thus any heatsink plonked on top of it) is running at 60C, the component die is way above that.....
    It's better than nothing, but only just."""

  • Questions about Tour Updates? goes to Blank Screen and resets ???

    I have a question about my Blackberry tour Updating...
    I seem to notice my blackberry goes to a blank screen and a clock icon appears in the middle and goes around and around for about 10 minutes, what is this

    I'm having the same problem, except it's been half an hour and the da*& thing won't start up.  This is BAD.

  • Question about Software Updates in the Netherlands

    Hello all,
    ! am new to the Netherlands and plan to buy the Lumia 1020. I have a question regarding FW updates over here:
    Which network delivers the fastest updates generally or does the un-locked (country specific) phone get it first?
    Also, if i choose to buy the phone on contract here, after the expiry of the contract, do i have to unlock the phone or will the provider do it for me? (Assuming that the phones are locked to the network in the first place, if not, please let me know!)
    PS: I come from India, where we don't have phones on contracts and also receive updates very quickly!

    hi mate,
    generally if you want to free yourself from the constraints of networks, your best bet is to purchase an unlocked, unbranded handset from in-store or online. bear in mind that if you buy a handset from origin of another country in the EU, the warranty will still apply, but buy a 1020 that has a product code from outside the EU, then the warranty won't apply. something to be careful about.
    as for operators delivering updates faster than others, this varies between updates, and really noone is able to predict this. as for the unlocking, that is between you and your network carrier, Nokia has nothing to do with this.

Maybe you are looking for

  • AkAttachmentListCO.java

    I am trying to modify the conroller AkAttachmentListCO , but when i decompile the class file to java and try to compile it it gives me errors because of code like below created by java decompiler .. How to get the correct java code in these situation

  • Proxies Missing and Full scans not working

    We had some major issues upgrading our Facilis shared storage to 'multi-user write' and in the process we lost all the proxy files/thumbnails for any video that was NOT stored in a archive device in FCSvr. Now the Facilis is stabilized - but I am lef

  • Creative System Information probl

    Hi to all, I have problems with Creative System Information, specially when I go to Creative Products tab. There, I am able to go everywhere except Software. When I clicked there and click something there, then I try to go some other area there, the

  • IPhoto automatically erases on iPhone when importing...

    ...even though I chose to keep pics in iPhone. How can I fix this?

  • Can I have a movie as a transition between two submenus? (iDVD)

    I was wondering if it's possible to have a movie file as a transition between two menus on iDVD? All I can see is the preset ones (dissolve, droplet, fade through black etc.). What I'd like is to use a very short QT file with a few quick sweeping sho