LINUX.ORG.RU

Ubuntu: как даунгрейдить пару пакетов не снося половину системы?

 , , ,


0

1

Пытаюсь поставить steam. Тот ругается на зависимости:

$ sudo apt install libgl1-mesa-dri:i386 libgl1-mesa-glx:i386
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libegl1-mesa : Depends: libgl1-mesa-dri (= 11.3~git1604140730.171a57~gd~w) but it is not going to be installed
 libgbm1 : Depends: libgl1-mesa-dri (= 11.3~git1604140730.171a57~gd~w) but it is not going to be installed
 libgl1-mesa-dri:i386 : Depends: libdrm-amdgpu1:i386 (>= 2.4.63) but it is not going to be installed
                        Depends: libdrm-intel1:i386 (>= 2.4.48) but it is not going to be installed
                        Depends: libdrm-nouveau2:i386 (>= 2.4.66) but it is not going to be installed
                        Depends: libdrm-radeon1:i386 (>= 2.4.31) but it is not going to be installed
                        Depends: libdrm2:i386 (>= 2.4.38) but it is not going to be installed
 libgl1-mesa-glx:i386 : Depends: libdrm2:i386 (>= 2.3.1) but it is not going to be installed
 libgnome-desktop-3-12 : Depends: libgtk-3-0 (>= 3.9.10) but it is not going to be installed
 libqt5gui5 : Depends: libgl1-mesa-glx but it is not going to be installed or
                       libgl1
              Recommends: libqt5svg5 but it is not going to be installed
 libqt5multimedia5-plugins : Depends: libqgsttools-p1 (>= 5.5.1) but it is not going to be installed
 libwxgtk3.0-0v5 : Depends: libgl1-mesa-glx but it is not going to be installed or
                            libgl1
 qml-module-qtquick2 : Depends: libgl1-mesa-dri but it is not going to be installed or
                                libgl1
 unity-asset-pool : Depends: adwaita-icon-theme but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.


Всякие libgl1-mesa-dri у меня стоят версий 11.3~git1604140730.171a57~gd~w с каких-то старых экспериментов в попытках устранить проблемы с аппаратным ускорением. Даже не помню, из какого ppa ставилось, т.к. оно, вероятно, уже снесено:

$ apt policy libgl1-mesa-dri
libgl1-mesa-dri:
  Installed: 11.3~git1604140730.171a57~gd~w
  Candidate: 11.3~git1604140730.171a57~gd~w
  Version table:
 *** 11.3~git1604140730.171a57~gd~w 100
        100 /var/lib/dpkg/status
     11.2.0-1ubuntu2.2 500
        500 http://ru.archive.ubuntu.com/ubuntu xenial-proposed/main amd64 Packages
     11.2.0-1ubuntu2.1 500
        500 http://ru.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
     11.2.0-1ubuntu2 500
        500 http://ru.archive.ubuntu.com/ubuntu xenial/main amd64 Packages


Пытаюсь поставить «штатные» 11.2, для всех трёх зависящих пакетов:

$ sudo apt install -f libgl1-mesa-dri=11.2.0-1ubuntu2.2 libegl1-mesa=11.2.0-1ubuntu2.2 libgbm1=11.2.0-1ubuntu2.2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  accountsservice-ubuntu-schemas appstream cli-common dbus-property-service gir1.2-gconf-2.0 gir1.2-gdesktopenums-3.0 gnome-shell-common gnome-software-common indicator-network
  liba11y-profile-manager-0.1-0 libappstream3 libatk3.0-cil libcairo1.10-cil libconnectivity-qt1 libdbus-cpp5 libdbus-glib2.0-cil libdbus2.0-cil libept1.5.0 libgio3.0-cil libglib3.0-cil
  libhybris libhybris-utils libmedia1 libmicrohttpd10 libmono-corlib4.5-cil libmono-i18n-west4.0-cil libmono-i18n4.0-cil libmono-posix4.0-cil libmono-security4.0-cil
  libmono-system-configuration4.0-cil libmono-system-core4.0-cil libmono-system-security4.0-cil libmono-system-xml4.0-cil libmono-system4.0-cil libonline-accounts-client1
  libonline-accounts-daemon1 libonline-accounts-qt1 libpango3.0-cil libpkcs11-helper1 libprocess-cpp3 libqgsttools-p1 libqmenumodel0 libqofono-qt5-0 libqqwing2v5 libqt5multimedia5-plugins
  libqt5multimediaquick-p5 libqt5multimediawidgets5 libqt5systeminfo5 libqt5xmlpatterns5 libsoup2.4-cil libsqlcipher0 libsystemsettings1 libtrust-store2 libupnp6 mono-4.0-gac mono-gac
  mono-runtime mono-runtime-common mono-runtime-sgen mutter-common network-manager-openvpn openvpn python-gpgme python3-gnupg qmenumodel-qml qml-module-qtmultimedia
  qml-module-qtsysteminfo qml-module-ubuntu-connectivity qml-module-ubuntu-onlineaccounts2 qtdeclarative5-gsettings1.0 qtdeclarative5-ofono0.2 qtdeclarative5-ubuntu-settings-components
  system-image-common system-image-dbus ubuntu-keyboard-data ubuntuone-credentials-common urfkill
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  apparmor-easyprof apparmor-easyprof-ubuntu click click-apparmor debian-mate-default-settings gir1.2-click-0.4 gir1.2-gee-0.8 libboost-log1.58.0 libc-ares2 libclick-0.4-0 libcontent-hub0
  libgflags2v5 libgoogle-glog0v5 libhardware2 libhybris-common1 liblibertine1 liblttng-ust-ctl2 liblttng-ust0 librarian0 libubuntu-app-launch2 libubuntu-application-api3
  libubuntu-download-manager-client1 libubuntu-download-manager-common1 libubuntu-platform-hardware-api3 libudm-common1 liburcu4 ofono powerd python3-apparmor python3-apparmor-click
  python3-click-package python3-libapparmor qtdeclarative5-ubuntu-content1 rarian-compat ubuntu-application-api3-test
Suggested packages:
  click-reviewers-tools ubuntu-app-launch-tools | upstart-app-launch-tools mate-desktop-environment-core content-hub
The following packages will be REMOVED:
  a11y-profile-manager-indicator account-plugin-aim account-plugin-facebook account-plugin-flickr account-plugin-google account-plugin-jabber account-plugin-salut account-plugin-yahoo
  activity-log-manager adwaita-icon-theme aisleriot alacarte apport-gtk apturl bamfdaemon baobab blueman brasero brasero-cdrkit caja cheese clearlooks-phenix-theme compiz compiz-gnome
  deja-dup deja-dup-backend-gvfs empathy eog evince evolution evolution-data-server evolution-plugins file-roller firefox galculator gcr gedit gir1.2-appindicator3-0.1
  gir1.2-gnomebluetooth-1.0 gir1.2-gnomedesktop-3.0 gir1.2-gtk-3.0 gir1.2-gtksource-3.0 gir1.2-nautilus-3.0 gir1.2-panelapplet-5.0 gir1.2-peas-1.0 gir1.2-rb-3.0 gir1.2-totem-1.0
  gir1.2-vte-2.90 gir1.2-vte-2.91 gir1.2-webkit-3.0 gir1.2-webkit2-4.0 gir1.2-wnck-3.0 gkbd-capplet gnome-applets gnome-bluetooth gnome-calculator gnome-calendar gnome-contacts
  gnome-control-center gnome-disk-utility gnome-flashback gnome-font-viewer gnome-icon-theme gnome-icon-theme-symbolic gnome-keyring gnome-mahjongg gnome-media gnome-mines gnome-mplayer
  gnome-online-accounts gnome-orca gnome-panel gnome-power-manager gnome-screensaver gnome-screenshot gnome-session-bin gnome-session-canberra gnome-session-flashback
  gnome-settings-daemon gnome-software gnome-sudoku gnome-system-log gnome-system-monitor gnome-system-tools gnome-terminal gnome-themes-standard gnome-themes-standard-data
  gnome-tweak-tool gnome-user-guide gnome-user-share gstreamer1.0-clutter gstreamer1.0-clutter-3.0 gstreamer1.0-plugins-bad gstreamer1.0-plugins-bad-faad
  gstreamer1.0-plugins-bad-videoparsers gucharmap gvfs-backends humanity-icon-theme ibus ibus-gtk3 ibus-table indicator-applet-complete indicator-application indicator-appmenu
  indicator-bluetooth indicator-cpufreq indicator-keyboard indicator-notifications indicator-printers landscape-client-ui-install language-selector-gnome libaccount-plugin-1.0-0
  libaccount-plugin-facebook libaccount-plugin-flickr libaccount-plugin-generic-oauth libaccount-plugin-google libappindicator3-0.1-cil libappindicator3-1 libavahi-ui-gtk3-0
  libbrasero-media3-1 libcanberra-gtk3-0 libcanberra-gtk3-module libchamplain-0.12-0 libchamplain-gtk-0.12-0 libcheese-gtk25 libcheese8 libclutter-1.0-0 libclutter-gst-2.0-0
  libclutter-gst-3.0-0 libclutter-gtk-1.0-0 libcogl-pango20 libcogl-path20 libcogl20 libcolord-gtk1 libcryptui0a libedataserverui-1.2-1 libevdocument3-4 libevolution libevview3-3
  libfolks-eds25 libgail-3-0 libgcr-ui-3-1 libgdk3.0-cil libgmtk1 libgnome-bluetooth13 libgnome-desktop-3-12 libgnomekbd8 libgoa-backend-1.0-1 libgstreamer-plugins-bad1.0-0 libgtk-3-0
  libgtk-3-bin libgtk-3-common libgtk3.0-cil libgtkmm-3.0-1v5 libgtksourceview-3.0-1 libgtkspell3-3-0 libgucharmap-2-90-7 libgweather-3-6 libido3-0.1-0 libindicator3-7 libkeybinder-3.0-0
  libmetacity-private3a libnautilus-extension1a libnm-gtk0 libnma0 libnotify3.0-cil libpanel-applet0 libpeas-1.0-0 libpeas-1.0-0-python3loader libreoffice-avmedia-backend-gstreamer
  librhythmbox-core9 libtimezonemap1 libtotem0 libunity-control-center1 libunity-core-6.0-9 libunity-gtk3-parser0 libunity-misc4 libunity-settings-daemon1 libunity-webapps0 libvte-2.90-9
  libvte-2.91-0 libwayland-egl1-mesa libwebkit2gtk-4.0-37 libwebkitgtk-3.0-0 libwebkitgtk3.0-cil libwnck-3-0 libxfce4panel-2.0-4 libxfce4ui-2-0 libyelp0 light-themes lxde marco
  mate-applets mate-control-center mate-desktop mate-desktop-environment mate-desktop-environment-core mate-panel mate-screensaver mate-session-manager mate-user-guide
  mcp-account-manager-uoa metacity mousetweaks nautilus nautilus-dropbox nautilus-sendto nautilus-share network-manager-gnome network-manager-pptp-gnome notify-osd obconf onboard
  onboard-data oneconf pavucontrol pinentry-gnome3 policykit-1-gnome python-aptdaemon.gtk3widgets python-nautilus python-ubuntu-sso-client python3-aptdaemon.gtk3widgets qtwayland5 remmina
  remmina-plugin-rdp remmina-plugin-vnc retroshare06 retroshare06-feedreader-plugin retroshare06-voip-plugin rhythmbox rhythmbox-mozilla rhythmbox-plugin-cdrecorder
  rhythmbox-plugin-magnatune rhythmbox-plugin-zeitgeist rhythmbox-plugins seahorse seahorse-daemon sessioninstaller shotwell simple-scan software-center software-properties-gtk
  sparkleshare steam-launcher system-config-printer-gnome telepathy-indicator totem totem-plugins transmission-gtk ubuntu-artwork ubuntu-desktop ubuntu-docs ubuntu-mate-default-settings
  ubuntu-mono ubuntu-release-upgrader-gtk ubuntu-session ubuntu-software ubuntu-sso-client ubuntu-sso-client-qt ubuntu-tweak unity unity-asset-pool unity-control-center
  unity-control-center-signon unity-greeter unity-gtk3-module unity-scope-calculator unity-scope-gdrive unity-scope-manpages unity-services unity-settings-daemon unity-tweak-tool
  unity-webapps-common unity-webapps-service update-manager update-notifier usb-creator-gtk vino xdg-user-dirs-gtk xdiagnose xfce4 xfce4-pulseaudio-plugin yelp zeitgeist zeitgeist-datahub
  zenity
The following NEW packages will be installed:
  apparmor-easyprof apparmor-easyprof-ubuntu click click-apparmor debian-mate-default-settings gir1.2-click-0.4 gir1.2-gee-0.8 libboost-log1.58.0 libc-ares2 libclick-0.4-0 libcontent-hub0
  libgflags2v5 libgoogle-glog0v5 libhardware2 libhybris-common1 liblibertine1 liblttng-ust-ctl2 liblttng-ust0 librarian0 libubuntu-app-launch2 libubuntu-application-api3
  libubuntu-download-manager-client1 libubuntu-download-manager-common1 libubuntu-platform-hardware-api3 libudm-common1 liburcu4 ofono powerd python3-apparmor python3-apparmor-click
  python3-click-package python3-libapparmor qtdeclarative5-ubuntu-content1 rarian-compat ubuntu-application-api3-test
The following packages will be DOWNGRADED:
  libegl1-mesa libgbm1 libgl1-mesa-dri
0 upgraded, 35 newly installed, 3 downgraded, 286 to remove and 0 not upgraded.
Need to get 7117 kB of archives.
After this operation, 720 MB disk space will be freed.
Do you want to continue? [Y/n] n


Опаньки... Очевидно, что всякие xfce/gnome не привязаны к версии 11.3 и спокойно переживут даунгрейд на 11.2... Но хотят сноситься. Как быть, как убедить систему даунгрейдить всё, не снося половину софта?

★★★★★

Ответ на: комментарий от Akamanah

Снеси ppa

Давно снесён. Я даже не знаю, какой это был.

Вроде бы пакеты должны сами откатиться.

Увы :-/

KRoN73 ★★★★★
() автор топика
Ответ на: комментарий от Deleted

добавляем ppa oibaf, выпиливаем через ppa-purge

Ага, так сработало. Спасибо. Правда, один фиг, почему-то Steam не пашет :-/ Буду разбираться дальше...

KRoN73 ★★★★★
() автор топика
Последнее исправление: KRoN73 (всего исправлений: 1)
Ответ на: комментарий от KRoN73

Правда, один фиг, почему-то Steam не пашет :-/ Буду разбираться дальше...

$ rm ~/.steam/steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6



или, что, по идее, то же самое:

$ export LD_PRELOAD='/usr/$LIB/libstdc++.so.6'


и заработало.

KRoN73 ★★★★★
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.