dpkg -l | grep "wine"
dpkg --print-foreign-architectures
Первая команда ничего не вывела,
вторая - вывела i386
d@d-Lenovo-B590:~$ dpkg -l | grep "wine"
d@d-Lenovo-B590:~$ dpkg --print-foreign-architectures
i386
d@d-Lenovo-B590:~$
Ещё возможно имеет значение, что snap у меня удалён и вроде как заблокирована установка snap.
Пользователь добавил сообщение 15 Февраля 2025, 15:56:39:
Если повредились пакеты или сломался apt-get
d@d-Lenovo-B590:~$ sudo apt-get -f install
[sudo] password for d:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
d@d-Lenovo-B590:~$ sudo dpkg --configure -a
d@d-Lenovo-B590:~$ sudo apt-get update --fix-missing
Hit:1 http://ru.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:3 https://dl.google.com/linux/chrome/deb stable InRelease
Reading package lists... Done
Надеюсь, что мне это помогло, только не знаю как это узнать точно.
Пользователь добавил сообщение 15 Февраля 2025, 16:31:43:
Кстати, мимоходом заглянул, два года назад тебя уже учили 2gis устанавливать.
Может ты удивишься, но я об этом знаю.
Пользователь добавил сообщение 15 Февраля 2025, 16:45:34:
Кстати, не делайте так:
sudo apt install wine
Это и тогда, и сейчас удалило из компа /opt
Буду опять переустанавливаться, а то мало ли что ещё удалилось.
Пользователь добавил сообщение 15 Февраля 2025, 20:20:06:
Вот после переустановки, пока не снёс snap, поставил так:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A2F683C52980AECF
sudo apt-get update
https://madhowl.ru/linux/3-ispravlyaem-oshibku-gpg-pri-obnovlenii-sistemy-ubuntusudo dpkg --add-architecture i386
cat /etc/os-release
sudo mkdir -pm755 /etc/apt/keyrings
wget -O - https://dl.winehq.org/wine-builds/winehq.key | sudo gpg --dearmor -o /etc/apt/keyrings/winehq-archive.key -
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources
https://gitlab.winehq.org/wine/wine/-/wikis/Debian-Ubuntusudo apt-get install --install-recommends wine-stable
https://askubuntu.com/questions/984844/e-unable-to-locate-package-winehq-stableДальше система подсказала:
it looks like wine32 is missing, you should install it.
as root, please execute "apt-get install wine32"
И вот что вышло:
$ sudo apt install wine32*
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'wine32-tools' for glob 'wine32*'
Note, selecting 'wine32-development-preloader:i386' for glob 'wine32*'
Note, selecting 'wine32' for glob 'wine32*'
Note, selecting 'wine32-development' for glob 'wine32*'
Note, selecting 'wine32-development-tools' for glob 'wine32*'
Note, selecting 'wine32-preloader:i386' for glob 'wine32*'
Note, selecting 'wine32-tools:i386' instead of 'wine32-tools'
Note, selecting 'wine32-development:i386' instead of 'wine32-development'
Note, selecting 'wine32-development-tools:i386' instead of 'wine32-development-tools'
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:
apt : Depends: adduser but it is not going to be installed
Depends: libapt-pkg6.0 (>= 2.4.13) but it is not going to be installed
Depends: libsystemd0 but it is not installable
bsdutils : PreDepends: libsystemd0 but it is not installable
e2fsprogs : PreDepends: libcom-err2 (>= 1.43.9) but it is not installable
PreDepends: libss2 (>= 1.38) but it is not going to be installed
Recommends: e2fsprogs-l10n but it is not going to be installed
init : PreDepends: systemd-sysv
login : PreDepends: libpam-runtime but it is not going to be installed
PreDepends: libpam-modules but it is not going to be installed
shim-signed : Depends: grub-efi-amd64-signed (>= 1.187.2~) but it is not going to be installed or
grub-efi-arm64-signed (>= 1.187.2~) but it is not installable
Depends: grub2-common (>= 2.04-1ubuntu24)
util-linux : PreDepends: libsystemd0 but it is not installable
PreDepends: libudev1 (>= 183) but it is not installable
wine32-development-tools:i386 : Depends: gcc:i386 but it is not going to be installed or
gcc-multilib:amd64
Recommends: g++:i386 but it is not going to be installed or
g++-multilib:amd64
wine32-tools:i386 : Depends: gcc:i386 but it is not going to be installed or
gcc-multilib:amd64
Recommends: g++:i386 but it is not going to be installed or
g++-multilib:amd64
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Пользователь добавил сообщение 15 Февраля 2025, 23:08:28:
wine64 очевидно установлен:
$ sudo apt install wine64
[sudo] password for d:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
wine64 is already the newest version (6.0.3~repack-1).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
wine32 не устанавливается:
$ sudo apt install wine32
Reading package lists... Done
Building dependency tree... Done
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:
apt : Depends: adduser but it is not going to be installed
Depends: libapt-pkg6.0 (>= 2.4.13) but it is not going to be installed
Depends: libsystemd0 but it is not installable
bsdutils : PreDepends: libsystemd0 but it is not installable
e2fsprogs : PreDepends: libcom-err2 (>= 1.43.9) but it is not installable
PreDepends: libss2 (>= 1.38) but it is not going to be installed
Recommends: e2fsprogs-l10n but it is not going to be installed
init : PreDepends: systemd-sysv
login : PreDepends: libpam-runtime but it is not going to be installed
PreDepends: libpam-modules but it is not going to be installed
shim-signed : Depends: grub-efi-amd64-signed (>= 1.187.2~) but it is not going to be installed or
grub-efi-arm64-signed (>= 1.187.2~) but it is not installable
Depends: grub2-common (>= 2.04-1ubuntu24)
util-linux : PreDepends: libsystemd0 but it is not installable
PreDepends: libudev1 (>= 183) but it is not installable
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Есть 2 версии 2gis:
2GISShell-3.16.3.0.orig.zip (Linux)
2GISShell-3.16.3.0.msi (Windows)
Виндовая версия не устанавливается, толи Wine неправильно настроен, толи нужен wine32.
Линуксовая распаковывается и в ней есть файл grym.exe, но тоже требует чего-то, как я написал в первом посте.