É possível reverter pacotes para a versão antes de atualizar (desfazer uma atualização apt)?

0

Existe alguma maneira de desfazer um apt upgrade ou restaurar pacotes para um estado anterior?

Alguns pacotes nvidia na minha pilha CUDA foram atualizados quando pensei que eu tinha congelado esses pacotes de atualizações do gerenciador de pacotes.

Para referência: os pacotes afetados por apt upgrade , de /var/log/apt/history.log at Start-Date: 2017-11-11 19:32:35 :

nvidia-384-dev:amd64 (384.90-0ubuntu0.16.04.1, 384.98-0ubuntu0~gpu16.04.1), libcrack2:amd64 (2.9.2-1build2, 2.9.2-1ubuntu1), update-manager-core:amd64 (1:16.04.9, 1:16.04.10), libevdocument3-4:amd64 (3.18.2-1ubuntu4.1, 3.18.2-1ubuntu4.2), cracklib-runtime:amd64 (2.9.2-1build2, 2.9.2-1ubuntu1), libsystemd0:amd64 (229-4ubuntu20, 229-4ubuntu21), libcuda1-375:amd64 (384.90-0ubuntu0.16.04.1, 384.98-0ubuntu0~gpu16.04.1), libcuda1-384:amd64 (384.90-0ubuntu0.16.04.1, 384.98-0ubuntu0~gpu16.04.1), snapd:amd64 (2.27.5, 2.28.5), update-manager:amd64 (1:16.04.9, 1:16.04.10), lshw:amd64 (02.17-1.1ubuntu3.2, 02.17-1.1ubuntu3.4), libnm-gtk-common:amd64 (1.2.6-0ubuntu0.16.04.3, 1.2.6-0ubuntu0.16.04.4), nodejs:amd64 (6.11.5-1nodesource1, 6.12.0-1nodesource1), udev:amd64 (229-4ubuntu20, 229-4ubuntu21), resolvconf:amd64 (1.78ubuntu4, 1.78ubuntu5), network-manager-gnome:amd64 (1.2.6-0ubuntu0.16.04.3, 1.2.6-0ubuntu0.16.04.4), libudev1:amd64 (229-4ubuntu20, 229-4ubuntu21), libxnvctrl0:amd64 (384.90-0ubuntu0~gpu16.04.1, 387.22-0ubuntu0~gpu16.04.1), evince-common:amd64 (3.18.2-1ubuntu4.1, 3.18.2-1ubuntu4.2), python3-distupgrade:amd64 (1:16.04.22, 1:16.04.23), python3-update-manager:amd64 (1:16.04.9, 1:16.04.10), libevview3-3:amd64 (3.18.2-1ubuntu4.1, 3.18.2-1ubuntu4.2), ubuntu-release-upgrader-core:amd64 (1:16.04.22, 1:16.04.23), systemd-sysv:amd64 (229-4ubuntu20, 229-4ubuntu21), nvidia-375-dev:amd64 (384.90-0ubuntu0.16.04.1, 384.98-0ubuntu0~gpu16.04.1), ubuntu-core-launcher:amd64 (2.27.5, 2.28.5), libpam-systemd:amd64 (229-4ubuntu20, 229-4ubuntu21), libnma0:amd64 (1.2.6-0ubuntu0.16.04.3, 1.2.6-0ubuntu0.16.04.4), systemd:amd64 (229-4ubuntu20, 229-4ubuntu21), libnma-common:amd64 (1.2.6-0ubuntu0.16.04.3, 1.2.6-0ubuntu0.16.04.4), iproute2:amd64 (4.3.0-1ubuntu3.16.04.1, 4.3.0-1ubuntu3.16.04.2), libnm-gtk0:amd64 (1.2.6-0ubuntu0.16.04.3, 1.2.6-0ubuntu0.16.04.4), ubuntu-release-upgrader-gtk:amd64 (1:16.04.22, 1:16.04.23), nvidia-opencl-icd-375:amd64 (384.90-0ubuntu0.16.04.1, 384.98-0ubuntu0~gpu16.04.1), nvidia-opencl-icd-384:amd64 (384.90-0ubuntu0.16.04.1, 384.98-0ubuntu0~gpu16.04.1), nvidia-375:amd64 (384.90-0ubuntu0.16.04.1, 384.98-0ubuntu0~gpu16.04.1), nvidia-384:amd64 (384.90-0ubuntu0.16.04.1, 384.98-0ubuntu0~gpu16.04.1), nvidia-settings:amd64 (384.90-0ubuntu0~gpu16.04.1, 387.22-0ubuntu0~gpu16.04.1)

Sim, eu sei que apt list --upgradable mostra quais pacotes são atualizáveis.

EDIT: reinicializar o sistema corrigiu meus problemas de incompatibilidade de driver / biblioteca com o cuda stack, mas ainda estou interessado em uma solução para minha pergunta.

    
por Alnitak 12.11.2017 / 04:57

0 respostas