Conky - Display available pacman updates

This is a python script I found and modified to display package update info with conky.
The original was written by Majkhii and Sabooky which I found here via the wiki entry for conky:
https://bbs.archlinux.org/viewtopic.php?id=37284
This one is much simpler than it's predecessor. It will simply display a list of package names and their sizes. I couldn't figure how to keep the rating system from the original which allowed for highlighting "important" packages. Anyway here it is. I'm pretty new to programming so if something doesn't seem to make sense, it's probably because it doesn't.
#!/usr/bin/env python2
~/.conky/notify.py
-Description: Python script for displaying archlinux updates.
-Usage: create shell script with the contents:
#!/bin/bash
# ~/pacsync.sh
# This syncs pacman and creates a file to store
# info for each package. This is so the python
# portion doesn't constantly use your network
# connection every 20 seconds to get package info
# when it refreshes itself. Better to have the
# shell script update once every several minutes
# and have python use that info instead. Don't
# forget to make executeable with chmod +x
destfile=~/.pacsync.info
sudo pacman -Sy
if [ -f $destfile ]
then
rm $destfile
fi
list=`pacman -Qu | cut -d ' ' -f 1`
for x in $list
do
echo $x >> $destfile
echo `pacman -Si $x | egrep -w 'Version|Download'` >> $destfile
done
-Create the following crontab with 'crontab -e'
to have pacsync.sh run every 30 minutes:
*/30 * * * * /path/to/shellscript
-Conky: Add the line '${texeci 20 python path/to/this/file.py}'
where 20 is the update interval in seconds
-Also, if part of the output is not showing in conky
increase text_buffer_size value in conky config
I use 'text_buffer_size 1024'
Original authors: Michal Orlik <[email protected]>, sabooky <[email protected]>
Original source: https://raw.github.com/Mihairu/config-files/master/scripts/pacman.py
Edited/Mutilated by: jakhead <[email protected]>
def pkglist():
returns an alphabetized list of packages to be updated
import subprocess
p = subprocess.Popen(['pacman', '-Qu'],
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT)
pkgnames = []
for i,v in enumerate(p.stdout):
pkgnames.append(v.strip())
return sorted(pkgnames)
def pkginfo(packages):
takes a list of package names generated by pkglist()
and returns a list of dicts containing information
for each
import os, subprocess
pkgs = []
for package in packages:
pkg = {}
pkg['name'] = package.split()[0]
# ---- ~/.pacsync will need to be changed below
# ---- to reflect script location if elsewhere
info = open(os.path.expanduser('~/.pacsync.info')).readlines()
for i,line in enumerate(info):
if pkg['name'] in line:
pkg['ver'] = info[i+1].split()[2]
pkg['dlSize'] = float(info[i+1].split()[6])/1024
pkgs.append(pkg)
return pkgs
def total(pkgs):
formats strings for each package
and returns output ready for conky
# width of final output
width = 30
# pkg template - this is how individual pkg info is displayed ('' = disabled)
# valid keywords - %(name)s, %(dlSize).2f, %(ver)s
pkgTemplate = "%(name)s %(ver)s"
# summary template - this is the summary line at the end
summaryTemplate = "%(numpkg)d %(pkgstring)s"
# pkg right column template - individual pkg right column
pkgrightcolTemplate = "%(dlSize).2f MB"
# summary right column template - summay line right column
summaryrightcolTemplate = "%(size).2f MB"
# seperator before summary ('' = disabled)
block = '-' * 12
# up to date msg
u2d = '-system up to date-'
# brief - one line summary
brief = False
# number of packages to display, 0 = all
num_of_pkgs = 0
summary = {}
summary['numpkg'] = len(pkgs)
summary['size'] = sum([x['dlSize'] for x in pkgs])
if summary['numpkg'] == 1:
summary['pkgstring'] = 'package'
else:
summary['pkgstring'] = 'packages'
lines = []
for pkg in pkgs:
pkgString = pkgTemplate % pkg
sizeValueString = pkgrightcolTemplate % pkg
if len(pkgString)+len(sizeValueString)>width-1:
pkgString = pkgString[:width-len(sizeValueString)-4]+'...'
line = pkgString.ljust(width - len(sizeValueString)) + sizeValueString
if line.strip():
lines.append(line)
if summary['numpkg'] == 0:
"""this is to center u2d message """
buffer = " " * ((width - len(u2d))/2)
print buffer + u2d + buffer
return
if not brief:
if num_of_pkgs:
print '\n'.join(lines[:num_of_pkgs])
else:
print '\n'.join(lines)
# if block:
print block.rjust(width)
overallString = summaryTemplate % summary
overallMBString = summaryrightcolTemplate % summary
if len(overallString)+len(overallMBString)>width-1:
overallString = overallString[:width-len(overallMBString)-4]+'...'
summaryline = overallString.ljust(width - len(overallMBString)) + overallMBString
if summaryline:
print summaryline
if __name__ == '__main__':
total(pkginfo(pkglist()))
Installation:
As the comments state, create a shell script with the following:
#!/bin/bash
# ~/pacsync.sh
# This syncs pacman and creates a file to store
# info for each package. This is so the python
# portion doesn't constantly use your network
# connection every 20 seconds to get package info
# when it refreshes itself. Better to have the
# shell script update once every several minutes
# and have python use that info instead. Don't
# forget to make executeable with chmod +x
destfile=~/.pacsync.info
sudo pacman -Sy
if [ -f $destfile ]
then
rm $destfile
fi
list=`pacman -Qu | cut -d ' ' -f 1`
for x in $list
do
echo $x >> $destfile
echo `pacman -Si $x | egrep -w 'Version|Download'` >> $destfile
done
Make it executable:
chmod +x /path/to/shellscript
Then create the following crontab with 'crontab -e':
*/30 * * * * /path/to/shellscript
This will cause pacman to check for updates every 30 minutes.
Finally, place this line in your conky config:
${texeci 20 python path/to/notify.py}
Where 20 is the update interval in seconds.
Note: If conky doesn't display all of the output correctly, increase the text_buffer_size in your conky config. I use:
text_buffer_size 1024
Make sure to check out the basic settings like output width, format, or one line summary. All credit goes to Majkhii and Sabooky as they did all the heavy lifting and I merely butchered their work to suit my system.
That's it. I've been running this for 3 days with no issues so far. Questions/comments/concerns welcome. I'll try to work on this if need be, but I may have conflicts with school as I'm currently a student.
*EDIT* Fixed screenshots
Last edited by jakhead (2012-09-16 04:48:54)

1. No need for 'cut', we already have a pacman switch for that:
$ pacman -Qu | cut -d ' ' -f 1
wine
wine_gecko
$ pacman -Quq
wine
wine_gecko
2. You can use 'expac' to get version, size etc.
3. Doing 'pacman -Sy' is not necessarily a good idea. http://www.andreascarpino.it/blog/posts … s-part-ii/
Last edited by karol (2012-09-16 13:24:03)

Similar Messages

  • Problem viewing available pacman updates with conky

    Hi. I'm having problems with showing available package updates in my conky layout. I tried to follow instructions from archwiki https://wiki.archlinux.org/index.php/Co … nformation but none of the scripts seemed to work correctly, but instead they always show 'System is up to date' even though 'pacman -Qu' shows multiple packages available for update.
    Following https://bbs.archlinux.org/viewtopic.php?id=37284 my conky has (I changed 'python' -> 'python2' so script compiles):
    ${texeci 10800 python2 /home/laite/.config/awesome/conky/packages_python.py}
    Actually, I just noticed that last post in that topic seems to have the same problem than me (https://bbs.archlinux.org/viewtopic.php … 74#p863474)
    Does anybody know how to get this working or maybe some other way to show updates in conky? I already tried all the scripts from wiki with no luck.

    Kooothor wrote:https://github.com/kooothor/Scripts/blo … n-conky.sh
    just leavin' this here...
    Thanks
    If somebody wants to know, here is my (very slightly) edited bash script:
    #!/bin/bash
    _pacPackages=$(pacman -Qu | wc -l)
    if [ $_pacPackages -eq 0 ];
    then
    echo "\${color #ffffff}Your system is up to date.";
    elif [ $_pacPackages -eq 1 ];
    then
    echo "\${color #ffaa00}1 new package";
    else
    echo "\${color #ffaa00}$_pacPackages new packages";
    fi
    exit 0
    and conky:
    ${execpi 7200 sh /home/laite/.config/awesome/conky/package.sh}
    Also, I have script updating packages in cron/hourly:
    #!/bin/sh
    pacman -Sy

  • Recommended pacman updates conky script?

    Hi,
    I have been trying some of the conky pacman updates scripts on the forum/wiki.
    So far they either say my system is up to date when in fact pacman -Syu shows otherwise, or they fail to give any info at all.
    Can anybody recommend a conky script that is working at this moment in time?:/
    Last edited by ancleessen4 (2010-03-03 15:29:45)

    Sure-heavily plagiairized from either arch or ubuntu threads...a work in progress...;)
    If I find it back I will honour the original author...
    # Create own window instead of using desktop (required in nautilus)
    own_window yes
    own_window_hints undecorated,below,skip_taskbar
    own_window_type override
    own_window_colour brown
    own_window_transparent yes
    own_window_hints below
    background no
    maximum_width 200
    # Use double buffering (reduces flicker, may not work for everyone)
    double_buffer yes
    # fiddle with window
    use_spacer right
    # Update interval in seconds
    update_interval 1
    # Minimum size of text area
    minimum_size 350 5
    # Draw shades?
    draw_shades yes
    draw_borders no
    # Stippled borders?
    # stippled_borders 8
    # window.border_inner_margin 4
    border_width 2
    # Default colors and also border colors, grey90 == #e5e5e5
    default_color white
    default_shade_color black
    default_outline_color white
    # Text alignment, other possible values are commented
    #alignment top_left
    alignment top_right
    #alignment bottom_left
    #alignment bottom_right
    # Gap between borders of screen and text
    gap_x 10
    gap_y 30
    # Text stuff
    draw_outline no # amplifies text if yes
    uppercase no # set to yes if you want all text to be in uppercase
    override_utf8_locale no
    use_xft yes
    xftfont Terminus:size=9
    #xftfont Sans:size=8
    xftalpha 0.8
    text_buffer_size 768
    # Force UTF8? note that UTF8 support required XFT
    override_utf8_locale yes
    color1 333333
    color2 cccccc
    color3 ddaa00
    ########## BEGIN FORMATTED DISPLAY ##########
    TEXT
    ${font :size=15}${color red}${alignc}${execi 6000 hostname}${font}${color }
    ${font :size=8}${alignc}${color lightgrey}$kernel${font}${color }
    ${hr 1}
    ${color slate grey}UpTime: ${alignr}${color lightgrey}$uptime${color }
    ${font StyleBats:size=17}k${font Terminus:size=12} CPU ${font}${hr 2}
    ${color slate grey}CPU:${color } ${cpu cpu0}% ${cpu cpu1}% ${alignr}${color }$loadavg
    ${alignc}${cpugraph cpu0 20,90 000000 ffffff} ${cpugraph cpu1 20,90 000000 ffffff}
    ${color slate grey}cpu0: ${alignr}${color lightgrey}${execi 5 sensors | grep "Core 0" | cut -d "+" -f2 | cut -c1-2}C${color }
    ${color slate grey}cpu1: ${alignr}${color lightgrey}${execi 5 sensors | grep "Core 1" | cut -d "+" -f2 | cut -c1-2}C${color }
    ${color slate grey}sda: ${alignr}${color lightgrey}${execi 30 hddtemp /dev/sda | cut -c 31-33}C
    ${color slate grey}Processes: ${color }${alignr}$processes
    ${color slate grey}Running: ${color }${alignr}$running_processes
    ${color slate grey}Top CPU:
    ${color #ddaa00} ${top name 1}${alignr}${top_mem cpu 1}
    ${color lightgrey} ${top name 2}${alignr}${top cpu 2}
    ${color lightgrey} ${top name 3}${alignr}${top cpu 3}
    ${color lightgrey} ${top name 4}${alignr}${top cpu 4}
    ${color lightgrey} ${top name 5}${alignr}${top cpu 5}
    ${color lightgrey} ${top name 6}${alignr}${top cpu 6}
    ${font StyleBats:size=17}M${font Terminus:size=12} MEMORY ${font}${hr 2}
    ${color slate grey}RAM: ${alignr}${membar 5,100}
    ${color slate grey}SWAP: ${alignr}${swapbar 5,100}
    ${color slate grey}ROOT: ${alignr}${fs_bar 5,100 /}
    ${color slate grey}HOME: ${alignr}${fs_bar 5,100 /home}
    ${color slate grey}Top Memory:
    ${color #ddaa00} ${top_mem name 1}${alignr}${top_mem mem 1}
    ${color lightgrey} ${top_mem name 2}${alignr}${top_mem mem 2}
    ${color lightgrey} ${top_mem name 3}${alignr}${top_mem mem 3}
    ${font StyleBats:size=17}5${font Terminus:size=12} NETWORK ${font}${hr 2}
    ${color slate grey}Local IP: ${alignr}${color }${addr eth0}
    ${color slate grey}Public IP: ${alignr}${color }${execi 450 ~/.scripts/externip.sh}
    ${color}Up: ${color }${upspeed eth0} k/s
    ${alignc}${upspeedgraph eth0 20,170 000000 ffffff}
    ${color}Down: ${color }${downspeed eth0}k/s${color}
    ${alignc}${downspeedgraph eth0 20,170 000000 ffffff}
    ${font StyleBats:size=17}v${font Terminus:size=12} UPDATES ${font}${hr 2}
    ${execpi 60 /home/neil/.scripts/pacman-update}${color}
    ${execpi 3600 paconky /home/neil/.scripts/repos.paconky}
    ${execpi 3600 paconky /home/neil/.scripts/aur.paconky}
    ${voffset 900}
    Current screen grab;
    http://neilhoughton.com/wp-content/uplo … nshot3.png

  • Hi guys, I have a problem with my new macbook pro 15". I tried to updtate the apps (iPhoto, iMovie and Garageband), but an error was displayed "You have updates available for other accounts". I don't have other accounts!!! :(

    Hi guys,
    I have a problem, I have a new macbook pro. I updated the software without problems; then I tried to update iPhoto, iMovie and Garageband, but an error was displayed "You have updates available for other accounts". I don't have any other account, i tried everything found on the net but nothing seems to work...Please help me!!!!

    Same thing for me it writes "To update this application, sign in to the account you used to purchase it."

  • [solved] Perl script for pacman updates in Conky

    Hi
    I've been using this script in Perl Conky to check on updates. It works well.
    It's not mine - I got it here;
    http://bbs.archlinux.org/viewtopic.php?id=57291
    #!/usr/bin/perl
    ## script by Xyne
    ## http://bbs.archlinux.org/viewtopic.php?id=57291
    use strict;
    use warnings;
    my $n = (`pacman -Qu | wc -l`);
    chomp ($n);
    if ($n == 0)
    print "System up to date"
    elsif($n == 1)
    print "1 new package"
    else
    print "$n new packages (inc. IgnorePkg) "
    I have some packages listed in IgnorePkg in pacman.conf - is there a way to exclude them from the packages counted in $n?
    I thought something like this would help but I don't see how to take only part of a line from IgnorePkg
    http://www.perlfect.com/articles/perlfile.shtml
    Thanks for any help
    EDIT I added a --ignore clause to the pacman query. Seems to have worked. Sorry to waste your time.
    Last edited by Bazzaah (2012-07-04 09:25:46)

    bump...
    Edit: Finally figured it out. My router assigns IP adresses dynamically on each reboot. When my IP adress changed from 192.169.1.2 to 192.168.1.3 the hellaconk script got all confused. Ahh...
    Last edited by Perre (2009-03-12 18:59:40)

  • When is going to be available Lightroom update for retina displays?

    When is going to be available Lightroom update for retina displays?

    Lightroom is on the list of software Adobe will be updating for the Retina display in the next few months. You can see the list in this Adobe blog post:
    New MacBook Pro Retina Display Support
    That's all the information Adobe has provided so far.

  • Howto: Pacman Updates on your Awesome3 bar

    So in my boredom one day, I decided to add a textbox to my Awesome wibox bar (formerly referred to as a statusbar) that displayed the number of updates available for my system.  I see many users getting this info from Conky, but I wanted to get better acquainted with LUA and the rc.lua awesome syntax.
    This guide assumes the user has a fresh Awesome installation with a default rc.lua file.
    Thanks to Xyne for the pacman perl scripts (Shown later).
    What you will need:
    Awesome 3.4 (pacman version)
    perl
    Files you will need:
    pacman-updates: Necessary to provide the user-readable output to awesome-client
    #! /usr/bin/perl
    ## script by Xyne
    ## output format tweaked slightly
    ## http://bbs.archlinux.org/viewtopic.php?id=57291
    use strict;
    use warnings;
    my $n = (`pacman -Qu | wc -l`);
    chomp ($n);
    if ($n == 0)
    print "\" [ No new packages ] \""
    elsif ($n == 1)
    print "\" [ 1 new package ] \""
    else
    print "\" [ $n new packages ] \""
    pacman-updater: A basic way of keeping your pacman package list refreshed.
    #! /bin/bash
    # Script to update pacman database
    # Will be put in /etc/cron.hourly
    pacman -Sy 1>/dev/null 2>&1
    pacman-widget: Executes the pacman-updates script and passes it to awesome-client for display
    #! /bin/bash
    ## Script to update awesome-client widget with pacman package information
    ## Script belongs in /etc/cron.hourly
    echo mytextbox.text = `perl /path/to/script/pacman-updates` | awesome-client
    Place the files in the script folder of your choice.  Then, ensure all files have adequate permissions so that they can be executed. (chmod)
    Open your rc.lua file with your favorite text editor.  Create a textbox widget by adding the following:
    mytextbox = widget({ type = "textbox", name = "mytextbox" })
    mytextbox.text = " [ Pacman Updates ] "
    Now that the code for created the widget has been added, we need to add the widget to the existing wibox.  Find the section of your rc.lua file that looks like this:
    -- Create the wibox
    mywibox[s] = awful.wibox({ position = "top", screen = s })
    -- Add widgets to the wibox - order matters
    mywibox[s].widgets = {
    mylauncher,
    mytaglist[s],
    mypromptbox[s],
    layout = awful.widget.layout.horizontal.leftright
    mylayoutbox[s],
    mytextclock,
    s == 1 and mysystray or nil,
    mytasklist[s],
    layout = awful.widget.layout.horizontal.rightleft
    end
    Add the line "mytextbox," underneath the default textclock widget:
    -- Create the wibox
    mywibox[s] = awful.wibox({ position = "top", screen = s })
    -- Add widgets to the wibox - order matters
    mywibox[s].widgets = {
    mylauncher,
    mytaglist[s],
    mypromptbox[s],
    layout = awful.widget.layout.horizontal.leftright
    mylayoutbox[s],
    mytextclock,
    mytextbox,
    s == 1 and mysystray or nil,
    mytasklist[s],
    layout = awful.widget.layout.horizontal.rightleft
    end
    Copy pacman-updater and pacman-widget scripts into your /etc/cron.hourly folder:
    sudo cp pacman-updater /etc/cron.hourly
    If everything went smoothly, you should see package information updated hourly on your wibox in the top right corner, such as:
    I hope this guide has proven useful.  Please post if you see any errors or could suggest improvements, as I will update the guide.
    Thanks
    Last edited by trann (2009-11-05 20:03:45)

    Oh cool, I never realized that vicious was basically an upgraded wicked.  I had an old rc.lua that used wicked, and when they got rid of wicked no sooner than I made a config using it; I just moved on to another WM rather than try to read about and choose between vicious, obvious and bashets.  If I had spent 5 secs learning that my old config would've worked for what I was doing simply by replacing the word 'wicked' with the word 'vicious' everywhere, I might have not been so distraught.
    But yes, thanks for the snippet using vicious.  It works great.  I modified it a little (I didn't feel like being informed when there were 0 updates, only when there were some):
    local pacupdates = widget({type="textbox"})
    vicious.register(pacupdates,vicious.widgets.pacman,
    function (widget, args)
    if args[1] == 0 then
    return ''
    else
    return ' <span color="red">'..args[1]..' Updates</span> '
    end
    end)
    You obviously have to require("vicious") somewhere and put pacupdates in your mywibox[s].widgets (or some other bar, I suppose), but it is quite simple.
    I suppose I could make that better by adding in an 'else if args[1] == 1 then return ' <span color="white">'..args[1]..' Update</span> ' or something, so it doesn't say "Updates" when there is only one.  I suppose there is an else if in lua, but I haven't read that programming in lua thing yet, as I was planning on using xmonad instead of awesome, but seem to be experiencing some difficulties with the multi-screen setup on my tower and xmonad. 
    Right now, I'm thinking maybe I'll use xmonad on the laptop and awesome on the desktop, just so I have a good reason to tinker in both programming languages.
    Works great and doesn't require any weird background stuff or cron.

  • [Solved] errors with keys after pacman update?

    Hi,
    I installed pacman 4.0.1-4, but now this is what happens when I try and update.
    Proceed with installation? [Y/n] Y
    (28/28) checking package integrity [######################] 100%
    error: binutils-multilib: signature from "Jan Alexander Steffens (heftig) <[email protected]>" is unknown trust
    error: libcap-ng: signature from "Ionut Biru <[email protected]>" is unknown trust
    error: cifs-utils: signature from "Tobias Powalowski <[email protected]>" is unknown trust
    error: cmake: signature from "Dave Reisner <[email protected]>" is unknown trust
    error: colord: signature from "Ionut Biru <[email protected]>" is unknown trust
    error: lib32-glibc: signature from "Jan Alexander Steffens (heftig) <[email protected]>" is unknown trust
    error: lib32-gcc-libs: signature from "Jan Alexander Steffens (heftig) <[email protected]>" is unknown trust
    error: gcc-libs-multilib: signature from "Jan Alexander Steffens (heftig) <[email protected]>" is unknown trust
    error: gcc-multilib: signature from "Jan Alexander Steffens (heftig) <[email protected]>" is unknown trust
    error: perl: key "6D1655C14CE1C13E" is unknown
    error: key "6D1655C14CE1C13E" could not be looked up remotely
    error: openssl: signature from "Pierre Schmitz <[email protected]>" is unknown trust
    error: git: signature from "Dan McGee <[email protected]>" is unknown trust
    error: gpgme: signature from "Dave Reisner <[email protected]>" is unknown trust
    error: gvfs: signature from "Dave Reisner <[email protected]>" is unknown trust
    error: inetutils: key "FCF2CB179205AC90" is unknown
    :: Import PGP key 9205AC90, "Eric Belanger <[email protected]>", created 2011-04-19? [Y/n] Y
    error: key "Eric Belanger <[email protected]>" could not be imported
    error: intltool: key "FCF2CB179205AC90" is unknown
    :: Import PGP key 9205AC90, "Eric Belanger <[email protected]>", created 2011-04-19? [Y/n] ^C
    Interrupt signal received
    When pacman updated it suggested that I run this command,
    sudo pacman-key --init
    I know that usually I would say yes to a key and pacman should remember it, but what are all the errors?
    Last edited by mich04 (2012-01-20 17:19:26)

    # /etc/pacman.conf
    # See the pacman.conf(5) manpage for option and repository directives
    # GENERAL OPTIONS
    [options]
    # The following paths are commented out with their default values listed.
    # If you wish to use different paths, uncomment and update the paths.
    #RootDir = /
    #DBPath = /var/lib/pacman/
    #CacheDir = /var/cache/pacman/pkg/
    #LogFile = /var/log/pacman.log
    HoldPkg = pacman glibc
    # If upgrades are available for these packages they will be asked for first
    SyncFirst = pacman
    #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
    #XferCommand = /usr/bin/curl -C - -f %u > %o
    #CleanMethod = KeepInstalled
    Architecture = auto
    # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
    #IgnorePkg =
    #IgnoreGroup =
    #NoUpgrade =
    #NoExtract =
    # Misc options (all disabled by default)
    #UseSyslog
    #ShowSize
    #UseDelta
    #TotalDownload
    #CheckSpace
    # REPOSITORIES
    # - can be defined here or included from another file
    # - pacman will search repositories in the order defined here
    # - local/custom mirrors can be added here or in separate files
    # - repositories listed first will take precedence when packages
    # have identical names, regardless of version number
    # - URLs will have $repo replaced by the name of the current repo
    # - URLs will have $arch replaced by the name of the architecture
    # Repository entries are of the format:
    # [repo-name]
    # Server = ServerName
    # Include = IncludePath
    # The header [repo-name] is crucial - it must be present and
    # uncommented to enable the repo.
    # The testing repositories are disabled by default. To enable, uncomment the
    # repo name header and Include lines. You can add preferred servers immediately
    # after the header, and they will be used before the default mirrors.
    #[testing]
    #Include = /etc/pacman.d/mirrorlist
    [core]
    Include = /etc/pacman.d/mirrorlist
    [extra]
    Include = /etc/pacman.d/mirrorlist
    #[community-testing]
    #Include = /etc/pacman.d/mirrorlist
    [community]
    Include = /etc/pacman.d/mirrorlist
    # If you want to run 32 bit applications on your x86_64 system,
    # enable the multilib repositories as required here.
    #[multilib-testing]
    #Include = /etc/pacman.d/mirrorlist
    [multilib]
    Include = /etc/pacman.d/mirrorlist
    # An example of a custom package repository. See the pacman manpage for
    # tips on creating your own repositories.
    #[custom]
    #Server = file:///home/custompkgs
    Here it is.

  • KDEMod 3.5: problems after pacman update

    I did a pacman update of KDEMod 3.5, and now, several things don't work anymore:
    -there's no desktop background, it's just black
    -there's no icons on the desktop: as mentioned above, it's just black (so I think the component that displays wallpaper and icons doesn't work)
    -when just starting KDE, there's a "report crash" window (I don't know which the thing that crashes is, it just shows the crash window and I can click it away)
    -when choosing "lock session" in the start menu, nothing happens. It used to show screensaver and require password to continue, now it does nothing at all
    -maybe some other things I didn't discover yet are also broken...
    How can I fix all this? I'd like my system to work properly, like it used to. KDEMod 3.5 appears to have some difficulties after pacman updates these days...
    Thanks.
    Last edited by aardwolf (2009-08-17 16:37:21)

    Hmm, I just realized that the wallpaper is a jpeg, and it could be related to the fix I did in my previous post: http://bbs.archlinux.org/viewtopic.php?id=78076
    Are they going to fix those jpeg issues soon? I think this is something vital.
    EDIT: FYI: this fixed it: tar -C / -zxvf /var/cache/pacman/pkg/libjpeg-6b-6-i686.pkg.tar.gz usr/lib/libjpeg.so.62 usr/lib/libjpeg.so.62.0.0
    Last edited by aardwolf (2009-08-17 16:43:14)

  • Updated Apps still show as available to update on iTunes?

    After updating apps they sometimes show as still available for update in iTunes, even after updating several times. They eventually do seem to disappear but it is a little annoying. Any ideas how to fix?
    Thanks
    Tony

    This is the same problem as shown above as an iPhone problem "Problem Updating an Application," the problem on the iPhone results because the App isn't updated in iTunes.
    The apparent problem in both cases: iTunes becomes aware of a new version of a program, an update. It "downloads" it, but for some reason it isn't downloadad, for this reason the program remains in the list of my available downloads.
    So, when I synchronize with the iPhone, nothing has changed, and as a result the program remains displayed as an open update. But the problem seems to be between iTunes and the store. This only happens with some apps, for some unknown reason. Other apps work fine at the same time.
    Are we going to be able to hope that a solution for this problem will become available in the forseeable future?
    All the best,
    ralphdn
    Message was edited by: ralphdn
    Message was edited by: ralphdn

  • HT1338 Why isn't the file size displayed for software updates in the App Store?

    Why isn't the file size displayed for software updates in the App Store?
    My only internet connection is a tether to my iPhone.
    My limited bandwidth forces me to manage my data consumption - I am forced to "google" the file size of the software update so I can decide if I have the headroom in my data plan to take advantage of the update.

    If you click on the name of the Application in your Updates Available list,
    it will take you to the update Imformation for that App.

  • TS1702 Keep showing "new features available to update in the appl store"

    I have update the game Dragon Storm already.  When I try to get back to the game, It's show the window "new features available to update in the appl store". How can I have acess to my game?

    Quit the game completely and then relaunch it.
    From your home screen ....Double tap the home button and the recents tray will appear with all of your recent apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the app to close it.. Tap the home button or anywhere above the task bar.
    Launch the game again and see if the message goes away. There should be somewhere on the screen that you can tap to get out of that message, or at least I would there should be a Done or a Back button - or No Thanks or some option like that.
    If quitting didn't work, reboot the iPad.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • HT1338 my MAc Book PRO 13" Retina display will not update.  It crashes every time I try to do an update.  I have sent in the information on each update but so far nothing back from Apple.

    my MAc Book PRO 13" Retina display will not update.  It crashes every time I try to do an update.  I have sent in the information on each update but so far nothing back from Apple.  Also it does not matter what I am trying to update, the operating system, and application, each caused the same crash.   This mac book is less than a month old.

    That is the highest you will be able to go with 3g. You need 3gs or 4 to go any higher (multi processors and more memory needed).  Version 4.2.1 marks the end of your updates for that device.

  • I can no longer import raw files from my Panasonic Lumix LX5 into Aperture 3.3.2 - raw files from my other Canon cameras are fine. Am still running Lion - NOT Mountain Lion. Tried all available software updates - no joy. Any ideas please?

    I can no longer import raw files from my Panasonic Lumix LX5 into Aperture 3.3.2 - raw files from my other Canon cameras are fine. Am still running Lion (10.7.4) - NOT Mountain Lion. Tried all available software updates - all up to date apparently but still no joy. OS X Lion shows the LX5 as a supported file format. I dont want to have to upgrade to Mountain Lion just to see if this solves the problem. Any ideas please.

    Since when did this happen? Directly after you upgraded to Aperture 3.3.2?
    If it happened directly after the upgrade the problem may be, that the raw support for your camera got lost. For some posters it helped to register the raw support again, see this post by Alan Roseman:
    Aperture 3 preview of raw file greenish
    If this does not help, you may need to reinstall Lion to bring back the raw support.
    But if the problem occured independent of a new installation, ypu may have a problem with your camera or the card you are using. Have you tried to use a different card or to reformat the card in the camera?

  • [solved]gcc broken after pacman update - libcloog-isl.2.so

    Hi,
    After a pacman update my gcc broke. When compiling it gives this error:
    /usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/cc1: error while loading shared libraries: libcloog-isl.so.2: cannot open shared object file: No such file or directory
    gcc -v output:
    Using built-in specs.
    COLLECT_GCC=gcc
    COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/lto-wrapper
    Target: x86_64-unknown-linux-gnu
    Configured with: /build/src/gcc-4.6-20111223/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --enable-gnu-unique-object --enable-linker-build-id --with-ppl --enable-cloog-backend=isl --enable-lto --enable-gold --enable-ld=default --enable-plugin --with-plugin-ld=ld.gold --enable-multilib --disable-libssp --disable-libstdcxx-pch --enable-checking=release --with-fpmath=sse
    Thread model: posix
    gcc version 4.6.2 20111223 (prerelease) (GCC)
    and ls /usr/lib/*cloog* output:
    /usr/lib/libcloog-isl.a  /usr/lib/libcloog-isl.so  /usr/lib/libcloog-isl.so.3  /usr/lib/libcloog-isl.so.3.0.0
    uname -a:
    Linux willem-arch 3.2.4-1-ARCH #1 SMP PREEMPT Sat Feb 4 10:53:01 CET 2012 x86_64 Intel(R) Core(TM) i5 CPU 750 @ 2.67GHz GenuineIntel GNU/Linux
    How can I fix this? I already tried installen cloog with pacman but that doesn't help.
    edit:
    I solved the problem. There was an issue with my pacman.conf. Multilib wasn't properly enabled after the pacman4 transition.
    Last edited by pientertje (2012-02-08 09:47:25)

    I'm using multilib.
    @Allan
    more fully than pacman -Syu? Or is my mirror not up to date?
    edit:
    I solved the problem. There was an issue with my pacman.conf. Multilib wasn't properly enabled after the pacman4 transition.
    Last edited by pientertje (2012-02-08 09:46:40)

Maybe you are looking for

  • Safari Plug-ins, pdf and Preview?

    Is it possible to set Safari to use a Preview plug-in to read pdf files? I can find the list of installed plug-ins (Help: Installed Plug-ins) but I can't see any way to edit them. I don't care if Preview opens the files within Safari, or if Preview j

  • Java 1.4.2

    Anyone know when Analyzer will work with Java 1.4.2? The applet takes forever to download to the client and it is my understanding that in 1.4.2 you can permanently cache the applet.

  • Commit happened in activity/function Exception When Launching CREATEPO WF

    <p> Hi all, </p> <p> Got a good one here. Client is receiving the error above in the standard eBusiness Suite Req Approval Workflow. The problem has been narrowed down to the responsibility level. When the final approver is logged is as one Responsib

  • How am I able to read the msnbc news but not have it print?cc=us

    I have an HP Officejet Pro 8600  I have the fax hooked up but my home phone doesn't ring.  What did I do wrong? When a call comes in on my home phone the fax rings but I have no dial tone on my home phone.

  • Contacts don't accurately sync with Address Book

    The contacts information on my iPod Touch don't totally match with the information in my Address Book on my iMac with Snow Leopard. I just totally Restored my iPod and reloaded everything from my iMac. Most of the contacts came over but not all. I'm