[Solved] pacman kdebase-workspace dependencies not satisfyable

KDE arbitarly defines several filesystems as "slow" and hardcodes this decision in kio/kio/kfileitem.cpp. I decided to turn it off and always  return false (=fast file system). After checking out the PKGBUILD via ABS,  I have made a patch and changed the PKGBUILD accordingly.
Patching and compiling went fine, install went fine as well. I then thought I should change the name to something non-default to differentiate the package from the official one. So I've added the "provides=('kdelibs')" and "conflicts=('kdelibs')" lines, built the package and tried to install it.
Pacman errors out with
error: failed to prepare transaction (could not satisfy dependencies)
:: kdebase-workspace: requires kdelibs>=4.11.17
Here is the modified PKGBUILD
# $Id: PKGBUILD 233243 2015-03-10 07:39:35Z fyan $
# Maintainer: Felix Yan <[email protected]>
# Contributor: Andrea Scarpino <[email protected]
# Contributor: Pierre Schmitz <[email protected]>
pkgname=kdelibs-no-fs-check
pkgver=4.14.6
_kdeappver=14.12.3
pkgrel=1
pkgdesc="KDE Core Libraries"
arch=('i686' 'x86_64')
url='https://projects.kde.org/projects/kde/kdelibs'
license=('GPL' 'LGPL' 'FDL')
depends=('attica-qt4' 'libxss' 'krb5' 'qca' 'libdbusmenu-qt' 'polkit-qt4'
'shared-mime-info' 'enchant' 'giflib' 'jasper' 'openexr' 'strigi'
'docbook-xsl' 'upower' 'udisks2' 'libxcursor' 'phonon-qt4'
'media-player-info' 'libxtst' 'libutempter' 'qtwebkit' 'icu')
makedepends=('cmake' 'automoc4' 'avahi' 'libgl' 'hspell' 'mesa' 'grantlee-qt4')
install=${pkgname}.install
provides=('kdelibs')
conflicts=('kdelibs')
source=("http://download.kde.org/stable/applications/${_kdeappver}/src/kdelibs-${pkgver}.tar.xz"
'kde-applications-menu.patch' 'archlinux-menu.patch' 'qt4.patch' 'disable-slow-fs-check.patch')
sha1sums=('4411de9589204ed3b741ec68eeb3c37c7a0abca5'
'86ee8c8660f19de8141ac99cd6943964d97a1ed7'
'63a850ab4196b9d06934f2b4a13acd9f7739bc67'
'ed1f57ee661e5c7440efcaba7e51d2554709701c'
'ff173f198b13325c8a00b3ab728af0248a2b86fa')
prepare() {
mkdir build
cd kdelibs-${pkgver}
# avoid file conflict with gnome-menus
patch -p1 -i "${srcdir}"/kde-applications-menu.patch
# add Archlinux menu entry
patch -p1 -i "${srcdir}"/archlinux-menu.patch
# qmake refers to Qt5
patch -p1 -i "${srcdir}"/qt4.patch
# disable slow fs check
patch -p1 -i "${srcdir}"/disable-slow-fs-check.patch
build() {
cd build
cmake ../kdelibs-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DKDE4_BUILD_TESTS=OFF \
-DCMAKE_SKIP_RPATH=ON \
-DKDE_DISTRIBUTION_TEXT='Arch Linux' \
-DCMAKE_INSTALL_PREFIX=/usr \
-DSYSCONF_INSTALL_DIR=/etc \
-DHTML_INSTALL_DIR=/usr/share/doc/kde/html \
-DLOCALE_INSTALL_DIR=/usr/share/locale/kde4 \
-DKDE_DEFAULT_HOME='.kde4' \
-DWITH_FAM=OFF \
-DWITH_SOLID_UDISKS2=ON
make
package() {
cd "${srcdir}"/build
make DESTDIR="${pkgdir}" install
# cert bundle seems to be hardcoded
# link it to the one from ca-certificates
rm -f "${pkgdir}"/usr/share/apps/kssl/ca-bundle.crt
ln -sf /etc/ssl/certs/ca-certificates.crt "${pkgdir}"/usr/share/apps/kssl/ca-bundle.crt
edit: I probably should have posted this in the AUR section...
Last edited by Soukyuu (2015-03-22 11:59:57)

Soukyuu wrote:What the hell? How could it have installed the official 4.14.6-1 version, when it requires kdelibs>=4.11.17? Why does it not install my modified package unless I keep the official name?
Why is that surprising, 4.14 is greater than 4.11, so the requirement is met by the official package.  As to why yours doesn't work, you'd have to share the PKGBUILD that you are using. (edit: you editted while I was posting)
What is the specific pacman command that gives that error?
Last edited by Trilby (2015-03-22 01:23:19)

Similar Messages

  • [SOLVED] Pacman "config file could not be read" error during Arch ins

    I've been attempting to get Arch setup for a while now, and after having some trouble with partitions, my wireless connecting, and setting up repos and mirrors, which the Wiki helped me solve, I've hit a bigger bump.  While updating the system using pacman as the Beginners Guide says to do, I get errors when I try to continue the update process as follows :
    btw: I'm typing this on a laptop next to my computer
    [root@McArch~]# pacman -Syu
    error: config file /etc/pacman.d/core could not be read
    error: config file /etc/pacman.d/extra could not be read
    error: config file /etc/pacman.d/community could not be read
    :: Synchronizing package databases . . .
    error: failed to updated core (unexpected error)
    error: failed to updated extra (unexpected error)
    error: failed to updated community (unexpected error)
    error: failed to synchronize any databases
    Any tips as to whats going on?  I've tried to created said files, and even insert mirrors into the file, like in the /etc/pacman.d/mirrorlist file but this doesn't seem to help
    Last edited by Windfinder (2008-09-29 20:43:29)

    Glad you got it working.
    I'm not sure what happened in your install but I just finished using an old 2007.08 iso and pacman first starts out with /etc/pacman.d/core, etc/pacman.d/extra, /etc/pacman.d/community ... etc., but I never had your problem when I did the #pacman -Syu after initial install reboot.  The pacman update removes the above mentioned repos and replaces them with a single /etc/pacman.d/mirrorlist.  You must have messed up an initial config file somehow as I couldn't get the same errors you got.  It looks like you had your /etc/pacman.conf file messed up somehow and when you pointed it to the mirrorlist it could finally work properly.  I'll just include my /etc/pacman.conf file and /etc/pacman.d/mirrorlist so you can compare.  NB*  these are from my x86_64 so for 32 bit machines i686 would replace x86_64 in the files.
    # /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 %u > %o
    # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
    #IgnorePkg =
    #IgnoreGroup =
    #NoUpgrade =
    #NoExtract =
    # Misc options (all disabled by default)
    #NoPassiveFtp
    #UseSyslog
    #ShowSize
    #UseDelta
    #TotalDownload
    # 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
    # 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.
    # Testing is disabled by default. To enable, uncomment the following
    # two 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]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/mirrorlist
    [extra]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/mirrorlist
    [community]
    # Add your preferred servers here, they will be used first
    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
    /etc/pacman.d/mirrorlist
    # Arch Linux repository mirrorlist
    # North America
    # - United States
    Server = http://mirror.neotuli.net/arch/$repo/os/x86_64
    Server = http://holmes.umflint.edu/archlinux/$repo/os/x86_64
    Server = http://archlinux.unixheads.org/$repo/os/x86_64
    Server = ftp://ftp.archlinux.org/$repo/os/x86_64
    Server = ftp://locke.suu.edu/linux/dist/archlinux/$repo/os/x86_64
    Server = ftp://ftp.gtlib.gatech.edu/pub/linux/distributions/archlinux/$repo/os/x86_64
    Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/x86_64
    Server = http://mirrors.easynews.com/linux/archlinux/$repo/os/x86_64
    Server = ftp://ftp.ibiblio.org/pub/linux/distributions/archlinux/$repo/os/x86_64
    Server = http://mirror.rit.edu/archlinux/$repo/os/x86_64
    Server = http://mirror.umoss.org/archlinux/$repo/os/x86_64
    # - Canada
    Server = ftp://mirror.csclub.uwaterloo.ca/archlinux/$repo/os/@carch
    Well it was an interesting way to kill 30+ minutes.

  • Solaris 10 install ZFS dependencies not satisfied in default group

    I'm installing solaris 10 (No I'm not allowed to upgrade to 11) on VMware and I'm trying to keep the installation small. I'm attempting to install the "Reduced Networking Group" but I get this error:
    "The default packages included in the selected metacluster do not satisfy the dependencies of the options you have selected. You must select "Custom" and resolve these dependencies. The following dependency has been created:
    1. ZFS(Usr) in "Zettabyte File System" depends on "The Python interpreter, libraries and utilities" in "GNOME Runtime".
    So I tried doing the Custom install and selecting that dependency, but it creates another 3 dependencies. Which in turn create 5 more dependencies etc.
    I tried searching google, but couldn't find any information about it. How do I get around this?

    That's the MBR label on the disk. That's easy to modify with fdisk.
    Inside the Solaris partition is another (VTOC) label. That one is harder to modify. It's what you see when you run 'format' -> 'print' -> 'partition' or 'prtvtoc'.
    To resize it, the only method I'm aware of is to record the slices somewhere, then destroy the label or run 'format -e' and create a new label for the autodetect device. Once you have the new label in place, you can recreate the old slices. All the data on the disk should be stable.
    Then you can make use of the space on the disk for new slices, for enlarging the last slice, or if you have a VM of some sort managing the disk.
    Darren

  • [SOLVED] pacman log optional dependencies

    Hi,
    Coming from ubuntu, just been trying Arch to get to know better the linux system and try a more KISS approach. I really like it, however I had a few troubles on the way which I am resolving slowly.. however concrenng pacman, maybe I am blind but I can't find a way to get all the messages displayed during some package installation in the pacman.log ; in particular all the optional dependencies are not listed there..
    Is there a way to get the full pacman log as shown during the installation in a log file ?
    Last edited by Alain2 (2009-11-08 02:05:52)

    Hi All,
    I saw this and had to take up the challenge.
    How's this? It's pure sed at work. It shows both required and optional dependencies.
    pacman -Qi | sed -n '/^Name/,/^Required By/{ /^Version/,/^Provides/d; /^Required By/d; /^Name/{x;p;x}; p }'
    This is a command line version of course so just make an alias for it in .bashrc. If you want to log it then create a cron script to update it. By the way this should alleviate the multi-line issue you were having as I did some reverse thinking on this. I just eliminated what we didn't need as opposed to just trying to find what we did need. Sometimes that works better. 
    Here's an example output: (The actual output is nice and tidy. Pasting into the forum here mucked the alignment up. ) lol!
    Name           : pcmciautils
    Depends On     : glibc  sysfsutils  module-init-tools>=3.2pre9 
    Optional Deps  : None
    Name           : pcre
    Depends On     : gcc-libs 
    Optional Deps  : None
    Name           : perl
                     perl-archive-tar=1.52  perl-autodie=2.06_01 
                     perl-attribute-handlers=0.85  perl-autoloader=5.68 
                     perl-b-debug=1.11  perl-b-lint=1.11  perl-base=2.14 
                     perl-bignum=0.23  perl-cgi=3.43  perl-class-isa=0.33 
                     perl-compress-raw-bzib2=2.020  perl-compress-raw-zlib=2.020 
                     perl-constant=1.17  perl-cpan=1.9402  perl-cpanplus=0.88 
                     perl-db_file=1.820  perl-dprof=20080331.00 
                     perl-data-dumper=2.124  perl-devel-ppport=3.19 
                     perl-devel-peek=1.04  perl-digest=1.16  perl-digest-md5=2.39 
                     perl-digest-sha=5.47  perl-encode=2.35 
                     perl-encoding-warnings=0.11  perl-exporter=5.63 
                     perl-extutils-cbuilder=0.2602  perl-extutils-command=1.16 
                     perl-extutils-constant=0.22  perl-extutils-embed=1.28 
                     perl-extutils-install=1.54  perl-extutils-makemaker=6.55_02 
                     perl-extutils-manifest=1.56  perl-extutils-parsexs=2.2002 
                     perl-file-fetch=0.20  perl-file-path=2.07_03 
                     perl-file-temp=0.22  perl-filter=1.37 
                     perl-filter-simple=0.84  perl-getopt-long=2.38  perl-if=0.05 
                     perl-io=1.25  perl-io-compress=2.020  perl-io-zlib=1.09 
                     perl-ipc-cmd=0.46  perl-ipc-sysv=2.01  perl-libnet=1.22 
                     perl-locale-codes=2.07  perl-locale-maketext=0.13 
                     perl-locale-maketext-simple=0.18  perl-log-message=0.02 
                     perl-log-message-simple=0.04  perl-mime-base64=3.08 
                     perl-math-bigint=1.89  perl-math-bigint-fastcalc=0.19 
                     perl-math-bigrat=0.22  perl-math-complex=1.56 
                     perl-memoize=1.01_03  perl-module-build=0.340201 
                     perl-module-corelist=2.18  perl-module-load=0.16 
                     perl-module-load-conditional=0.30  perl-module-loaded=0.02 
                     perl-module-pluggable=3.9  perl-next=0.64  perl-net-ping=2.36 
                     perl-object-accessor=0.34  perl-package-constants=0.02 
                     perl-params-check=0.26  perl-parent=0.221 
                     perl-parse-cpan-meta=1.39  perl-pathtools=3.30 
                     perl-pod-escapes=1.04  perl-pod-latex=0.58 
                     perl-pod-parser=1.37  perl-pod-perldoc=3.14_04 
                     perl-pod-simple=3.07  perl-podlators=2.2.2  perl-safe=2.18 
                     perl-scalar-list-utils=1.21  perl-selfloader=1.17 
                     perl-shell=0.72_01  perl-storable=2.20  perl-switch=2.14 
                     perl-sys-syslog=0.27  perl-term-cap=1.12  perl-term-ui=0.20 
                     perl-test=1.25_02  perl-test-harness=3.17 
                     perl-test-simple=0.92  perl-text-balanced=2.0.0 
                     perl-text-parsewords=3.27  perl-text-soundex=3.03 
                     perl-text-tabs+wraps=2009.0305  perl-thread-queue=2.11 
                     perl-thread-semaphore=2.09  perl-threads=1.72 
                     perl-threads-shared=1.29  perl-tie-file=0.97_02 
                     perl-tie-refhash=1.38  perl-time-hires=1.9719 
                     perl-time-local=1.1901  perl-time-piece=1.15 
                     perl-unicode-collate=0.52  perl-unicode-normalize=1.03 
                     perl-version=0.77  perl-win32=0.39  perl-win32api-file=0.1101 
                     perl-xsloader=0.10  perlio-via-quotedprint=0.06 
    Depends On     : gdbm  db>=4.8  coreutils  glibc  sh 
    Optional Deps  : None
    Name           : perl-crypt-ssleay
    Depends On     : perl>=5.10.0 
    Optional Deps  : None
    Have a nice day!!
    Hope this helps
    P.S. Here's another little tool I wrote you might find useful. Add to .bashrc
       wtd: (What They Do)
    alias wtd="pacman -Qi | sed -n '/Version/,/Install\ Script/!p' | grep -F -A2 "
    Just type:
    wtd program name
    This will output the description for the program(s) with program name in the title.
    Example:
    wtd grep
    Name : cgrep
    Description : Provides many of the features of grep, egrep, and fgrep with
    greatly enhanced performance
    Name : grep
    Description : A string search utility
    Edit: Well, I just showed above with Perl (duh!) I'm still having a multi-line issue with the Provides line. Where a program shows more than one Provides entry it's only deleting the first line.  I'll work on it and get back. Other than that this works (at least it should).
    Edit2: Here is a slightly hacked form of the above command that at least fixes the perl issue. This will still fail when encountering other multi-line Provides lines. I think those are fairly rare so I'm leaving it at that. Sed does have limits and I'm sure a more complex command could be written using sed but I think this will get you in the ballpark.
    pacman -Qi | sed -n '/^Name/,/^Required By/{ /^Version/,/^Provides/d; /^ *perl.*$/d; /^Required By/d; /^Name/{x;p;x}; p }'
    Last edited by harryNID (2009-11-08 19:12:03)

  • (SOLVED) Pacman error: GPGME does not exist

    Hi, I have also just been struck with the same issue - a broken pacman (and for no reason that I can fathom). Was working perfectly yesterday and all I did that wan't usual was to uninstall clamav.
    Anyway, I have read this post and done a pacman -Syy, which upgraded core and archlinuxfr only. I then ran pacman -Syu and received this:
    [grant@ARCH ~]$ sudo pacman -Syy
    [sudo] password for grant:
    error: GPGME error: No data
    error: GPGME error: No data
    error: GPGME error: No data
    :: Synchronizing package databases...
    error: failed retrieving file 'core.db' from mirror.aarnet.edu.au : Connection time-out
    core 106.2 KiB 353K/s 00:00 [######################] 100%
    error: GPGME error: No data
    error: failed to update extra (invalid or corrupted database (PGP signature))
    error: GPGME error: No data
    error: failed to update community (invalid or corrupted database (PGP signature))
    error: GPGME error: No data
    error: failed to update multilib (invalid or corrupted database (PGP signature))
    archlinuxfr 30.3 KiB 81.9K/s 00:00 [######################] 100%
    error: database 'extra' is not valid (invalid or corrupted database (PGP signature))
    error: database 'community' is not valid (invalid or corrupted database (PGP signature))
    error: database 'multilib' is not valid (invalid or corrupted database (PGP signature))
    [grant@ARCH ~]$
    Should I do a reinstall of pacman using the CD? I know this is clumsy, but anything I have missed?
    Last edited by mcduling (2012-12-03 06:43:56)

    Here is my pacman.conf in separate screens:
    GNU nano 2.2.6 File: /etc/pacman.conf
    # /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
    #GPGDir = /etc/pacman.d/gnupg/
    HoldPkg = pacman glibc
    # If upgrades are available for these packages they will be asked for first
    SyncFirst = pacman
    GNU nano 2.2.6 File: /etc/pacman.conf
    # If upgrades are available for these packages they will be asked for first
    SyncFirst = pacman
    #XferCommand = /usr/bin/curl -C - -f %u > %o
    #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
    #CleanMethod = KeepInstalled
    Architecture = auto
    # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
    #IgnorePkg =
    #IgnoreGroup =
    #NoUpgrade =
    #NoExtract =
    # Misc options
    #UseSyslog
    #UseDelta
    #TotalDownload
    CheckSpace
    GNU nano 2.2.6 File: /etc/pacman.conf
    #TotalDownload
    CheckSpace
    #VerbosePkgLists
    # By default, pacman accepts packages signed by keys that its local keyring
    # trusts (see pacman-key and its man page), as well as unsigned packages.
    #SigLevel = Optional TrustedOnly
    # NOTE: You must run `pacman-key --init` before first using pacman; the local
    # keyring can then be populated with the keys of all official Arch Linux
    # packagers with `pacman-key --populate archlinux`.
    # 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
    GNU nano 2.2.6 File: /etc/pacman.conf
    # - 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]
    GNU nano 2.2.6 File: /etc/pacman.conf
    #[testing]
    #SigLevel = PackageRequired
    #Include = /etc/pacman.d/mirrorlist
    [core]
    SigLevel = PackageRequired
    Include = /etc/pacman.d/mirrorlist
    [extra]
    SigLevel = PackageRequired
    Include = /etc/pacman.d/mirrorlist
    #[community-testing]
    #SigLevel = PackageRequired
    #Include = /etc/pacman.d/mirrorlist
    [community]
    SigLevel = PackageRequired
    GNU nano 2.2.6 File: /etc/pacman.conf
    [community]
    SigLevel = PackageRequired
    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]
    #SigLevel = PackageRequired
    #Include = /etc/pacman.d/mirrorlist
    [multilib]
    #SigLevel = PackageRequired
    Include = /etc/pacman.d/mirrorlist
    [archlinuxfr]
    Server = http://repo.archlinux.fr/$arch
    # An example of a custom package repository. See the pacman manpage for
    GNU nano 2.2.6 File: /etc/pacman.conf
    # An example of a custom package repository. See the pacman manpage for
    # tips on creating your own repositories.
    #[custom]
    #SigLevel = Optional TrustAll
    #Server = file:///home/custompkgs

  • [solved] pacman mirrorlist "directive 'x' not recognized"

    I'm bungling through an install and tried using reflector to get speedier mirrors. Somehow I hosed myself, as when I checked mirrorlist it was blank(!), so I recopied the back-up to /etc/pacman.d/mirrorlist. Now when I run pacman -Syy I get:
    error: config file /etc/pacman.d/mirrolist, line 1: directive 'x' in repository section 'core' not recognized.
    The a line saying the same holds true for extra and community. Then it tries to sync servers and says: failed to update core (no servers configured for repository), and again for extra and community.  I tried to get openssh so I could go in remotely and copy the screen, but "no servers configured for repository." 
    Can anyone get me out of this can of worms?
    Last edited by pottzie (2011-06-17 23:58:40)

    x#Mirror used during installation
    Server = http:/mirror.cs.vt.edu/pub/ArchLinux/$repo/os/i686
    (Which now that i look at I recognize as the server i chose for the installation!)
    Then, just the rest of the standard mirror list, and i uncommented the U.S. mirrors.

  • [SOLVED]Xmonad bitmap workspace names not working?

    I don't have a great deal of space on my screen, so I thought I'd save some by using icons instead of names for my workspaces. I have written my xmonad.hs as closely to every example I've found without redoing my entire xmonad.hs and it still puts '^p(5)^i(/home/nfarley88/.dzenicons/terminal.xbm)^p(5)' instead of the actual bitmap for the workspace title!
    import XMonad
    import XMonad.Prompt
    import XMonad.Prompt.Shell
    import XMonad.Prompt.Man
    import XMonad.Hooks.DynamicLog
    import XMonad.Hooks.ManageDocks
    import XMonad.Util.Run(spawnPipe)
    import XMonad.Util.EZConfig
    import XMonad.Hooks.UrgencyHook
    import XMonad.Layout
    import XMonad.Layout.Grid
    import XMonad.Layout.Accordion
    import XMonad.Layout.Tabbed
    import XMonad.Layout.PerWorkspace
    import XMonad.Layout.NoBorders
    import XMonad.Layout.IM
    import XMonad.Layout.Named
    import XMonad.Actions.CycleWS
    import XMonad.Actions.MouseGestures
    import qualified XMonad.StackSet as W
    import qualified Data.Map as M
    import Data.Ratio ((%))
    import Graphics.X11.Xlib
    --import XMonad.Actions.NoBorders
    import System.IO
    fgColor = "#FF0000"
    bgColor = "#000000"
    wrapBitmap bitmap = "^p(5)^i(" ++ myBitmapsPath ++ bitmap ++ ")^p(5)"
    w1 = wrapBitmap ".dzenicons/terminal.xbm"
    w2 = wrapBitmap ".dzenicons/terminal.xbm"
    w3 = wrapBitmap ".dzenicons/terminal.xbm"
    terminality = (myWorkspaces !! 0)
    internet = (myWorkspaces !! 1)
    instantmessaging = (myWorkspaces !! 2)
    myWorkspaces :: [String]
    myBitmapsPath = "/home/nfarley88/"
    myWorkspaces = clickable . (map dzenEscape) $ [ w1, w2, w3 ]
    where clickable l = [ "^ca(1,xdotool key super+" ++ show (n) ++ ")" ++ ws ++ "^ca()" |
    (i,ws) <- zip [1..] l,
    let n = i ]
    wrapBitmap bitmap = "^p(5)^i(" ++ myBitmapsPath ++ bitmap ++ ")^p(5)"
    myManageHook = composeAll
    [ className =? "Chromium" --> doShift internet
    , className =? "Firefox" --> doShift internet
    , className =? "Pidgin" --> doShift instantmessaging
    --, appName =? "Buddy List" --> doFloat
    --, manageDocks
    myLayoutHookinternet = named "Tabbed" (noBorders tabs)
    ||| noBorders Full
    ||| Mirror tiled
    ||| tiled
    where
    tabs = tabbedBottom shrinkText oxyDarkTheme
    -- default tiling algorithm partitions the screen into two panes
    tiled = Tall nmaster delta ratio -- see how there's 3 arguments to "Tall"
    -- The default number of windows in the master pane
    nmaster = 1
    -- Default proportion of screen occupied by master pane
    ratio = 1/2
    -- Percent of screen to increment by when resizing panes
    delta = 3/100
    oxyDarkTheme = defaultTheme { inactiveBorderColor = "#aaaaaa"
    , activeBorderColor = "#000000"
    , activeColor = "#000"
    , inactiveColor = "#000000"
    , inactiveTextColor = "#aaaaaa"
    , activeTextColor = "red"
    , fontName = "xft:nu-8"
    , decoHeight = 8
    , urgentColor = "#ffff00"
    , urgentTextColor = "#63b8ff"
    myLayoutHook = avoidStruts $ terminal $ www $ instantmessage $ layoutHook defaultConfig
    where
    terminal = onWorkspace terminality ( Grid ||| Full)
    www = onWorkspace (myWorkspaces !! 1) ( avoidStruts $ myLayoutHookinternet )
    instantmessage = onWorkspace instantmessaging (withIM (1%7) sidepanel (Mirror (GridRatio (1/1))))
    where
    sidepanel = (ClassName "Pidgin") `And` (Role "buddy_list") `And` (Not (Role "convsersation")) --(Title "Buddy List")
    myMouseBindings (XConfig {XMonad.modMask = modm}) = M.fromList $
    [ ((modm, button1), (\w -> focus w >> mouseMoveWindow w
    >> windows W.shiftMaster))
    , ((modm, button2), (\w -> focus w >> windows W.shiftMaster))
    , ((modm, button3), (\w -> focus w >> mouseResizeWindow w
    >> windows W.shiftMaster))
    myStatusBar = "dzen2 -x '0' -y '0' -h '16' -w '590' -ta 'l' -fg '#FFFFFF' -bg '#000000' -fn '-misc-fixed-*-*-*-*-12-*-*-*-*-*-*-*'"
    conkyStatsBar = "conky -c .conkyrc_console | dzen2 -x '590' -y '0' -h '16' -w '485' -ta 'r' -fg '#FFFFFF' -bg '#000000' -fn '-misc-fixed-*-*-*-*-12-*-*-*-*-*-*-*'"
    conkyClockBar = "conky -c .conkyrc_clock | dzen2 -x '1075' -y '0' -h '16' -w '120' -ta 'r' -fg '#FFFFFF' -bg '#000000' -fn '-misc-fixed-*-*-*-*-12-*-*-*-*-*-*-*'"
    myLogHook h = defaultPP
    ppCurrent = wrapFgBg "#3EB5FF" "black" -- . pad
    --, ppVisible = dzenColor "white" "black" . pad
    --, ppHidden = dzenColor "white" "black" . pad
    --, ppHiddenNoWindows = dzenColor "#444444" "black" . pad
    , ppUrgent = wrapBg myUrgentWsBgColor--dzenColor "red" "yellow" -- . pad
    , ppWsSep = "^bg(" ++ myBgBgColor ++ ")^r(1,15)^bg()"
    , ppSep = " | "
    , ppTitle = (\x -> " " ++ wrapFg myTitleFgColor x) --("" ++) . dzenColor "white" "black" . dzenEscape
    , ppOutput = hPutStrLn h
    where
    wrapFgBg fgColor bgColor content= wrap ("^fg(" ++ fgColor ++ ")^bg(" ++ bgColor ++ ")") "^fg()^bg()" content
    wrapFg color content = wrap ("^fg(" ++ color ++ ")") "^fg()" content
    wrapBg color content = wrap ("^bg(" ++ color ++ ")") "^bg()" content
    wrapBitmap bitmap = "^p(5)^i(" ++ myBitmapsPath ++ bitmap ++ ")^p(5)"
    myTitleFgColor = "#FF0000"
    myBgBgColor = "#00FF00"
    myUrgentWsBgColor = "#00FF00"
    main = do
    --xmproc <- spawnPipe "/usr/bin/xmobar /home/nfarley88/.xmobarrc"
    workspaceBar <- spawnPipe myStatusBar
    spawn conkyStatsBar
    spawn conkyClockBar
    xmonad $ withUrgencyHook NoUrgencyHook $ defaultConfig
    { --workspaces = ["terminality", "internet", "IM", "4", "5", "6", "7", "8"]
    workspaces = myWorkspaces
    , manageHook = manageDocks <+> myManageHook <+> manageHook defaultConfig
    , layoutHook = myLayoutHook
    , logHook = dynamicLogWithPP $ myLogHook workspaceBar
    , modMask = mod4Mask --rebind Mod to the Windows key
    , terminal = "urxvt"
    , focusedBorderColor = "#000000"
    --, mouseBindings = myMouseBindings
    } --`additionalMouseBinding`
    --[ ((mod4Mask .|. shiftMask, button3), mouseGesture gestures)
    `additionalKeys`
    [ ((mod4Mask .|. shiftMask, xK_z), spawn "xscreensaver-command -lock")
    , ((controlMask, xK_Print), spawn "sleep 0.2; scrot -s")
    , ((0, xK_Print), spawn "scrot")
    , ((mod4Mask, xK_u), focusUrgent )
    , ((mod4Mask , xK_b ), sendMessage ToggleStruts)
    , ((mod4Mask .|. shiftMask, xK_r), spawn "killall conky dzen2 && xmonad --recompile && xmonad --restart")
    -- Application launching keys
    , ((mod4Mask , xK_p ), spawn "dmenu_run")
    , ((mod4Mask , xK_g ), spawn "chromium")
    , ((mod4Mask , xK_f ), spawn "firefox")
    , ((mod4Mask , xK_i ), spawn "pidgin")
    ] `additionalKeysP`
    [ ("<XF86Calculator>", toggleWS)
    The conky dzen has icons working. I cannot understand why it's not working!
    Any help would be greatly appreciated.
    PS some of the options are a bit strange (colour choices and such); I have some odd ones so I know what affects what.
    Last edited by Rubbishbook (2011-08-20 00:15:52)

    I've fixed it! A combination of https://bbs.archlinux.org/viewtopic.php?id=108968 and http://pastebin.com/hXD9YDRW. For reference, here are the bits that changed:
    myWorkspaces :: [String]
    myBitmapsPath = "/home/nfarley88/"
    myWorkspaces = clickable $ [ " ^i(/home/nfarley88/.dzenicons/terminal.xbm) ", " ^i(/home/nfarley88/.dzenicons/internet.xbm) ", " ^i(/home/nfarley88/.dzenicons/im.xbm) " ]
    where clickable l = [ "^ca(1,xdotool key super+" ++ show (n) ++ ")" ++ ws ++ "^ca()" |
    (i,ws) <- zip [1..] l,
    let n = i ]
    wrapBitmap bitmap = "^p(5)^i(" ++ myBitmapsPath ++ bitmap ++ ")^p(5)"
    and
    myLogHook h = defaultPP
    { ppOutput = hPutStrLn h
    , ppSep = ""
    , ppWsSep = ""
    , ppCurrent = wrap "^fg(#ffffff)^bg(#60a0c0)" "^fg()^bg()"
    , ppUrgent = wrap "^fg(#ffffff)^bg(#aff73e)" "^fg()^bg()"
    , ppVisible = wrap "^fg(#b8bcb8)^bg(#484848)" "^fg()^bg()"
    , ppHidden = wrap "^fg(#b8bcb8)^bg(#484848)" "^fg()^bg()"
    , ppHiddenNoWindows = wrap "^fg(#484848)^bg(#000000)" "^fg()^bg()"
    , ppTitle = wrap "^fg(#9d9d9d)^bg(#000000)" "^fg()^bg()" . wrap "" " ^fg(#a488d9)>^fg(#60a0c0)>^fg(#444444)>"
    , ppLayout = wrap "^fg(#60a0c0)^bg(#000000)" "^fg()^bg()"

  • [SOLVED] pacman -Scc --noconfirm does not work in script.

    see https://github.com/nfnty/dockerfiles/issues/2 for more details, It confirms the second 'y', but not the first 'y'.
    Last edited by GutenYe (2015-05-17 06:25:58)

    Scimmia wrote:Depends on the interpreter. In Bash, you could use pacman -Scc <<< Y <<< Y
    Great, Thank you @Scimmia.

  • [SOLVED] pacman -S chromium is not working [SOL = update Arch]

    Hello, I'm trying to download Chromium but I get the following error:
    Logging in as anonymous ... Logged in!
    ==> SYST ... done. ==> PWD ... done.
    ==> TYPE I ... done. ==> CWD (1) /archlinux/extra/os/x86_64 ... done.
    ==> SIZE chromium-6.0.472.62-1-x86_64.pkg.tar.xz ... done.
    ==> PASV ... done. ==> RETR chromium-6.0.472.62-1-x86_64.pkg.tar.xz ...
    No such file "chromium-6.0.472.62-1-x86_64.pkg.tar.xz"
    Any help?
    Last edited by gromlok (2010-11-04 03:41:25)

    Thank you. Worked.

  • [SOLVED] pacman is not working!

    Hey guys,
    I'm trying to remove kdemod or any of the apps that were installed with it by using this command:
    pacman -Rsu kdemod
    Here's what happens next, i copied from my console:
    [root@rocketship ~]# pacman -Rsu kdemod
    kdemod not found, searching for group...
    :: group kdemod:
        kdemod-common  kdemod-kdebase  kdemod-kdebase-runtime 
        kdemod-kdebase-workspace  kdemod-kdegraphics-common  kdemod-kdelibs 
        kdemod-kdemultimedia-common  kdemod-kdenetwork-common 
        kdemod-kdepim-akregator  kdemod-kdepim-common  kdemod-kdepim-kmail 
        kdemod-kdepim-knotes  kdemod-kdepim-korganizer  kdemod-kdepimlibs 
        kdemod-kdeutils-common  kdemod-oxygen-icons  kdemod-xkit  qtmod 
        qtmod-phonon 
        Remove whole content? [Y/n] y
    checking dependencies...
    warning: removing kdemod-kdebase-runtime from target list
    warning: removing kdemod-kdebase-workspace from target list
    warning: removing kdemod-kdebase from target list
    warning: removing kdemod-kdelibs from target list
    warning: removing kdemod-kdepimlibs from target list
    warning: removing kdemod-kdegraphics-common from target list
    warning: removing kdemod-kdemultimedia-common from target list
    warning: removing kdemod-kdenetwork-common from target list
    warning: removing kdemod-kdepim-common from target list
    warning: removing kdemod-kdepim-kmail from target list
    warning: removing kdemod-kdepim-akregator from target list
    warning: removing kdemod-kdepim-knotes from target list
    warning: removing kdemod-kdepim-korganizer from target list
    warning: removing kdemod-kdeutils-common from target list
    warning: removing qtmod from target list
    warning: removing qtmod-phonon from target list
    warning: removing opencv from target list
    warning: removing xine-lib from target list
    warning: removing libssh from target list
    warning: removing libcaptury from target list
    warning: removing lm_sensors from target list
    warning: removing polkit-qt from target list
    warning: removing capseo from target list
    warning: removing kdemod-oxygen-icons from target list
    warning: removing kdemod-xkit from target list
    warning: removing polkit-kde from target list
    warning: removing sane from target list
    warning: removing exiv2 from target list
    warning: removing qca from target list
    warning: removing kdemod-common from target list
    warning: removing openexr from target list
    warning: removing strigi from target list
    warning: removing soprano from target list
    warning: removing attica from target list
    warning: removing shared-desktop-ontologies from target list
    warning: removing tunepimp from target list
    warning: removing cyrus-sasl-plugins from target list
    warning: removing kdemod-libindicate-qt from target list
    warning: removing akonadi from target list
    warning: removing cyrus-sasl from target list
    warning: removing openldap from target list
    warning: removing boost from target list
    warning: removing mysql from target list
    warning: removing postgresql-libs from target list
    warning: removing libmysqlclient from target list
    warning: removing kdemod-libindicate from target list
    warning: removing rrdtool from target list
    warning: removing libdc1394 from target list
    warning: removing ilmbase from target list
    warning: removing libieee1284 from target list
    warning: removing clucene from target list
    warning: removing redland from target list
    warning: removing libiodbc from target list
    warning: removing virtuoso from target list
    warning: removing libofa from target list
    warning: removing libusb1 from target list
    warning: removing fftw from target list
    warning: removing mysql-clients from target list
    warning: removing raptor from target list
    warning: removing rasqal from target list
    Do you want to remove these packages? [Y/n] y
    [root@rocketship ~]#
    So right after I press "y" to remove the packages, nothing happens. The packages remain on the system. I want to remove these packages, then re-install Gnome so any packages that it might need are re-installed just in case. I've done this on other systems after deciding which Desktop Environment i liked better. But in this case, pacman is just not working!
    I'm stumped. Any ideas?
    Last edited by trusktr (2010-03-25 20:07:53)

    Alright, so it's not working without the u option as well .:B:..
    Here's what I'm getting:
    [root@rocketship ~]# pacman -Rs kdemod
    kdemod not found, searching for group...
    :: group kdemod:
        kdemod-common  kdemod-kdebase  kdemod-kdebase-runtime 
        kdemod-kdebase-workspace  kdemod-kdegraphics-common  kdemod-kdelibs 
        kdemod-kdemultimedia-common  kdemod-kdenetwork-common 
        kdemod-kdepim-akregator  kdemod-kdepim-common  kdemod-kdepim-kmail 
        kdemod-kdepim-knotes  kdemod-kdepim-korganizer  kdemod-kdepimlibs 
        kdemod-kdeutils-common  kdemod-oxygen-icons  kdemod-xkit  qtmod 
        qtmod-phonon 
        Remove whole content? [Y/n] y
    checking dependencies...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: kdemod-kdeaccessibility-common: requires kdemod-kdebase-runtime>=4.4.0
    :: kdemod-kdeadmin-common: requires kdemod-kdebase-runtime>=4.4.0
    :: kdemod-kdeartwork-common: requires kdemod-kdebase-workspace>=4.4.0
    :: kdemod-kdebase-doc: requires kdemod-kdebase>=4.4.0
    :: kdemod-kdebase-kwrite: requires kdemod-kdebase>=4.4.0
    :: kdemod-kdebase-runtime-doc: requires kdemod-kdebase-runtime>=4.4.0
    :: kdemod-kdebindings-common: requires kdemod-kdelibs>=4.4.0
    :: kdemod-kdebindings-common: requires kdemod-kdepimlibs>=4.4.0
    :: kdemod-kdeedu-common: requires kdemod-kdebase-workspace>=4.4.0
    :: kdemod-kdegames-common: requires kdemod-kdelibs>=4.4.0
    :: kdemod-kdegraphics-doc: requires kdemod-kdegraphics-common>=4.4.0
    :: kdemod-kdegraphics-kolourpaint: requires kdemod-kdegraphics-common>=4.4.0
    :: kdemod-kdelibs-doc: requires kdemod-kdelibs>=4.4.0
    :: kdemod-kdemultimedia-doc: requires kdemod-kdemultimedia-common>=4.4.0
    :: kdemod-kdemultimedia-juk: requires kdemod-kdemultimedia-common>=4.4.0
    :: kdemod-kdemultimedia-thumbnailers: requires kdemod-kdemultimedia-common>=4.4.0
    :: kdemod-kdenetwork-doc: requires kdemod-kdenetwork-common>=4.4.0
    :: kdemod-kdenetwork-kppp: requires kdemod-kdenetwork-common>=4.4.0
    :: kdemod-kdenetwork-krdc: requires kdemod-kdenetwork-common>=4.4.0
    :: kdemod-kdenetwork-krfb: requires kdemod-kdenetwork-common>=4.4.0
    :: kdemod-kdepim-akonadiconsole: requires kdemod-kdepim-common>=4.4.0
    :: kdemod-kdepim-doc: requires kdemod-kdepim-common>=4.4.0
    :: kdemod-kdepim-kalarm: requires kdemod-kdepim-common>=4.4.0
    :: kdemod-kdepim-kjots: requires kdemod-kdepim-common>=4.4.0
    :: kdemod-kdepim-knode: requires kdemod-kdepim-common>=4.4.0
    :: kdemod-kdepim-kontact: requires kdemod-kdepim-common>=4.4.0
    :: kdemod-kdepim-kontact: requires kdemod-kdepim-kmail>=4.4.0
    :: kdemod-kdepim-kontact: requires kdemod-kdepim-akregator>=4.4.0
    :: kdemod-kdepim-kontact: requires kdemod-kdepim-knotes>=4.4.0
    :: kdemod-kdepim-kontact: requires kdemod-kdepim-korganizer>=4.4.0
    :: kdemod-kdepim-ktimetracker: requires kdemod-kdepim-common>=4.4.0
    :: kdemod-kdepim-wizards: requires kdemod-kdepim-common>=4.4.0
    :: kdemod-kdeplasma-addons: requires kdemod-kdebase-workspace>=4.4.0
    :: kdemod-kdeplasma-addons: requires kdemod-kdepimlibs>=4.4.0
    :: kdemod-kdesdk-common: requires kdemod-kdebase-workspace>=4.4.0
    :: kdemod-kdesdk-common: requires kdemod-kdepimlibs>=4.4.0
    :: kdemod-kdetoys-common: requires kdemod-kdebase-workspace>=4.4.0
    :: kdemod-kdeutils-doc: requires kdemod-kdeutils-common>=4.4.0
    :: kdemod-kdeutils-kdf: requires kdemod-kdeutils-common>=4.4.0
    :: kdemod-kdeutils-kfloppy: requires kdemod-kdeutils-common>=4.4.0
    :: kdemod-kdeutils-ktimer: requires kdemod-kdeutils-common>=4.4.0
    :: kdemod-kdeutils-okteta: requires kdemod-kdeutils-common>=4.4.0
    :: kdemod-kdeutils-printer-applet: requires kdemod-kdeutils-common>=4.4.0
    :: kdemod-kdeutils-superkaramba: requires kdemod-kdeutils-common>=4.4.0
    :: kdemod-kdeutils-sweeper: requires kdemod-kdeutils-common>=4.4.0
    :: kdemod-kdewebdev-common: requires kdemod-kdepimlibs>=4.4.0
    :: qimageblitz: requires qt>=4.4.3
    :: qscintilla: requires qt
    :: qtmod-doc: requires qtmod=4.6.2
    :: qtmod-phonon-gstreamer: requires qtmod-phonon>=4.3.80
    :: qtmod-phonon-mplayer: requires qtmod-phonon>=
    :: vlc: requires qt
    If i try the previous Rsu version again i get the same as the first example I showed.
    Do you think it's poosible i have to re-install kdemod first then proceed to uninstall everything?
    Last edited by trusktr (2010-03-24 22:33:08)

  • [Solved] Pacman fails to satisfied java-runtime dependency on upgrade

    Hi. So I haven't been able to upgrade yesterday or today because of this bug. I couldn't figure out how to solve it on my own.
    This is what happens when I try to upgrade:
    jake@levi> sudo pacman -Syyu ~
    :: Synchronizing package databases...
    core 104.8 KiB 76.7K/s 00:01 [##################################################################################################] 100%
    extra 1389.5 KiB 187K/s 00:07 [##################################################################################################] 100%
    community 1549.8 KiB 191K/s 00:08 [##################################################################################################] 100%
    multilib 89.7 KiB 145K/s 00:01 [##################################################################################################] 100%
    :: Starting full system upgrade...
    resolving dependencies...
    looking for inter-conflicts...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: languagetool: requires java-runtime>=6
    :: rhino: requires java-runtime
    I have jre7-openjdk-headless already installed, which provides java-runtime 7, so I don't see why I could be running into any problems.
    [1] jake@levi> pacman -Qi jre7-openjdk-headless ~
    Name : jre7-openjdk-headless
    Version : 7.b147_2.1-1
    URL : http://icedtea.classpath.org
    Licenses : custom
    Groups : None
    Provides : java-runtime=7
    Depends On : libjpeg-turbo lcms2 nss ca-certificates-java rhino
    Optional Deps : libcups: needed for Java Mauve support - libmawt.so
    fontconfig: needed for Java Mauve support - libmawt.so
    Required By : languagetool rhino
    Conflicts With : java-runtime openjdk6
    Replaces : None
    Installed Size : 107421.00 KiB
    Packager : Andreas Radke <[email protected]>
    Architecture : x86_64
    Build Date : Wed Feb 15 06:36:20 2012
    Install Date : Thu Mar 1 14:06:19 2012
    Install Reason : Installed as a dependency for another package
    Install Script : Yes
    Description : Free Java environment based on OpenJDK 7.0 with IcedTea7 replacing binary plugs - Minimal Java runtime - needed for executing non GUI Java programs
    There could be something I don't understand though. Any help is appreciated.
    Last edited by Coward (2012-03-08 00:30:57)

    mira wrote:
    Karol's advice did not worked for me, so I did this:
    pacman -Rdd jre7-openjdk-headless
    and after that this:
    pacman -S jre7-openjdk
    and then the update worked as it should. Hope that helps somebody.
    Not sure what was the issue in your case, but I did say "Try to ignore the conflicts and see if it works out." and by that I meant the '-dd' switch.
    Now I see I should have been explicit about it as my comment doesn't make it clear at all.

  • [SOLVED] kdebase-workspace: conflicts with kdemod-kde-common

    Hi! My pacman -Syu failed today: Here there is the output (of a retrial):
    :: Synchronizing package databases...
    kdemod-core is up to date
    kdemod-extragear is up to date
    core is up to date
    extra is up to date
    community is up to date
    :: Starting full system upgrade...
    :: Replace qtmod with kdemod-core/kdemod-kde-common? [Y/n] Y
    :: Replace guidance-power-manager with extra/kdebase-workspace? [Y/n] Y
    resolving dependencies...
    looking for inter-conflicts...
    error: unresolvable package conflicts detected
    error: failed to prepare transaction (conflicting dependencies)
    :: kdebase-workspace: conflicts with kdemod-kde-common
    Any suggestions on how to get this update right?
    Last edited by joan (2009-02-23 02:18:30)

    joan wrote:Hi! My pacman -Syu failed today: Here there is the output (of a retrial):
    :: Replace qtmod with kdemod-core/kdemod-kde-common? [Y/n] Y
    :: Replace guidance-power-manager with extra/kdebase-workspace? [Y/n] Y
    Any suggestions on how to get this update right?
    Try:
    pacman -Rd gtmod
    pacman -S qt
    #Qtmod not needed anymore
    pacman -R guidance-power-manager  /or pacman -Rcsn ....
    pacman -Syu kdemod                        /or pacman -Syu kdemod-complete
    also backup/ remove ~/.kde4 to start with clean config, especially if you have your own plasmoids.
    #powerdevil is included in kde now, so other inferior powermanagers might conflict with it.

  • Unable to Sync Anything -- "Requested Range not Satisfiable" [SOLVED]

    I have been having a really annoying problem for a while now. Every time I try to sync anything with pacman (package lists, updates, etc.) if a hiccup occurs in my Internet connection, the download is corrupted and I get the error: "Requested Range not Satisfiable". The only way to get around this is to manually delete the .part file in /var/cache/pacman/pkg, but for large packages it is basically impossible to update them, because the problem is bound to happen during the course of the download and I have to start anew.
    Does anyone know why this is happening?
    Last edited by egan (2009-10-05 14:10:43)

    Maybe the problem below is related to this. In resume, I have 770M free and in this case, I need to download a total of ~217M to upgrade the system. But even after the first package downloaded, I got this error. bash is not that big. And after this, I have 0M of free space on /var.
    Any hints? Thank you.
    [internet@amparo02 var]$ df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/sda1 1.9G 264M 1.5G 15% /
    none 93M 144K 93M 1% /dev
    none 93M 0 93M 0% /dev/shm
    /dev/sda6 950M 132M 770M 15% /var
    /dev/sda7 23G 19G 2.4G 89% /home
    /dev/sda8 15G 3.5G 10G 26% /usr
    [internet@amparo02 var]$ sudo 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 (71): bash-4.0.033-1 bluez-4.54-1 db-4.8.24-1 libsasl-2.1.23-2
    libetpan-0.58-2 claws-mail-3.7.2-3 device-mapper-2.02.53-1
    libldap-2.4.18-1 dirmngr-1.0.2-2 dsniff-2.4b1-14
    e2fsprogs-1.41.9-1 sqlite3-3.6.18-1 heimdal-1.2.1-7
    libical-0.44-1 evolution-data-server-2.26.3-2 ekiga-3.2.5-2
    libnet-1.1.4-1 ettercap-NG_0.7.3-13 fakeroot-1.13.1-1
    perl-5.10.1-3 fvwm-devel-2.5.28-1 gconf-2.26.2-3
    gnome-mplayer-0.9.8-2 gecko-mediaplayer-0.9.8-1
    gnumeric-1.8.4-4 gnupg-1.4.10-2 gnupg2-2.0.13-2
    gnuplot-4.2.6-1 gpm-1.20.6-3 groff-1.20.1-3 hunspell-1.2.8-2
    imagemagick-6.5.6.1-1 iproute2-2.6.29-2 libcap-2.17-1
    librep-0.90.2-1 lvm2-2.02.53-1 man-pages-3.23-1
    maxima-5.19.2-3 mlocate-0.22.1-1 module-init-tools-3.10-2
    mpd-0.15.4-1 ncmpc-0.15-2 nfsidmap-0.23-3 nicotine-1.2.12-3
    octave-3.2.3-1 openbox-3.4.7.2-3 openvpn-2.1_rc19-4
    pam-1.0.4-2 perl-berkeleydb-0.39-1 perl-html-parser-3.62-1
    perl-www-curl-4.09-1 libnice-0.0.9-1
    gstreamer0.10-python-0.10.16-1 python-2.6.3-2
    farsight2-0.0.16-1 pidgin-2.6.2-3 qemu-0.11.0-1 qt-4.5.3-3
    rxvt-unicode-9.06-3 sdparm-1.04-1 smbclient-3.3.7-2
    sonata-1.6.2.1-1 taglib-1.6-1 terminal-0.4.1-1 tmux-1.0-1
    tor-0.2.1.19-2 tzdata-2009n-1 wget-1.12-1 wireshark-1.2.2-1
    xfce4-settings-4.6.3-1 xfconf-4.6.1-2
    Total Download Size: 216.96 MB
    Total Installed Size: 726.34 MB
    Proceed with installation? [Y/n] y
    :: Retrieving packages from core...
    error: error writing to file '/var/cache/pacman/pkg/bash-4.0.033-1-i686.pkg.tar.gz': No space left on device
    error: failed retrieving file 'bash-4.0.033-1-i686.pkg.tar.gz' from archlinux.c3sl.ufpr.br : Requested action aborted: local error in processing
    error: failed retrieving file 'bash-4.0.033-1-i686.pkg.tar.gz' from archlinux.c3sl.ufpr.br : Requested Range Not Satisfiable
    error: failed retrieving file 'bash-4.0.033-1-i686.pkg.tar.gz' from archlinux.unixheads.org : Requested Range Not Satisfiable
    ^C
    Interrupt signal received
    [internet@amparo02 var]$ df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/sda1 1.9G 264M 1.5G 15% /
    none 93M 144K 93M 1% /dev
    none 93M 0 93M 0% /dev/shm
    /dev/sda6 950M 950M 0 100% /var
    /dev/sda7 23G 19G 2.4G 89% /home
    /dev/sda8 15G 3.5G 10G 26% /usr
    [internet@amparo02 var]$

  • [SOLVED] pacman -Sf not working

    # pacman -Sf vtun
    resolving dependencies...
    error: cannot resolve "openssl<=0.9.8g", a dependency of "vtun"
    error: failed to prepare transaction (could not satisfy dependencies)
    :: vtun: requires openssl<=0.9.8g
    # pacman -Q openssl
    openssl 0.9.8h-3
    Shouldn't I be able to force this package to install? It doesn't work the other way either. If vtun is already installed then openssl cannot be upgraded. It also cannot be forced.
    # pacman -Sf openssl
    resolving dependencies...
    looking for inter-conflicts...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: vtun: requires openssl<=0.9.8g
    I'm a bit confused by this. I thought the --force option would override any dependency issues.
    Last edited by derelict (2008-06-25 18:09:37)

    from man pacman
    -d, --nodeps
    Skips all dependency checks. Normally, pacman will always check a
    package´s dependency fields to ensure that all dependencies are
    installed and there are no package conflicts in the system.
    -f, --force
    Bypass file conflict checks and overwrite conflicting files. If the
    package that is about to be installed contains files that are
    already installed, this option will cause all those files to be
    overwritten. This option should be used with care, ideally not at
    all.
    --force has nothing to do with dependency issues.

  • Error: failed to prepare transaction (could not satisfy dependencies)

    Hi,
    I was going to install a winff package (a GUI front end to ffmpeg for converting between video formats), but when I ran yaourt -S winff and tried to install it refused because it isn't for the x86_64 architecture. So I decided to edit the PKGBUILD and perhaps try to force it anyway, but then I saw that the PKGBUILD is actually getting the precompiled RPM package and as I checked, while there was no precompiled 64bit version of the RPM there was one for a deb version that is offered on winff site.
    Since deb's are just archives I ended up, after a few tries, with this PKGBUILD which uses ar and tar commands to get to the binaries inside of the amd64 deb:
    # Contributor: yugrotavele <[email protected]>
    # Modified by libervisco for x86_64
    pkgname=winff-amd64
    pkgver=0.42
    pkgrel=1
    pkgdesc="GUI for ffmpeg"
    url="http://www.winff.org"
    license=('GPL')
    depends=('ffmpeg gtk gdk-pixbuf')
    makedepends=('')
    source=('http://winff.googlecode.com/files/winff-0.42-amd64.deb')
    arch=('x86_64')
    md5sums=('1febf5fd19fa76bdc1da06d3e6c4d3b8')
    build() {
    ar vx winff-0.42-amd64.deb
    tar xvzf data.tar.gz
    install -Dm755 $startdir/src/usr/bin/winff $startdir/pkg/usr/bin/winff
    install -Dm755 $startdir/src/usr/share/winff/presets.xml $startdir/pkg/usr/share/winff/presets.xml
    install -Dm755 $startdir/src/usr/share/winff/winff.png $startdir/pkg/usr/share/winff/winff.png
    So what I basically do is run yaourt -S winff and when it asks whether I want to edit it, I edit it and replace the original PKGBUILD content with above.
    It successfully runs the build() commands, finds and installs the dependencies, but when it's time to install the actual new winff package is throws up this:
    loading package data...
    checking dependencies...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: winff: requires ffmpeg gtk gdk-pixbuf
    I don't get it. It installed all the dependencies (and I even checked whether winff works in one of the earlier tries when I manually installed gdk-pixbuf when the binary asked for it). What does it want now?
    Here is the whole process:
    [daniel@memeport ~]$ yaourt -S winff
    ==> Downloading winff PKGBUILD from AUR...
    Comment by: yugrotavele on 20080518 [04:36:56]
    A nice GUI frontend for ffmpeg.
    First Submitted: Sun, 18 May 2008 04:28:31 +0000
    Last Updated: Mon, 30 Jun 2008 04:23:08 +0000
    winff 0.42-1 (Unsupported): GUI for ffmpeg
    ==> winff dependencies:
    - ffmpeg (already installed)
    - rpmextract (already installed)
    ==> Edit the PKGBUILD (recommended) ? [Y/n] ("A" to abort)
    ==> ----------------------------------------------
    ==>y
    Please add $EDITOR to your environment variables
    for example:
    ==> Edit PKGBUILD with: (replace gvim with your favorite editor)
    ==> Edit ./PKGBUILD with: gedit
    ==> winff dependencies:
    - ffmpeg (already installed)
    - gtk (already installed)
    - gdk-pixbuf (package found)
    ==> Continue the building of 'winff'? [Y/n]
    ==> ----------------------------------------------
    ==>y
    ==> Building and installing package
    ==> Making package: winff 0.42-1 (Tue Jul 1 21:34:12 CEST 2008)
    ==> Checking Runtime Dependencies...
    ==> Installing missing dependencies...
    resolving dependencies...
    looking for inter-conflicts...
    Targets: gdk-pixbuf-0.22.0-4
    Total Download Size: 0.00 MB
    Total Installed Size: 0.70 MB
    Proceed with installation? [Y/n]
    checking package integrity...
    (1/1) checking for file conflicts [############################################################] 100%
    (1/1) installing gdk-pixbuf [############################################################] 100%
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
    -> Downloading winff-0.42-amd64.deb...
    --2008-07-01 21:34:13-- http://winff.googlecode.com/files/winff-0.42-amd64.deb
    Resolving winff.googlecode.com... 64.233.187.82
    Connecting to winff.googlecode.com|64.233.187.82|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 1383594 (1.3M) [application/x-archive application/x-debian-package]
    Saving to: `winff-0.42-amd64.deb'
    100%[=============================================================================>] 1,383,594 191K/s in 7.4s
    2008-07-01 21:34:21 (183 KB/s) - `winff-0.42-amd64.deb' saved [1383594/1383594]
    ==> Validating source files with md5sums...
    winff-0.42-amd64.deb ... Passed
    ==> Extracting Sources...
    ==> Entering fakeroot environment...
    ==> Starting build()...
    x - debian-binary
    x - control.tar.gz
    x - data.tar.gz
    ./usr/
    ./usr/bin/
    ./usr/bin/winff
    ./usr/share/
    ./usr/share/doc/
    ./usr/share/doc/winff/
    ./usr/share/doc/winff/copyright
    ./usr/share/doc/winff/winff.pdf
    ./usr/share/doc/winff/README.txt
    ./usr/share/doc/winff/README-Icons.txt
    ./usr/share/doc/winff/README-Presets.txt
    ./usr/share/doc/winff/changelog
    ./usr/share/applications/
    ./usr/share/applications/winff.desktop
    ./usr/share/winff/
    ./usr/share/winff/winff.png
    ./usr/share/winff/presets.xml
    ./usr/share/winff/languages/
    ./usr/share/winff/languages/winff.es.po
    ./usr/share/winff/languages/winff.nl.po
    ./usr/share/winff/languages/winff.fr.po
    ./usr/share/winff/languages/winff.pb.po
    ./usr/share/winff/languages/winff.tr.po
    ./usr/share/winff/languages/winff.de.po
    ./usr/share/winff/languages/winff.zh.po
    ./usr/share/winff/languages/winff.it.po
    ./usr/share/winff/languages/winff.pt.po
    ./usr/share/winff/languages/winff.pl.po
    ./usr/share/winff/languages/winff.bg.po
    ./usr/share/winff/languages/winff.po
    ==> Tidying install...
    -> Removing info/doc files...
    -> Compressing man pages...
    -> Stripping debugging symbols from binaries and libraries...
    ==> Creating package...
    -> Generating .PKGINFO file...
    -> Compressing package...
    ==> Leaving fakeroot environment.
    ==> Finished making: winff (Tue Jul 1 21:34:22 CEST 2008)
    ==> Continue installing 'winff'? [Y/n]
    ==> [v]iew package contents [c]heck package with namcap
    ==> ----------------------------------------------
    ==>y
    loading package data...
    checking dependencies...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: winff: requires ffmpeg gtk gdk-pixbuf
    ==> WARNING: Your package is saved in /tmp/winff-0.42-1-x86_64.pkg.tar.gz
    I tried doing it without changing the package name to winff-amd64, but same thing happens. What's going on?

    Ahh man, and that's it! It works.
    I'm just wondering now how can I contribute this PKGBUILD to AUR, but I can read that in the wiki too.
    Thanks!

Maybe you are looking for

  • IPhone 4s Data hungry. Has anyone got a solution

    Hi. I updated my iPhone 4S, to ios 6.1.3. And now I can use over 1GB of my BT 10GB allowance in one day. First I thought it was someone hacking into my home wi fi, but after changing the password on that, I am still hemeraging data, unless I turn off

  • How change bit rate

    I use Compressor to compress video from FCP. I select dvd best 90 min 4.3 (mpeg-2, two pass VCR best average 5.0 mbps - maximum bit rate 5.8 mbps). After compressing, file show 6.2mpbs. I want to reduce file size. I could not figure out how to reduce

  • Adding groups while creating a bulk nt accounts

    how do i add groups and DL's using a txt filewhen i am creatig new bulk accounts. Ex. abcm jkl,def are a seecurity group and def, efg, hij are distribition list This is the script i use $users = Import-CSV .\blkusr.csv  $Users | Foreach-Object { $Use

  • About the spfile

    I create a pfile like this: create pfile=c:\pfile.txt from spfile. then I view the pfile.txt,some parameter have prefix '*.',some don't have. like following: dw.__db_cache_size=58720256 dw.__java_pool_size=12582912 dw.__large_pool_size=4194304 dw.__s

  • Possible to update from 10.2.8?

    I have a G4 flat panel and mac os 10.2.8 is installed. I think this is what they call jaguar? then there are panther, then tiger. Is it possible to update to panther, or is that just available for G5?