[SOLVED] Why does jre7-openjdk-headless require a version bump?

I'm attempting to update my system, and I get the following error.
sudo pacman -Syu
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...
:: jre7-openjdk-headless and jre7-openjdk-headless-infinality are in conflict. Remove jre7-openjdk-headless-infinality? [y/N]
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: jre7-openjdk-headless and jre7-openjdk-headless-infinality are in conflict
I presume pacman wants to remove jre7-openjdk-headless-infinality because it's 7.u65_2.5.1-3, while jre7-openjdk-headless is 7.u65_2.5.1-8. I presume jre7-openjdk-headless-infinality will be updated soon, and I won't get this error.
However, I was interested in what exactly was requesting this version bump in the first place. I presume that it's a package that jre7-openjdk-headless-infinality is a dependency for. I looked firstly at what needed to be updated on my system, noting jre7-openjdk.
$ pacman -Qu
calibre 1.206.0-1
device-mapper 2.02.108-1
ffmpeg 1:2.3.1-1
jdk7-openjdk 7.u65_2.5.1-3
jre7-openjdk 7.u65_2.5.1-3
lib32-krb5 1.12.1-2
lvm2 2.02.108-1
mesa-demos 8.2.0-1
xf86-input-synaptics 1.8.0-2
I had a look at the reverse dependencies for jre7-openjdk-headless-infinality, noting jre7-openjdk again.
$ pacman -Qii jre7-openjdk-headless-infinality
Provides : java-runtime-headless=7 jre7-openjdk-headless
Depends On : libjpeg-turbo lcms2 nss ca-certificates-java
Required By : jre7-openjdk
Conflicts With : openjdk6 jre7-openjdk-headless jre7-openjdk-headless-fontfix
I interpret that as pacman -Syu saying that jre7-openjdk needs an update, and this also depends on jre7-openjdk-headless-infinality. I double checked this.
$ pacman -Qi jre7-openjdk
Provides : java-runtime=7
Depends On : jre7-openjdk-headless xdg-utils hicolor-icon-theme
So I can see that jre7-openjdk actually depends on jre7-openjdk-headless, which can be provided by jre7-openjdk-headless-infinality (as above). However, I don't understand why a new version of jre7-openjdk requires a bump in version of jre7-openjdk-headless (or jre7-openjdk-headless-infinality). Have I misunderstood something?
Last edited by Salkay (2014-08-24 12:34:29)

EDIT: actually, when testing the different "useSystemAAFontSettings" parameters I somehow missed "on" - that one does indeed work well enough with the arch java packages. I still prefer the "--enable-infinality=yes" version, but you can scrap my whining below - PEBCAK.
Wikimig wrote:What I mean is: I think you don't even need Infinality patch (just like most of people using this package). I am pretty sure you can get to a nice clean look with official Arch Linux packages.
I completely understand that the official package has to remove the infinality flag if it breaks (default) non-infinality setups - but:
You should definitely give fontconfig-infinality a try (very easy to install thanks to bohoomil's bundle). In my experience it massively improves font rendering. However, the current java7-openjdk really does not work with it, there is no way to get a nice clean look. I tried all the AA settings, and they were all terrible.
Best settings with vanilla java7
Same settings with --enable-infinality
It looks even worse in reality, but just zoom in all the way to the left upper corner and compare... these are some pretty sparkling rainbow fonts
Again, unfortunate, but I rather rebuild from ABS with "--enable-infinality=yes" than drop infinality completely.
Last edited by hokasch (2014-09-01 13:25:32)

Similar Messages

  • Unable to update jre7-openjdk-headless

    Hey,
    Today i tried to update the system with the following:
    :: Synchronizing package databases...
    core is up to date
    extra 1386.5 KiB 819K/s 00:02 [######################] 100%
    community 1638.2 KiB 752K/s 00:02 [######################] 100%
    multilib 86.4 KiB 359K/s 00:00 [######################] 100%
    :: Starting full system upgrade...
    resolving dependencies...
    :: There are 2 providers available for java-runtime-headless:
    :: Repository extra
    1) jre7-openjdk-headless 2) openjdk6
    Enter a number (default=1):
    warning: dependency cycle detected:
    warning: rhino will be installed before its jre7-openjdk-headless dependency
    looking for inter-conflicts...
    Targets (5): ca-certificates-java-20120225-1
    jre7-openjdk-headless-7.b147_2.1-3 lib32-dbus-core-1.4.20-1
    lucene-2.9.4-3 rhino-1.7R3-2
    But after downloading the packages i got the following error:
    error: failed to commit transaction (conflicting files)
    jre7-openjdk-headless: /etc/profile.d/jre.csh exists in filesystem
    jre7-openjdk-headless: /etc/profile.d/jre.sh exists in filesystem
    Errors occurred, no packages were upgraded.
    Has anyone got this problem?
    Thank you!!
    Last edited by Micah89 (2012-04-15 11:59:18)

    Updating AUR package jre 7-3 to 7u3-1 prior to pacman -Syu worked for me.
    Ended up manually updating  jre 7-3 to 7u3-1 as packer said it was up to date.
    [jeff@Arch2010p5 jre]$ makepkg
    ==> Making package: jre 7u3-1 (Mon Apr 16 05:20:52 PDT 2012)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving Sources...
    -> Downloading jre-7u3-linux-x64.tar.gz...
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 30.9M 100 30.9M 0 0 1202k 0 0:00:26 0:00:26 --:--:-- 1341k
    -> Found java-policy-settings.desktop
    -> Found jre.sh
    -> Found jre.csh
    -> Found javaws-launcher
    ==> Validating source files with md5sums...
    jre-7u3-linux-x64.tar.gz ... Passed
    java-policy-settings.desktop ... Passed
    jre.sh ... Passed
    jre.csh ... Passed
    javaws-launcher ... Passed
    ==> Extracting Sources...
    -> Extracting jre-7u3-linux-x64.tar.gz with bsdtar
    ==> Entering fakeroot environment...
    ==> Starting package()...
    -> Creating required dirs
    -> Re-ordering folders a bit
    -> Removing empty and redundant dirs
    -> Moving stuff in place
    -> Symlinking the plugin
    -> Installing scripts, .desktop file and licenses
    -> Tweaking the javaws .desktop file
    ==> Tidying install...
    -> Purging unwanted files...
    -> Compressing man and info pages...
    -> Stripping unneeded symbols from binaries and libraries...
    ==> Creating package...
    -> Generating .PKGINFO file...
    -> Adding install file...
    -> Compressing package...
    ==> Leaving fakeroot environment.
    ==> Finished making: jre 7u3-1 (Mon Apr 16 05:22:31 PDT 2012)
    [jeff@Arch2010p5 jre]$ sudo pacman -U jre-7u3-1-x86_64.pkg.tar.xz
    Password:
    loading packages...
    warning: downgrading package jre (7-3 => 7u3-1)
    resolving dependencies...
    looking for inter-conflicts...
    Targets (1): jre-7u3-1
    Total Installed Size: 85.88 MiB
    Net Upgrade Size: -7.37 MiB
    Proceed with installation? [Y/n] y
    (1/1) checking package integrity [######################] 100%
    (1/1) loading package files [######################] 100%
    (1/1) checking for file conflicts [######################] 100%
    (1/1) checking available disk space [######################] 100%
    (1/1) upgrading jre [######################] 100%
    warning: /etc/profile.d/jre.csh installed as /etc/profile.d/jre.csh.pacnew
    warning: /etc/profile.d/jre.sh installed as /etc/profile.d/jre.sh.pacnew
    New optional dependencies for jre
    alsa-lib: sound support
    ttf-dejavu: fonts
    [jeff@Arch2010p5 ~]$ sudo pacman -Syu
    Password:
    :: Synchronizing package databases...
    core is up to date
    extra is up to date
    community 1639.7 KiB 1256K/s 00:01 [##########################################################] 100%
    :: Starting full system upgrade...
    :: Replace sqlite3 with extra/sqlite? [Y/n] y
    resolving dependencies...
    looking for inter-conflicts...
    Targets (47): automake-1.11.4-1 avahi-0.6.31-2 consolekit-0.4.6-2 dbus-1.4.20-1 dbus-core-1.4.20-2 dbus-python-1.0.0-1 deluge-1.3.5-1 dirmngr-1.1.0-4
    firefox-11.0-3 garcon-0.1.12-1 gawk-4.0.1-1 gcc-4.7.0-4 gcc-libs-4.7.0-4 gparted-0.12.1-1 help2man-1.40.8-1 hplip-3.12.2-3 libevent-2.0.18-1
    libgphoto2-2.4.13-2 libmtp-1.1.3-1 libmysqlclient-5.5.23-1 libpciaccess-0.13.1-1 libtorrent-rasterbar-0.16.0-1 libupnp-1.6.17-1
    libwbclient-3.6.4-1 linux-3.3.2-1 linux-headers-3.3.2-1 lirc-utils-1:0.9.0-15 lucene-2.9.4-3 man-pages-3.38-1 mkinitcpio-0.8.7-2
    nvidia-295.40-2 nvidia-utils-295.40-1 opencl-nvidia-295.40-1 qt-4.8.1-2 readline-6.2.002-2 recoll-1.17.1-1 smbclient-3.6.4-1 smplayer-0.8.0-1
    sqlite-3.7.11-2 sqlite3-3.7.11-1 [removal] thunderbird-11.0.1-2 udev-182-1 xfce4-power-manager-1.0.11-2 xfsprogs-3.1.8-1 xorg-server-1.12.1-1
    xorg-server-common-1.12.1-1 xorg-server-xnest-1.12.1-1
    Total Download Size: 1.02 MiB
    Total Installed Size: 655.01 MiB
    Net Upgrade Size: -10.09 MiB
    Proceed with installation? [Y/n] y
    :: Retrieving packages from community...
    recoll-1.17.1-1-x86_64 1044.2 KiB 1241K/s 00:01 [##########################################################] 100%
    (46/46) checking package integrity [##########################################################] 100%
    (46/46) loading package files [##########################################################] 100%
    (46/46) checking for file conflicts [##########################################################] 100%
    (47/47) checking available disk space [##########################################################] 100%
    (1/1) removing sqlite3 [##########################################################] 100%
    ( 1/46) upgrading automake [##########################################################] 100%
    ( 2/46) upgrading dbus-core [##########################################################] 100%
    ( 3/46) upgrading dbus [##########################################################] 100%
    ( 4/46) upgrading avahi [##########################################################] 100%
    ( 5/46) upgrading consolekit [##########################################################] 100%
    ( 6/46) upgrading dbus-python [##########################################################] 100%
    New optional dependencies for dbus-python
    dbus-glib: glib mainloop support
    ( 7/46) upgrading libtorrent-rasterbar [##########################################################] 100%
    ( 8/46) upgrading deluge [##########################################################] 100%
    ( 9/46) upgrading dirmngr [##########################################################] 100%
    (10/46) upgrading readline [##########################################################] 100%
    (11/46) installing sqlite [##########################################################] 100%
    (12/46) upgrading libevent [##########################################################] 100%
    (13/46) upgrading firefox [##########################################################] 100%
    (14/46) upgrading garcon [##########################################################] 100%
    (15/46) upgrading gawk [##########################################################] 100%
    (16/46) upgrading gcc-libs [##########################################################] 100%
    (17/46) upgrading gcc [##########################################################] 100%
    (18/46) upgrading gparted [##########################################################] 100%
    (19/46) upgrading help2man [##########################################################] 100%
    (20/46) upgrading hplip [##########################################################] 100%
    New optional dependencies for hplip
    python2-pyqt: for running hp-toolbox
    (21/46) upgrading libgphoto2 [##########################################################] 100%
    Users no longer need to be in the 'camera' group to use camera devices
    (22/46) upgrading libmtp [##########################################################] 100%
    (23/46) upgrading libmysqlclient [##########################################################] 100%
    (24/46) upgrading libpciaccess [##########################################################] 100%
    (25/46) upgrading libupnp [##########################################################] 100%
    (26/46) upgrading libwbclient [##########################################################] 100%
    (27/46) upgrading mkinitcpio [##########################################################] 100%
    (28/46) upgrading linux [##########################################################] 100%
    >>> Updating module dependencies. Please wait ...
    >>> Generating initial ramdisk, using mkinitcpio. Please wait...
    ==> Building image from preset: 'default'
    -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
    ==> Starting build: 3.3.2-1-ARCH
    -> Parsing hook: [base]
    -> Parsing hook: [udev]
    -> Parsing hook: [autodetect]
    -> Parsing hook: [pata]
    -> Parsing hook: [scsi]
    -> Parsing hook: [sata]
    -> Parsing hook: [filesystems]
    -> Parsing hook: [usbinput]
    -> Parsing hook: [fsck]
    ==> Generating module dependencies
    ==> Creating gzip initcpio image: /boot/initramfs-linux.img
    ==> Image generation successful
    ==> Building image from preset: 'fallback'
    -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
    ==> Starting build: 3.3.2-1-ARCH
    -> Parsing hook: [base]
    -> Parsing hook: [udev]
    -> Parsing hook: [pata]
    -> Parsing hook: [scsi]
    -> Parsing hook: [sata]
    -> Parsing hook: [filesystems]
    -> Parsing hook: [usbinput]
    -> Parsing hook: [fsck]
    ==> Generating module dependencies
    ==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
    ==> Image generation successful
    (29/46) upgrading linux-headers [##########################################################] 100%
    (30/46) upgrading lirc-utils [##########################################################] 100%
    (31/46) upgrading lucene [##########################################################] 100%
    (32/46) upgrading man-pages [##########################################################] 100%
    (33/46) upgrading udev [##########################################################] 100%
    (34/46) upgrading xorg-server-common [##########################################################] 100%
    (35/46) upgrading xorg-server [##########################################################] 100%
    (36/46) upgrading nvidia-utils [##########################################################] 100%
    (37/46) upgrading nvidia [##########################################################] 100%
    (38/46) upgrading opencl-nvidia [##########################################################] 100%
    (39/46) upgrading qt [##########################################################] 100%
    (40/46) upgrading recoll [##########################################################] 100%
    (41/46) upgrading smbclient [##########################################################] 100%
    (42/46) upgrading smplayer [##########################################################] 100%
    (43/46) upgrading thunderbird [##########################################################] 100%
    (44/46) upgrading xfce4-power-manager [##########################################################] 100%
    (45/46) upgrading xfsprogs [##########################################################] 100%
    (46/46) upgrading xorg-server-xnest [##########################################################] 100%

  • Why does it say that the updated version of Firefox (which I am trying to download) is not compatible with my operating system when I have Mac OS X 10.5.8?

    Why does it say that the updated version of Firefox (which I am trying to download) is not compatible with my operating system when I have Mac OS X 10.5.8? I had an older version of Firefox and it said I needed to update it but that was the message that appeared.

    Sorry, it's because Firefox 4+ are only compiled for the Intel processors.
    There is a separate project for PPC Macs called Ten Four Fox. You might give it a spin when you're tired of 3.6.
    http://www.floodgap.com/software/tenfourfox/

  • HT4550 Why does my Safari open with American version and home page with Apple iPhone 5 advert even though I have changed them in preference

    Why does my Safari open with American version, and home page with Apple iPhone 5 advert even though I have changed them in preferences, it happens every time no matter how many times I change them, when I open Safari its back to the USA and Apple home page.

    Try this.
    Hold the shift key down and launch Safari.
    Best.

  • Why does every Apple update require a restart?

    I vaguely remember a time when OS updates didn't require a complete restart every time you installed one. Why is it the case now? I have had 3 updates in the last 3 days and 3 restarts. The last one was updates to Quicktime, iLife Media browser and iDVD. None of which I would consider a critical components. OK Quicktime might have something in it but I doubt it.
    UNIX is a great because of it modularity and the ability to update components without shutting everything else down. That's what makes it a great server platform. Yes I know occasionally the kernel and other core components need patching and in those cases a restart is required but why oh why does every Apple update of late require a restart?
    Whomever answers (preferably from Apple) please be as technical as you like. I would much rather a real answer than bull.
    Message was edited by: Slobbo
    Message was edited by: Slobbo

    Well, you dont have to believe it but that's what's happening. Many updates don't modify critical system files, but those that do will require a restart. Not all updates to QuickTime, for instance, have modified critical system files, so they've not required a restart. However, the latest version does do this, so the restart is required.
    Likewise with iLife, the media browser is a core utility that is shared by the system and many applications and it's installation will require a restart. There are other similar shared resources as well which can get updated from time to time.

  • Why does my phone continually require re-entering email passwords?

    Why does my ipnoe 5 continually require renetering paswords for my email accounts?

    Because your mail server keeps rejecting it.

  • [SOLVED] why does cuda-gdb require root permissions?

    I am doing GPGPU development on Arch Linux with the cuda-sdk and
    cuda-toolkit packages.  My attempts to run cuda-gdb as a normal
    user on a simple program results in:
    $ cuda-gdb ./driver
    NVIDIA (R) CUDA Debugger
    4.2 release
    Portions Copyright (C) 2007-2012 NVIDIA Corporation
    GNU gdb (GDB) 7.2
    Copyright (C) 2010 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law. Type "show copying"
    and "show warranty" for details.
    This GDB was configured as "x86_64-unknown-linux-gnu".
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/gdb/bugs/>...
    Reading symbols from /home/nwh/Dropbox/projects/G4CU/driver...done.
    (cuda-gdb) run
    Starting program: /home/nwh/Dropbox/projects/G4CU/driver
    warning: Could not load shared library symbols for linux-vdso.so.1.
    Do you need "set solib-search-path" or "set sysroot"?
    [Thread debugging using libthread_db enabled]
    fatal: The CUDA driver initialization failed. (error code = 1)
    If I run cuda-gdb as root, it behaves normally:
    # cuda-gdb ./driver
    NVIDIA (R) CUDA Debugger
    4.2 release
    Portions Copyright (C) 2007-2012 NVIDIA Corporation
    GNU gdb (GDB) 7.2
    Copyright (C) 2010 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law. Type "show copying"
    and "show warranty" for details.
    This GDB was configured as "x86_64-unknown-linux-gnu".
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/gdb/bugs/>...
    Reading symbols from /home/nwh/Dropbox/work/2012-09-06-cuda_gdb/driver...done.
    (cuda-gdb) run
    Starting program: /home/nwh/Dropbox/work/2012-09-06-cuda_gdb/driver
    warning: Could not load shared library symbols for linux-vdso.so.1.
    Do you need "set solib-search-path" or "set sysroot"?
    [Thread debugging using libthread_db enabled]
    [New Thread 0x7ffff5ba8700 (LWP 11386)]
    [Context Create of context 0x6e8a30 on Device 0]
    [Launch of CUDA Kernel 0 (thrust::detail::backend::cuda::detail::launch_closure_by_value<thrust::detail::backend::cuda::for_each_n_closure<thrust::device_ptr<unsigned long long>, unsigned int, thrust::detail::device_generate_functor<thrust::detail::fill_functor<unsigned long long> > > ><<<(1,1,1),(704,1,1)>>>) on Device 0]
    [Launch of CUDA Kernel 1 (set_vector<<<(1,1,1),(10,1,1)>>>) on Device 0]
    vd[0] = 0
    vd[1] = 1
    vd[2] = 2
    vd[3] = 3
    vd[4] = 4
    vd[5] = 5
    vd[6] = 6
    vd[7] = 7
    vd[8] = 8
    vd[9] = 9
    [Thread 0x7ffff5ba8700 (LWP 11386) exited]
    Program exited normally.
    [Termination of CUDA Kernel 1 (set_vector<<<(1,1,1),(10,1,1)>>>) on Device 0]
    [Termination of CUDA Kernel 0 (thrust::detail::backend::cuda::detail::launch_closure_by_value<thrust::detail::backend::cuda::for_each_n_closure<thrust::device_ptr<unsigned long long>, unsigned int, thrust::detail::device_generate_functor<thrust::detail::fill_functor<unsigned long long> > > ><<<(1,1,1),(704,1,1)>>>) on Device 0]
    The test program driver.cu is:
    // needed for nvcc with gcc 4.7 and iostream
    #undef _GLIBCXX_ATOMIC_BUILTINS
    #undef _GLIBCXX_USE_INT128
    #include <iostream>
    #include <thrust/device_vector.h>
    #include <thrust/host_vector.h>
    __global__
    void set_vector(int *a)
    // get thread id
    int id = threadIdx.x + blockIdx.x * blockDim.x;
    a[id] = id;
    __syncthreads();
    int main(void)
    // settings
    int len = 10; int trd = 10;
    // allocate vectors
    thrust::device_vector<int> vd(len);
    // get the raw pointer
    int *a = thrust::raw_pointer_cast(vd.data());
    // call the kernel
    set_vector<<<1,trd>>>(a);
    // print vector
    for (int i=0; i<len; i++)
    std::cout << "vd[" << i << "] = " << vd[i] << std::endl;
    return 0;
    driver.c is compiled with the command:
    $ nvcc -g -G -gencode arch=compute_20,code=sm_20 driver.cu -o driver
    How can I get cuda-gdb to run with out root permissions?
    Last edited by nwhsvc (2012-10-21 19:07:08)

    Question: What is one mayor difference between root and pretty much any other user account ?
    Hint: Access rights....

  • Why does WD Lock / Unlocker require administration rights?

    It's really bloody annoying. I purchased the WD My Passport 2TB Portable Hard Drive because it had hardware hardware encryption thus it shouldn't need a device driver like software hardware encryption programs do. I've been trying to get a decently sized fast portable usb powered hard drive with hardware encryption and password protection that i can use on any PC regardless of account permissions for years now and i am still struggling. Don't you hard drive companies understand that people wish to use their portable hds at work as well as at home? The only company i've found to include locking / unlocking software that doesn't require admin rights is by Intergral but they don't do portable usb powered hard drives, only memory sticks  It's obvious it can be done, i don't just get why no one else is doing this? Basically i've got a super small and fast 2tb hard drive that i can't take advantage of the hardware encryption / password software because of this silly issue of requiring administration rights to access a drive when password protected. My work PC runs Windows XP and when plugging the drive in (without a password), it loads up without the the need for an admin account. 

    The Unlocker is poorly designed. When a standard Windows user account connects a locked drive and launches WD Drive Unlock.exe (prompt pops up in AutoPlay), UAC (User Access Control) elevation occurs and the administrator password is required. That is a the fault of the WD programmers - they should not require Admin permissions to do a simple drive unlock when the correct password is entered. The Unlocker should be rewritten to allow a Windows standard user account to enter the correct password and unlock the drive.

  • Why does download of PhotoShop require an "Application" and which one should I use?

    In attempting to download a Trial verson of PhotoShop, apparently it requires an Application.  I have no idea why or what would be an appropriate application.  No clue is provided on the screen.  Does this mean I have to pay for something for a Free Trial?

    What you are talking about is called "The Creative Cloud" application. It is the "control" program that Adobe uses to manage your Adobe applications.
    Don't worry - the creative cloud application is free and it will allow you to download Trial versions of the different Adobe packages.
    Cheers
    John

  • [SOLVED]Why does .bash_profile seem tobe read in non-login shells too?

    ~/.bash_profile:
    . $HOME/.bashrc
    ~/.bashrc:
    export PATH=$PATH:$HOME/code/shell
    (irrelevant lines left out)
    (I have no ~/.profile, ~/.bash_login or * ~/.bash_logout. I have also never edited /etc/profile or /etc/bash.bashrc.)
    I've read that in a login shell (e.g. TTY1) only the former is read, which in my case sources the latter. Running "export -p" in TTY1 gives a result consistent with this:
    declare -x PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/core_perl:/home/lazar/code/shell" (/home/lazar/code/shell is only listed once)
    I've also read that in a non-login shell (e.g. xterm) only the latter is read. However, when I run "export -p" in xterm or urxvt I get an unexpected result:
    declare -x PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/core_perl:/home/lazar/code/shell:/home/lazar/code/shell" (/home/lazar/code/shell is listed twice!)
    This implies that ~.bashrc is read twice, perhaps because .bash_profile is read in non-login shells too, even though it shouldn't be, should it? It doesn't seem to matter really, but I can't help but wonder why...
    [EDIT]
    I've found the answer. Exports from .bash_profile are done at boot time and *remain* active while X is active. Opening a non-login shell will cause .bashrc to export as well. Hence the duplication. My solution:
    ~/.bash_profile:
    export PATH=$PATH:$HOME/code/shell
    . $HOME/.bashrc
    ~/.bashrc:
    (lines other than export commands)
    Last edited by Lazar (2011-02-14 07:57:56)

    As I wondered, I think it's a problem with passwd. I don't have a dbus entry and must have missed it when I was copying things around between my version and the .pacnew. Downloading an install disc now since I can't seem to change it from the recovery console due to mounting root read-only.
    I'd love to know of a way to boot that avoids starting dbus and other things that might break while still having read/write access to root. Will mark solved once I update /etc/passwd and reboot.

  • [SOLVED] Why does my JAVA_HOME point to jre instead of jdk?

    I am having a strange phanomenon.
    I have jdk7-openjdk installed, but I still have
    % echo $JAVA_HOME
    /usr/lib/jvm/java-7-openjdk/jre
    This is only with my current user. When I try root or a freshly created user, I correctly get
    % echo $JAVA_HOME
    /usr/lib/jvm/java-7-openjdk
    So I guess this is caused by something in my home directory. As 'grep -r JAVA_HOME ~/.*' does not give any hints, I do not know how to investigate this further.
    Maybe someone here has any idea how to find out more.
    Last edited by cbuehler (2013-12-22 10:20:30)

    As far as I understand, the order is not important in this case, because jre.sh only overrides JAVA_HOME if it is not set before.
    I also like to avoid making configuration changes when it looks like the default config should work fine.
    But brebs' reply inspired me to run 'sh -x /etc/profile', which finally shed light into my issue:
    +++ . /home/cbuehler/Siemens/Teamcenter10.1/Visualization/bin/visviewwebinit /home/cbuehler/Siemens/Teamcenter10.1/Visualization
    ++++ '[' X_ = X_True ']'
    ++++ '[' -n /home/cbuehler/Siemens/Teamcenter10.1/Visualization ']'
    ++++ export EAI_INSTALL=/home/cbuehler/Siemens/Teamcenter10.1/Visualization
    ++++ EAI_INSTALL=/home/cbuehler/Siemens/Teamcenter10.1/Visualization
    ++++ '[' -d /usr/lib/jvm/java-7-openjdk/jre -o -h /usr/lib/jvm/java-7-openjdk/jre ']'
    ++++ export JAVA_HOME=/usr/lib/jvm/java-7-openjdk/jre
    ++++ JAVA_HOME=/usr/lib/jvm/java-7-openjdk/jre
    I have Teamcenter Visualization installed in my home directory. And this changes my JAVA_HOME in /home/cbuehler/Siemens/Teamcenter10.1/Visualization/bin/visviewwebinit:
    # If JAVA_HOME points to the top level java directory, reset it to point to the JRE directory.
    if [ -d $JAVA_HOME/jre -o -h $JAVA_HOME/jre ]; then
        export JAVA_HOME=$JAVA_HOME/jre
    fi
    I commented this part out and now everything works fine.
    Thank you very much for your help.

  • Why does my guest use require password?

    password????

    This issue is sometimes or always the result of transferring the Guest account from another system in Migration or Setup Assistant. See the discussions linked below.
    Mavericks guest user password
    Guest account requires password - Disabling/reenabling doesn't work

  • Why does a zip drive require too much power?

    Zip drive says it requires too much power?

    The pad only allows a very limited amount of power through the connection kit.  What are you trying to do?  The connector is designed for reading cameras, and data cards from cameras, thus the low power.    Plugging a zip drive will not do anything else for you.
    If you really want to try, put a powered usb hub in between the drive and the pad.

  • Why does the Back button require two mouse clicks?

    I've just upgraded to ver. 9 and now the Back button requires two mous clicks/

    I might not have used the word "Normal".  "Typical" maybe.  I suppose "Normal" is acceptable in the context of "SNAFU".
    Wait until you make an edit on one of your own posts to fix a stupid typo, then later look to find the typo back and you can no longer edit it.  And what's up with that messed-up Javascript that shows up at the top of some quoted messages?
    These forums are barely usable, but a bright spot is the color-managed photo attachment capability (i.e., you can upload an image with a non-sRGB color profile and the server will convert it).  I suppose if anything Adobe could have been expected to get that part right.
    -Noel

  • [SOLVED] Why does android-sdk remain in AUR?

    It seems that with 1500+ votes it might be worthy of being put in [community]. I'm just curious.
    Last edited by amadar (2013-01-14 00:07:12)

    The two most common reasons that popular packages stay in the AUR:
    1. Licensing
    2. No dev or TU uses them and can't maintain them.
    A quick search through the license turns up this, emphasis added by me:
    3.3 You may not use the SDK for any purpose not expressly permitted by this License Agreement. Except to the extent required by applicable third party licenses, you may not: (a) copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the SDK or any part of the SDK; or (b) load any part of the SDK onto a mobile handset or any other hardware device except a personal computer, combine any part of the SDK with other software, or distribute any software or device incorporating a part of the SDK.
    Last edited by Scimmia (2012-12-27 15:58:41)

Maybe you are looking for