[SOLVED] systemd-arch-units conflicts with mdadm and xinetd packages

Trying to upgrade my testing box today to latest/greatest and running into a file conflict between systemd-arch-linux providing systemd profiles for xinetd and mdadm which also think they control the same files:
error: failed to commit transaction (conflicting files)
/usr/lib/systemd/system/mdadm.service exists in both 'mdadm' and 'systemd-arch-units'
/usr/lib/systemd/system/xinetd.service exists in both 'systemd-arch-units' and 'xinetd'
Errors occurred, no packages were upgraded.
Should I just do a force? I am not relying on systemd yet. Or should I just remove systemd?
Chester
Last edited by chetwisniewski (2012-05-15 18:17:45)

silent wrote:So now the new version of mdadm and xinetd moved to [core] and I have the same conflict with systemd-arch-units in [community].
Try -Syu again?

Similar Messages

  • Dhcpcd 5.6.0 conflicts with systemd-arch-units

    Specifically, upgrading dhcpcd to version 5.6.0 complains that /usr/lib/systemd/system/[email protected] is already owned by package systemd-arch-units. Which package shall be the owner of this systemd service ?
    Thanks

    dhcpcd should own it. You need the systemd-arch-units from [community-testing], which doesn't have it any more. (You should have both testing repos enabled if you use either of them.)

  • Are systemd-arch-units necessary or required?

    Hi, I just want to know, if the systemd-arch-units aren't any more necessary or required? Because, that package isn't any more existing in the official repositiories and in the AUR.

    Not needed anymore; update your system and uninstall it.
    mod action: Split from https://bbs.archlinux.org/viewtopic.php?id=146787.

  • Gtk-gir conflicts with atk and gtk2 updates [SOLVED]

    When upgrading with pacman -Syu I get the following error:
    error: failed to commit transaction (conflicting files)
    atk: /usr/share/gir-1.0/Atk-1.0.gir exists in filesystem
    gtk2: /usr/share/gir-1.0/Gdk-2.0.gir exists in filesystem
    gtk2: /usr/share/gir-1.0/GdkPixbuf-2.0.gir exists in filesystem
    gtk2: /usr/share/gir-1.0/Gtk-2.0.gir exists in filesystem
    Errors occurred, no packages were upgraded.
    Checking with pacman -Qo /usr/share/gir-1.0/Atk-1.0.gir gives:
    /usr/share/gir-1.0/Atk-1.0.gir is owned by gtk-gir 0.6.5-1
    And pacman -Qi gtk-gir gives:
    Name : gtk-gir
    Version : 0.6.5-1
    URL : http://live.gnome.org/GObjectInstrospection
    Licenses : GPL
    Groups : None
    Provides : None
    Depends On : gobject-introspection>=0.6.5 gtk2
    Optional Deps : None
    Required By : libdesktop-agnostic-gnome-bzr
    Conflicts With : None
    Replaces : None
    Installed Size : 3676.00 K
    Packager : Unknown Packager
    Architecture : x86_64
    Build Date : Tue 23 Mar 2010 05:17:59 PM CET
    Install Date : Tue 23 Mar 2010 05:18:07 PM CET
    Install Reason : Installed as a dependency for another package
    Install Script : No
    Description : GIR interface description files for GTK+
    The dependencies can be tracked up to my installation of aur/avant-window-navigator-0.4-bzr 20100211-1
    I'm stumped. Can you help me get around this problem?
    Thanks!
    Last edited by mattmurdock (2010-04-05 22:59:04)

    @wonder
    Thanks for the tip! It makes sense.
    However, the current PKGBUILD for libdesktop-agnostic-gnome-bzr speaks about dependencies like so:
    depends=('glib2' 'gtk2>=2.20.0' 'gconf' 'gnome-vfs' 'gnome-desktop')
    makedepends=('bzr' 'python' 'pygobject' 'pygtk' 'vala' 'gobject-introspection')
    optdepends=('python')
    conflicts=('libdesktop-agnostic')
    And I still get the build error. I suspect the workaround is to force a removal of gtk-gir but I'm hesitating because I really don't want to break my AWN installation.
    Am I being too cautios - or is there a better way of doing this?
    Thanks!

  • [SOLVED] systemd user unit for lsyncd

    After following the the systemd/User - Basic setup wiki article I have successfully setup user services for systemd.  I've also setup a systemd user "unit" to run lsyncd.  The user unit appears to start successfully based on the unit status shown below.  Only problem is lsyncd isn't running and I'm not seeing any relevant errors or info with journalctl.  If I run the script defined in ExecStart on the command line lsyncd starts as expected.  Any ideas or pointers?
    OUTPUT from "systemctl --user lsyncd.service":
    lsyncd.service - lsyncd
    Loaded: loaded (/home/maseone/.config/systemd/user/lsyncd.service; enabled)
    Active: inactive (dead) since Thu 2014-08-28 18:14:50 PDT; 21min ago
    Process: 630 ExecStart=/home/maseone/.lsyncd/start_lsyncd_simple.sh (code=exited, status=0/SUCCESS)
    Main PID: 630 (code=exited, status=0/SUCCESS)
    Aug 28 18:14:50 archie230x systemd[610]: Starting lsyncd...
    Aug 28 18:14:50 archie230x systemd[610]: Started lsyncd.
    UNIT for lsyncd:
    [Unit]
    Description=lsyncd
    [Service]
    ExecStart=/home/maseone/.lsyncd/start_lsyncd_simple.sh
    [Install]
    WantedBy=default.target
    SCRIPT defined in ExecStart:
    #! /bin/sh
    /bin/lsyncd -log all /home/maseone/.lsyncd/lsyncd.lua
    Last edited by maseone (2014-08-29 04:07:58)

    firecat53 wrote:
    Try changing the service type to forking instead of simple. Or look for an lsycd option that keeps it running in the foreground.
    Scott
    Thanks for the pointer, it worked!  After reading in detail the different types available "forking" does seem the most appropriate type for a daemon written as lsyncd.  I believe using an lsyncd option named "detach" would have worked with the "simple" type but forking seemd more appropriate in my case.
    Also as an update to my original post I have completely removed the use of the shell script and am now calling lsyncd directly in my defined systemd unit.  Also using the %h variable for the home directory now.
    REVISED unit file:
    [Unit]
    Description=lsyncd
    [Service]
    Type=forking
    ExecStart=/bin/lsyncd -log scarce %h/.lsyncd/lsyncd.lua
    [Install]
    WantedBy=default.target

  • [solved]partially working network, problems with ssl and irc

    Hi,
    for a weird reason I can't access any websites with https anymore nor can i connect to any irc servers with irssi and connection attempts with ssh time out. The system is up2date and I am using kdemod as DE.
    My rc.conf looks like this:
    # /etc/rc.conf - Main Configuration for Arch Linux
    # LOCALIZATION
    # LOCALE: available languages can be listed with the 'locale -a' command
    # HARDWARECLOCK: set to "UTC" or "localtime", any other value will result
    # in the hardware clock being left untouched (useful for virtualization)
    # TIMEZONE: timezones are found in /usr/share/zoneinfo
    # KEYMAP: keymaps are found in /usr/share/kbd/keymaps
    # CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
    # CONSOLEMAP: found in /usr/share/kbd/consoletrans
    # USECOLOR: use ANSI color sequences in startup messages
    LOCALE="de_DE.utf8"
    HARDWARECLOCK="localtime"
    TIMEZONE="Europe/Berlin"
    KEYMAP="de"
    CONSOLEFONT=
    CONSOLEMAP=
    USECOLOR="yes"
    # HARDWARE
    # MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
    # MOD_BLACKLIST: Prevent udev from loading these modules
    # MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
    # NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
    MOD_AUTOLOAD="yes"
    #MOD_BLACKLIST=() #deprecated
    MODULES=(!b44 !mii !ipw2200 !libipw !ac97_bus !snd-mixer-oss !snd-pcm-oss !snd-page-alloc !snd-pcm !snd-timer !snd !snd-ac97-codec !snd-intel8x0 !snd-intel8x0m !soundcore b44 mii ipw2200 libipw ac97_bus snd-mixer-oss snd-pcm-oss snd-page-alloc snd-pcm snd-timer snd snd-ac97-codec snd-intel8x0 snd-intel8x0m soundcore)
    # Scan for LVM volume groups at startup, required if you use LVM
    USELVM="no"
    # NETWORKING
    # HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
    HOSTNAME="horst-lp"
    # Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
    # Interfaces to start at boot-up (in this order)
    # Declare each interface then list in INTERFACES
    # - prefix an entry in INTERFACES with a ! to disable it
    # - no hyphens in your interface names - Bash doesn't like it
    eth0="dhcp"
    # Wireless: See network profiles below
    #Static IP example
    #eth0="dhcp"
    eth0="dhcp"
    INTERFACES=(!eth0 !eth1 !wlan0)
    # Routes to start at boot-up (in this order)
    # Declare each route then list in ROUTES
    # - prefix an entry in ROUTES with a ! to disable it
    gateway="default gw 192.168.0.1"
    ROUTES=(!gateway)
    # Enable these network profiles at boot-up. These are only useful
    # if you happen to need multiple network configurations (ie, laptop users)
    # - set to 'menu' to present a menu during boot-up (dialog package required)
    # - prefix an entry with a ! to disable it
    # Network profiles are found in /etc/network.d
    # This now requires the netcfg package
    #NETWORKS=(main)
    # DAEMONS
    # Daemons to start at boot-up (in this order)
    # - prefix a daemon with a ! to disable it
    # - prefix a daemon with a @ to start it up in the background
    DAEMONS=(syslog-ng hal !network networkmanager avahi-daemon avahi-dnsconfd alsa cdemud kdm samba mpd lighttpd)
    Earlier I had some problems with not resolving addresses, which I somehow got rid of. At the time I blamed my isp.
    Perhaps something broke when I had a program running in wine to play with a car too and I had to switch the laptop off bc it didn't want to react anymore.
    thx for reading
    e: I don't know why, but it worked when I started Arch this morning.. while it didn't yesterday although everything worked correctly on my other PCs.
    Last edited by dt (2009-11-07 09:02:46)

    Hi,
    for a weird reason I can't access any websites with https anymore nor can i connect to any irc servers with irssi and connection attempts with ssh time out. The system is up2date and I am using kdemod as DE.
    My rc.conf looks like this:
    # /etc/rc.conf - Main Configuration for Arch Linux
    # LOCALIZATION
    # LOCALE: available languages can be listed with the 'locale -a' command
    # HARDWARECLOCK: set to "UTC" or "localtime", any other value will result
    # in the hardware clock being left untouched (useful for virtualization)
    # TIMEZONE: timezones are found in /usr/share/zoneinfo
    # KEYMAP: keymaps are found in /usr/share/kbd/keymaps
    # CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
    # CONSOLEMAP: found in /usr/share/kbd/consoletrans
    # USECOLOR: use ANSI color sequences in startup messages
    LOCALE="de_DE.utf8"
    HARDWARECLOCK="localtime"
    TIMEZONE="Europe/Berlin"
    KEYMAP="de"
    CONSOLEFONT=
    CONSOLEMAP=
    USECOLOR="yes"
    # HARDWARE
    # MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
    # MOD_BLACKLIST: Prevent udev from loading these modules
    # MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
    # NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
    MOD_AUTOLOAD="yes"
    #MOD_BLACKLIST=() #deprecated
    MODULES=(!b44 !mii !ipw2200 !libipw !ac97_bus !snd-mixer-oss !snd-pcm-oss !snd-page-alloc !snd-pcm !snd-timer !snd !snd-ac97-codec !snd-intel8x0 !snd-intel8x0m !soundcore b44 mii ipw2200 libipw ac97_bus snd-mixer-oss snd-pcm-oss snd-page-alloc snd-pcm snd-timer snd snd-ac97-codec snd-intel8x0 snd-intel8x0m soundcore)
    # Scan for LVM volume groups at startup, required if you use LVM
    USELVM="no"
    # NETWORKING
    # HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
    HOSTNAME="horst-lp"
    # Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
    # Interfaces to start at boot-up (in this order)
    # Declare each interface then list in INTERFACES
    # - prefix an entry in INTERFACES with a ! to disable it
    # - no hyphens in your interface names - Bash doesn't like it
    eth0="dhcp"
    # Wireless: See network profiles below
    #Static IP example
    #eth0="dhcp"
    eth0="dhcp"
    INTERFACES=(!eth0 !eth1 !wlan0)
    # Routes to start at boot-up (in this order)
    # Declare each route then list in ROUTES
    # - prefix an entry in ROUTES with a ! to disable it
    gateway="default gw 192.168.0.1"
    ROUTES=(!gateway)
    # Enable these network profiles at boot-up. These are only useful
    # if you happen to need multiple network configurations (ie, laptop users)
    # - set to 'menu' to present a menu during boot-up (dialog package required)
    # - prefix an entry with a ! to disable it
    # Network profiles are found in /etc/network.d
    # This now requires the netcfg package
    #NETWORKS=(main)
    # DAEMONS
    # Daemons to start at boot-up (in this order)
    # - prefix a daemon with a ! to disable it
    # - prefix a daemon with a @ to start it up in the background
    DAEMONS=(syslog-ng hal !network networkmanager avahi-daemon avahi-dnsconfd alsa cdemud kdm samba mpd lighttpd)
    Earlier I had some problems with not resolving addresses, which I somehow got rid of. At the time I blamed my isp.
    Perhaps something broke when I had a program running in wine to play with a car too and I had to switch the laptop off bc it didn't want to react anymore.
    thx for reading
    e: I don't know why, but it worked when I started Arch this morning.. while it didn't yesterday although everything worked correctly on my other PCs.
    Last edited by dt (2009-11-07 09:02:46)

  • Conflict with passwords and app purchase

    suggestion and found a phone number for Navigon andI called the PHONE number (866-273-4271) and SPOKE to Britton.
    It seems that Apple has caused some addresses to switch there main ID position. For example my cox.net and Mac.com.
    1.  He had me go into " settings" on my iPhone 4S and down to "Store (iTunes)"   
    2.  Under settings -- Store -- at the bottom is:  " Apple ID: [email protected]  
    Mine said mac.com  and it should have said:  cox.net. Somehow that was changed and NOT by me.
    3.  He had me tap the address and it brought me to the screen that included options such as:  Sign Out. This allowed me to change back to cox.net. I still have two different accounts with iTunes and two different passwords. This problem started when Apple said I needed to strengthen my password by using numbers, letters and CAPS. Up till that time, I had only one password and it worked on both accounts. Now I have two passwords as I said before. A new one for cox.net and the old original password for Mac.com.
    4.  After my iTunes Apple ID was changed back to cox.net I was able (after he had me delete the existing copy of Navigon on my computer), to go to my previous purchases on my Mac computer and download my original purchase made in 2009 ( under cox.net).
    This was an iTunes problem, not Navigon. iTunes should have been able to solve the problem. As I have said many times, this could have been solved on my first contact if we could have spoken to each other on the phone.
    This problem could happen to me again because I have purchased  apps under both accounts.

    Sorry, but I don't think there is a way to fix this. But I believe it only last 30 minutes, at most.

  • Spry Conflicts with LightBox and ThickBox?

    i have tried to use both Lightbox2 and Thickbox on a page
    with a Spry dataset and both will not work (they work fine on
    non-Spry pages). It's just a simple gallery-style page. Any ideas
    on how to make them compatible?

    Sorry for the confusion, but I do have it set up correctly on
    my local machine. I only posted the HTML file so you could download
    it. I have all the included files in the right locations here
    (because it works using either SPRY 1.5 or Slimbox when I test it).
    Spry is definitely conflicting with Slimbox. I just made a
    simple test file, got slimbox working and slowly added the Spry
    pieces. It broke when I added the spry:region call in the div:
    <div id="content" spry:region="portfolio_xml">
    I don't understand these people that say they are using Spry
    and Slimbox without issues. Would be nice to see an example.

  • [solved]util-linux-ng conflicts with e2fsprogs

    i encount this error msg when i am installing apache server in my archlinux,at first i think that is a apache dependencies problem,but later,when i install other program  pacman shows the same error msg.so i remove the e2fsprogs,but more programs need e2fsprogs.
    what should i do then?
    Last edited by yisohoo (2009-09-26 04:58:17)

    I had the same problem at install hal, ( pacman -S extra/hal )
    CONFLICT util-linux-ng conflicts with e2fsprogs .. remove y/n ? -->> fail by dependences...
    pacman -Syu --->>> SOLVED !!
    Thx.

  • **SOLVED** pacman Syu - ruby conflicts with rubygems..

    :: Synchronizing package databases...
    core is up to date
    extra is up to datesd
    community is up to date
    :: Starting full system upgrade...
    resolving dependencies...
    looking for inter-conflicts...
    :: ruby conflicts with rubygems. Remove rubygems? [Y/n]
    How can I resolve this? Ideally, I don't really want to update ruby.. I there a way I can skip updating ruby?
    If not, do I need to wait until the rubygems package it updated?
    Can I skip this somehow and update the rest of the system?
    Last edited by tommed (2010-05-18 15:07:19)

    Thanks Allan, does that mean if I were so inclined, it would be safe to remove rubygems, then update ruby?
    The reason I don't think I should update ruby is because I have a lot of rails apps on this server, and there is bound to be more than a couple which can't cope with the update to ruby 1.9 (it's a pretty major upgrade).
    I'll check out the pacman.conf thanks!

  • [Solved]Replaced my /var partition (with dd) and am having boot issues

    I recently got a new hard drive and have split /var and root across the two drives. However now I am having issues booting the computer. Each boot it mounts the /var and /home partition (both of which are on the new drive) and hangs for a large period of time before booting. (it does eventually boot fine)
    The reliant section of journalctl is:
    an 05 04:54:33 ArchPC systemd[1]: Started Trigger Flushing of Journal to Persistent Storage.
    Jan 05 04:54:34 ArchPC systemd[1]: Started Load Random Seed.
    Jan 05 04:54:34 ArchPC systemd[1]: Started Recreate Volatile Files and Directories.
    Jan 05 04:55:58 ArchPC systemd[1]: Job dev-disk-by\x2duuid-e6fa1ae1\x2d5579\x2d439d\x2d94cc\x2d11b2c0e67070.device/start timed out.
    Jan 05 04:55:58 ArchPC systemd[1]: Timed out waiting for device dev-disk-by\x2duuid-e6fa1ae1\x2d5579\x2d439d\x2d94cc\x2d11b2c0e67070.device.
    Jan 05 04:55:58 ArchPC systemd[1]: Dependency failed for /dev/disk/by-uuid/e6fa1ae1-5579-439d-94cc-11b2c0e67070.
    Jan 05 04:55:58 ArchPC systemd[1]: Job dev-disk-by\x2duuid-e6fa1ae1\x2d5579\x2d439d\x2d94cc\x2d11b2c0e67070.swap/start failed with result 'dependency'.
    Jan 05 04:55:58 ArchPC systemd[1]: Job dev-disk-by\x2duuid-e6fa1ae1\x2d5579\x2d439d\x2d94cc\x2d11b2c0e67070.device/start failed with result 'timeout'.
    Jan 05 04:55:58 ArchPC systemd[1]: Starting Swap.
    Jan 05 04:55:58 ArchPC systemd[1]: Reached target Swap.
    However I am not sure where this could be, unless it is attempting to mount my windows partition?
    As a side note, during this I also moved my windows install to the same drive as my root and it will no longer boot from ether its new or original drive.
    Thanks.
    Last edited by jarrah-95 (2013-01-04 09:24:59)

    Jarrah-95,
    Thanks for your 'solution' post.  I had a problem on boot with the boot process 'stalling' with a "recreate volatile files and directory" message that would after about a 30 second delay eventually finish the boot process.  Based on your post I ran 'blkid' and discovered my 'swap' partition in my /etc/fstab file had the wrong UUID for the 'swap' entry.
    After entering the 'correct' 'swap 'UUID',  the boot cycle is restored and fast as ever.  Back to the basics wins again.
    Next task is to find out how I created the mistake.
    best regards,
    marvinudy

  • [SOLVED] First Arch Install - but with wireless problem

    Hi all
    I got my first Arch installation working this morning. It was only the third try at installing which I didn't think was too bad really. I made some dumb mistakes the first two times. Arch rocks once you take the plunge. I've initially set it up with KDE but am thinking of switching to OpenBox instead - I like the minimal sort of style.
    I've got a bit of an issue with the wireless. My settings in /etc/network.d/talktalk are as follows:
    CONNECTION='wireless'
    DESCRIPTION='A simple WEP encrypted wireless connection'
    INTERFACE='wlan0'
    SECURITY='wep'
    ESSID='TALKTALK-8AD68C'
    KEY='s:######'
    IP='dhcp'
    # Uncomment this if your ssid is hidden
    #HIDDEN=yes
    It's a direct copy of the wep wireless example in /etc/network.d/examples.
    The issue is that I issue from the command line: sudo netcfg talktalk
    It responds initially with: [BUSY] but then responds: WPA Authentication/Association Failed [FAIL]
    I know the wireless card works fine - I am dual booting with Ubuntu, and the ESSID and Key are correct. Any ideas anyone?
    Thanks In Advance
    Rich
    Last edited by RichAustin (2011-07-27 18:53:56)

    I can't see anything in the 2 posts mentioned. These are the settings I have so far:
    I've just noticed in point (6) below that it says "Access Point: Not-Associated". Possibly significant?
    1) Output from netcfg:
    [richard@dhcppc2 ~]$ sudo netcfg talktalk
    :: talktalk up                                                           [BUSY]
    > WPA Authentication/Association Failed
                                                                             [FAIL]
    2) Content of my /etc/network.d network profile - talktalk (actual key is obscured):
    CONNECTION='wireless'
    DESCRIPTION='A simple WEP encrypted wireless connection'
    INTERFACE='wlan0'
    SECURITY='wep'
    ESSID='TALKTALK-8AD68C'
    KEY='s:#####'
    IP='dhcp'
    # Uncomment this if your ssid is hidden
    #HIDDEN=yes
    3) Netcfg version:
    [richard@dhcppc2 ~]$ sudo netcfg -v
    Password:
    netcfg v2.5.5
    4) Output from lsmod:
    [richard@dhcppc2 ~]$ sudo lsmod
    Module                  Size  Used by
    ipv6                  249068  44
    joydev                  7535  0
    snd_hda_codec_hdmi     20368  1
    snd_hda_codec_realtek   225687  1
    snd_hda_intel          19261  4
    snd_hda_codec          66665  3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
    arc4                    1094  2
    ecb                     1645  2
    snd_hwdep               4919  1 snd_hda_codec
    uvcvideo               55084  0
    snd_pcm                60311  4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
    snd_timer              15542  2 snd_pcm
    videodev               70734  1 uvcvideo
    snd                    43399  13 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
    brcmsmac              561908  0
    soundcore               5018  1 snd
    iTCO_wdt               10333  0
    sg                     21022  0
    r8169                  34891  0
    mac80211              189598  1 brcmsmac
    hp_wmi                  6602  0
    i2c_i801                7039  0
    iTCO_vendor_support     1553  1 iTCO_wdt
    cfg80211              126930  2 brcmsmac,mac80211
    snd_page_alloc          5909  2 snd_hda_intel,snd_pcm
    sparse_keymap           2636  1 hp_wmi
    pcspkr                  1415  0
    serio_raw               3430  0
    rfkill                 12510  2 hp_wmi,cfg80211
    media                   8513  1 videodev
    processor              21884  0
    mii                     3383  1 r8169
    psmouse                55927  0
    wmi                     7367  1 hp_wmi
    evdev                   7310  9
    ac                      2545  0
    thermal                 6603  0
    battery                 8905  0
    ext4                  334562  3
    mbcache                 4321  1 ext4
    jbd2                   59098  1 ext4
    crc16                   1077  1 ext4
    usbhid                 31211  0
    hid                    63007  1 usbhid
    sr_mod                 12956  0
    cdrom                  31341  1 sr_mod
    sd_mod                 25483  5
    ahci                   18093  4
    libahci                16581  1 ahci
    libata                154285  2 ahci,libahci
    ehci_hcd               34847  0
    usbcore               119324  4 uvcvideo,usbhid,ehci_hcd
    scsi_mod              110702  4 sg,sr_mod,sd_mod,libata
    i915                  557838  2
    drm_kms_helper         24245  1 i915
    drm                   147653  3 i915,drm_kms_helper
    intel_agp               8664  1 i915
    i2c_algo_bit            4431  1 i915
    button                  3654  1 i915
    intel_gtt              11417  3 i915,intel_agp
    agpgart                22160  3 drm,intel_agp,intel_gtt
    i2c_core               16665  6 videodev,i2c_i801,i915,drm_kms_helper,drm,i2c_algo_bit
    video                   9852  1 i915
    5) Output from iwconfig:
    [richard@dhcppc2 ~]$ sudo iwconfig
    lo        no wireless extensions.
    eth0      no wireless extensions.
    wlan0     IEEE 802.11bgn  ESSID:"TALKTALK-8AD68C" 
              Mode:Managed  Frequency:2.457 GHz  Access Point: Not-Associated   
              Tx-Power=19 dBm   
              Retry  long limit:7   RTS thr:off   Fragment thr:off
              Encryption key:off
              Power Management:off

  • Conflict with FileWriter and bufferedWriter

    Hello all, i'm having problems with this code. The compiler says: The method put(String, BufferedWriter) in type Map<String, BufferedWriter> is not applicable for the arguments(String, FileWriter).
    Also there is another error that says: Cannot Cast From BufferedWriter to FileWriter.
    i understand that to use a BufferedWriter, you need a FileWriter, i'm not used to deal with maps and bufferedWriters together :/
    Thanks in advance!
    package pkg.mig;
    import java.io.BufferedWriter;
    import java.io.FileWriter;
    import java.io.IOException;
    import java.util.HashMap;
    import java.util.Map;
    public class Uf_file {
         static Map<String, BufferedWriter> filemap;
         static Map<String, Long> filelenghmap;
         static Map<String, Integer> filesecuence;
         static FileWriter out;
            static BufferedWriter bw;
         public static void writeUF(String ufName, String sys, String uf_row) {
              if (filemap == null) {
                   filemap = new HashMap<String, BufferedWriter>();
                   if (filelenghmap == null) {
                        filelenghmap = new HashMap<String, Long>();
                        filesecuence = new HashMap<String, Integer>();
              if (filelenghmap.get(ufName) == null) {
                   filelenghmap.put(ufName, new Long(0));
                   filesecuence.put(ufName, new Integer(0));
              if (filemap.get(ufName) == null) {
                   try {
                        filemap.put(ufName, new FileWriter(getFileName(ufName, sys), true));
                        Utils.logger.info("Creando nuevo archivo: " + ufName +"-"+filesecuence.get(ufName));
                   } catch (IOException e) {
                        // TODO Auto-generated catch block
                        Utils.logger.severe(e.toString());
                        Utils.close_app(1);
              out = (FileWriter) filemap.get(ufName);
              try {
                   bw.write(uf_row);
                   filelenghmap.put(ufName, filelenghmap.get(ufName) + uf_row.length());
                   if (filelenghmap.get(ufName) > Long.parseLong(Utils.app_properties.getProperty("UF_Size"))) {
                        closeUF(ufName);
              } catch (IOException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
         static String getFileName(String ufName, String sys) {
              filesecuence.put(ufName, filesecuence.get(ufName) + 1);
              return sys + "." + ufName + "." + Utils.getDateSystem()+"EXT-"+Utils.app_properties.getProperty("EXT") +"-"+
              Utils.fNumber(Integer.toString(filesecuence.get(ufName)),3) + ".inp";
         static void closeUF(String ufName) {
              bw = (BufferedWriter) filemap.get(ufName);
              try {
                   out.close();
                   filemap.remove(ufName);
                   filelenghmap.put(ufName, (long) 0);
              } catch (IOException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
    }

    It has nothing to do with the map, you cannot cast from a file writer to a buffered writer, so here when you do this...
    static void closeUF(String ufName) {
              //bw = (BufferedWriter) filemap.get(ufName); // no
                                    bw = new BufferedWriter(filemap.get(ufName)); // yes
              try {
                   out.close();
                   filemap.remove(ufName);
                   filelenghmap.put(ufName, (long) 0);
              } catch (IOException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
         }Hope that helps!

  • [SOLVED]Script to replace compiz with metacity and the other way round

    Hi. I would like You guys to help me. I don't want to use fusion-icon (many complex reasons I wouldn't like to state here, just please take it for granted) and I'd like to bind a key combination for a command which would let me replace compiz with metacity and the other way round. So I think I need a script.
    What I'd need:
    detect if compiz is running
    yes -> metacity --replace
    no -> compiz --loose-binding --replace
    Can You help?
    Last edited by warnec (2010-06-23 19:38:46)

    The scripts by mojlac024 replaces compiz by metacity when compiz is running, but when metacity is running it doesn't bring compiz back.
    How to incorporate that test:
    dbus-send --print-reply --type=method_call --dest=org.freedesktop.compiz /org/freedesktop/compiz/dbus/screen0 org.freedesktop.compiz.list | wc -l
    into the script?
    PS.:
    When compiz is running, it prints 1. But when compiz is not running, it prints:
    Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.compiz was not provided by any .service files
    0
    So a simple logical test of "is this 0 or not?" won't work, I'm afraid.
    Last edited by warnec (2010-06-23 17:01:44)

  • Any conflicts with Vectorworks and Yosemite?

    Are there any conflicts with Vectoworks If upgrade to Yosemite?

    Are there any conflicts with Vectoworks If upgrade to Yosemite?

Maybe you are looking for

  • Can't transfer files from tower to laptop

    I have a G4 sawtooth tower connected to a Netgear wireless router MR814v2. 2 G4's ( both OS 10.3.9) are connected to the router by ethernet cable and a PC laptop has a Netgear wireless card that also connects it. The 2 G4's share internet, file shari

  • Re: NOKIA 7210 Supernova Connectivity Problem

    Hi Can anyone help me regarding My Nokia 7210. Im having prob in playing music files as it is showing the msg of "not enough memory" Seconndly Im unable to connect my phone to pc. i have tried pc suite 7.1 and 6.6. None of them are able to recognize

  • Language issue. Very important!

    I have a package of Creative Cloud, how can I change the language from Polish to English? I'm used to use all the applications in English. Help someone?

  • Convert name value pair to flat structure in Biztalk mapper

    Hi, I have an input xml file with name value pairs and have to access all the values in the same iteration to concatenate fname and lname and assign that to a fullname in the target schema. I am trying with logical eq functoid and value mapping flatt

  • Is there an easy way of making DVDs using iMovie without iDVD?

    I can't seem to make / share / export a dvd in iTunes that can be read in a dvd player. The new operating system doesn't support iDVD so I can't easily make a dvd. I seem to be able to create a file with an m4v extesion and it looks great on my Macbo