Pacman hanging on "checking for file conflicts"

I've tried running pacman -Syu on my laptop and pacman is simply hanging at the checking for file conflicts stage.  I've let it sit for several minutes, but it never seems to get past that stage.  The list of packages to be updated isn't long:
Targets (5): bison-2.6.2-1 chromium-21.0.1180.75-1 flex-2.5.37-1 libldap-2.4.32-1 lm_sensors-3.3.2-4
This is being done on a laptop that was only recently rebuilt with a new Arch install using the latest installation media.  The install went well and previous updates have worked with no problems.

I'm glad you solved the problem but "pacman -Scc" shouldn't be necessary and makes it more difficult to recover in a variety of situations. You can always re-download old packages but having them in your cache makes it easy to roll something back and makes it possible to do this without, for example, a working network connection. I installed in November and I've never even run "pacman -Sc" let alone "pacman -Scc". (Though I have trimmed the cache to free up disk space using, I think, paccache.)

Similar Messages

  • [solved] pacman 4 hangs after "checking for file conflicts"

    Like others, I removed yaourt and package-query because they conflicted with pacman4... not worried about that, I'll reinstall them later.
    I put the new pacman.conf in place (my old one wasn't really customized).  I left SigLevel = Never.
    Now, I can run pacman -Sy fine, but if I try to install anything, I it just hangs:
    sudo pacman -S audacity
    resolving dependencies...
    looking for inter-conflicts...
    Targets (1): audacity-1.3.14-2
    Total Download Size: 3.21 MiB
    Total Installed Size: 15.29 MiB
    Net Upgrade Size: -0.00 MiB
    Proceed with installation? [Y/n]
    :: Retrieving packages from extra...
    audacity-1.3.14-2-x86_64 3.2 MiB 1397K/s 00:02 [###########################] 100%
    (1/1) checking package integrity [###########################] 100%
    (1/1) loading package files [###########################] 100%
    (1/1) checking for file conflicts [###########################] 100%
    I've waited up to 20 or 30 minutes and nothing happens.  It's not just audacity, any package I try to install does this.
    Suggestions?
    Last edited by TheAmigo (2012-01-17 18:55:38)

    With --debug switch it prints:
    checking for file conflicts...
    debug: looking for file conflicts
    debug: searching for file conflicts: coreutils
    debug: searching for filesystem conflicts: coreutils
    debug: searching for file conflicts: ethtool
    debug: searching for filesystem conflicts: ethtool
    debug: searching for file conflicts: fail2ban
    debug: searching for filesystem conflicts: fail2ban
    debug: searching for file conflicts: gpgme
    debug: searching for filesystem conflicts: gpgme
    debug: searching for file conflicts: vim-runtime
    debug: searching for filesystem conflicts: vim-runtime
    debug: searching for file conflicts: gvim
    debug: searching for filesystem conflicts: gvim
    debug: searching for file conflicts: hdparm
    debug: searching for filesystem conflicts: hdparm
    debug: searching for file conflicts: inetutils
    debug: searching for filesystem conflicts: inetutils
    debug: searching for file conflicts: lib32-glibc
    debug: searching for filesystem conflicts: lib32-glibc
    debug: searching for file conflicts: lib32-gcc-libs
    debug: searching for filesystem conflicts: lib32-gcc-libs
    debug: searching for file conflicts: lib32-glib2
    debug: searching for filesystem conflicts: lib32-glib2
    debug: searching for file conflicts: lib32-gdk-pixbuf2
    debug: searching for filesystem conflicts: lib32-gdk-pixbuf2
    debug: searching for file conflicts: lib32-pango
    debug: searching for filesystem conflicts: lib32-pango
    debug: searching for file conflicts: lib32-gtk2
    debug: searching for filesystem conflicts: lib32-gtk2
    debug: searching for file conflicts: linux
    debug: searching for filesystem conflicts: linux
    debug: searching for file conflicts: nspluginwrapper
    debug: searching for filesystem conflicts: nspluginwrapper
    debug: searching for file conflicts: nvidia
    debug: searching for filesystem conflicts: nvidia
    debug: searching for file conflicts: qtwebkit
    debug: searching for filesystem conflicts: qtwebkit
    debug: searching for file conflicts: rpcbind
    debug: searching for filesystem conflicts: rpcbind
    debug: searching for file conflicts: unrar
    debug: searching for filesystem conflicts: unrar
    debug: searching for file conflicts: xscreensaver
    debug: searching for filesystem conflicts: xscreensaver
    checking available disk space...
    debug: checking available disk space
    Without the --debug switch
    Proceed with installation? [Y/n]
    (21/21) checking package integrity [############################] 100%
    (21/21) loading package files [############################] 100%
    (21/21) checking for file conflicts [############################] 100%
    Note that the 'checking available disk space...' is not printed without the --debug option although it doesn't look like being 'debug output'.
    I don't see much disk activity after that and the pacman process uses no CPU time and the process status goes to D in `ps` (man ps says: D: Uninterruptible sleep (usually IO)).
    Last edited by drrossum (2012-01-18 21:58:28)

  • [solved] "pacman -Syu" hangs after "checking for file conflicts"

    This is my third attempt.  I let it run yesterday for 20 hours on the theory that maybe it was actually doing something.  It always completes "checking for file conflicts" but never goes any further.
    Does anyone have any suggestions how to get it to continue?
    [ken@xxxxx ~]$ sudo pacman -Syu
    :: Synchronizing package databases...
    core is up to date
    extra 1421.6 KiB 2.03M/s 00:01 [######################] 100%
    community 1775.0 KiB 3.00M/s 00:01 [######################] 100%
    :: Starting full system upgrade...
    resolving dependencies...
    looking for inter-conflicts...
    Targets (27): binutils-2.23-1 coreutils-8.20-1 cryptsetup-1.5.1-1
    device-mapper-2.02.98-1 emacs-24.2-2 filesystem-2012.10-2
    firefox-16.0.2-1 gcc-4.7.2-2 gcc-libs-4.7.2-2 glibc-2.16.0-5
    hwids-20121022-1 imagemagick-6.8.0.3-1 libidn-1.25-1
    libwbclient-3.6.9-1 linux-api-headers-3.6.3-1 lvm2-2.02.98-1
    mkinitcpio-0.11.0-1 nspr-4.9.3-1 nss-3.14-1
    nss-myhostname-0.3-3 smbclient-3.6.9-1 systemd-195-2
    thunderbird-16.0.2-1 tzdata-2012h-1 util-linux-2.22.1-2
    wget-1.14-2 xulrunner-16.0.2-1
    Total Download Size: 47.80 MiB
    Total Installed Size: 550.57 MiB
    Net Upgrade Size: 6.43 MiB
    Proceed with installation? [Y/n] y
    :: Retrieving packages from extra...
    libwbclient-3.6.9-1... 19.5 KiB 407K/s 00:00 [######################] 100%
    smbclient-3.6.9-1-x... 7.9 MiB 2.71M/s 00:03 [######################] 100%
    thunderbird-16.0.2-... 17.1 MiB 2.92M/s 00:06 [######################] 100%
    xulrunner-16.0.2-1-... 22.9 MiB 2.92M/s 00:08 [######################] 100%
    (27/27) checking package integrity [######################] 100%
    (27/27) loading package files [######################] 100%
    (27/27) checking for file conflicts [######################] 100%
    Last edited by KenJackson (2012-10-30 14:25:05)

    Allan wrote:Can you run with --debug?
    OK.  That garnered an additional piece of info.  Here's the end of the long output:
    debug: searching for filesystem conflicts: wget
    debug: searching for file conflicts: xulrunner
    debug: searching for filesystem conflicts: xulrunner
    checking available disk space...
    debug: checking available disk space
    Disk space?  I think I have enough disk space.
    [ken@xxxxx ~]$ df
    Filesystem Size Used Avail Use% Mounted on
    rootfs 47G 11G 34G 25% /
    dev 2.0G 0 2.0G 0% /dev
    run 2.0G 292K 2.0G 1% /run
    /dev/sda3 47G 11G 34G 25% /
    shm 2.0G 140K 2.0G 1% /dev/shm
    /dev/sda1 99M 21M 74M 22% /boot
    /dev/sda4 72G 1.9G 66G 3% /home
    Is disk space really the problem?  Or is that just where it hung?

  • Checking for file conflicts: could not get filesystem information

    When I try to install a new package with pacman 4 I got the following warning just after pacman has done "checking for file conflicts":
    warning: could not get filesystem information for /var/lib/ntp/etc/resolv.conf (deleted): No such file or directory
    After the warning message is printed, the installation continues normally.  This warning message has never shown up before.
    I have ntpd running in a chroot as a non-root user (instructions).
    I am wondering if anyone else gets the same warning message and if this 'problem' can be solved.
    I forgot to say: the file is still there according to ls and is not empty, but the contents differs form the /etc/resolv.conf-file.
    tim@tim-notebook:~$ cat /var/lib/ntp/etc/resolv.conf && echo && cat /etc/resolv.conf
    # Generated by NetworkManager
    # Generated by NetworkManager
    nameserver 192.168.1.1
    Last edited by timothy (2012-01-19 00:15:51)

    I'm not sure how to do that or I do not know exactly what you mean.
    tim@tim-notebook:~$ pkgfile -gs "*etc/resolv.conf"
    core/filesystem
    extra/archboot
    But you probably already knew that.
    Running pacman with the --debug option did not gave me any more clues.  All I know now, is that this message is printed when the moundpoints are examined:
    stderr 'pacman -Syu--debug' output wrote:(...)
    debug: checking possible conflict: /var/lib/
    debug: file is a directory, not a conflict
    debug: checking available disk space
    warning: could not get filesystem information for /var/lib/ntp/etc/resolv.conf (deleted): No such file or directory
    debug: mountpoint: /var/lib/ntp/proc
    debug: mountpoint: /var/lib/ntp/lib
    debug: mountpoint: /var/lib/ntp/etc/services
    debug: mountpoint: /tmp

  • Checking for files in a folder -- Wrong output

    Hi guys,
    I'm writing a simple program, I have to check for 6 files (hardcoded, they will never change) if they are in certain directories/paths.
    The problem is, I think I have a problem in my IF statements, because it continueally returns false.
    The paths are on networked drives, does that make a difference?
    I'm rather stuck on this one, any help would be appreaciated.
    (some paths/file names have been replaced by "xxxxxxxxx", for security)
    * Checks for files in a directory, prints results.
    * @author Mitchell
    * @version 0.2
    * @date 28 Jul '05
    import java.awt.*;
    import java.io.*;
    import java.lang.Object;
    import javax.swing.*;
    import java.util.*;
    public class FileCheck extends JFrame
        //declare filenames/paths, add more if needed.
        String fileName1 = "file it2_load.txt";
        String fileName2 = "mo_batch.txt";
        String fileName3 = "mo_bcp.txt";
        String fileName4 = "mo_load.txt";
        String fileNameX = "IT2_1000_yyyymmdd.txt";
        String fileNameY = "IT2_2000_yyyymmdd.txt";
        //declare directories to search
        String fileLocation1 = "\\\\xxxxxxxxx\\aus_bear\\Patrol";
        String fileLocation2 = "\\\\xxxxxxxxx\\nz_bear\\Patrol";
        String fileLocation3 = "\\\\xxxxxxxxx\\bear\\remote\\RTS";
        String fileLocation4 = "\\\\xxxxxxxxx\\bear\\remote\\RTS";
        //declares array for filename storage. Change if needed.
        File fileNamesArray1[];
        File fileNamesArray2[];
        File fileNamesArray3[];
        File fileNamesArray4[];
        //set path to find files
        File filePath1 = new File(fileLocation1);
        File filePath2 = new File(fileLocation2);
        File filePath3 = new File(fileLocation2);
        File filePath4 = new File(fileLocation2);
        //string buffer to store results
        StringBuffer results = new StringBuffer();
        //start of FileCheck method
        public FileCheck()
            //collects all filenames from pre-set path1
            fileNamesArray1 = filePath1.listFiles();
            results.append("This program checks for files in given folders."
                            +"\nTRUE = File does exist in folder."
                            +"\nFALSE = File does not exist in folder.\n\n");
            results.append(fileLocation1 + "\n");
            //start for loop1 - check for pre-set filenames in path1
            for(int i=0; i < fileNamesArray1.length; i++)
                    if( fileName1.equals(fileNamesArray1.toString()))
    results.append("PATH1 >> " + fileNamesArray1[i] + " >> TRUE\n" + fileNamesArray1[i].lastModified());
    else if( fileName2.equals(fileNamesArray1[i].toString()))
    results.append("PATH1 >> " + fileNamesArray1[i] + " >> TRUE\n" + fileNamesArray1[i].lastModified());
    else if( fileName3.equals(fileNamesArray1[i].toString()))
    results.append("PATH1 >> " + fileNamesArray1[i] + " >> TRUE\n" + fileNamesArray1[i].lastModified());
    else if( fileName4.equals(fileNamesArray1[i].toString()))
    results.append("PATH1 >> " + fileNamesArray1[i] + " >> TRUE\n" + fileNamesArray1[i].lastModified());
    else
    results.append("PATH1 >> " + fileNamesArray1[i] + " >> FALSE\n");
    } //end for loop1
    //collects all filenames from pre-set path2
    fileNamesArray2 = filePath2.listFiles();
    results.append("\n" + fileLocation2 + "\n");
    //start for loop2 - check for pre-set filenames in path2
    for(int j=0; j < fileNamesArray2.length; j++)
    if( fileName2.equals(fileNamesArray2[j].toString()))
    results.append("PATH2 >> " + fileNamesArray2[j] + " >> TRUE\n" + fileNamesArray2[j].lastModified());
    else if( fileName2.equals(fileNamesArray2[j].toString()))
    results.append("PATH2 >> " + fileNamesArray2[j] + " >> TRUE\n" + fileNamesArray2[j].lastModified());
    else if( fileName3.equals(fileNamesArray1[j].toString()))
    results.append("PATH2 >> " + fileNamesArray2[j] + " >> TRUE\n" + fileNamesArray2[j].lastModified());
    else if( fileName4.equals(fileNamesArray1[j].toString()))
    results.append("PATH2 >> " + fileNamesArray2[j] + " >> TRUE\n" + fileNamesArray2[j].lastModified());
    else
    results.append("PATH2 >> " + fileNamesArray2[j] + " >> FALSE\n");
    } //end for loop2
    //collects all filenames from pre-set path1
    fileNamesArray3 = filePath3.listFiles();
    results.append("\n" + fileLocation3 + "\n");
    //start for loop3 - check for pre-set filenames in path1
    for(int k=0; k < fileNamesArray3.length; k++)
    if( fileNameX.equals(fileNamesArray3[k].toString()))
    results.append("PATH3 >> " + fileNamesArray3[k] + " >> TRUE\n" + fileNamesArray3[k].lastModified());
    else
    results.append("PATH3 >> " + fileNamesArray3[k] + " >> FALSE\n");
    } //end for loop3
    //collects all filenames from pre-set path4
    fileNamesArray4 = filePath3.listFiles();
    results.append("\n" + fileLocation4 + "\n");
    //start for loop4 - check for pre-set filenames in path1
    for(int l=0; l < fileNamesArray4.length; l++)
    if( fileNameY.equals(fileNamesArray4[l].toString()))
    results.append("PATH4 >> " + fileNamesArray4[l] + " >> TRUE\n" + fileNamesArray4[l].lastModified());
    else
    results.append("PATH4 >> " + fileNamesArray4[l] + " >> FALSE\n");
    } //end for loop4
    //construct displaybox for results
    JTextArea textArea = new JTextArea( results.toString() );
    textArea.setEditable(false); //disables modification of results
    Container container = getContentPane();
    container.add( new JScrollPane( textArea ) );
    setSize( 500, 500 ); // set window size
    setVisible( true ); //allow visibility
    //main
    public static void main (String args[])
    FileCheck window = new FileCheck();

    You could try using the File.exists() method.
    The paths are on networked drives, does that make a difference?Try the above on a local file and a networked file.
    I'm writing a simple program, Actually a simple program would be something like:
    File file = new File("xxx");
    System.out.println(file.exists());No need to include all the code you posted.
    http://www.physci.org/codes/sscce.jsp

  • AnyConnect hangs when checking for required updates

    Several of our customers require us to use Cisco AnyConnect to connect to their computers.  I cannot connect to any of them because AnyConnect hangs when checking for required updates.  If I start AnyConnect myself, it will eventually (after five minutes) tell me that it cannot connect to a server.  If it is started from a web page, AnyConnect hangs forever.
    In the past, this error has been random.  If I try later, or the next day, it may work.  Or it may not.
    No customer has been able to give us any support on this issue.
    Could you please give me some ideas on how to overcome this problem?
    Thank you very much.

    Disable anti virus software if installed
    Make sure the firewall is turned off in System Preferences > Security & Privacy > Firewall
    Make sure Gatekeeper is enabled
    Open System Preferences > Security & Privacy then select the General tab.
    Make sure either Mac App Store or Mac App Store and identified developers is selected. If that area is grayed out, click the padlock icon to proceed.
    OS X: About Gatekeeper

  • Pacman "hangs" at checking package integrity(Solved corrupt download)

    Pacman -Syu downloaded the following packages but hangs at "checking package integrity"
    [root@n6re ~]# pacman -Syu
    :: Synchronizing package databases...
    core is up to date
    extra is up to date
    community is up to date
    :: Starting full system upgrade...
    resolving dependencies...
    looking for inter-conflicts...
    Targets (20): apr-1.3.9-1  db-4.8.24-1  apr-util-1.3.9-3  python-2.6.3-1
                  dbus-python-0.83.0-2.1  gavl-1.1.1-2  perl-5.10.1-3
                  groff-1.20.1-3  heimdal-1.2.1-7  libical-0.44-1  libmtp-0.3.7-1.1
                  libsasl-2.1.23-2  pam-1.0.4-2  qt-4.5.3-2  rdesktop-1.6.0-3
                  redland-1.0.9-4  soprano-2.3.1-1  subversion-1.6.5-5
                  system-config-printer-common-1.1.13-1  vorbis-tools-1.2.0-4
    Total Download Size:    0.00 MB
    Total Installed Size:   286.37 MB
    Proceed with installation? [Y/n] y
    checking package integrity...
    This printout resulted after canceling the download and restarting pacman -Syu.  Thus the same failure occurs after the original download failure of the same type.
    What causes this failure mode?
    Last edited by lilsirecho (2009-10-04 22:19:44)

    whoops wrote:
    Mine took a whole 10 minutes to spit out...:
    checking package integrity...
    :: File go-openoffice-3.1.1.3-1-x86_64.pkg.tar.gz is corrupted. Do you want to delete it? [Y/n]
    ... today.
    I guess, this shouldn't happen... but then again, I guess, I really really shouldn't have the machine hibernate while pacman is downloading .
    No it should not happen, this is the same bug.
    I guess either when you suspended or resumed, your network was down at some point, so libfetch returned -1 and triggered the infamous pacman bug.
    See http://bbs.archlinux.org/viewtopic.php? … 92#p633292

  • A KISS systray pacman/aur updates checker for KDE

    I have created a simple python-QT script that places an icon in the system tray and informs you when updates for both pacman and AUR are available. Also I created a bash script that does the real package updates checking. The python script depends on python 3, kde which must be installed and PyQt4 perl module. The bash scripts depends on cower.
    I could have built the whole functionality in only the python script, but I thought that the best way was to separate the checking and the notification parts to keep it simple and flexible.
    I thought that I should share them as they are very convenient for me and they work well for a long time now.
    They feature:
    - automatically checking for updates both for arch official repos and AUR
    - notifies the user by changing the icon accordingly if there are updates available
    - by clicking on the icon you get a balloon with a list of the availabe (and ignored) updates for packages
    - automatically refreshes after every pacman upgrade/installation/removal of packages
    - ability to ignore some updates for packages that you don't wish to upgrade and not get notified for them (but they still get printed as ignored on the list in the icon's balloon)
    - no root permission needed
    - it only CHECKS and does absolutely nothing else. It does not change your system, your packages or your pacman database.
    Here's a quick summary of how they work:
    The bash script calls checkupdates and cower -u to produce a list of available updates both for arch official repos and AUR and it stores this list in two temporary files. The python script simply checks those two temporary files each second and gets the package names and updates count, which in turn notifies the user for them. It also checks each second /var/log/pacman for modification (for a way to know when there's been a change in the installed packages) and if it is, then it calls the bash script to update the temporary files.
    Instructions:
    1. place the python script somewhere in your system and add it to the KDE Autostart.
    2. place the bash script also anywhere and add it to a cron job that runs hourly (or whatever other interval you wish)
    3. change the paths in the python script accordingly to reflect correctly the paths of the various files your system
    4. optional: create a file for the ignored packages, where you can list each package name in a new line for those packages that you wish to be ignored. Also don't forget to update the python script with the correct path for this particular file.
    And that's it. From now on you get a nice icon in your systray that is green when you system is "up to date" and yellow with exclamation mark when updates are available. I hope you like it.
    Tell me if they work for you, or you have issues so I can fix them.
    Also if you want something to be added or have some good idea or maybe you would want them to work for other DEs, I am open to ideas and suggestions for expanding them and making them better. But remember I am keen on the KISS idea and I will keep them as simple as possible.
    check-system-updates.py
    #! /usr/bin/env python
    from PyQt4 import QtGui, QtCore
    import os
    import re
    import os.path, time
    class RightClickMenu(QtGui.QMenu):
    def __init__(self, parent=None):
    QtGui.QMenu.__init__(self, "Edit", parent)
    exit = QtGui.QAction(QtGui.QIcon('icons/exit.png'), 'Exit', self)
    exit.setShortcut('Ctrl+Q')
    exit.setStatusTip('Exit application')
    exit.triggered.connect(QtGui.qApp.quit)
    self.addAction(exit)
    class LeftClickMenu(QtGui.QMenu):
    def __init__(self, parent=None):
    QtGui.QMenu.__init__(self, "File", parent)
    class SystemTrayIcon(QtGui.QSystemTrayIcon):
    def __init__(self, parent=None):
    QtGui.QSystemTrayIcon.__init__(self, parent)
    # file paths:
    self.synchronizeScriptPath = '~/Scripts/synchronize-and-count-system-updates.sh';
    self.ignoreFilenameAndPath = '~/.config/system-check-updates-ignore.txt';
    self.pacmanlogFilenameAndPath = '/var/log/pacman.log';
    self.updateCountPath = '/tmp/updateCount';
    self.updateListPath = '/tmp/updateList';
    self.iconOK = QtGui.QIcon("/usr/share/icons/oxygen/22x22/status/security-high.png")
    self.iconProblem = QtGui.QIcon("/usr/share/icons/oxygen/22x22/status/security-medium.png")
    self.status = 1
    self.updateCount = 0;
    self.updateList = [];
    self.updateIgnoredCount = 0;
    self.updateIgnoredList = [];
    self.pacmanlogLastModificationTime = 0;
    self.setIcon(self.iconProblem);
    self.right_menu = RightClickMenu()
    self.setContextMenu(self.right_menu)
    self.activated.connect(self.click_trap)
    def click_trap(self, value):
    if value == self.Trigger: #left click!
    if self.updateIgnoredCount > 0:
    ignoredMessage = "\n\nIgnored " + str(self.updateIgnoredCount) + " updates:\n\n" + '\n'.join(self.updateIgnoredList) + '\n\n' + 'Using ignore file: ' + self.ignoreFilenameAndPath
    else:
    ignoredMessage = ""
    if self.status == 1:
    self.showMessage("There are " + str(self.updateCount) + " new updates", '\n'.join(self.updateList) + ignoredMessage, QtGui.QSystemTrayIcon.Information, 4000);
    else:
    self.showMessage("System Updates Status", "System up to date" + ignoredMessage, QtGui.QSystemTrayIcon.Warning, 5000);
    def show(self):
    QtGui.QSystemTrayIcon.show(self)
    def checkSystemUpdates(self):
    # check if pacman.log has been updated
    newPacmanlogModificationTime = os.path.getmtime(self.pacmanlogFilenameAndPath);
    if newPacmanlogModificationTime > self.pacmanlogLastModificationTime:
    #print("pacman.log modified")
    f = os.popen(self.synchronizeScriptPath)
    commandSynchronizeAndCountSystemUpdates = f.read()
    #print("executing check updates script")
    self.pacmanlogLastModificationTime = newPacmanlogModificationTime;
    #print("check updates finished")
    #print("last modified: %s", time.ctime(os.path.getmtime(self.pacmanlogFilenameAndPath)))
    #print("last modified: %d", os.path.getmtime(self.pacmanlogFilenameAndPath))
    #print("created: %s", time.ctime(os.path.getctime(self.pacmanlogFilenameAndPath)))
    f = os.popen('cat ' + self.ignoreFilenameAndPath)
    commandCatIgnoreFileOutput = f.read()
    f = os.popen('cat ' + self.updateCountPath)
    commandOutput = f.read()
    f = os.popen('cat ' + self.updateListPath)
    command2Output = f.read()
    self.updateCount = 0
    self.updateList = []
    self.updateIgnoredCount = 0;
    self.updateIgnoredList = [];
    for line in command2Output.split('\n'):
    if line:
    fileIgnored = False
    for ignoreLine in commandCatIgnoreFileOutput.split('\n'):
    if ignoreLine:
    if ignoreLine in line:
    fileIgnored = True
    if fileIgnored != True:
    self.updateCount += 1
    self.updateList.append(line)
    else:
    self.updateIgnoredCount += 1;
    self.updateIgnoredList.append(line);
    #print("ignored: " + line)
    #print(str(i) + " " + line)
    #print("command output: " + commandOutput)
    #print("command 2 output: " + command2Output)
    #self.updateCount = int(commandOutput)
    #print(self.updateCount)
    if self.updateCount > 0:
    #print("found updates, self.updateCount = " + str(self.updateCount) + ", self.status = " + str(self.status));
    if self.status == 0:
    #print("status is 0, changing it to 1, self.status = " + str(self.status));
    self.status = 1;
    self.setIcon(self.iconProblem)
    #print("setting icon problem, self.updateCount = " + str(self.updateCount));
    else:
    #print("no updates, self.updateCount = " + str(self.updateCount) + ", self.status = " + str(self.status));
    if self.status == 1:
    #print("status is 1, changing it to 0, self.status = " + str(self.status));
    self.status = 0
    self.setIcon(self.iconOK)
    #print("setting icon OK, self.updateCount = " + str(self.updateCount));
    def main():
    import sys
    import signal
    signal.signal(signal.SIGINT, signal.SIG_DFL)
    app = QtGui.QApplication(sys.argv)
    tray = SystemTrayIcon()
    # creat timer to call main checking function
    timer = QtCore.QTimer()
    timer.timeout.connect(tray.checkSystemUpdates);
    timer.start(1000);
    tray.show()
    sys.exit(app.exec_())
    if __name__ == "__main__":
    main()
    synchronize-and-count-system-updates.sh
    #!/bin/bash
    pacmanUpdates=$(/usr/bin/checkupdates)
    if [ -n "$pacmanUpdates" ]; then
    pacmanUpdatesCount=$(echo "$pacmanUpdates" | wc -l)
    else
    pacmanUpdatesCount=0
    fi
    aurUpdates=$(/usr/bin/cower -u)
    if [ -n "$aurUpdates" ]; then
    aurUpdatesCount=$(echo "$aurUpdates" | wc -l)
    else
    aurUpdatesCount=0
    fi
    updateCount=$(($pacmanUpdatesCount + $aurUpdatesCount))
    > /tmp/updateList
    if [ -n "$pacmanUpdates" ]; then
    echo "$pacmanUpdates" >> /tmp/updateList
    fi
    if [ -n "$aurUpdates" ]; then
    echo "$aurUpdates" >> /tmp/updateList
    fi
    echo "$updateCount" > /tmp/updateCount
    Last edited by Nektarios (2014-10-06 19:05:39)

    Yes, sorry for my dumb question. I guess I actually wanted to ask if you planned to maintain an official Qt5 version. Also, might be useful to add your script in the AUR and to reference it in the wiki.

  • Checking for files using infoview

    Hi
    I am new to use Infoview in BO. In my project they are scheduling CR in infoview for a particular time. now new requirement is :
    On nightly basis files will be send for each region.once they are loaded message will be generated using script in unix. Now my part is to login to the unix server and check for the message(access to the path will be provided. message may be content in file or may be a touch file.not my part) and the schedule timing through infoview and should run the report.
    To schedule report for a particular time i went into schedule option and given database details where CR is present,destination details to where it need to be ftped and the format of output and timine on which the report need to be run.
    But i dont know the process how to login to unix server and check for message.
    Please let me know is there any option for the baove requirement in infoview.
    Thanks in advance.

    CMC is the administration console. I would recommend to take a look at the following document:
    http://help.sap.com/businessobject/product_guides/boexir2/en/xir2_bip_Admin_en.pdf
    Start at page 200.
    Regards,
    Stratos

  • [SOLVED] Arch has pacman -Qkk "Size mismatch" for files in /usr !

    Hello!
    With following command I was checking on files that differ from it's original versions in mtree:
    pacman -Qlkk 2>/tmp/pacman_size_mismatch 1>/dev/null; cat /tmp/pacman_size_mismatch | grep "Size mismatch" | grep -v /etc/
    Files in /usr look suspicious, because /usr should only have read-only data (according to wiki):
    warning: linux: /usr/lib/modules/3.12.7-2-ARCH/modules.alias (Size mismatch)
    warning: linux: /usr/lib/modules/3.12.7-2-ARCH/modules.alias.bin (Size mismatch)
    warning: linux: /usr/lib/modules/3.12.7-2-ARCH/modules.dep (Size mismatch)
    warning: linux: /usr/lib/modules/3.12.7-2-ARCH/modules.dep.bin (Size mismatch)
    warning: linux: /usr/lib/modules/3.12.7-2-ARCH/modules.symbols (Size mismatch)
    warning: linux: /usr/lib/modules/3.12.7-2-ARCH/modules.symbols.bin (Size mismatch)
    I have checked other machine and reinstalled linux package, but it seems like it's default behaviour.
    Is there any explanation on that? Is this some error?
    Last edited by studentik (2014-01-20 13:33:36)

    Just so you know, you don't need the 'l' in -Qlkk.  Just -Qkk will yield the same results.  If you use -Qlkk, pacman will first list all the files in every single package first, then give you the -Qkk results.

  • Checking for file whether it is excel file or not??

    when ever we r  download or upload a file we never check for its type...
    like when gui_upload fm used then it should be text file ....or
    when alsmex_excel_to_internal_table fm used by default check its have 2 be excel file...
    but my recomend is when ever download/upload a file its checking its type....
    if .xls file then alsmex_excel_to_internal_table fm runs or if .txt then gui_upload runs...
    need some type of file checking..
    Thanks & regards ,
    Sagnik Roy

    CALL FUNCTION '/SAPDMC/LSM_PATH_FILE_SPLIT'
          EXPORTING
            pathfile = lf_path  "<--Your file path
          IMPORTING
            pathname = lf_path
            filename = lf_name.
    CHECK lf_name IS NOT INITIAL.
        CALL FUNCTION 'TERM_TRANSLATE_TO_UPPER_CASE'
          EXPORTING
            langu               = sy-langu
            text                = lf_name
          IMPORTING
            text_uc             = lf_name
          EXCEPTIONS
            no_locale_available = 1
            OTHERS              = 2.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
    IF lf_name CA '.'.
          sy-fdpos = sy-fdpos + 1.
          IF lf_name+sy-fdpos(*) = 'TXT'(044).
          "<---Call your upload fm here
         ELSEIF lf_name+sy-fdpos(*) = 'XLS'(045).
          "<---Call your upload fm here   
        ENDIF.
    ENDIF.

  • Use thread to check for file exists. How?

    public class FileSearcher extends Thread
         String name = "Unknown";
         //RunFileSearcher rfs = new RunFileSearcher(name);
         //FileSearcher rfs = new FileSearcher(name);
         File f = new File();
         Thread t = new Thread(); // create  the thread
         t.start(); // start the thread running
         public void run(name)
              if( f.exists(name) )
                   System.out.println("*** File " + f + " has been created. ***");
              else
                   System.out.println("Searching for file " + f) ;
    }How do I use each thread to check for each file exists per sec??
    Please Help Thanks

    1) Why are you using Threads?
    2) It is preferrable to implement Runnable.
    3) This is all incredibly pointless (see point 1)

  • Still Happening - Software HANGING while "Checking for device application updates...."

    Windows Vista v4.7 of Blackberry Desktop Software
    As soon as I plug my Blackberry in, the desktop software pops up message:  "Checking for device application updates....."  and it hangs. 
    I've tried rebooting, re-installing the Desktop Software and sometimes this will solve the problem for a few syncs, but it always comes back.
    I tried changing the USB connection from my USB hub directly into the back of the computer and this fixed the problem for a few syncs but now it's BACK AGAIN!!!
    Please help!!

    I'm having this problem with Windows 7, build 7000.  If I unplug my USB connection, the desktop manager seems to unblock, then stops again.  Is there an issue with the device driver, jvm incompatabilities?
    Any help would be greatly appreciated.
    Thanks,
    BobFoery

  • Checking for file extensions

    I have a form that I want to submit a csv file to, however I would like to check the file to make sure that it is indeed .csv before I perform the task that I need to do
    *****************Example***********************
    form.html
    <form name=vo_verify action=verify.jsp method=post>
    <input type=file>
    <input type=submit>
    </form>
    verify.jsp
    return true == .csv
    return false != .csv

    Could you do a check for the substring within the filename?
    Like,
    String filename = (String)request.getParameter("file");
    int index = filename.indexOf(".csv");
    if (index == -1) do something; //extension .csv not found
    else do something else;
    There might be a better way to do this, but this should work I think.
    Also, bdtjdc was just trying to help, which is what this forum is for. :)

  • System recovery failure - Hangs on Check for medium in drive E

    I am currently installing a new hard drive on my Satellite P300 laptop (running vista home premium service pack 2).
    I have fitted the new hard drive and inserted the first recovery disc and the recovery process starts okay. The following is shown on the screen :
    Waiting for ODD to become available...
    ODD Drive E: ready.
    Check for medium in drive E:...
    At this point it proceeds no further and a cursor just spins continuously.
    Is anybody able to suggest how to fix this problem and complete the recovery?
    Many thanks
    Adrian

    Hello Dr Lamp
    Many thanks for your response.
    I will try again later and check the BIOS.
    I have never done the recovery before so I was unsure what to expect. I had done two sets of system recovery disks in case there was ever a problem with one of them, but I get the same problem with both.
    I have a Vista installation disk so I can do a clean installation that way and then add the Toshiba drivers which I can copy from the current hard drive. I am just concerned that doing it that way will inevitably result in losing some aspects of the laptop functionality that was originally part of its installation from Toshiba rather than Microsoft.
    I know where the Toshiba driver folder is located but you can guarantee that there will be something that is located elsewhere that turns out to be critical to some part of the laptops performance!
    Once again thanks for your response and I will post any findings.
    Adrian

Maybe you are looking for

  • Master Data is not appearing in Info Object

    Hi Experts, I have loaded text data from data source 0WS_QUEST_TEXT to info object 0WS_QUEST. While running DTP, Load monitor displays 12 records are added to info object. Also while activating master data it gives error: "Master data for characteris

  • IMovie won't show some of my clips in the full screen preview?

    So I spent a lot of time working on a music video I recorded in my iPhone, I put it all together and added effets and everthing. The small preview on iMovie 11 showd my whole movie the whole time, but when I went to play it on the full screen preview

  • Network(Manager) problems after messing with netctl

    Hello, and thanks for taking time helping me! The story so far: I was trying to bridge my wired and wireless network on my laptop, using netctl: https://wiki.archlinux.org/index.php/Bridge_with_netctl It dind't worked and it messed my network up (I c

  • Trouble using FME twice on same computer

    I've tried for two weeks to run FME twice for two separate streams and get intermittent crashes, even with reconnect set at 5 minutes, one second so that the server can release the "old" stream name. I am now running one instance of FME and one insta

  • I just purchased a 3tb Time Capsule and having trouble getting my Brother networked laser printer to work.

    Hello, I tried several different routers, but could never get my new Seagate 4tb external hardrive to connect to use with Time Machine. I finally gave up and purchased a new Time Capsule today. It's a work of art, and working well as a router and har