Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Why i got app-alternaives packages installed?

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
14 posts • Page 1 of 1
Author
Message
printf
Apprentice
Apprentice
Posts: 157
Joined: Thu Dec 02, 2010 9:05 am

Why i got app-alternaives packages installed?

  • Quote

Post by printf » Fri Dec 30, 2022 7:28 am

I just did a regular update, and I didn't select any of them.
Also, I don't have any special configuration on my system, where i need them.
These are installed:

Code: Select all

[ Results for search key : @alternatives ]
Searching...

*  app-alternatives/awk
      Latest version available: 4
      Latest version installed: 4
      Size of files: 0 KiB
      Homepage:      https://wiki.gentoo.org/wiki/Project:Base/Alternatives
      Description:   /bin/awk and /usr/bin/awk symlinks
      License:       CC0-1.0

*  app-alternatives/bc
      Latest version available: 0
      Latest version installed: 0
      Size of files: 0 KiB
      Homepage:      https://wiki.gentoo.org/wiki/Project:Base/Alternatives
      Description:   bc symlink
      License:       CC0-1.0

*  app-alternatives/bzip2
      Latest version available: 1
      Latest version installed: 1
      Size of files: 0 KiB
      Homepage:      https://wiki.gentoo.org/wiki/Project:Base/Alternatives
      Description:   bzip2 symlink
      License:       CC0-1.0

*  app-alternatives/cpio
      Latest version available: 0
      Latest version installed: 0
      Size of files: 0 KiB
      Homepage:      https://wiki.gentoo.org/wiki/Project:Base/Alternatives
      Description:   CPIO symlink
      License:       CC0-1.0

*  app-alternatives/gzip
      Latest version available: 0
      Latest version installed: 0
      Size of files: 0 KiB
      Homepage:      https://wiki.gentoo.org/wiki/Project:Base/Alternatives
      Description:   gzip symlinks
      License:       CC0-1.0

*  app-alternatives/lex
      Latest version available: 0-r1
      Latest version installed: 0-r1
      Size of files: 0 KiB
      Homepage:      https://wiki.gentoo.org/wiki/Project:Base/Alternatives
      Description:   lex symlinks
      License:       CC0-1.0

*  app-alternatives/sh
      Latest version available: 0
      Latest version installed: 0
      Size of files: 0 KiB
      Homepage:      https://wiki.gentoo.org/wiki/Project:Base/Alternatives
      Description:   /bin/sh (POSIX shell) symlink
      License:       CC0-1.0

*  app-alternatives/tar
      Latest version available: 0
      Latest version installed: 0
      Size of files: 0 KiB
      Homepage:      https://wiki.gentoo.org/wiki/Project:Base/Alternatives
      Description:   Tar symlink
      License:       CC0-1.0

*  app-alternatives/yacc
      Latest version available: 1-r2
      Latest version installed: 1-r2
      Size of files: 0 KiB
      Homepage:      https://wiki.gentoo.org/wiki/Project:Base/Alternatives
      Description:   yacc symlinks
      License:       CC0-1.0

[ Applications found : 9 ]
make.conf:

Code: Select all

# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
MAKEOPTS="-j5"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE and USE_EXPAND flags that were used for
# buidling in addition to what is provided by the profile.
USE="udev elogind -systemd -consolekit policykit dbus jpeg thunar X lm_sensors git alsa icu -gnome -qt4 -qt5 -kde -minimal -hal -truetype -webkit -pulseaudio vaapi vdpau -steamruntime glamor opencl"

CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"

PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"

VIDEO_CARDS="intel i965 amdgpu radeonsi"

XFCE_PLUGINS="brightness clock trash"

GENTOO_MIRRORS="rsync://mirror.leaseweb.com/gentoo/"
#GENTOO_MIRRORS="http://mirrors.xservers.ro/gentoo/"

GRUB_PLATFORMS="efi-64"

PYTHON_TARGETS="python3_10"
PYTHON_SINGLE_TARGET="python3_10"
package.keywords
package.use
Top
ian.au
l33t
l33t
User avatar
Posts: 620
Joined: Thu Apr 07, 2011 3:39 am
Location: Australia

  • Quote

Post by ian.au » Fri Dec 30, 2022 7:56 am

https://wiki.gentoo.org/wiki/Project:Base/Alternatives
Says
Migration
Migration to app-alternatives/* providers of common system packages like awk, bzip2, gzip will occur for stable users shortly
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Fri Dec 30, 2022 8:25 am

Did you read the news that portage was proposing?
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
asturm
Developer
Developer
Posts: 9496
Joined: Thu Apr 05, 2007 4:07 pm

  • Quote

Post by asturm » Fri Dec 30, 2022 8:45 am

emerge also regularly installs libraries, none of which you selected manually, as dependencies of the packages you choose to install.
Top
printf
Apprentice
Apprentice
Posts: 157
Joined: Thu Dec 02, 2010 9:05 am

  • Quote

Post by printf » Fri Dec 30, 2022 10:09 am

fedeliallalinea wrote:Did you read the news that portage was proposing?
i have read it like 3 times, and still could not figure out why is it installing alternatives for me
i do not have any

Code: Select all

FEATURES=
set in my make.conf
Top
asturm
Developer
Developer
Posts: 9496
Joined: Thu Apr 05, 2007 4:07 pm

  • Quote

Post by asturm » Fri Dec 30, 2022 10:16 am

Then read it again, properly.
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Fri Dec 30, 2022 10:38 am

printf wrote:i have read it like 3 times, and still could not figure out why is it installing alternatives for me
i do not have any

Code: Select all

FEATURES=
set in my make.conf
If you haven't set anything particular in the FEATURES variable you just follow these steps:

Code: Select all

1. # emerge --deselect app-eselect/eselect-awk app-eselect/eselect-sh
2. # emerge --depclean app-eselect/eselect-awk app-eselect/eselect-sh
3. # emerge --sync
4. # emerge -a -uvDU @world (or other similar standard world upgrade command)
5. # emerge --ask --depclean
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
printf
Apprentice
Apprentice
Posts: 157
Joined: Thu Dec 02, 2010 9:05 am

  • Quote

Post by printf » Fri Dec 30, 2022 10:41 am

fedeliallalinea wrote:
printf wrote:i have read it like 3 times, and still could not figure out why is it installing alternatives for me
i do not have any

Code: Select all

FEATURES=
set in my make.conf
If you haven't set anything particular in the FEATURES variable you just follow these steps:

Code: Select all

1. # emerge --deselect app-eselect/eselect-awk app-eselect/eselect-sh
2. # emerge --depclean app-eselect/eselect-awk app-eselect/eselect-sh
3. # emerge --sync
4. # emerge -a -uvDU @world (or other similar standard world upgrade command)
5. # emerge --ask --depclean
should i do those for bzip2/lex/yacc too?
Top
asturm
Developer
Developer
Posts: 9496
Joined: Thu Apr 05, 2007 4:07 pm

  • Quote

Post by asturm » Fri Dec 30, 2022 10:45 am

Only if you previously polluted your world file with them.
Top
printf
Apprentice
Apprentice
Posts: 157
Joined: Thu Dec 02, 2010 9:05 am

  • Quote

Post by printf » Fri Dec 30, 2022 10:50 am

asturm wrote:Only if you previously polluted your world file with them.
ok. I didn't manually pollute them, but the latest update pulled in alternatives for it, that's why i asked
Top
asturm
Developer
Developer
Posts: 9496
Joined: Thu Apr 05, 2007 4:07 pm

  • Quote

Post by asturm » Fri Dec 30, 2022 11:13 am

I refer you back to my first post in here:
asturm wrote:emerge also regularly installs libraries, none of which you selected manually, as dependencies of the packages you choose to install.
If you want to know why:

Code: Select all

$ equery d app-alternatives/bzip2
 * These packages depend on app-alternatives/bzip2:
app-arch/bzip2-1.0.8-r4 (app-alternatives/bzip2)
Top
gcyoung
Apprentice
Apprentice
Posts: 179
Joined: Wed Jul 04, 2007 11:05 am
Location: England

  • Quote

Post by gcyoung » Sun Jan 08, 2023 1:00 pm

I am posting here since I cannot find any other topic relating to my problem with symlinks and app-alternatives.
App-alternatives was installed on my system as part of a routine update and following the guidance given in
the news item.

sys-devel/binutils was also updated from verison 2.8 to 2.9. However, the symlinks to the binutil programs were not
updated. I am not therefore able to compile anything now as the compiler can't find the necessary paths.

I have tried to sort out the symlink changes needed, but they are complex, and I can't seem to work them out.
I am therefore concerned that I might make the situation worse, and would be grateful if someone could set out
in a simple list the settings required

***** LATER*******

I have scratched my head a bit, and managed to sort it out. But others take warning. The symlinks to binutils had been
partially amended, but not completely. I
Top
Banana
Moderator
Moderator
User avatar
Posts: 2366
Joined: Fri May 21, 2004 12:02 pm
Location: Germany
Contact:
Contact Banana
Website

  • Quote

Post by Banana » Sun Jan 08, 2023 3:24 pm

gcyoung wrote:I am posting here since I cannot find any other topic relating to my problem with symlinks and app-alternatives.
App-alternatives was installed on my system as part of a routine update and following the guidance given in
the news item.

sys-devel/binutils was also updated from verison 2.8 to 2.9. However, the symlinks to the binutil programs were not
updated. I am not therefore able to compile anything now as the compiler can't find the necessary paths.

I have tried to sort out the symlink changes needed, but they are complex, and I can't seem to work them out.
I am therefore concerned that I might make the situation worse, and would be grateful if someone could set out
in a simple list the settings required

***** LATER*******

I have scratched my head a bit, and managed to sort it out. But others take warning. The symlinks to binutils had been
partially amended, but not completely. I
This should not be the couse of the app-alternaives packages. Binutils can have multiple version installed. Therefor there is eselect binutils. Use eselect binutils list to see what versions are installed and eselect binutils set <number> to use the correct/new one. After that run a emerge -uDNav @world to make sure everything is up to date.
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Top
gcyoung
Apprentice
Apprentice
Posts: 179
Joined: Wed Jul 04, 2007 11:05 am
Location: England

  • Quote

Post by gcyoung » Sun Jan 08, 2023 4:28 pm

Yes. I aplogise for that. I thought it might be related to app-alternatives, which I haven't got my head around yet, since
the later binutils was installed at the same time. It was after this update that I found merges were failing in their inability to
find "/usr/bin/as".This view was reinforced since the news item suggests that eselect is "unsuitable" for some cases.
Top
Post Reply

14 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy