インストールしようとしています。ネットワーク管理者 sstpしかし、依存関係をインストールしようとすると、ループに閉じ込められます。./configure
出力は、2つの異なる依存関係が欠落していることを知らせる間に振動します(libnma
そしてlibnm-gtk
- 1つをインストールするたびに1分前にインストールしたかどうかにかかわらず、他のものを使用できないと文句を言います。
どうすればこれが起こり、どのように解決できますか?
問題は次のとおりです。
$ ./configure
configure: error: Package requirements (libnm-gtk >= 1.2.0) were not met:
No package 'libnm-gtk' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables LIBNM_GTK_CFLAGS
and LIBNM_GTK_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
...だからインストールに行きました。
$ sudo apt-get install libnm-gtk-dev
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:
gir1.2-nm-1.0 : Breaks: gir1.2-networkmanager-1.0 (< 1.8.0-2) but 1.6.2-3+deb9u2 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
...それでインストールを進めますgir1.2-networkmanager-1.0
。
$ sudo apt-get install gir1.2-networkmanager-1.0
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
evolution-data-server evolution-data-server-common gir1.2-accountsservice-1.0 gir1.2-gck-1 gir1.2-gcr-3
gir1.2-gdesktopenums-3.0 gir1.2-gdm-1.0 gir1.2-geoclue-2.0 gir1.2-gnomebluetooth-1.0 gir1.2-gnomedesktop-3.0
gir1.2-graphene-1.0 gir1.2-gweather-3.0 gir1.2-json-1.0 gir1.2-mutter-7 gir1.2-polkit-1.0 gir1.2-rsvg-2.0
gir1.2-soup-2.4 gir1.2-upowerglib-1.0 gjs gnome-backgrounds gnome-menus gnome-session-bin gnome-session-common
gnome-shell-common gstreamer1.0-pipewire libcamel-1.2-62 libdbus-glib-1-dev libdbus-glib-1-dev-bin libebackend-1.2-10
libebook-1.2-20 libebook-contacts-1.2-3 libecal-2.0-1 libedata-book-1.2-26 libedata-cal-2.0-1 libedataserver-1.2-25
libedataserverui-1.2-2 libgdata-common libgdata22 libgdm1 libgjs0g libgnome-autoar-0-0 libmozjs-78-0 libmutter-7-0
libnm-gtk0 mutter-common network-manager-dev switcheroo-control xwayland
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
gir1.2-nm-1.0 gir1.2-nma-1.0 libnm-dev libnma-dev
The following NEW packages will be installed:
gir1.2-networkmanager-1.0
0 upgraded, 1 newly installed, 4 to remove and 5 not upgraded.
Need to get 0 B/310 kB of archives.
After this operation, 10.9 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 348213 files and directories currently installed.)
Removing libnma-dev:amd64 (1.8.30-1) ...
Removing libnm-dev:amd64 (1.30.0-2) ...
Removing gir1.2-nma-1.0:amd64 (1.8.30-1) ...
Removing gir1.2-nm-1.0:amd64 (1.30.0-2) ...
Selecting previously unselected package gir1.2-networkmanager-1.0:amd64.
(Reading database ... 347899 files and directories currently installed.)
Preparing to unpack .../gir1.2-networkmanager-1.0_1.6.2-3+deb9u2_amd64.deb ...
Unpacking gir1.2-networkmanager-1.0:amd64 (1.6.2-3+deb9u2) ...
Setting up gir1.2-networkmanager-1.0:amd64 (1.6.2-3+deb9u2) ...
... libnm-gtk-devのインストールが正常に完了しました。
$ sudo apt-get install libnm-gtk-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
evolution-data-server evolution-data-server-common gir1.2-accountsservice-1.0 gir1.2-gck-1 gir1.2-gcr-3 gir1.2-gdesktopenums-3.0 gir1.2-gdm-1.0 gir1.2-geoclue-2.0
gir1.2-gnomebluetooth-1.0 gir1.2-gnomedesktop-3.0 gir1.2-graphene-1.0 gir1.2-gweather-3.0 gir1.2-json-1.0 gir1.2-mutter-7 gir1.2-polkit-1.0 gir1.2-rsvg-2.0 gir1.2-soup-2.4
gir1.2-upowerglib-1.0 gjs gnome-backgrounds gnome-menus gnome-session-bin gnome-session-common gnome-shell-common gstreamer1.0-pipewire libcamel-1.2-62 libebackend-1.2-10
libebook-1.2-20 libebook-contacts-1.2-3 libecal-2.0-1 libedata-book-1.2-26 libedata-cal-2.0-1 libedataserver-1.2-25 libedataserverui-1.2-2 libgdata-common libgdata22 libgdm1 libgjs0g
libgnome-autoar-0-0 libmozjs-78-0 libmutter-7-0 mutter-common switcheroo-control xwayland
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
gir1.2-nmgtk-1.0 libnm-glib-dev libnm-util-dev
The following NEW packages will be installed:
gir1.2-nmgtk-1.0 libnm-glib-dev libnm-gtk-dev libnm-util-dev
0 upgraded, 4 newly installed, 0 to remove and 4 not upgraded.
Need to get 0 B/992 kB of archives.
After this operation, 6,471 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Selecting previously unselected package gir1.2-nmgtk-1.0:amd64.
(Reading database ... 347906 files and directories currently installed.)
Preparing to unpack .../gir1.2-nmgtk-1.0_1.4.4-1+deb9u1_amd64.deb ...
Unpacking gir1.2-nmgtk-1.0:amd64 (1.4.4-1+deb9u1) ...
Selecting previously unselected package libnm-util-dev:amd64.
Preparing to unpack .../libnm-util-dev_1.6.2-3+deb9u2_amd64.deb ...
Unpacking libnm-util-dev:amd64 (1.6.2-3+deb9u2) ...
Selecting previously unselected package libnm-glib-dev:amd64.
Preparing to unpack .../libnm-glib-dev_1.6.2-3+deb9u2_amd64.deb ...
Unpacking libnm-glib-dev:amd64 (1.6.2-3+deb9u2) ...
Selecting previously unselected package libnm-gtk-dev:amd64.
Preparing to unpack .../libnm-gtk-dev_1.4.4-1+deb9u1_amd64.deb ...
Unpacking libnm-gtk-dev:amd64 (1.4.4-1+deb9u1) ...
Setting up gir1.2-nmgtk-1.0:amd64 (1.4.4-1+deb9u1) ...
Setting up libnm-util-dev:amd64 (1.6.2-3+deb9u2) ...
Setting up libnm-glib-dev:amd64 (1.6.2-3+deb9u2) ...
Setting up libnm-gtk-dev:amd64 (1.4.4-1+deb9u1) ...
...その後、再構成してみてください。これでエラーは発生しません。
$ ./configure
No package 'libnma' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables LIBNMA_CFLAGS
and LIBNMA_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
...それで行ってインストールしますlibnma
。
$ sudo apt-get install libnma-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
evolution-data-server evolution-data-server-common gir1.2-accountsservice-1.0 gir1.2-gck-1 gir1.2-gcr-3
gir1.2-gdesktopenums-3.0 gir1.2-gdm-1.0 gir1.2-geoclue-2.0 gir1.2-gnomebluetooth-1.0 gir1.2-gnomedesktop-3.0
gir1.2-graphene-1.0 gir1.2-gweather-3.0 gir1.2-json-1.0 gir1.2-mutter-7 gir1.2-polkit-1.0 gir1.2-rsvg-2.0
gir1.2-soup-2.4 gir1.2-upowerglib-1.0 gjs gnome-backgrounds gnome-menus gnome-session-bin gnome-session-common
gnome-shell-common gstreamer1.0-pipewire libcamel-1.2-62 libdbus-glib-1-dev libdbus-glib-1-dev-bin libebackend-1.2-10
libebook-1.2-20 libebook-contacts-1.2-3 libecal-2.0-1 libedata-book-1.2-26 libedata-cal-2.0-1 libedataserver-1.2-25
libedataserverui-1.2-2 libgdata-common libgdata22 libgdm1 libgjs0g libgnome-autoar-0-0 libmozjs-78-0 libmutter-7-0
libnm-glib4 libnm-gtk0 libnm-util2 mutter-common network-manager-dev switcheroo-control xwayland
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
gir1.2-nm-1.0 gir1.2-nma-1.0 libnm-dev
The following packages will be REMOVED:
gir1.2-networkmanager-1.0
The following NEW packages will be installed:
gir1.2-nm-1.0 gir1.2-nma-1.0 libnm-dev libnma-dev
0 upgraded, 4 newly installed, 1 to remove and 5 not upgraded.
Need to get 0 B/860 kB of archives.
After this operation, 10.9 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 347906 files and directories currently installed.)
Removing gir1.2-networkmanager-1.0:amd64 (1.6.2-3+deb9u2) ...
Selecting previously unselected package gir1.2-nm-1.0:amd64.
(Reading database ... 347899 files and directories currently installed.)
Preparing to unpack .../gir1.2-nm-1.0_1.30.0-2_amd64.deb ...
Unpacking gir1.2-nm-1.0:amd64 (1.30.0-2) ...
Selecting previously unselected package gir1.2-nma-1.0:amd64.
Preparing to unpack .../gir1.2-nma-1.0_1.8.30-1_amd64.deb ...
Unpacking gir1.2-nma-1.0:amd64 (1.8.30-1) ...
Selecting previously unselected package libnm-dev:amd64.
Preparing to unpack .../libnm-dev_1.30.0-2_amd64.deb ...
Unpacking libnm-dev:amd64 (1.30.0-2) ...
Selecting previously unselected package libnma-dev:amd64.
Preparing to unpack .../libnma-dev_1.8.30-1_amd64.deb ...
Unpacking libnma-dev:amd64 (1.8.30-1) ...
Setting up gir1.2-nm-1.0:amd64 (1.30.0-2) ...
Setting up gir1.2-nma-1.0:amd64 (1.8.30-1) ...
Setting up libnm-dev:amd64 (1.30.0-2) ...
Setting up libnma-dev:amd64 (1.8.30-1) ...
...そして再構成してみてください。
$ ./configure
configure: error: Package requirements (libnm-gtk >= 1.2.0) were not met:
No package 'libnm-gtk' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables LIBNM_GTK_CFLAGS
and LIBNM_GTK_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
...そしてループが完了すると、次のように(おそらく)永遠に繰り返されます。
ベストアンサー1
問題はストレージの設定によって発生します。libnma-dev
Debian 11(または不安定かもしれません)からインストールしますが、libnm-gtk-dev
Debian 9ではインストールしません。 1つをインストールすると、もう1つは互換性がないため削除されます。
Debian バージョンの 1 つを選択する必要があります。両方のバージョンを混在させることで、すべてが機能することを期待することはできません。