Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to resolve dependencies to install vpn
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
michaelnn
n00b
n00b


Joined: 21 Sep 2021
Posts: 6

PostPosted: Wed Sep 22, 2021 8:58 am    Post subject: How to resolve dependencies to install vpn Reply with quote

I know Im on old profile but can you please suggest me how to do in this situation to install vpn?

emerge -pv net-vpn/openvpn

Code:

!!! Your current profile is deprecated and not supported anymore.
!!! Use eselect profile to update your profile.
!!! Please upgrade to the following profile if possible:

        default/linux/amd64/17.1/desktop

To upgrade do the following steps:

The amd64 17.1 profiles switch to a more standard 'no SYMLINK_LIB'
multilib layout, and require an explicit migration.
The migration is performed using the app-portage/unsymlink-lib tool.
The following steps can be used to upgrade your system:

1. Sync and upgrade your system to the newest package versions
   to reduce the risk of issues.

2. Install the tool:
     # emerge -1v app-portage/unsymlink-lib

3. Run 'unsymlink-lib --analyze' and check the output for obvious
   mistakes.  If you need to perform any changes to the system, remember
   to run 'unsymlink-lib --analyze' again afterwards.

[past this point do not call emerge or modify /usr manually]

4. This is a very good time to make a backup.

5. Run 'unsymlink-lib --migrate'.  You can add '--pretend' first to see
   what is going to happen.

6. Reboot your system.  Check if important programs work.
   In particular, verify that e.g. 'emerge --info' works (but do not
   install anything).  If you hit any serious problems, you can use
   'unsymlink-lib --rollback' to revert the changes and return to
   step 3.

7. Run 'unsymlink-lib --finish'.  You can add '--pretend' first to see
   what is going to happen but note that you're going to see a very long
   list of files to remove.

8. Switch the profile, e.g.:
     # eselect profile set default/linux/amd64/17.1/desktop

[at this point you can start using emerge again. emerge will then
 not display this message anymore, but the remaining steps are still
 required!]

9. Rebuild gcc:
      # emerge -1v sys-devel/gcc:9.3.0
      [ repeat for other slots you will be using ]

10. If you are using a multilib profile, rebuild all 32-bit packages.
    This can be done using:
      # emerge -1v --deep /lib32 /usr/lib32 /usr/lib/llvm/*/lib32

11. Once the last 32-bit package is rebuilt, your package manager
    should remove the orphaned /lib32 and /usr/lib32 symlinks.  If that
    does not happen, remove them manually:
      # rm /lib32 /usr/lib32

For known issues, please see bug #506276 [1].  If you have any problems
with the new profiles or the migration procedure, please report a bug
and make it block the tracker.

[1] bug #506276


 * Last emerge --sync was 93d 1m 10s ago.

 * IMPORTANT: config file '/etc/portage/package.use' needs updating.
 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] acct-group/openvpn-0-r1::gentoo  0 KiB
[ebuild  N     ] dev-libs/lzo-2.10:2::gentoo  USE="(split-usr) -examples -static-libs" ABI_X86="(64) -32 (-x32)" 587 KiB
[ebuild  N     ] acct-user/openvpn-0-r1::gentoo  0 KiB
[ebuild     U  ] app-arch/xz-utils-5.2.5::gentoo [5.0.4-r1::gentoo] USE="extra-filters%* nls (split-usr%*) threads -static-libs" ABI_X86="(64%*) -32% (-x32)" 1,750 KiB
[ebuild     U  ] virtual/acl-0-r2::gentoo [0-r1::gentoo] USE="-static-libs" ABI_X86="(64%*) -32% (-x32)" 0 KiB
[ebuild     U  ] sys-apps/acl-2.3.1::gentoo [2.2.51::gentoo] USE="nls (split-usr%*) -static-libs (-nfs%)" ABI_X86="(64%*) -32% (-x32)" 507 KiB
[ebuild  N     ] app-crypt/rhash-1.3.6-r1::gentoo  USE="nls ssl -debug -static-libs" ABI_X86="(64) -32 (-x32)" 321 KiB
[ebuild  N     ] app-arch/libarchive-3.5.1:0/13::gentoo  USE="acl bzip2 e2fsprogs iconv lzma threads xattr zlib -blake2 -expat -lz4 -lzo -nettle -static-libs -zstd" ABI_X86="(64) -32 (-x32)" 6,845 KiB
[ebuild   R    ] dev-python/certifi-10001-r1::gentoo  USE="-test" PYTHON_TARGETS="python3_9* (-pypy3) (-python3_10) -python3_8* (-python3_7%)" 0 KiB
[ebuild     U  ] dev-python/setuptools-56.0.0::gentoo [50.3.0::gentoo] USE="-test" PYTHON_TARGETS="python3_9* (-pypy3) -python3_8* (-python3_7%)" 2,007 KiB
[ebuild  N     ] dev-python/toml-0.10.2::gentoo  USE="-test" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8" 23 KiB
[ebuild     U  ] dev-python/setuptools_scm-6.0.1-r1::gentoo [4.1.2-r1::gentoo] USE="-test" PYTHON_TARGETS="python3_9* (-pypy3) (-python3_10) -python3_8* (-python3_7%)" 51 KiB
[ebuild     U  ] dev-util/meson-0.57.2::gentoo [0.55.3::gentoo] USE="(-test)" PYTHON_TARGETS="python3_9* -python3_8* (-python3_7%)" 1,811 KiB
[ebuild  N     ] dev-libs/jsoncpp-1.9.4:0/24::gentoo  USE="-doc -test" 210 KiB
[ebuild  N     ] dev-util/cmake-3.18.5::gentoo  USE="ncurses -doc -emacs -qt5 -test" 8,766 KiB
[ebuild  N     ] app-arch/lz4-1.9.3-r1:0/r132::gentoo  USE="-static-libs" ABI_X86="(64) -32 (-x32)" 314 KiB
[ebuild  N     ] net-vpn/openvpn-2.5.2::gentoo  USE="down-root examples lz4 lzo openssl pam plugins -inotify -iproute2 -mbedtls -pkcs11 (-selinux) -systemd -test" 1,788 KiB

Total: 17 packages (6 upgrades, 10 new, 1 reinstall), Size of downloads: 24,973 KiB

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-python/setuptools:0

  (dev-python/setuptools-56.0.0:0/0::gentoo, ebuild scheduled for merge) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_9 (-pypy3) -python3_8" pulled in by
    >=dev-python/setuptools-42.0.2[python_targets_pypy3(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?,-python_single_target_pypy3(-),-python_single_target_python3_8(-),-python_single_target_python3_9(-),-python_single_target_python3_10(-)] required by (dev-python/setuptools_scm-6.0.1-r1:0/0::gentoo, ebuild scheduled for merge) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
    >=dev-python/setuptools-42.0.2[python_targets_python3_8(-)?,python_targets_python3_9(-)?,-python_single_target_python3_8(-),-python_single_target_python3_9(-)] required by (dev-util/meson-0.57.2:0/0::gentoo, ebuild scheduled for merge) USE="(-test)" ABI_X86="(64)" PYTHON_TARGETS="python3_9 -python3_8"
                                                                                                                                                                                                                                                                                                                                           
    >=dev-python/setuptools-42.0.2[python_targets_pypy3(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?,-python_single_target_pypy3(-),-python_single_target_python3_8(-),-python_single_target_python3_9(-),-python_single_target_python3_10(-)] required by (dev-python/toml-0.10.2:0/0::gentoo, ebuild scheduled for merge) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 

  (dev-python/setuptools-50.3.0:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 (-pypy3) -python3_7 -python3_9" pulled in by
    >=dev-python/setuptools-42.0.2[python_targets_python3_8(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-),-python_single_target_python3_9(-)] required by (dev-python/cffi-1.14.4:0/1.14.4::gentoo, installed) USE="-doc -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 -python3_7 -python3_9"
                                                                                                                                                                                                                                                                                                                                           
    >=dev-python/setuptools-42.0.2[python_targets_python3_8(-),-python_single_target_pypy3(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-),-python_single_target_python3_9(-)] required by (dev-python/setuptools_scm-4.1.2-r1:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 (-pypy3) -python3_7 -python3_9"
                                                                                                                                                                                                                                                                                                                                           

dev-python/setuptools_scm:0

  (dev-python/setuptools_scm-6.0.1-r1:0/0::gentoo, ebuild scheduled for merge) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8" pulled in by
    dev-python/setuptools_scm[python_targets_pypy3(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,-python_single_target_pypy3(-),-python_single_target_python3_8(-),-python_single_target_python3_9(-)] required by (dev-python/setuptools-56.0.0:0/0::gentoo, ebuild scheduled for merge) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_9 (-pypy3) -python3_8"
                                                                                                                                                                                                                                                                                                                                           

  (dev-python/setuptools_scm-4.1.2-r1:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 (-pypy3) -python3_7 -python3_9" pulled in by
    dev-python/setuptools_scm[python_targets_python3_8(-),-python_single_target_pypy3(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-),-python_single_target_python3_9(-)] required by (dev-python/setuptools-50.3.0:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 (-pypy3) -python3_7 -python3_9"
                                                                                                                                                                                                                                                                                                                                           

dev-python/certifi:0

  (dev-python/certifi-10001-r1:0/0::gentoo, ebuild scheduled for merge) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8" pulled in by
    >=dev-python/certifi-2016.9.26[python_targets_pypy3(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,-python_single_target_pypy3(-),-python_single_target_python3_8(-),-python_single_target_python3_9(-)] required by (dev-python/setuptools-56.0.0:0/0::gentoo, ebuild scheduled for merge) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_9 (-pypy3) -python3_8"
                                                                                                                                                                                                                                                                                                                                           

  (dev-python/certifi-10001-r1:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 (-pypy3) -python3_7 -python3_9" pulled in by
    >=dev-python/certifi-2017.4.17[python_targets_python3_8(-),-python_single_target_pypy3(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-),-python_single_target_python3_9(-)] required by (dev-python/requests-2.25.1-r1:0/0::gentoo, installed) USE="-socks5 -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 (-pypy3) -python3_7 -python3_9"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
    >=dev-python/certifi-2016.9.26[python_targets_python3_8(-),-python_single_target_pypy3(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-),-python_single_target_python3_9(-)] required by (dev-python/setuptools-50.3.0:0/0::gentoo, installed) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 (-pypy3) -python3_7 -python3_9"
                                                                                                                                                                                                                                                                                                                                           
    dev-python/certifi[python_targets_python3_8(-),-python_single_target_pypy3(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-),-python_single_target_python3_9(-)] required by (dev-python/urllib3-1.26.2-r3:0/0::gentoo, installed) USE="-brotli -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 (-pypy3) -python3_7 -python3_9"
                                                                                                                                                                                                                                                                                                                                           


It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously. You may want to try a larger value of
the --backtrack option, such as --backtrack=30, in order to see if
that will solve this conflict automatically.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.


!!! The following installed packages are masked:
- sys-kernel/gentoo-sources-3.16.1::gentoo (masked by: freedist license(s))
A copy of the 'freedist' license is located at '/usr/portage/licenses/freedist'.

- sys-libs/glibc-2.32-r6::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Andreas K. Hüttel <dilfridge@gentoo.org> (2017-05-21)
# (and others, updated later)
# These old versions of toolchain packages (binutils, gcc, glibc) are no
# longer officially supported and are not suitable for general use. Using
# these packages can result in build failures (and possible breakage) for
# many packages, and may leave your system vulnerable to known security
# exploits.
# If you still use one of these old toolchain packages, please upgrade (and
# switch the compiler / the binutils) ASAP. If you need them for a specific
# (isolated) use case, feel free to unmask them on your system.

- sys-devel/binutils-2.35.1-r1::gentoo (masked by: package.mask)
- sys-kernel/gentoo-sources-3.7.10::gentoo (masked by: freedist license(s))
- sys-apps/man-pages-posix-2003a::gentoo (masked by: man-pages-posix license(s))
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


 * IMPORTANT: 45 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Wed Sep 22, 2021 11:27 am    Post subject: Reply with quote

Hi
First you have to update your system
Then migrate your system to 17.1 profile.
Then only emerge openvpn
Plz try
Code:

emerge -1av glibc pax-utils binutils
USE="-rsync-verify" PYTHON_TARGETS="python3_8" emerge -1av portage
emerge -uDNav @world
emerge -a --depclean
<now-perform the migration to 17.1>
emerge -av openvpn

_________________
:)
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21602

PostPosted: Fri Sep 24, 2021 7:02 pm    Post subject: Reply with quote

Although it may not be an advisable course, installing packages while in this state works. The migration to 17.1 is strongly encouraged but, for now, still not mandatory.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum