Better dependency checking in pacman

I'm often quite unhappy when I install some software and then getting errors like the following everywhere else:
error while loading shared libraries: libjpeg.so.7: cannot open shared object file: No such file or directory
Ok, it usually means that I need to upgrade the whole system. But not only some packages could not be rebuilt in official repositories yet, but also this mistake can ocasionally lead to broken pacman (or ssh, or any other vital component of the system).
I guess it can be fixed. And I have two ideas how to fix that.
First way is to extend dependency checking. In perfect world all packages should write in their dependencies maximum version of package that is needed for this particular package. But almost always we don't know future. It could be fixed by downloading an additional file for already installed package, which says that this particular version of package is not compatible with versions of dependency starting from specified. That dependencies might then be used just like native dependencies of that package. These additional dependencies can be tracked both by hand and automatically (using ldd, namcap, whatever).
Second way is add freebsd-like dependencies on files for packages. So when packages are removed (upgraded) pacman could check if somebody relies on this file.
Probably file list could be maintained by makepkg using something like ldd internally. But may be file dependencies could be used not only for dynamic libraries.
Any thoughts?

But there are plenty of problems:
1. I want to setup a new little program. Am I supposed to wait to a full system upgrade?
2. There are no drivers for ATI video for current xorg server now. Do I need to add ALL dependencies of old catalyst to IgnorePkg recursively? Or I need to add xorg-server only and hope nothing will break?
3. Am I supposed to rebuild all packages from AUR after upgrade?
4. Seems there are lots of topics with such mistakes in this forum.

Similar Messages

  • Foreign key dependency checking

    Dear all:
    I have a question about foreign key checking.
    Let's say I have two Z table, one is master table and one is transaction table.
    The master table contains a primary key named CustNo.
    The transaction table have two primary keys named CustNo and OrderNo.
    The CustNo has foreign key (mandt + CustNo) point to master table, with setting
    "Key fields/candidates  1:N"
    I expected that, delete record in master table should check if there is any dependency in the transaction table,
    but I am wrong.  I am able to delete anything in master table even there are records in transaction table using the same CustNo.
    My question is, how can I make the dependency check?
    Thanks in advance.
    Edited by: Hung Kai, Michael Cheng on Nov 3, 2008 5:29 AM

    Hello,
        For this u need to change the cardinality.
    Below are the list of cardinalities and their functionality.Chack it and use the proper one.
    The left side (n) of the cardinality is defined as follows:
    n=1: There is exactly one record assigned to the check table for each record of the foreign key table.
    n=C: The foreign key table may contain records which do not correspond to any record of the check table because the foreign key field is empty. This can occur for example if the field of the foreign key table is optional, in which case it does not have to be filled.
    The right side (m) of the cardinality is defined as follows:
    m=1: There is exactly one dependent record for each record of the check table.
    m=C: There is at most one dependent record for each record of the check table.
    m=N: There is at least one dependent record for each record of the check table.
    m=CN: There may be any number of dependent records for each record of the check table.
    Shafi

  • Solution Manager/Charm and Transport Dependency Check

    Hello Everyone,
    I apologize if this question has an obvious answer.  I have searched SDN and could not get a 100% answer.
    We are just now in the process of rolling out Charm/Solution Manager and I have noticed that it appears to not perform transport dependency checks.  For example, let's say I am working on object ABC and have completed my testing (ready for transport to production) and then another developer also starts development on object ABC.  When my change is moved to production, it will pick up the other developers modifications without giving a warning or an error that a dependency has been encountered between the two transport requests. 
    Does Charm/Solution Manager offer the option of producing a warning should a transport depedency be identified?  If so, will someone explain (or point me to the appropriate documentation) how this can be set up?
    Best Regards,
    Scott

    Hi Scott,
    ChaRM supports imports from DEV->QAS->PRD by transport by transport requests level not by transport request task level. So don't worry(i.e., You can't import only your change of object ABC to production. It allows to import your change and other user's change of object ABC together to production).
    This is how it works(if more than an user works on the same object):
    1. Requester creates a support message from satelitte system to report a problem.
    2. Service desk employee creates a change document because some changes need to be done on object ABC to correct that reported problem.
    3. Change Manager approves the change document. So a normal correction is created automatically.
    4. This normal correction is assigned to 2 developers(your scenario) like for an example DVPR1 and DVPR2.
    5. DVPR1 creates a transport request and does some changes on object ABC. So a transport task will be created for DVPR1 under that transport request automatically.
    6. When DVPR2 tries to do some changes on the same object ABC, a seperate transport task(not a transport request) will be created for DVPR2 under the same transport request because the object ABC is locked under the transport request. So DVPR2 can't create a separate transport request for the same object if any transport request is pending(not released).
    7. Now object ABC will have one transport request. That transport request will have 2 transport tasks(1 for DVPR1 and 1 for DVPR2).
    8. Each developer relases their transport task only(not transport request) once he/she completes his/her change on the object ABC.
    9. DVPR1 or DVPR2 will change the status of normal correction to "Development Completed".
    10. Now, IT operator or DVPR1 or DVPR2 can release the transport request. The transport request can be released only if all tasks are released under the same transport request.
    (In this example: DVPR1 completed his change and released his transport task. Next DVPR2 completed and released his transport task).
    11. Finally IT operator import the transport request to QAS and PRD.
    Hope you are clear now. Let me know if you have any doubts.
    Regards,
    Sanjai

  • Enhancement request: dependency check cancel button

    I like the cancel compile button in 9.0.3. It would be nice if you could also include cancel button for stopping during the dependency checking phase of a deploy.
    PS I know you can kill the admin phase from the process window it's the phase in between the end of compiling and the admin phase.

    I've filed enhancement 2579440 for tracking. Thank you for your feedback.

  • Better Spell Checker?

    Not sure if this will be addressed in the "new SDN" (whenever it's coming), but is it possible to get a better Spell Checker on SDN? For example, I typed 'adressed' and the suggestions did not even include the correct spelling ('harnessed' - seriously?), which is not so far off. MS Word for the same typo gives just one suggestion - the correct one ('addressed').
    And would it be possible to add at least some commonly used SAP terms / abbreviations? 'ABAP' is not a typo and by SDN I don't mean SUDAN.
    Edited by: Jelena Perfiljeva on Feb 15, 2012 3:54 PM

    I typed in ABAP  and pressed the spell checker. It caught ABAP  as an error and suggested ABAP  (ABAP with a space after it)! I replaced with the spell checker version of ABAP  and pressed spell checker again. It still caught ABAP .
    And if I type abap, I really don't see how I could possibly mean labia
    Rob
    Edited by: Rob Burbank on Feb 15, 2012 4:25 PM

  • Java Dependency Checking

    Hi all,
    Can anyone suggest me a good Java tool to check dependenciess? I had a look at JDepend but it probably doesn't suffice. We have a enterprise application composed of many other applications, I am not sure how good the abstractions are in terms of coupling or cohesiveness since I am new to this app. We are trying to maintain a dependency list of methods and classes so that when someone is trying to change something in a method in one application they know what all gets impacted i tnhe same application or the another application. Please suggest some good tools which can help me with this.
    Thank you ver much,
    Amnesiac.

    I found something called Structure101, hope it helps. Please suggest me if there are any better options.
    Thank you.

  • Program for transport dependency checks

    Any body developed transport dependency program that would warn people of dependent transports? I hope this program would help greatly in managing transports and someone might have written an ABAP program.
    Your help is appreciated.
    Thanks
    Rajesh Yadla

    You can use SE03 transaction for the same.
    Goto SE03 transaction - select Include objects in a transport request - check the radio button for selected objects and
    add all your objects - execute - save in request.

  • CRVS 2010 beta 2 - check for update options

    Hello,
    In beta 1 on the Crystal Reports menu were 2 options to check for updates for the software.
    I noticed in beta 2 that both options have been removed. I looked around the application but did not see the options someplace else.
    Is there something new in the works to be able to check for updates when the product goes live?
    Thank you
    Tracy

    Hi Ludek,
    I understand that the check for update options won't work now. What is confusing is that the options were in beta 1, even though they didn't work and now in beta 2, they were removed.
    Are you saying that the options will be put back in for the final release? If so, from a programming perspective, it doesn't make sense to remove them to only have to pur them back, or am I missing something?
    Let me know.
    Thank you
    Tracy

  • Scheduler dependency checking

    While I see that one can assign Resource Groups to Job Classes for jobs running concurrently, is there a way to assure that one job task will not start up unless dependent jobs have finished?
    What I want if for job_B to start only after job_A has finished. I do not want job_A to have to call job_B. I want there to be a tightness so that job_B will follow job_A either immediately or in a reasonable amount of time, but job_B will not fire if job_A is still running.
    I can schedule job_A to run at the top of the hour. I can schedule job_B to run at 15 after the hour every 6th hour. I want to make sure however, that job_B will wait until job_A finishes in the event job_A takes longer than 14 minutes.
    Does this functionality exist, or do I have to put a flag in some extra 'jobs_running' table for job_B to check, and then have it trigger job_B if it has checked, but could not run. It would be really nice if this were already built into the underlying DBA_ tables for Scheduler.
    Please advise.
    Thanks,
    Scott Rappoport

    Hi,
    I have a similar question: Is there a possibility to lock a certain job in DBMS_SCHEDULER?
    For example: I want to run a certain job every 10 minutes, but if after 10 minutes that job is still running, I don't want that the same job will run again, but that that job waits until the first job finishes its job.
    I can do this using DBMS_LOCK by giving my job a lock that he releases when the job finishes. But isn't there a way that I can specify this directly in DBMS_SCHEDULER?

  • Better font check than with Font Book?

    Hi,
    I have checked the fonts with Font Book. Everything seems to be okay but I still assume that there might be a broken font.
    Is there a better check than I as a relatively new Apple user can find in font book?
    Can it be that a programm (like Ghost View) copied new fonts into the font folder that are not checked with font book?
    The reason why I believe that fonts are broken is that my system cannot display .eps files anymore which might supposedly be related to a broken font.
    Thanks,
    Kurt

    There are several good tips on Fonts in the User Tips Library:
    http://discussions.apple.com/thread.jspa?threadID=122011&tstart=0

  • Transport Dependency check

    Hi,
    How to enable transport dependecy check for transport that are to be imported.
    When i try to import a request from STMS_IMPORT, it should check for any dependecy of the transport which has been
    used or modified the same object and it should prompt for pop showinf precdor import and status whether it has been
    imported into system or not?
    In general we would import request direclty from stms_import. here i would like to activate option or configure such
    that any dependcy exsists they shud be bought to our notice by the system
    Regrds
    kumar

    How can we do that, can you guide with steps
    thanks in advance
    kumar

  • Re: Only getting 20Mb, but BT beta speed check say...

    I don't have BT broad band but Plusnet, who are owned by BT Whole sale.  My Line speed has beeen 3 to 3.5 meg, that was until BT installed Fibre optic cables and upgraded my local exchange December 2011, from then on my speed dropped to any where between .6 meg to wow 1.6meg! Strange thing BT started phoning me and sending junk mail through the post telling me they could give me 100% 6Meg!
    I contacted Plus Net and registered the fault, they said that they could up grade my line to 21CN  (ADSL2+),  and give me a 3.5 meg line!!! The work was carried out but still my line speed went up and down I changed everything did all the test, but to no avail, BT checked the line to the local cabinet and said it was fine to there. So I am now waiting for a BT engineer to call. The strange thing is that I am not the only person with this problem in the surrounding area, I have heard that lot of people with non BT ISP's are suffering the same problem!!!!
    The truth of the matter is that BT has the upper hand and can screw your connection till you give up and move to them.
    I think it is a called " CATCH 22"
    Ron.

    This forum is for BT retail customers as you are a Plus-net user you need to post on there forum as no one here an help you with your problems
    However i can say that upgrades to fibre will not affect your broadband as the fibre system a totally different a separate service and there is no point in affecting your connection as BT wholesale would be the loser financially
    If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the reply answers your question then please mark as ’Mark as Accepted Solution’

  • Only getting 20Mb, but BT beta speed check says 35...

    I've had infinity installed for around a week now.
    The trouble is, I only ever seem to get 20Mb.  I've run numerous speed tests on other sites, and all say almost exactly 20Mb.  Uncanningly exactly 20Mb, infact.  My profile is 38Mb, so no trouble there.
    I've called BT and they pointed me to the BT beta speed tester, and that showed 35Mb.  They decided that the line was therefore ok.  This BT beta speed tester would appear to lie though, because I've tried http downloads, which maxed out at 20Mb, and numerous other speed tests, which all max out at exactly 20Mb.
    Also, the other BT speed tester that tells you the profile you are on also only ever maxes out at 20Mb.
    I mentioned all of the above to BT on the phone but they were adamant that because the BT beta speed tester said 35Mb, everything was ok.
    I have confirmed this plugged directly into the modem, so it's not a homehub issue at all.
    Can anybody offer any insight as to what may be going on?!
    Many thanks.

    Be greatful I was told I'd get 22mb, I get 11. BT have told me there's nothing they can do so I'll have to live with it. Shocking service

  • On the network tab the override box is not checked to override automatic cache to 1024mb is it better to check the box or not?

    if i check the empty box to override the cache to 1024mb would the internet run faster or what would it do?

    I was having the same problem and was looking for solutions when I came across this posting. Disabling GoodSearch solved the problem for me. Hopefully GoodSearch will update soon and resolve the issue permanently so I can use it again.

  • Oxygen-icons dependency check error

    Hi!
    I tried to upgrade my system this morning and got this
    error: cannot resolve "oxygen-icons", a dependency of "kdebase-runtime"
    error: failed to prepare transaction (could not satisfy dependencies)
    :: kdebase-runtime: requires oxygen-icons
    Is it a bug, or just I'm doing something wrong? Tried to switch mirrors, but to no avail.

    Wait one or two more days. Its a big update and it takes time until the mirrors catch up.

Maybe you are looking for

  • Logical name reset after system copy

    Hello I´have a question regarding logical system set after performing a database copy from Production to Quality . In Quality the former logical system name before the copy was INT10 . After the refresh I want to runs the BDLS with conversion from th

  • VGA Windows laptop to Apple LED Cinema Display...?

    Attaching VGA Windows laptop to Apple LED Cinema Display...? Is this possible? I have a personal MBP that'd work fine, but need to connect a work laptop as well. Any insight would be great. Thanks!

  • Sharp TV No Sound

    Hooked up Sharp LCD TV with HDMI cable to Charter HD cable receiver box and after 2 months suddenly no sound from TV speakers,  I can get sound with surround system.  Thought TV defective so I hooked up A/V cables Charter supplied and there is sound.

  • Sync AppleTV with a second computer

    I set up AppleTV with an iBook and everything worked beautifully. I bought a second laptop, which I'd now like to be the computer that syncs with ATV. Unfortunately, I can only make it stream to ATV at this point. What do I have to do to make my newe

  • Queries related to Production orders

    Hello PP Gurus, 1. I have an issue where some one has deleted the component materials in a production order. This I have identified since the deleted indicator has been ticked. So let me know how can I determine the person who has deleted the compone