Forums

Skip to content

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

eselect-repository vs layman, need some details

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
UlvHare
n00b
n00b
Posts: 24
Joined: Wed Sep 09, 2015 9:40 pm
Location: USSR

eselect-repository vs layman, need some details

  • Quote

Post by UlvHare » Thu May 07, 2020 7:19 am

Having problem with update today (https://forums.gentoo.org/viewtopic-t-1112670.html) I'm suddenly found out an alternative for layman - eselect-repository. But I cannot understand from Wiki, is it suitable for my situation. I'm using only 2 overlays: palemoon and local (/usr/local/portage, it exists only there and on backup disk). How can I add my local overlay to eselect-repository if possible? Is eselect-repository better than layman in such case?
Top
Ionen
Developer
Developer
User avatar
Posts: 3011
Joined: Thu Dec 06, 2018 2:23 pm

  • Quote

Post by Ionen » Thu May 07, 2020 7:27 am

eselect-repository is essentially a wrapper to edit /etc/portage/repos.conf while (optionally) using the database of known overlays. Once that's done, any of emerge --sync / eix-sync / emaint etc... will start sync'ing those overlays alongside ::gentoo without further actions.

Alternatively, you can edit repos.conf yourself and control everything. The two above links should have most answers.
Edit: adding a local overlay to repos.conf is just 3 lines of config, see [localrepo] example. You can probably add it with eselect-repos too but I never tried :)
Top
UlvHare
n00b
n00b
Posts: 24
Joined: Wed Sep 09, 2015 9:40 pm
Location: USSR

  • Quote

Post by UlvHare » Thu May 07, 2020 12:30 pm

Thank you very much!
I have my local overlay in repos.conf already (some years ago, manually), but I had no doubt that layman is necessary to delegate overlays to eix-sync.
Top
fpemud
Guru
Guru
Posts: 368
Joined: Wed Feb 15, 2012 7:00 am

  • Quote

Post by fpemud » Fri May 08, 2020 3:11 am

eselect-repository can enable or disable a overlay as a whole.
Does eselect-repository have a enable-one-overlay-package function?
I think this would be a very useful function. Sometimes I only need one package (and it's deps) from an overlay.
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 May 08, 2020 5:59 am

You can done this masking all packages from an overlay and unmask only those you need
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
fpemud
Guru
Guru
Posts: 368
Joined: Wed Feb 15, 2012 7:00 am

  • Quote

Post by fpemud » Fri May 08, 2020 6:24 am

Manual operation is really tedious.
I wish layman or eselect-repository could implement these functions (enable-package/disable-package) as subcommands.
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 May 08, 2020 9:02 am

fpemud wrote:Manual operation is really tedious.
Two command

Code: Select all

# echo '*/*::<overlay_name>' >> /etc/portage/package.mask
# echo '<cat>/<pkg>::<overlay_name>' >> /etc/portage/package.unmask
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
Post Reply

7 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