[rlug] Pin package pe debian

Paul Lacatus (Personal) paul at paul-lacatus.ro
Mon Sep 3 16:27:27 EEST 2018


Vreau sa instalez RabbitMQ pe un raspberry pi.  Pachetul de RabbitMQ are 
ca dependinta erlang dar  versiune >1.19 . In main e erlang 1.19.2.  Am 
pus in /etc/apt/preferences.d fisierul cu preferinte pentru erlang :

# /etc/apt/preferences.d/erlang
Package: erlang*
Pin: release o=Bintray
Pin-Priority: 1000

dar desi am dat nenumarate apt-get update la apt install erlang-nox imi 
pune tot 1.19.2 din main

nu tine cont de fisierul de preferinte, la apt-cache policy :

root at raspi_rabbit:/etc/apt/preferences.d# apt-cache policy
Package files:
  100 /var/lib/dpkg/status
      release a=now
  500 http://archive.raspberrypi.org/debian stretch/ui armhf Packages
      release o=Raspberry Pi Foundation,a=stable,n=stretch,l=Raspberry 
Pi Foundation,c=ui,b=armhf
      origin archive.raspberrypi.org
  500 http://archive.raspberrypi.org/debian stretch/main armhf Packages
      release o=Raspberry Pi Foundation,a=stable,n=stretch,l=Raspberry 
Pi Foundation,c=main,b=armhf
      origin archive.raspberrypi.org
  500 http://raspbian.raspberrypi.org/raspbian stretch/rpi armhf Packages
      release o=Raspbian,a=stable,n=stretch,l=Raspbian,c=rpi,b=armhf
      origin raspbian.raspberrypi.org
  500 http://raspbian.raspberrypi.org/raspbian stretch/non-free armhf 
Packages
      release o=Raspbian,a=stable,n=stretch,l=Raspbian,c=non-free,b=armhf
      origin raspbian.raspberrypi.org
  500 http://raspbian.raspberrypi.org/raspbian stretch/contrib armhf 
Packages
      release o=Raspbian,a=stable,n=stretch,l=Raspbian,c=contrib,b=armhf
      origin raspbian.raspberrypi.org
  500 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages
      release o=Raspbian,a=stable,n=stretch,l=Raspbian,c=main,b=armhf
      origin raspbian.raspberrypi.org
Pinned packages:

Ce se intimpla ?

Paul





More information about the RLUG mailing list