[SOLVED]MAKEPKG can't resolve dependencies unless I use --asroot first

Hi all,
I've been trying to install an AUR package and when I run 'makepkg -s' it said it couldn't resolve dependencies. I checked the dependencies, installed them via pacman, and still got the same message. I've been searching around everywhere and couldn't figure it out.
Then, disregarding the dire warning, I ran 'makepkg --asroot.' I got an error message saying it didn't have a required dependency that wasn't listed on the AUR site. I installed it with pacman, then ran 'makepkg -s' and it worked fine.
What gives? Why wasn't the dependency listed on the AUR page? It was the ttf-ms-fonts and has been updated on Jan 13, 2011 so it is up to date. Any ideas?
Thanks!
*quick update*
I tried installing flashplugin-prerelease and it wouldn't install the dependencies that were listed on the AUR page. No hidden dependencies this time though.
Last edited by mycorunner (2011-03-07 00:56:32)

I forgot about the permissions when I changed the mirrorlist, thanks!
The makepkg is still giving me an error, this time its:
[myco-runner@Arch yaourt]$ makepkg -s
==> Making package: yaourt 0.9.5.1-1 (Tue Feb 15 20:50:09 EST 2011)
==> Checking Runtime Dependencies...
==> Installing missing dependencies...
error: 'package-query>=0.4': could not find or read package
==> ERROR: 'pacman' failed to install missing dependencies.
At least this time it tells me what package is missing, but it won't install it because it's an AUR package. I suspect it will work for other non-AUR packages though.
Just confirmed it, it works! Thanks!
Last edited by mycorunner (2011-02-16 02:05:31)

Similar Messages

  • As of yesterday, when making or receiving calls, I can hear the person on other end, but they can't hear me unless I use the speaker???

    When making or receiving calls I can hear the person on the other end, but they cannot hear me unless I use the speaker option.

    Look to the right in the "More Like This" box.  Your issue has been addressed in countless posts.  Always an act of forum courtesy to search before posting, FYI.
    Best of luck.

  • [solved] makepkg freeze after installing dependencies

    If I try to create a package from the AUR
    makepkg -sfi package-name
    seems to freeze after installing the dependencies. It just stops after installing the last dependency and freezes with 65% CPU-Usage.
    If I quit makepkg after freeze and run it again, building the package works so the dependencies get correctly installed.
    Note to AUR-Helpers:
    Yaourt -> works
    Packer -> works
    pacaur -> doesn't work
    Any Idea what could cause this Problem and how to fix it?
    Last edited by mak42 (2014-09-05 20:45:42)

    Soooo I've found the guilty after digging through the source of "makepkg"
    source /etc/profile &>/dev/null
    causes the problem, if I run this command it freezes, Ctrl+C will kill the whole terminal.
    So now I know the source of the Problem, still trying to figure out why this happens...
    EDIT: Found it I'm using tdm as login-manager, to start it I've put a script into /etc/profile.d/ and this Script gave back an Error "Invalid TTY".
    If you source /etc/profile it can't complete due to this Error.
    So it was completely my fault
    Thank's for your help, now I have to find another way of starting TDM
    EDIT2:
    just put /usr/bin/tdm into ~/.bash_profile and tdm works fine.
    Actually this is already in the wiki, don't know why I didn't do that in the first place
    Last edited by mak42 (2014-09-05 21:00:19)

  • How to solve "Error: Invalid Embed directive in stylesheet - can't resolve source" while building using mxmlc.exe on command prompt

    Hi,
    Currently, I am developing a powershell script for Flex build automation.
    I found some problem and have been trying to search any references and tried any ways to fix it but It did not work.
    I am using compc.exe for compiling the libraries and it works fine.
    I compiled css files into swf files using mxmlc.exe and it works fine.
    However, I have a problem while building my main application (mxml file).
    It complains about embedded resources.
    I run this command, it works fine:
    "C:\Program Files (x86)\Adobe\Flex Builder 3\sdks\3.2.0\bin\mxmlc.exe" "C:\{somePath}\FlashClient\src\styleLang.css" -output "C:\{somePath}\FlashClient_deploy\styleLang.swf"
    However, when I tried to run these command on cmd for testing:
    "C:\Program Files (x86)\Adobe\Flex Builder 3\sdks\3.2.0\bin\mxmlc.exe" "C:\{somePath}\FlashClient\src\FlashClient.mxml" -load-config "C:\{somePath}\FlashClient\src\dump_config_temp.xml" -output "C:\{somePath}\FlashClient_deploy\flashclient_test.swf"
    I got a lot of this error message:
    this is my folder structure:
      FlashClient
      |
      |---assets
      |---src
          |
          |---FlashClient.mxml
          |---FlashClient.as
          |---FlashClientStyleLoopup.css
          |---styleLang
    Already tried to add / at the beginning of the relative paths but It did not work.
    Also tried to compile one of the image to a swc file and include it on the dump_config, but also did not work. something similar with Tech Diary: Flex : Solution to Error: unable to resolve '/assets/icons/icon.png' for transcoding using Embed tag
    Does anyone know how flex builder resolve the relative path to make the embedded resources work? or how to fix this?
    I've been trying to work on it for days but haven't had any luck.
    Will be really appreciate it if someone could help me with this.
    Many Thanks.

    Hi,
    make sure you are using 32 bit Java JDK. Check that your systems variables CLASSPATH, JAVA_HOME are pointing to correct 32 bit Java JDK folder (e.g. CLASSPATH=C:\Program Files (x86)\Java\jdk1.8.0_25 and JAVA_HOME=C:\Program Files (x86)\Java\jdk1.8.0_25). Also make sure you have 32 bit Java JDK's "bin" folder in your system's variable PATH.

  • [SOLVED] makepkg git clone fails (firewalled), how to use https

    At my new employer git(hub) traffic has been blocked so I am unable to clone a repo with "git clone git://someurl/..." but I can clone via https "git clone https://someurl/..."
    However, makepkg uses the former and fails with the following error:
    Cloning into bare repository '/tmp/cower-git/cower' ...
    fatal: unable to connect to github.com:
    github.com[0: 192.30.252.130]: errno=Connection refused
    Can I configure makepkg to use https cloning?  I can edit makepkg itself, but this seems far from ideal.
    For the time being, I just cd'ed into 'src' and manually cloned via https, then backed out and used 'makepkg -ei'.  So I now have cower up and running, but this is a bit tedius to do for all git packages.

    Change it how?  I tried changing it to "https://github..." but then makepkg didn't treat it as a git repo and just downloaded the webpage.
    EDIT: nevermind, I'm an idiot:
    source=("git+https://github/...")
    I know I had done this before, but I wasn't finding it when I needed it.  Thanks.
      - Trilby: Moderator and Noob!

  • [SOLVED]urxvt can't set the background after using slim as DM

    Yesterday, I changed lxdm to slim,and then everything went well,except urxvt.Though I think this should have nothing to do with the urxvt's problem.
    urxvt only has a white background while my setting is 0000/0000/0000/cccc,even I attempted to comment all options relating to colors,but it doesn't work.until I remove the .Xresources file, urxvt has a black background.
    I also attempted to start from startx and other ways, but it didn't work.I have a transparent black interface before,and now it is dazzling white.how could i can resume it.
    My DE is kde4.
    Here is my .xinitrc
    export GTK_IM_MOUDLE=fcitx
    export QT_IM_MOUDLE=fcitx
    export XMODIFIERS=@im=fcitx
    exec startkde
    .Xresources
    ! RXVT-unicode setting
    URxvt.tansparent: true
    URxvt.geometry: 80x36+80+80
    URxvt.background: rgba:0000/0000/0000/cccc
    URxvt.depth:32
    URxvt.foreground: blue
    URxvt.scrollBar: False
    URxvt.scrollstyle: next
    ! Use shift+pageup/down to scroll in screen
    URxvt.secondaryScroll: True
    !set the artificial transparency of the v.t.
    URxvt.inheritPixmap: True
    URxvt.tintColor: grey
    URxvt.shading: 500
    URxvt.saveLines: 1500
    URxvt.preeditType: Root
    URxvt.borderLess: False
    URxvt.font:xft:monofur:pixelsize=17:style=Regular:antialias=true,xft:SimHei:pixelsize=17:style=Regular
    URxvt.boldFont:xft:DejaVu Sans Mono:pixelsize=17:style=Bold:antialias=true,xft:DejaVu Sans Mono:pixelsize=17:style=Bold
    !redefine color to use tango theme in vim
    !Black
    URxvt.color0: #000000
    URxvt.color8: #555753
    !Red
    URxvt.color1: #CC0000
    URxvt.color9: #EF2929
    !Green
    URxvt.color2: #4E9A06
    URxvt.color10: #8AE234
    !Yellow
    URxvt.color3: #C4A000
    URxvt.color11: #FCE94F
    !Blue
    URxvt.color4: #3465A4
    URxvt.color12: #729FCF
    !Magenta
    URxvt.color5: #75507B
    URxvt.color13: #AD7FA8
    !Cyan
    URxvt.color6: #06989A
    URxvt.color14: #34E2E2
    !White
    URxvt.color7: #D3D7CF
    URxvt.color15: #EEEEEC
    /etc/slim.conf
    # Path, X server and arguments (if needed)
    # Note: -xauth $authfile is automatically appended
    default_path /bin:/usr/bin:/usr/local/bin
    default_xserver /usr/bin/X
    xserver_arguments -nolisten tcp vt07
    # Commands for halt, login, etc.
    halt_cmd /sbin/shutdown -h now
    reboot_cmd /sbin/shutdown -r now
    console_cmd /usr/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/issue; exec /bin/login"
    #suspend_cmd /usr/sbin/suspend
    # Full path to the xauth binary
    xauth_path /usr/bin/xauth
    # Xauth file for server
    authfile /var/run/slim.auth
    # Activate numlock when slim starts. Valid values: on|off
    # numlock on
    # Hide the mouse cursor (note: does not work with some WMs).
    # Valid values: true|false
    # hidecursor false
    # This command is executed after a succesful login.
    # you can place the %session and %theme variables
    # to handle launching of specific commands in .xinitrc
    # depending of chosen session and slim theme
    # NOTE: if your system does not have bash you need
    # to adjust the command according to your preferred shell,
    # i.e. for freebsd use:
    # login_cmd exec /bin/sh - ~/.xinitrc %session
    #login_cmd exec /bin/bash -login ~/.xinitrc %session
    login_cmd exec /usr/bin/zsh ~/.xinitrc %session
    # Commands executed when starting and exiting a session.
    # They can be used for registering a X11 session with
    # sessreg. You can use the %user variable
    # sessionstart_cmd some command
    # sessionstop_cmd some command
    # Start in daemon mode. Valid values: yes | no
    # Note that this can be overriden by the command line
    # options "-d" and "-nodaemon"
    # daemon yes
    # Set directory that contains the xsessions.
    # slim reads xsesion from this directory, and be able to select.
    sessiondir /usr/share/xsessions/
    # Executed when pressing F11 (requires imagemagick)
    screenshot_cmd import -window root /slim.png
    # welcome message. Available variables: %host, %domain
    welcome_msg Welcome to %host
    # Session message. Prepended to the session name when pressing F1
    # session_msg Session:
    # shutdown / reboot messages
    shutdown_msg The system is halting...
    reboot_msg The system is rebooting...
    # default user, leave blank or remove this line
    # for avoid pre-loading the username.
    default_user ssfdust
    # Focus the password field on start when default_user is set
    # Set to "yes" to enable this feature
    #focus_password no
    # Automatically login the default user (without entering
    # the password. Set to "yes" to enable this feature
    #auto_login no
    # current theme, use comma separated list to specify a set to
    # randomly choose from
    #current_theme default
    current_theme parallel-dimensions
    # Lock file
    lockfile /var/lock/slim.lock
    # Log file
    logfile /var/log/slim.log
    Thx in advance
    Last edited by ssfdust (2013-11-16 05:12:29)

    To add to what sonoran posted above, you need to have xrdb load the settings in your ~/.Xresources.  When you use a DE, there are quite a few things that it might do for you depending on the existence (or absence) of a give configuration file. 
    I have no idea what things are specific to each DE, but I know that the Slim login manager is extremely simple and lightweight and does very little (if anything) automagically for you.  A good example of automagic coming from some of the display manager part of things is the locale settings.  In particular, they implement their own ways of handling setting your keyboard layout and language.  So going if you were to go from GDM to Slim, you would suddenly have the stuff in /etc/X11/xorg.conf.d honored, whereas in GDM, you would either have to use gconf or use setxkbmap at some point.

  • Can't send message unless imbed a picture first

    I just loaded Messages for iPad and have a problem sending a message or initially replying to a received message.
    The problem is that the message oval just shows subject (not the space below for a message) and the send button is dimmed. I experimented and found I can send a message or reply only if I would initially load a picture, then the message oval opens fully and the send button becomes active. All works normally once that picture was sent.
    If I leave the that message then return or try to start a new message, the same circumstances are present until I load a picture first. Will I have to send a stored picture initially to get Messages to work??????

    Go to Settings > General > Reset > Reset all settings.
    Then keep the Powerbutton and the Homebutton pressed at the same time until you see the Apple logo on your iPad screen.

  • Can I get Pages to automatically use the first words of my new document as the title of it, the way Word does?

    This s a very handy feature of Word that I would like to use also in Pages.

    Run this huge script :
    --{code}
    property title_len : 32
    tell application "Pages"
              tell document 1
                        set newName to (characters 1 thru title_len of body text) as text
              end tell
              set name of document 1 to (newName & ".pages")
    end tell
    --{code}
    Yvan KOENIG (VALLAURIS, France) samedi 13 août 2011 19:56:19
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • [SOLVED] makepkg -s with nested AUR deps on "userless" systems

    hi..
    so for the last two years i was able to solve every Arch Linux problem i had from infos around the wiki, the forum, etc. now i am stuck.
    here's the scenario:
    i am automating installation of a full systems for headless usage.
    no user required and/or wanted.
    this works perfectly until i need something special from the AUR.
    because if a package from the AUR has no dependencies we can run makepkg as user nobody:
    ..# sudo -u nobody makepkg
    but as soon as we need
    ..# sudo -u nobody makepkg -s
    to resolve dependencies from the AUR this fails. "nobody" has no password, therefore we can not sudo.
    my preferred idea would be to create a shortlived dummyuser. but how to get this dummy to behave correctly with creation and entering of the password without actual user interaction? (remember: headless automation)
    i would really like to avoid the special workaround of running my own build-server with all the packages i need on different target machines, putting those made packages somewhere on the internet and then be able to download them to the designated machine and "pacman -U" them there.
    i hope someone with a similar use-case can give me some hints.
    cheers,
    grubernd
    Last edited by grubernd (2015-05-16 17:17:58)

    thanks.
    progandy wrote:…or if you use su, then allow password-free su execution for the wheel group (/etc/pam.d/su) and…
    nice usage of su, will have to dig more into that and i should be able to not need sudo as an extra package.
    but i am really trying to avoid the NOPASSWD route for security reasons.
    apologies, i forgot to mention that in my original post.
    Trilby wrote:
    Why not just script it:
    source PKGBUILD
    pacman -S --asdeps $depends $makedepends
    sudo -u nobody makepkg
    thanks. seeing it written down differently showed me the flaw in my wishful thinking:
    makepkg can of course resolve dependencies but it cannot ever resolve dependencies where one package in the AUR requires another un-made package from the AUR. just doesn't work. that was the block i had.
    although not really beautiful i will just drill down the package-chain and resolve dependencies myself in the installer scripts.
    (marking thread as solved)

  • HT1918 I forgot my security question answers... Unless there case sensitive I'm not sure, how can i resolve this?

    I forgot my security question answers... Unless there case sensitive I'm not sure, how can i resolve this?

    The Three Best Alternatives for Security Questions and Rescue Mail
         1.  Send Apple an email request at: Apple - Support - iTunes Store - Contact Us.
         2.  Call Apple Support in your country: Customer Service: Contact Apple support.
         3.  Rescue email address and how to reset Apple ID security questions.
    A substitute for using the security questions is to use 2-step verification:
    Two-step verification FAQ Get answers to frequently asked questions about two-step verification for Apple ID.

  • Numbers 13 won't open my old files from Numbers 08 unless I first save them to 09 which I don't have. How can I resolve this?

    I have been using Numbers 08 on my early 2008 Mac Pro 2.8Ghz, 8 core and have have 5 years of documents in that format. I skipped Numbers 09 and when Numbers 13 wasn't available free like Pages 13 and Aperture 3, presumably because they were the immediatly previous upgrades, I bought Numbers 13. However it will not open any of my older documents, saying first I have to save them in Numbers 09. How can I resolve this? Will I have to buy Numbers 09 to recover all my documents?

    This would need to be posted in the Keynnote forum.  Not the Macbook hardware questions forum.

  • [SOLVED] Makepkg, install dependencies from AUR.

    Is it possible for makepkg to install the dependencies from AUR with makepkg -si?
    Last edited by lemanski6 (2012-09-20 18:05:38)

    Nope.  Many "AUR helpers" do this though.  In my limited experience yaourt seems to be one that handles this seemlessly, but I'd say it comes with some costs of hiding what is doing from the user.

  • solved error: cannot resolve dependencies for "hal"

    Hello all,
    I tried doing a pacman -Syu today and recieved the following: error: cannot resolve dependencies for "hal"
    Then I did a pacman -S dbus-glib and got : dbus-glib: not found in sync db
    then I did pacman -S dbus and recieved the same message.
    Then I did pacman -S hal and got:
    error: cannot resolve dependencies for "hal":
    "dbus-glib" is not in the package set
    Am I missing something? Any help would be greatly appreciated.
    Oh man, in my fleeting moment of panic I didn't think things through and posted right away.
    I commented the following lines in pacman.conf and now it works
    #XferCommand = /usr/bin/aria2c -s 2 -m 2 -o %o %u
    #XferCommand = /usr/bin/pacget %u %o
    Not too sure why, but I am happy all is working.
    Last edited by Cancel (2007-02-17 08:15:54)

    I followed this wiki and it did make a difference. It is still very fast downloading packages.
    http://wiki.archlinux.org/index.php/Imp … erformance
    I haven't had a chance to uncomment those lines again to see if it still gives me errors, but you might have luck trying what the wiki suggests.
    After following the wiki, pacman tries a bunch of servers to give you the best speed possible (if I remember correctly). I hope this helps you.

  • Pacman -Syu can't satisfy dependencies- needs a new kernel

    I don't understand this, as I always installed new kernels with pacman up until now. How come pacman won't update my system all of a sudden?
    sudo pacman -Syu
    :: Synchronizing package databases...
    testing is up to date
    core is up to date
    extra is up to date
    community is up to date
    archlinuxfr is up to date
    :: Starting full system upgrade...
    :: Replace libungif with extra/giflib? [Y/n] y
    :: Replace transmission with extra/transmission-cli? [Y/n] y
    :: Replace transmission with extra/transmission-gtk? [Y/n] y
    warning: cpufrequtils: forcing upgrade to version 004-1
    warning: vlc: forcing upgrade to version 0.8.6i-2
    warning: xf86-video-vesa: forcing upgrade to version 1.3.0-6
    resolving dependencies...
    looking for inter-conflicts...
    error: failed to prepare transaction (could not satisfy dependencies)
    [b]:: madwifi: requires kernel26<2.6.26
    :: wlan-ng26: requires kernel26<2.6.26[/b]
    Anybody willing to help out?

    rooloo wrote:
    the problem is not that the programs won't or couldn't work with 2.6.26 kernel.
    It's an issue with pacman, the madwifi and wlan-ng26 packages. They where built with a dependency line. In that line there is this value 'kernel26<=2.6.25'.  As u can imagine, if u want to install kernel 2.6.26 and some packages on the machine require kernel 2.6.25 or less then pacman will bitch about dependency issues. Even though both packages may work on 2.6.26.
    No, that dependency is correct, these two packages only work with kernel 2.6.25. In the general case, modules need to be rebuilt against a newer version of the kernel, and these packages had not yet been rebuilt at that time.
    But even without mentioning that, they don't even install in the same location : /lib/modules/2.6.25-ARCH vs /lib/modules/2.6.26-ARCH
    That is why it is not recommended to use the testing repository unless you want your system to break periodically.
    That is correct.
    Users using testing should be the ones helping out (on bug tracker, forum, mailing list, etc), not the ones asking for help...

  • Building package using makepkg does not resolve dependency for another

    I am trying to install yaourt from the AUR. Yaourt required that package-query be installed, and this package further required another, etc.
    In short, package-query required yajl, which I downloaded from the AUR. This package does not actually have a PKGBUILD, but rather un-tars into a file that you need to merge with /usr. After doing so I tried to make the package-query package but was still met with a dependency discrepancy. Luckily, yajl was available in the official repositories (same version). After using pacman to install it everything went fine and package-query built and installed fine.
    When I went to build yaourt, using makepkg, it failed and informed that I was missing a dependency, package-query.
    So, in short, is there a registry or something that keeps track of these installed packages? I imagine that when running makepkg there is a query against installed packages to see if you meet the dependency requirements. What can I do to build yaourt in this situation?
    Last edited by sherrellbc (2014-06-08 18:37:19)

    cower doesn't have any dependencies that are not in the official repositories.  It doesn't build packages automatically, but it will download the source tarballs and unpack them for you.  It can also handle dependencies with the official repos and the AUR. 
    So for example, if you were to do cower -dd yaourt it would tell you that gettext, diffutils, and pacman are in the official repos.  Then it would download the source tarball for package-query and resolve all of its dependencies.  And it would download the yauort source tarball and unpack that for you.  So it gives you an idea of what depends on what and in which order you should build and install.
    But you really just shouldn't use yaourt.  Many of the upgrade issues that arise on these forums stem from people using yaourt (particularly those who blindly run yaourt -Syua).  The pacaur I mentioned above is a bash script that wraps cower.  So it too should be able to be built and installed without having to resolve other AUR dependencies.
    Edit:
    But none of this is really answering the question though. When I make a package from the AUR, the dependency requirement when trying to install another package is never met. That is, if package A requires B and I then installed B (from the AUR), when I try to make A again it still informs me that B was never installed.
    If this is the case, then you really don't know how to properly use the AUR, and thus should be reading up on that rather than trying to work around it with an AUR helper.
    Last edited by WonderWoofy (2014-06-08 19:18:47)

Maybe you are looking for