Не могу победить корректную установку PlayOnLinux:
При установке обычным способом на Ubuntu 22.04 LTS ругается. Ковырялся ковырялся, нашел на сайте PlayOnLinux, что пользователям Ubuntu Precise (и выше) надо разворачивать i386 архитектуру для Wine. Начал пробовать это делать как написано в инстурукции на сайте:
32-bit support for Ubuntu 20.04
The easiest way is to run the following command in a terminal:
sudo dpkg --add-architecture i386 && sudo apt-get update && sudo apt-get install wine32 wine32-preloader
The following two sections are fairly outdated:
On Debian wheezy
To install wine:i386 Debian, you must first enable support for this architecture (with dpkg). You can then update the repository and install wine:i386
sudo dpkg --add-i386
sudo apt-get update
sudo apt-get install wine:i386
On Ubuntu Precise (and some higher versions)
To install wine:i386 on Ubuntu, you must first enable support for this architecture (with dpkg configuration file). You can then update the repository and install wine:i386
sudo echo "foreign-i386 architecture"> /etc/dpkg/dpkg.cfg.d/multiarch
sudo apt-get update
sudo apt-get install wine:i386
не помогло, так как и команды не совсем правильные предлагались (как оказалось), да и не помогло. Вот сейчас что вывдает при попытке установить wine:
rl@rl-ubuntu-desktop:~$ sudo apt install wine32:i386
[sudo] password for rl:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
wine32:i386 is already the newest version (6.0.3~repack-1).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
wine : Depends: wine64 (>= 6.0.3~repack-1) but it is not going to be installed or
wine32 (>= 6.0.3~repack-1) but it is not installable
Depends: wine64 (< 6.0.3~repack-1.1~) but it is not going to be installed or
wine32 (< 6.0.3~repack-1.1~) but it is not installable
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Вот эта команда:
sudo dpkg --add-architecture i386 && sudo apt-get update && sudo apt-get install wine32 wine32-preloader
Дает такой результат:
dpkg: error: configuration error: /etc/dpkg/dpkg.cfg.d/multiarch:1: unknown option 'foreign-architecture'
Пробуем исправить:
apt --fix-broken install
Результат:
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
я не эксперт в Linux, но могу некоторых вещах разобраться. Прошу не кидаться тапками, а по возможности помочь. Если надо что то прислать, то убедительная просьба для новичка давать сразу команду, как это сделать.
Заранне всех благодарю!