Packages depending on other repositories

Hi,
Is it reasonable for a package from a higher order reposeitory to depend on a package from a lower order repository?
For example networkmanager from extra depends on libnewt from community.
Or evolution from extra depends on gtkspell3 from community.
So if we disable community then some packages from extra would have unresolvable dependencies.
Thanks
Last edited by zharf (2014-08-03 20:33:45)

Hi,
karol wrote:
In https://bugs.archlinux.org/task/38227
Allan wrote:It has been well established that we do not much care about the repo hierarchy.
So why community or AUR exist and why not let trusted users maintain packages in core and extra?
IMO obeying the law is mandatory for the ruler.
Thanks

Similar Messages

  • Why does the 'cairo' package depend against 'mesa'?

    I get why the 'cairo' package depends on 'libgl', but does anyone know why it depends on 'mesa', too?
    As a nvidia user, I'd really prefer not to have to install all of 'mesa' (and everything that it depends on).
    P.S.: Lacking a better place I'm posting here since this was triggered by the recent 'libgl' merge with 'mesa'.

    Meyithi wrote:
    https://bbs.archlinux.org/viewtopic.php?id=158744
    I don't know, neither does anybody else...
    I'm guessing that nvidia-utils/lib32-nvidia-utils needs to somehow provide something that stops us having to pull in all of the crud but it's a guess as even the devs don't seem to have worked it out.
    I did read that thread but it didn't seem strictly relevant, though it does explain what mesa has to do with all this.
    What I'm actually asking is why we are requiring mesa for cairo (which we are compiling ourselves), since it is seems to be optional [1]. For example, neither Debian nor Ubuntu seem to require mesa for cairo.
    [1] http://www.linuxfromscratch.org/blfs/vi … cairo.html

  • Package Dependency

    Hi ,
    I have spent quite some time going thru all the forum post's. (Some quite old, since 1998, I believe..)
    Please do let me know if there is any way in which I can track the ("soft") dependency between procedures which are in different packages.
    I understand that there is no direct dependency (no re-compilation of other procedure on the change of a particular procedure)
    The problem here is that there are sections in the application which require that you call procedures which lie in other packages. (The other option being to create a replica of the procedure, which creates maintenance issues....changing of the code in multiple places , not to mention, basic reusability going for a toss..)
    Please do let me know if there is any way of generating a report of dependencies between procedures which lie in separate packages. This would greatly aide in huge projects.
    Also , this issue has been there long enough and I believe if it has not been addressed already, the same should be done so ASAP by Oracle...(Larry , are u listening ?)
    thanking in advance....

    pacman always tells you what packages are going to be installed when you update your system.
    Yes, sometimes dependencies do change.
    pacman -Qdt
    ...can be used to search for 'orphaned' dependencies... But be careful.
    Remember, pacman doesn't do 'everything'. It's your job to maintain your own system.

  • How can I calculate the value of the cell, which depends on other rows?

    Hi, all!
    I have an application with table. In this table i have calculate some fields, that doesn't exists in data class and depends on other row values, e.g. current row number, or sum of previous rows. How can i calculate this values in TableView?
    The problem is that I have no information about the current row number in the cell value factory.
    Example:
    public class Transaction {
         public String getName();
         public BigInteger getAmount();
    } // There is no getter for "Balance"
    Result table should be something like this:
    Name
    Amount
    Balance
    transaction1
    300
    300
    transaction2
    200
    500
    transaction3
    500
    1000
    Also, after sorting by "Amount", "Balance" should be recalculated:
    Name
    Amount
    Balance
    transaction3
    500
    500
    transaction1
    300
    800
    transaction2
    200
    1000

    Strings can be converted to numbers by various parse methods. For instance Strings can be converted to double via Double.parseDouble(myString).
    That being said, it appears that your textfield will contain numbers and operators, and so these operators will need to be parsed too. I would advise you to search on the terms Java infix postfix.

  • Using SEARCH HELP exit in dependency of other parameters from my dynpro.

    Hello experts,
    how can I access the values of input fields (parameters or select-options) from my dynpro?
    I need to build a F4-help in dependencie of another field on the screen with help of the F4 - exit. I think this should be possible.
    If I do test the search help with SE11 it works fine. All parameters from screen are given in SHLP_TAB[1]-INTERFACE (the parameter of my f4-help-exit)
    The short example explains the problem more detailed.
    REPORT  test_dynpro_events_ck.
    PARAMETERS ea1 TYPE my_char_10_ck DEFAULT 'here I push F4' MATCHCODE OBJECT MY_F4_HELP_CK.
    PARAMETERS ea2 TYPE my_char_10_ck DEFAULT 'this is the value I need to generate the F4 help of field ea1'.
    MY_F4_HELP_CK:
    import: EA1 and EA2
    export EA1
    Many Thanks
    Christian

    Thank you so far.
    But how are these parameters passed to the search help without using global set/get parameters or DYNPRO_READ_VALUE? Why can I put these parameters to my search help as input parameters ... seems to be useless if I use search help on Selection-Dynpros?
    Is there not a better way to deal with search-helps which are dependent from other input fields? Btw. I need the value without passing PAI and PBO.
    In my Example:
    doing some text inputs in field EA2 -> hit search help on EA1 -> need a selection dialog in dependency of the input in EA2. This can not be that complicated?
    Many thanks
    Christian

  • One Target column depending on other target column in ODI.

    I have a scenario in which one Target column is depending on other target column in ODI.
    for ex:
    Target Table:
    EDBT EDLN
    sss 1
    sss 2
    abc 1
    sss 3
    In short,EDLN will maintain sequence for repeating values of EDBT.
    Is there any solution?

    Yes, it's possible. But more difficult and unsupportable.
    How to do this:
    1. Create view and lookup on it in interface LKP_TARGET
    select EDBT, max (EDLN) MAX_EDLN from Target2. From source select VIEW_SOURCE
    select EDBT, row_number() over (partition by EDBT order by ??date??) RN from Source3. In target expression (Quick-edit tab)
    EDLN = LKP_TARGET.MAX_EDLN + 1 + VIEW_SOURCE.RN

  • Payroll: One Element Input Value dependent on Other Input Value

    Hi Guys
    Can we defined an input value in an element that is dependent on other input value. e.g. say when I am creating an entry to make accrual adjustments, converting 100 Annual Hours to 20 sick hours, I want users to enter 100 and 20 should be reflected automatically.
    Is this possible.

    I'm afraid you need a customization for this. I guess a forms personalization will not help you out. Or you enter it via an SIT (with the behavior stated), and you route that data to the element entry (via a user hook).

  • 2 files in same package and depends each other need import package??

    test1.java and test2.java are in the same package mypackage,
    and test1.java will call methods in test2.java, does it mean
    test1.java needs to import mypackage.test2;
    i.e.
    //test1.java
    package mypackage;
    import mypackage.test2;
    class test1
    }

    no, once classes are in the same packages they are picked up ie tc1 is in tc_package and tc2 is also in tc_package, tc1 need not import tc_package.tc2 to use tc2 methods.
    /Paul

  • View packages depending on selected package

    TL; DR: Is there a way to use pacman -Q to see what packages are depending on a particular package?
    Basically what's in the title.
    I'm always worried about removing packages in Arch here because I don't want to break (an)other package(s).
    I have made a file named "dependencies" that lists the dependencies selected by pacman for each package I've installed from the beginning, however it's not necessarily in chronological order, and you know that if you already have a particular package that a new package you're looking to install depends on, it won't tell you it's a dependency, because it's already there!
    I'm looking to remove avant-window-navigator and any useless packages left behind, if it matters.

    > pacman -Qi glibc
    Name : glibc
    Version : 2.12.1-2
    URL : http://www.gnu.org/software/libc
    Licenses : GPL LGPL
    Groups : base
    Provides : None
    Depends On : linux-api-headers>=2.6.34 tzdata
    Optional Deps : None
    Required By : a52dec aalib alsa-lib attr audiofile bash bash3
    binutils bison bzip2 cabextract calc cdparanoia
    coreutils cracklib dcron device-mapper dhcpcd diffutils
    dmidecode eject elfutils eventlog expat faac fakeroot
    file findutils flac flex foomatic-filters fuse gawk
    So that tells you which package need another package.   Pacman won't let you remove a package unless that list is empty anyway.
    Read the man page for details on how to remove a package and all its dependencies.

  • Copy custom package between local IPS repositories

    I seem to be having a problem copying a custom package from one local IPS repository to another. Both repositories are on the same server, but are set with different publisher names.
    I used the pkgrecv command like so, to copy the package:
    pkgrecv -s http://custom_repo1/ -d http://custom_repo2/ '*'
    custom_repo1 only contains 1 package, so the output shows "1/1" items completed (except the GET and SEND colums show zero).
    I rebuilt my search index, but I'm not able to search for the newly copied package. However when I run "pkgrepo -s http://custom_repo2/ info" it shows that it contains 1 package from the custom_repo1 publisher and 1 package published as itself (which is correct).
    Do I need to republish the copied package in order for it to show up in the search query?

    That functionality is not present in Solaris 11 Express. A kludgey way to do it, though, is to remove the package from the repository's pkg directory, then rebuild the catalog. However, the files belonging to the package will still be around in the files directory. They just won't be accessible.
    -- Alan

  • Automatic upgrade of AUR packages dependent on kernel version.

    I have an issue with upgrading AUR packages with pacaur. When I try to upgrade with one of the following commands:
    pacaur -u [package_name]
    pacaur -Su -a
    pacaur -Syu
    I keep getting the error 'no results found for dependencies)' 
    Here an example output:
    [ ~ ]$ pacaur -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 conflicting packages...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: spl-git: requires linux=3.17.6-1
    :: zfs-git: requires linux=3.17.6-1
    :: Starting AUR upgrade...
    :: resolving dependencies...
    :: no results found for dependencies)
    As seen in this example, the system upgrade is failed due to two kernel packages which require the previous kernel version.
    I wonder, does the AUR upgrade fails after the failed system upgrade because of new spl-git and zfs-git packages require the new kernel version? And the message ":: no results found for dependencies)" is caused by this?
    It seems there is a kind of a circular dependency in this case - kernel doesn't upgrade because of zfs requires the older kernel, and zfs doesn't upgrade because the new version of zfs requires the new kernel.
    Previously I upgraded AUR packages manually, by first removing them, then upgrading the kernel and after that installing new versions of packages.
    Is it possible to automatically upgrade kernel packages? If so can this be done with pacaur?
    Last edited by nbd (2015-01-19 23:39:49)

    Hi, so I'm not the only newbie doing such things.
    here:
    https://bbs.archlinux.org/viewtopic.php?id=181717
    ukhippo wrote:Afterwards I also suggest using “pacman -Syyu” to update (note the double “y”, this forces a refresh of all packages)
    meaning first add the repository and the key for demz-repo-core https://wiki.archlinux.org/index.php/Un … -repo-core.
    I did that today but the output was just:
    [root@machine1 ~]# pacman -Syyu
    :: Synchronizing package databases...
    core 121.6 KiB 599K/s 00:00 [########################################################] 100%
    extra 1806.6 KiB 671K/s 00:03 [########################################################] 100%
    community 2.5 MiB 672K/s 00:04 [########################################################] 100%
    multilib 121.2 KiB 932K/s 00:00 [########################################################] 100%
    demz-repo-archiso 5.5 KiB 37.9K/s 00:00 [########################################################] 100%
    demz-repo-archiso.sig 287.0 B 0.00B/s 00:00 [########################################################] 100%
    demz-repo-core 7.8 KiB 48.6K/s 00:00 [########################################################] 100%
    demz-repo-core.sig 287.0 B 0.00B/s 00:00 [########################################################] 100%
    :: Starting full system upgrade...
    resolving dependencies...
    looking for conflicting packages...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: spl-git: requires linux=3.17.6-1
    :: zfs-git: requires linux=3.17.6-1
    even though I read
    https://www.archlinux.org/packages/?sor … =&flagged=
    x86_64     Core     linux     3.18.2-2     The Linux kernel and modules     2015-01-15     2015-01-16
    and
    https://github.com/demizer/archzfs
        spl-git     Update git packages for kernel 3.18.2-2     4 days ago
        zfs-git     Update git packages for kernel 3.18.2-2     4 days ago
    I don't really know if I want to remove the package first, while running the machine from a zfs filesystem.
    If it runs automatically the chance of me making an error is a little smaller, don't really want to have a not bootable system.

  • Package that overwrite other packages

    I'm building a new package "mysqlclient" that will contain only the mysql client programs and libraries. Basically just run with configure option --without-server.
    Anyway, how does pacman handle a package that overwrites another package? For example if I install my new mysqlclient and then later install the official mysql package, what happens?

    ianneub wrote:
    Toth wrote:If you want to install the full mysql later on, you could always just remove mysqlclient, and then install mysql.
    Is it possible to check this from the package? Maybe it's better to just seperate the files from -client and -server so they don't overlap.
    I don't really see the point. If you want just the client, or just the server you can use ABS to compile it as you have done. Or just install all of mysql and only use the client.  If you want you can leave the client package named "mysql" and then just upgrade it to the standard package if you want both the client and server tools. Separating software into multiple packages just gets messy, IMO. There are some files that would be common to both, some that are only for the server, some that are only for the client. You'd end up with three packages: mysql-common, mysql-client, and mysql-server. Ugh. Just look at Debian's repositories sometime and you'll see why it's probably a better idea not to do it that way. Leaving it as a single package also makes it much easier to maintain.

  • Package Dependancy

    Folks,
    Well, this is my second installation post. I'm new to Oracle - coming over from Informix/DB2. Thought I should learn Oracle. Seems the installation is a tad more difficult than Informix. I'm getting there. I've reduced the number of errors considerably - just a couple more to fix and I'm ready to go. I appreciate the help.
    I'm installing 11g on Linux Enterprise 5
    The installation complained about not having the following 2 packages:
    elfutils_libelf-devel-0.125-3.el5.i386.rpm
    elfutils_libelf-devel-static-0.125-3.el5.i386.rpm
    However, I'm not able to install them as they are dependant on one another.
    Also, does anyone know where package systat-700 can be found?
    Thanks in advance.
    Scott

    Well, you need to use Enterprise Linux manual to install the packages. You should actually read the pre-install requirements before you start to save you time.
    Oracle Database FAQs

  • PacmanDeps - recursive package dependency viewer

    Based on Pacman Dependency Tree I created pacmanDeps. If anyone is interested in the dependencies of his packages; now you can easily view it
    Features:
    Pass one or multiple packagenames to seeo, of pass nothing to see all packages installed
    Detects dependency-loops (use `pacmanDeps>/dev/null` to see only dep-loops)
    Has an internal cache to speedup the process of looking up dependencies
    Uses some colors; easy to modify in the head of the script
    ToDo:
    Fix branch and leaves visual
    Download: (updated - this is version 0.2)
    http://archlinux.spider007.net/pacmanDeps/pacmanDeps.sh
    Any feedback welcome

    nice work!
    [damir@Asteraceae cvsARCH]$ ./deptree_spider.sh readline
    readline
    +---glibc
    +---ncurses
    +---glibc
    funny output - it seems that glibc is listened 2ce ... but the second one is from ncurses
    [damir@Asteraceae cvsARCH]$ ./deptree_spider.sh cups
    cups
    +---libpng
    +---glibc
    +---zlib
    +---glibc
    +---libtiff
    +---gcc
    +---binutils
    +---glibc
    +---glibc
    +---libjpeg
    +---glibc
    +---zlib
    +---glibc
    +---openssl
    +---glibc
    +---pam
    +---db
    +---gcc
    +---binutils
    +---glibc
    +---glibc
    +---glibc
    +---filesystem
    +---bash
    +---glibc
    +---readline
    +---glibc
    +---ncurses
    +---glibc
    +---glibc
    seems that this bug is not always reproducable
    one more thing: please end your script with "exit 0" and name it with the extension .sh

  • Assigning Values to a Field Depending on Other Field

    Hi,
    I'm creating a survey that is used to capture data on a yearly basis. We are attempting to make the survey as self-validating as possible to minimize workload. One section of the survey asks for a yearly change in the number of people in a program, asking for both the number of people entering the program and the number leaving the program. We need this section to self validate by checking that the number of people in the program at the beginning of the year, plus the number added to it, minus the number leaving it, equals the number of people in the program at the end of the year.
    The validation formula for this is easy. The difficult problem is automatically assigning a value to the beginning of year value. We will know what this value is due to collecting a response from the program the previous year. My plan is for this field to self-fill depending on an earlier response to the selection of the program name.
    Suppose there is a question earlier in the survey asking for the program name, I'll call it ProgramName. This is a drop down list that must be selected from a list. I need the export value of the drop down list to be the program name they selected. My plan is that for the field later in the survey to fill like this:
    switch(ProgramName.value)
         case "Program1":
              currentfield = "1"
         case "Program2":
              currentfield = "2"
         default:
              currentfield = "0"
    Unforunately I am very new to writing JavaScript and don't know the syntext to get this result. Any help would be appreciated!
    Thanks

    What you're proposing is a custom calucalte script for the beginning of year value field that gets set based on the dropdown selection. I'd suggest setting the field value in the validate event of the drop down instead, in which case the code would look like:
    // Set the beginning of year field value based on this field's selection
    // initialize variable
    var begin_num = 0;
    switch (event.value) {
    case "Program1":
        begin_num = "1";
        break;
    case "Program2":
        begin_num = "2";
        break;
    case "Program3":
        begin_num = "3";
        break;
    // Set be beginning number field value
    getField("begin_num").value = begin_num;
    Where "begin_num" is the name of the field that will contain the beginning number.

Maybe you are looking for