Я пытаюсь обновить Erlang и хочу сохранить текущую установленную версию RabbitMQ.
Ubuntu 16.04 Erlang 21.0 RabbitMQ 3.7.15
Установка текущей версии была выполняется с помощью следующих команд:
Erlang:
wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb
sudo dpkg -i erlang-solutions_1.0_all.deb
sudo apt-get update
sudo apt-get install esl-erlang=1:21.0
Rabbit:
echo "deb https://dl.bintray.com/rabbitmq/debian xenial main" | sudo tee /etc/apt/sources.list.d/bintray.rabbitmq.list
wget -O- https://dl.bintray.com/rabbitmq/Keys/rabbitmq-release-signing-key.asc | sudo apt-key add
sudo apt-get update
apt-get install rabbitmq-server=3.7.15-1
Пытался выполнить следующие команды для обновления erlang, но в конечном итоге все они также изменили установку кролика:
apt-get install esl-erlang=1:22.3.4-1
И получил следующее сообщение вывода:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
rabbitmq-server
Suggested packages:
default-jre-headless | java2-runtime-headless | java1-runtime-headless | java2-runtime | java1-runtime
The following packages will be upgraded:
esl-erlang rabbitmq-server
2 upgraded, 0 newly installed, 0 to remove and 38 not upgraded.
Need to get 53.4 MB of archives.
After this operation, 4456 kB of additional disk space will be used.
Do you want to continue? [Y/n] n
Я попытался использовать это команда:
apt-get install esl-erlang=1:22.3.4-1 rabbitmq-server-
и получил следующий результат:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
socat
Use 'sudo apt autoremove' to remove it.
Suggested packages:
default-jre-headless | java2-runtime-headless | java1-runtime-headless | java2-runtime | java1-runtime
The following packages will be REMOVED:
rabbitmq-server
The following packages will be upgraded:
esl-erlang
1 upgraded, 0 newly installed, 1 to remove and 38 not upgraded.
Последняя выполненная мной команда была следующей:
apt-get remove --no-upgrade esl-erlang
, для которой я получил следующий результат :
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
adwaita-icon-theme at-spi2-core colord colord-data dconf-gsettings-backend dconf-service emacsen-common erlang-mode fontconfig fontconfig-config fonts-dejavu-core glib-networking glib-networking-common
glib-networking-services gsettings-desktop-schemas hicolor-icon-theme humanity-icon-theme libatk-bridge2.0-0 libatk1.0-0 libatk1.0-data libatspi2.0-0 libavahi-client3 libavahi-common-data
libavahi-common3 libboost-filesystem1.58.0 libboost-system1.58.0 libcairo-gobject2 libcairo2 libcapnp-0.5.3 libcolord2 libcolorhug2 libcroco3 libcups2 libdatrie1 libdconf1 libdrm-amdgpu1 libdrm-intel1
libdrm-nouveau2 libdrm-radeon1 libegl1-mesa libepoxy0 libexif12 libfontconfig1 libgbm1 libgd3 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa libgphoto2-6
libgphoto2-l10n libgphoto2-port12 libgraphite2-3 libgtk-3-0 libgtk-3-bin libgtk-3-common libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libgudev-1.0-0 libgusb2 libharfbuzz0b libice6 libieee1284-3 libjbig0
libjpeg-turbo8 libjpeg8 libjson-glib-1.0-0 libjson-glib-1.0-common liblcms2-2 libllvm6.0 libltdl7 libmirclient9 libmircommon7 libmircore1 libmirprotobuf3 libnotify4 libpango-1.0-0 libpangocairo-1.0-0
libpangoft2-1.0-0 libpciaccess0 libpixman-1-0 libprotobuf-lite9v5 libproxy1v5 librest-0.7-0 librsvg2-2 librsvg2-common libsane libsane-common libsctp1 libsensors4 libsm6 libsoup-gnome2.4-1 libsoup2.4-1
libthai-data libthai0 libtiff5 libtxc-dxtn-s2tc0 libvpx3 libwayland-client0 libwayland-cursor0 libwayland-egl1-mesa libwayland-server0 libwxbase3.0-0v5 libwxgtk3.0-0v5 libx11-xcb1 libxcb-dri2-0
libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-render0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxcomposite1 libxcursor1 libxdamage1 libxfixes3 libxi6 libxinerama1 libxkbcommon0 libxpm4 libxrandr2
libxrender1 libxshmfence1 libxtst6 libxxf86vm1 notification-daemon ubuntu-mono x11-common
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
erlang-asn1 erlang-base erlang-crypto erlang-eldap erlang-inets erlang-mnesia erlang-os-mon erlang-parsetools erlang-public-key erlang-runtime-tools erlang-snmp erlang-ssl erlang-syntax-tools
erlang-tools erlang-xmerl rabbitmq-server
Suggested packages:
erlang erlang-manpages erlang-doc
The following packages will be REMOVED:
esl-erlang
The following NEW packages will be installed:
erlang-asn1 erlang-base erlang-crypto erlang-eldap erlang-inets erlang-mnesia erlang-os-mon erlang-parsetools erlang-public-key erlang-runtime-tools erlang-snmp erlang-ssl erlang-syntax-tools
erlang-tools erlang-xmerl
The following packages will be upgraded:
rabbitmq-server
1 upgraded, 15 newly installed, 1 to remove and 38 not upgraded.
Есть ли способ сохранить установленную текущую версию Rabbit без изменения зависимостей пакетов erlang?
Спасибо