APT pinning/apt -t myreleasehere: use myreleasehere repo for dependencies

Discussion in 'Other Operating Systems' started by mrjayviper, Sep 23, 2018.

  1. mrjayviper

    mrjayviper Member

    Joined:
    Jul 18, 2012
    Messages:
    389
    as title.

    I am installing something from a 3rd party repo and apt wants to use the the dependency that's available in the default repo instead of the higher version dependency that's available in the 3rd party repo.

    This is what I trying to install

    Code:
    apt -t 3rdparty install my-package-here
    These are the contents of /etc/apt/preferences
    Code:
        Package: *
        Pin: release a=stable
        Pin-Priority: 1000
       
        Package: *
        Pin: release a=3rdparty
        Pin-Priority: 500
    
    Thanks!
     
  2. frenchfries

    frenchfries Member

    Joined:
    Apr 5, 2013
    Messages:
    88
    Hey

    I believe that while what you're doing looks correct, it clearly isn't working so perhaps try to ignore pinning and simply set the 3rd party respository to be first in the sources.list file.

    While not a permanent solution, apt should then use it instead of normal debian repos.
     

Share This Page