[SOLVED] Query dependencies on a specific package

Hi,
I want to query a list of things that (implicitly or explicitly) depend on a specific package. For example, I want a list of all other packages that require the libx11 package. How can I do this?
Last edited by void.pointer (2009-02-12 23:42:16)

void.pointer wrote:
shining wrote:pacman -R libx11
Thanks! Perhaps if there was a query command to do the same thing it would be a little more intuitive After all, it *is* a query. I didn't actually want to remove it, so i never thought to look into -R.
Sorry for the misinformation. You actually need to do "pacman -Rc libx11" to see all the parents.
pacman -R libx11 just tells you the first-level parents (package which depend directly on libx11), but for seeing these packages you can just do pacman -Qi libx11 and look at "required by".

Similar Messages

  • [SOLVED] pacman: grep database for specific packages?

    $ pacman -Ss zsh
    extra/grml-zsh-config 0.9.1-1
    grml's zsh setup
    extra/zsh 5.0.2-4 [installed]
    A very advanced and programmable command interpreter (shell) for UNIX
    community/zsh-lovers 0.8.3-2
    A collection of tips, tricks and examples for the Z shell.
    community/zshdb 0.08-2
    A debugger for zsh scripts.
    $ pacman -Ss zsh | cut -s -d/ -f2 | grep '^zsh ' | cut -d' ' -f1
    zsh
    I'm trying to grep pacman output for a specific packages (not just zsh) and receive only the package name as it was passed to pacman as a output (if it exists in the repos that is, otherwise blank / exit 1). The above command works fine in the terminal but when I'm trying to use it from a bash script it only returns blanks. How come?
    Simplified version of the script:
    tank (zsh ksh)
    for x in ${tank[*]}; do
    echo $x
    present=$(pacman -Qs ${x} | cut -s -d/ -f2 | grep '^${x} ' | cut -d' ' -f1)
    echo $present
    done
    I expect it to return output of a pacman command in the second echo (or blank if there's no packgae like that).
    edit: change of title.
    2nd edit: added simplified script.
    Last edited by thoajdzm (2013-11-16 14:34:59)

    Raynman wrote:
    And consider using
    $ pacman -Ssq '^zsh$'
    instead of that pipeline.
    Brilliant! Much leaner. However it still doesn't work from a script:
    tank=(zsh)
    for x in ${tank[*]}; do
    echo $x
    present=$(pacman -Ssq '^${x}$')
    echo $present
    done
    Second echo returns blank... Am I quoting something wrong?

  • [solved] Obtaining sources for a specific package version (freetype2)

    I am currently trying to understand a problem that I have with freetype2. The problem occurs whith a propietary program (Mentor Graphics Questa) after updating from freetype2-2.5.0.1-1-x86_64 to freetype2-2.5.0.1-2-x86_64. Please see my forum post at:
    http://communities.mentor.com/mgcx/message/46777
    At the moment I am using a local version of the library when running Questa, but I would like to know why the update breaks compatibility. When I run a diff between the two binary packages, I get:
    Binary files 1/.MTREE and 2/.MTREE differ
    diff -r 1/.PKGINFO 2/.PKGINFO
    1,3c1,3
    < # Generated by makepkg 4.1.1
    < # using fakeroot version 1.19
    < # Wed Jun 19 22:44:50 UTC 2013
    > # Generated by makepkg 4.1.2
    > # using fakeroot version 1.20
    > # Fri Oct 11 16:47:15 UTC 2013
    5c5
    < pkgver = 2.5.0.1-1
    > pkgver = 2.5.0.1-2
    8c8
    < builddate = 1371681890
    > builddate = 1381510035
    10c10
    < size = 1777664
    > size = 1781760
    15a16
    > depend = libpng
    Binary files 1/usr/lib/libfreetype.so and 2/usr/lib/libfreetype.so differ
    Binary files 1/usr/lib/libfreetype.so.6 and 2/usr/lib/libfreetype.so.6 differ
    Binary files 1/usr/lib/libfreetype.so.6.10.2 and 2/usr/lib/libfreetype.so.6.10.2 differ
    This doesn't tell me a lot, except that a dependency on libpng was added. Then I tried to get the sources for the two versions. I looked at:
    https://projects.archlinux.org/svntogit … /freetype2
    Unfortunately I only see a commit for 2.5.0.1, without the "-1" or "-2" by which the aforementioned versions differ. I couldn't find an explanation as to what these version suffixes mean. Is there a way to find out what exactly the difference between the two packages is?
    Last edited by tgessler (2013-12-18 13:18:05)

    µ ² wrote:AFAIK, those numbers are PKGBUILDs pkgrel.
    That's right https://wiki.archlinux.org/index.php/Pkgbuild#pkgrel
    tgessler wrote:The problem occurs whith a propietary program (Mentor Graphics Questa) after updating from freetype2-2.5.0.1-1-x86_64 to freetype2-2.5.0.1-2-x86_64.
    https://projects.archlinux.org/svntogit … 613eaaae18
    Last edited by karol (2013-12-18 12:51:43)

  • RQL Query to get the specific range of product items from product catalog.

    Hi All,
    I need to do the batch wise query to product catalog.
    For that i have use Query builder but that is giving me repeated items, now i wanted to use RQL using rqlStatement.
    Please help me in solving the issue.
    Query which i have used using QueryBuilder.
                    RepositoryView productView = productRepo.getView("product");          
                    QueryBuilder productBuilder = productView.getQueryBuilder();
                    Query productQuery = productBuilder.createUnconstrainedQuery();           
                    RepositoryItems[] productItems = productView.executeQuery(productQuery,startIndex,endIndex);
    Can anybody help me in writing RQL Query to get the specific range of product items from product catalog.

    Hi Shakuntala,
    There is no executeQuery method defined in RqlStatement Interface, which will accept index for output result.
    So As far as I know, what u are trying to achieve is not possible with RQL statements OOTB way.U can consider range of results based on some condition from Repository items.
    Please let me know if u find any way to implement it.
    Above Query builder should always return different ids if range is not overlapping with previous range.
    Please verify that repeated items ids are same or different,
    Quoting from API docs:
    RepositoryItem[] executeQuery(Query pQuery,
                                  int pStartingIndex,
                                  int pEndingIndex)
                                  throws RepositoryException
        Executes the given query and returns an array of matching RepositoryItems, which are contained within a total potential result set. For example used if one wanted to retrieve elements 50-60 from a query which could return 100 elements.
    Regards,
    Nitin.

  • BPF: Run Specific Package vs Run Specific Package for PackageExecution

    Simple question:what is the difference?
    I used Run Specific Package in the BPF setup, but the package does not launch upon testing
    When I use Run Specific Package for PackageExecution it works...

    Hi Nilanjan,
    Can you through some more details or the difference between Run Specific Package & Run Specific Package for PackageExecution.
    Thanks in advance.
    Raghu B.S.

  • [SOLVED] Can Pacman Manage My Custom Packages

    I am going to make a custom build of MPlayer because I want it patched to take advantage of the Compiz Video plugin.  I think I might enable a couple other options that are disabled as well.  The thing I'm not sure of is how pacman will react to my package.  I know I can install it with pacman, but when a new official MPlayer package is released in the repos, will it update it and override my custom package?  If so, I thought it might help if I changed the package name, but then I thought that might mess up dependency tracking.  For instance, if I make a custom package of which other packages rely on, will those other packages be able to see mine and list the dependency as fulfilled?
    Basically I want a way for my system to see my custom package as something that can fulfill dependencies for other official packages that might rely on that particular program.  But at the same time I don't want it overridden when a new official package comes out since it likely won't contain the options I want enabled.  If it would give a message indicating a new version is available but not install it, that would really help.  Is this possible, and what would be the best way to handle this?
    Last edited by nLEyETn (2008-10-06 06:44:47)

    Thanks, that seems to be just what I was looking for
    Last edited by nLEyETn (2008-10-06 06:45:11)

  • Delete distribution point in specific package

    I need to delete already assign distribution points for specific package. Basically need to remove distribution point and add different distribution point to selected package . since sms_distributionPoint status property read only I cant change it to 3 (delete)
    . How can I do using C#.

    I already tried this. But it want allow me to delete. that explain under  (http://msdn.microsoft.com/en-us/library/cc144580.aspx) "When your application deletes an instance of
    SMS_DistributionPoint, the instance is not totally deleted until its related components are deleted. Instead, Configuration Manager sets the
    Status property to 3 (delete) to inform the application that the distribution point is marked for deletion". I cant update it to status 3 since status property is read only.
    I tried to do this several ways but didn't get true it. If you have any experience with this please send me the sample code.

  • [SOLVED] Adopting an out-of-date package

    Two questions:
    1) It's been a year since any updates were done on the package I needed to install today, and I mistakenly assumed that because it had been flagged out-of-date I'd be able to adopt it after I cleaned things up and rebuilt it.  I just sent the current owner a message asking him to disown the package so I could adopt it, but I was curious what the SOP for taking over out-of-date packages that haven't been disowned (they might not respond, and it'd be relevant to know what further steps I need to take regardless).
    2) I remember reading somewhere that it took 10 or 20 votes to get a package from the AUR to community, but the package I was working with had well over that.  What exactly is the current procedure that allows a package to graduate from the AUR to community?
    Cheers,
    ~Vry
    Last edited by Vryali (2011-11-04 19:22:40)

    Vryali wrote:I didn't want to be potentially affrontory toward the current listed maintainer, who has only had a day at this point to get back to me (nor does it seem the specific package has any actual relevance since the questions were mainly procedural).
    That's what I thought :-) I too wanted to ask you which package exactly you had in mind, but as the rules apply to all of them, I think it's not strictly necessary.
    Talking about some loosely-defined hypothetical situation makes me uneasy because there may be some gotchas or special cases involved, so it's best to be as specific as possible (but you probably know that).

  • How can I limit SocketPermission to a specific package?

    Hi!
    Is it possible to give a java.net.SocketPermission to a specific package or class name? I don;t want the permission to be global.
    If yes which is the security policy syntax?
    Thank you in advance, Kostas

    You can't, that's not what it does.

  • Run Specific Package through BPF

    Hi all,
    Am trying to run a Copy package through BPF but it gives me following error:
    "Package does not exist or you do not have authority to run the package".
    I can run the package directly from DM so its not an Authorization issue.
    Here is the following seeting:
    Interface: Data Manger
    Tasks: Run Specific Package
    PACKAGE : Copy
    FILE: /CPMB/COPY
    TEAM: Company
    GROUP: Data Management
    Under Owner property is my full qualified username.
    I am not able to figure out what am I missing here.
    Please help.
    Diksha.

    Hi Diksha,
    More two good clues:
    Run Package from BPF
    Run spefici package from BPF
    Please let me know if these help.
    Regards,
    Vin

  • BPF - Run Specific Package

    Hi,
    We were trying to setup a BPF in BPC 7.5 to run a data manager package. In one of the steps, we set the interface to DATA MANAGER and the task to RUN SPECIFIC PACKAGE but we were unsure of what parameter values to use for FILE?
    I tried using the process chain name, logic file name, and the package name...each time the BPF step is clicked on, it just says "package file does not exist".
    Does any one have a suggestion?
    Regards,
    Nikunj

    Hi,
    Try the following steps:
    Goto BPC Excel :
    Manage Data> Maintain data Management>Manage Packages(organize list)
        Select requried package --> right click select Modify Package
    Note down Process Chain, Package name and Group from Modify Package window.
    1) Maintain Action detail parameters as follows :
    PACKAGE : <Package name>
    FILE : <Process chain>
    TEAM : <Team>
    GROUP : <Group>
    Eg:
    PACKAGE : Copy   
    FILE : /CPMB/COPY
    TEAM : Company    
    GROUP : Data Management  
    2) save the changes and close it
    3) create a new instance for the changing
    4) active the new instance
    5) run the BPF again to find the result
    hope it helps..
    regards,
    Raju

  • Roll back to previous version of specific package

    I have a general question. I recently upgraded with pacman -Syu and my lighttpd is now broken. Is there a way to simply roll back to the previous version of a specific package? Thanks!

    see if the older package is still in /var/cache/pacman/pkg. If you find it, which you hsould be able to unless you ran pacman -Sc at an inopportune moment, you can install with pacman -U /var/cache/pacman/pkg/pkgname.pkgver.pkg.tar.gz

  • [solved] How to source a specific commit in a Git package?

    Hi there,
    I wonder whether it is possible to use a certain Git commit in the source array of a package.
    Example:
    freshplayerplugin-git
    For debugging purposes I would like to use the commit
    8ff0bd0282205802c482c7d47f216feb0d3394a9
    I tried the following in the source array and it successfully built the package:
    source=('git://github.com/i-rinat/freshplayerplugin.git#commit=8ff0bd0282205802c482c7d47f216feb0d3394a9')
    However, I have no idea how to detect whether it actually built from the specific commit or just skipped the #commit appending.
    Does anyone know how to source a specific commit?
    Thanks ahead!
    Last edited by orschiro (2014-07-17 11:21:17)

    Correct syntax for Git repository as a source would be:
    source=('git+https://<repo-url>#[commit|tag|branch]=<ref>')
    To verify it's building correct tree, and moreover to keep sane when dealing with multiple trees I like following pkgver (check https://wiki.archlinux.org/index.php/VC … Guidelines):
    pkgver() {
    cd "$srcdir/<repo-name>"
    printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
    producing something like:
    <package-name-git>-r4.34e558d-1-any.pkg.tar.xz
    Also just going to fetched Git tree and checking out what's there is an option (look for makepkg branch), for example:
    $ git show-ref
    34e558d2ef8b2cae212da3ab3f74513a99f9ee1b refs/heads/makepkg
    86350ab5a3a209de4339ef04d75d27c7bd399746 refs/heads/master
    86350ab5a3a209de4339ef04d75d27c7bd399746 refs/remotes/origin/HEAD
    86350ab5a3a209de4339ef04d75d27c7bd399746 refs/remotes/origin/master
    Last edited by mkoskar (2014-07-17 09:13:11)

  • [Solved] Update of one of the packages requires java-runtime-openjdk

    Hi.
    I wanted to perform a system update today but what I encountered is that one of the packages wants specifically a java-runtime-openjdk instead of java-runtime.
    I wonder what package and why. I don't want to install openjdk since I use an Oracle JDK.
    How do I find out what package wants openjdk?
    The list of outdated packages is a bit long.
    pacman -Qu
    adwaita-icon-theme 3.16.0-1 -> 3.16.0-2
    akonadi 1.13.0-3 -> 1.13.0-4
    apr 1.5.1-1 -> 1.5.2-1
    attica-qt5 5.9.0-1 -> 5.10.0-1
    boost-libs 1.57.0-4 -> 1.58.0-1
    cracklib 2.9.1-1 -> 2.9.4-1
    dhcpcd 6.8.1-1 -> 6.8.2-1
    dnssec-anchors 20140629-1 -> 20150403-1
    fontforge 20150330-1 -> 20150430-1
    gawk 4.1.1-1 -> 4.1.2-1
    gegl 0.2.0-14 -> 0.2.0-15
    gimp 2.8.14-1 -> 2.8.14-2
    git 2.3.6-1 -> 2.4.0-1
    gnupg 2.1.3-2 -> 2.1.3-3
    gnutls 3.4.0-1 -> 3.4.1-1
    gpgme 1.5.3-1 -> 1.5.4-1
    gtk-update-icon-cache 2.24.27-1 -> 2.24.27-2
    gtk2 2.24.27-1 -> 2.24.27-2
    icedtea-web 1.5.2-1 -> 1.6-1
    ilmbase 2.1.0-1 -> 2.2.0-1
    imagemagick 6.9.1.0-1 -> 6.9.1.0-2
    kactivities-frameworks 5.9.0-1 -> 5.10.0-1
    karchive 5.9.0-1 -> 5.10.0-1
    kauth 5.9.0-1 -> 5.10.0-1
    kbookmarks 5.9.0-1 -> 5.10.0-1
    kbproto 1.0.6-2 -> 1.0.7-1
    kcmutils 5.9.0-2 -> 5.10.0-1
    kcodecs 5.9.0-1 -> 5.10.0-1
    kcompletion 5.9.0-1 -> 5.10.0-1
    kconfig 5.9.0-1 -> 5.10.0-1
    kconfigwidgets 5.9.0-1 -> 5.10.0-1
    kcoreaddons 5.9.0-1 -> 5.10.0-1
    kcrash 5.9.0-1 -> 5.10.0-1
    kdbusaddons 5.9.0-1 -> 5.10.0-1
    kde-gtk-config 2.2.1-2 -> 5.3.0-3
    kdebase-dolphin 15.04.0-2 -> 15.04.0-3
    kdebase-kdepasswd 15.04.0-2 -> 15.04.0-3
    kdebase-kdialog 15.04.0-2 -> 15.04.0-3
    kdebase-keditbookmarks 15.04.0-2 -> 15.04.0-3
    kdebase-kfind 15.04.0-2 -> 15.04.0-3
    kdebase-konq-plugins 15.04.0-2 -> 15.04.0-3
    kdebase-konqueror 15.04.0-2 -> 15.04.0-3
    kdebase-lib 15.04.0-2 -> 15.04.0-3
    kdebase-plasma 15.04.0-2 -> 15.04.0-3
    kdeclarative 5.9.0-1 -> 5.10.0-1
    kded 5.9.0-1 -> 5.10.0-1
    kdelibs 4.14.7-1 -> 4.14.7-3
    kdelibs4support 5.9.0-1 -> 5.10.0-1
    kdesignerplugin 5.9.0-1 -> 5.10.0-1
    kdewebkit 5.9.0-1 -> 5.10.0-1
    kemoticons 5.9.0-1 -> 5.10.0-1
    kglobalaccel 5.9.0-1 -> 5.10.0-1
    kguiaddons 5.9.0-1 -> 5.10.0-1
    ki18n 5.9.0-1 -> 5.10.0-1
    kiconthemes 5.9.0-1 -> 5.10.0-1
    kidletime 5.9.0-1 -> 5.10.0-1
    kimageformats 5.9.0-1 -> 5.10.0-2
    kinit 5.9.0-1 -> 5.10.0-1
    kio 5.9.0-1 -> 5.10.0-1
    kitemmodels 5.9.0-1 -> 5.10.0-1
    kitemviews 5.9.0-1 -> 5.10.0-1
    kjobwidgets 5.9.0-1 -> 5.10.0-1
    knewstuff 5.9.0-1 -> 5.10.0-1
    knotifications 5.9.0-1 -> 5.10.0-1
    knotifyconfig 5.9.0-1 -> 5.10.0-1
    kpackage 5.9.0-1 -> 5.10.0-1
    kparts 5.9.0-1 -> 5.10.0-1
    kplotting 5.9.0-1 -> 5.10.0-1
    kpty 5.9.0-1 -> 5.10.0-1
    kservice 5.9.0-1 -> 5.10.0-1
    ktexteditor 5.9.0-1 -> 5.10.0-1
    ktextwidgets 5.9.0-1 -> 5.10.0-1
    kunitconversion 5.9.0-1 -> 5.10.0-1
    kwallet 5.9.0-1 -> 5.10.0-1
    kwidgetsaddons 5.9.0-1 -> 5.10.0-1
    kwindowsystem 5.9.0-1 -> 5.10.0-1
    kxmlgui 5.9.0-1 -> 5.10.0-1
    lib32-gnutls 3.3.13-1 -> 3.4.0-2
    lib32-libcups 2.0.2-1 -> 2.0.2-2
    lib32-libdrm 2.4.60-1 -> 2.4.61-1
    lib32-libpciaccess 0.13.3-1 -> 0.13.4-1
    lib32-libvorbis 1.3.4-1 -> 1.3.5-1
    lib32-mesa 10.5.4-1 -> 10.5.5-1
    lib32-mesa-libgl 10.5.4-1 -> 10.5.5-1
    lib32-nettle 2.7.1-1 -> 3.1.1-1
    libass 0.12.1-1 -> 0.12.2-1
    libassuan 2.1.3-1 -> 2.2.0-1
    libbluray 0.7.0-1 -> 0.8.0-1
    libdrm 2.4.60-2 -> 2.4.61-1
    libedit 20141030_3.1-1 -> 20150325_3.1-1
    libevdev 1.4.1-1 -> 1.4.2-1
    libfontenc 1.1.2-1 -> 1.1.3-1
    libgpg-error 1.18-1 -> 1.19-1
    libkolabxml 1.1.0-1 -> 1.1.0-2
    libksba 1.3.2-1 -> 1.3.3-1
    libmariadbclient 10.0.17-2 -> 10.0.18-2
    libmm-glib 1.4.6-1 -> 1.4.8-1
    libnm-glib 1.0.0-2 -> 1.0.2-3
    libpciaccess 0.13.3-1 -> 0.13.4-1
    librsvg 1:2.40.9-1 -> 1:2.40.9-2
    libsecret 0.18-1 -> 0.18.2-1
    libsodium 1.0.2-1 -> 1.0.3-1
    libssh 0.6.4-1 -> 0.6.5-1
    libtasn1 4.4-1 -> 4.5-1
    libtirpc 0.2.5-1 -> 0.3.0-1
    libuv 1.4.2-1 -> 1.5.0-1
    libwbclient 4.2.0-2 -> 4.2.1-1
    libxaw 1.0.12-1 -> 1.0.13-1
    libxkbfile 1.0.8-2 -> 1.0.9-1
    libxrender 0.9.8-1 -> 0.9.9-1
    libxt 1.1.4-1 -> 1.1.5-1
    linux 3.19.3-3 -> 4.0.1-1
    linux-firmware 20150206.17657c3-1 -> 20150410.ec89525-1
    lv2 1.10.0-1 -> 1.12.0-1
    man-pages 3.83-1 -> 4.00-1
    mariadb 10.0.17-2 -> 10.0.18-2
    mariadb-clients 10.0.17-2 -> 10.0.18-2
    mercurial 3.3.3-1 -> 3.4-1
    mesa 10.5.4-1 -> 10.5.5-1
    mesa-libgl 10.5.4-1 -> 10.5.5-1
    nettle 3.1-1 -> 3.1.1-1
    nodejs 0.12.2-3 -> 0.12.2-4
    npth 1.1-1 -> 1.2-1
    openexr 2.1.0-1 -> 2.2.0-2
    pciutils 3.3.0-1 -> 3.3.1-1
    pcre 8.36-2 -> 8.37-1
    pinentry 0.9.0-1 -> 0.9.1-1
    qt4 4.8.6-5 -> 4.8.6-6
    qt5-base 5.4.1-3 -> 5.4.1-6
    qt5-declarative 5.4.1-3 -> 5.4.1-6
    qt5-imageformats 5.4.1-3 -> 5.4.1-6
    qt5-location 5.4.1-3 -> 5.4.1-6
    qt5-script 5.4.1-3 -> 5.4.1-6
    qt5-sensors 5.4.1-3 -> 5.4.1-6
    qt5-svg 5.4.1-3 -> 5.4.1-6
    qt5-webchannel 5.4.1-3 -> 5.4.1-6
    qt5-webkit 5.4.1-3 -> 5.4.1-6
    qt5-x11extras 5.4.1-3 -> 5.4.1-6
    qt5-xmlpatterns 5.4.1-3 -> 5.4.1-6
    readline 6.3.006-1 -> 6.3.008-1
    rpcbind 0.2.2-2 -> 0.2.3-1
    s-nail 14.7.11-1 -> 14.8.0-1
    seabios 1.7.5-2 -> 1.8.1-1
    smbclient 4.2.0-2 -> 4.2.1-1
    solid 5.9.0-1 -> 5.10.0-1
    sonnet 5.9.0-1 -> 5.10.0-1
    talloc 2.1.1-1 -> 2.1.2-1
    threadweaver 5.9.0-1 -> 5.10.0-1
    tzdata 2015c-1 -> 2015d-1
    vi 1:050325-4 -> 1:070224-1
    virtualbox-host-modules 4.3.26-5 -> 4.3.26-6
    vlc 2.2.1-2 -> 2.2.1-3
    wine 1.7.41-1 -> 1.7.42-2
    wpa_supplicant 2.4-1 -> 1:2.3-1
    Thanks
    Last edited by Doctor Drive (2015-05-12 11:09:31)

    Trilby wrote:Please provide the actual output or error message.
    It was
    resolving dependencies...
    :: There are 2 providers available for java-runtime-openjdk:
    :: Repository extra
    1) jre7-openjdk 2) jre8-openjdk
    Which means something wanted to install java-runtime-openjdk, which I don't want on my machine.
    karol wrote:https://www.archlinux.org/packages/extr … edtea-web/ depends on java-runtime-openjdk, but this hasn't changed recently.
    It's probably due to it hadn't updated for a while so I found it out only now.
    I've had openjdk before and it probably installed icedtea-web as a dependency.
    Some time ago I forced-removed openjdk and installed Oracle JDK from AUR instead assuming that all the packages that required java-runtime won't get their dependencies twisted.
    I did not know that there is a java-runtime-openjdk dependency as well.
    Now it makes sense.
    Thanks
    Last edited by Doctor Drive (2015-05-12 11:13:43)

  • [SOLVED] No up-to-date bootsplash packages? (splashy & fbsplash...)

    Not sure if this should go here, but this is my first post, so I'm putting it in the Newbie Corner.
    The bootup is probably the buggiest/half-finished-looking part of the OS after following the beginner's installation guide, so I think it would be good to have a way to make a decent working bootsplash maintained somewhere (from what I've read, these sorts of things stay in the AUR because they are rather arch specific, so not arguing for something put into the main repos).  So I checked the wiki page about bootsplash: https://wiki.archlinux.org/index.php/Bootsplash
    There's four listed, but unfortunately none of them seem like solid candidates.  Splashy has a couple of errors that have gone unfixed (last comment about what I'm going to cover was listed about a month ago), fbsplash suffers from a similar problem (again, last report about a month ago), and plymouth is said to be "under heavy development and may contain bugs."  I haven't tried the xsplash-bzr, but it's several years old and has no documentation, not to mention that the short description of it suggests it is ubuntu-specific.
    SPLASHY
    On splashy I tried to patch the file for automake-1.14 (the pkg looks exclusively for automake-1.13, which doesn't seem to be in the AUR).  Overriding the checksum seemed to at least make that part functional, but then I got the following error:
    checking for automake >= 1.13...
      testing automake-1.13... not found.
    ***Error***: You must have automake >= 1.13 installed
      to build Package.  Download the appropriate package for
      from your distribution or get the source tarball at
        http://ftp.gnu.org/pub/gnu/automake/aut … .13.tar.gz
    I'm not sure if this was ultimately fatal.  The problem is, it kept running until reaching the following:
    Checking for forbidden M4 macros...
    ***Error***: some autoconf macros required to build Package
      were not found in your aclocal path, or some forbidden
      macros were found.  Perhaps you need to adjust your
      ACLOCAL_FLAGS?
    I'm really not sure how to fix this, and moreover even if I do, that's another thing I'm overriding the checksum for.  Doesn't sound like a very clean or simple workaround.
    FBSPLASH
    On this one, the error is not the file itself, but rather one of its dependencies.  The issue comes in with '/usr/lib/libfreetype.a' not existing, though I have all the dependencies in and up-to-date.
    ==> Starting build()...
    make[1]: Entering directory `/home/patrick/.build/miscsplashutils/src/miscsplashutils-0.1.8/fbtruetype'
    gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/freetype2 -Wl,-O1,--sort-common,--as-needed,-z,relro -L/usr/lib -o fbtruetype -Wl,-O1,--sort-common,--as-needed,-z,relro -L/usr/lib fbtruetype.o messages.o console.o ttf.o luxisri.o -lfreetype -lm
    gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/freetype2 -Wl,-O1,--sort-common,--as-needed,-z,relro -L/usr/lib -static -o fbtruetype.static -Wl,-O1,--sort-common,--as-needed,-z,relro -L/usr/lib fbtruetype.o messages.o console.o ttf.o luxisri.o /usr/lib/libfreetype.a /usr/lib/libz.a /usr/lib/libbz2.a -lm
    gcc: error: /usr/lib/libfreetype.a: No such file or directory
    make[1]: *** [fbtruetype.static] Error 1
    make[1]: Leaving directory `/home/patrick/.build/miscsplashutils/src/miscsplashutils-0.1.8/fbtruetype'
    make: *** [all] Error 2
    ==> ERROR: A failure occurred in build().
        Aborting...
    I'm not sure what exactly is going on here, but according to the latest comment...
    "Since freetype2 doesn't provide the static libs anymore, the compilation fails:
    ... [error I got]...
    Note that patching fbtruetype/Makefile once again, removing the static compilation, is enough for this package but it doesn't seem a good workaround because fbsplash doesn't compile anymore always 'cause freetype2. I think you need to provide a static version of freetype2."
    I'm not really sure which is easier, which would lead to the more sophisticated result, which is more supported, etc., so excuse the rather diffuse presentation.  The main issue is that I don't know how to get a working bootsplash, and not for wont of trying.  That said, I would also like to know whether it'd be appropriate to make the bootsplash issue more integrated with the rest of the basic installation (like with post installation issues regarding window managers or something).
    Last edited by dy acedia (2013-07-31 15:44:41)

    If you want a totally silent boot, you just need to have the "quiet" boot parameter.  Then you need to tell the [email protected] to log to the journal instead of the console.  Though it is probably a good idea to have it push the output to the console when there are errors.  So to achieve that, you would do something like:
    $ cat /etc/systemd/system/[email protected]/silent.conf
    [Service]
    StandardOutput=journal
    StandardError=journal+console
    You may need to do something similar with systemd-fsck-root.service.
    After that the only thing that should be logging to your console would be the fsck inside the initramfs.  Unfortunately, I don't think that silencing this is quite as straight forward as the rest. This is because the "fsck" mkinitpcio hook (which you should be using BTW... unless you use btrfs) is just a shell script.  So you would have to modify the hook itself in /usr/lib/initcpio.  But I guess if you just redirected stdout (1) to /dev/null and not stderr (2), then you should achieve the same sort of effect as with the modification to the [email protected] where it will only show you if there is something wrong.
    Honestly, I don't really see all this as being totally worth the time and effort, especially since that initcpio hook is going to be overwritten by any mkinitpcio update.  But just in case you wanted to get going on making a silent boot, there is how to get started.  Honestly, I think a silent boot is much more sane than a boot splash that shows for a split second.
    Oh yeah, and I'm not sure how the coming changes to mkinitpcio might affect what I just told you above.  The version in [testing] gives the option to use systemd in the initramfs.  So I'm not sure how the "fsck" hook would play into that.  In any case, I use btrfs, so I don't use the "fsck" hook anyway...

Maybe you are looking for