Forums

Skip to content

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

package.mask to specific packages on an overlay [SOLVED]

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
Zucca
Administrator
Administrator
User avatar
Posts: 4692
Joined: Thu Jun 14, 2007 10:31 pm
Location: Rasi, Finland
Contact:
Contact Zucca
Website

package.mask to specific packages on an overlay [SOLVED]

  • Quote

Post by Zucca » Mon Aug 20, 2018 4:21 pm

So. last time I tried I couldn't mask packages on my own overlay without the mask also being applied to all other overlays. Appending ::<overlay> did not do it.

So the question goes: Is it possible?
If not, what's the proper way other than removing the ebuilds entirely? Keywording with -* does feel dirty.
Last edited by Zucca on Tue Aug 21, 2018 2:51 pm, edited 1 time in total.
..: Zucca :..

Code: Select all

init=/sbin/openrc-init
-systemd -logind -elogind seatd
I am NaN! I am a man!
Top
Hu
Administrator
Administrator
Posts: 24386
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Tue Aug 21, 2018 1:47 am

As I understand it, masking with ::overlay is the correct way to do it. When you tried it, what exactly did you put in package.mask? What command did you give to Portage? What did Portage do in response?
Top
khayyam
Watchman
Watchman
User avatar
Posts: 6227
Joined: Thu Jun 07, 2012 2:45 am
Location: Room 101

Re: package.mask to mask specific packages on an overlay

  • Quote

Post by khayyam » Tue Aug 21, 2018 4:10 am

Zucca wrote:So. last time I tried I couldn't mask packages on my own overlay without the mask also being applied to all other overlays. Appending ::<overlay> did not do it.
Zucca ... works here:

Code: Select all

% for i (${$(eix --print PORTDIR_OVERLAY):t}) grep $i /etc/portage/package.mask/*
/etc/portage/package.mask/overlay.mask:*/*::foo-overlay
/etc/portage/package.mask/overlay.mask:*/*::mv
/etc/portage/package.mask/overlay.mask:*/*::octopus
/etc/portage/package.mask/overlay.mask:*/*::weuxel
Ignoring the fact that these are wildcard category/package, the mask has no effect on other overlays.

best ... khay
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 » Tue Aug 21, 2018 5:29 am

I think zucca means package.mask from /path/of/your/overlay/profile/package.mask, in this case adding overlay name isn't accepted.
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
mv
Watchman
Watchman
User avatar
Posts: 6795
Joined: Wed Apr 20, 2005 12:12 pm

  • Quote

Post by mv » Tue Aug 21, 2018 5:40 am

fedeliallalinea wrote:I think zucca means package.mask from /path/of/your/overlay/profile/package.mask, in this case adding overlay name isn't accepted.
But in this case the mask only applies to your overlay, automatically.
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 » Tue Aug 21, 2018 5:45 am

mv wrote:
fedeliallalinea wrote:I think zucca means package.mask from /path/of/your/overlay/profile/package.mask, in this case adding overlay name isn't accepted.
But in this case the mask only applies to your overlay, automatically.
You right, thanks never used package.mask in a overlay. Then I don't know what zucca means :P
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
Zucca
Administrator
Administrator
User avatar
Posts: 4692
Joined: Thu Jun 14, 2007 10:31 pm
Location: Rasi, Finland
Contact:
Contact Zucca
Website

  • Quote

Post by Zucca » Tue Aug 21, 2018 2:50 pm

fedeliallalinea wrote:I think zucca means package.mask from /path/of/your/overlay/profile/package.mask, in this case adding overlay name isn't accepted.
I think this is why it didn't work before.

Last time i tried the package.mask on my overlay caused packages also from other overlays to be masked. I have no clue how I did it back then. Now I have the need also, but it seems to work as expected. Strange...

Marking [SOLVED]...
..: Zucca :..

Code: Select all

init=/sbin/openrc-init
-systemd -logind -elogind seatd
I am NaN! I am a man!
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

 

 

magic