Forums

Skip to content

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

How to make portage ask for etc-update every time? [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
duxsco
n00b
n00b
Posts: 45
Joined: Sat Jun 05, 2010 6:48 am

How to make portage ask for etc-update every time? [SOLVED]

  • Quote

Post by duxsco » Sat Oct 11, 2014 2:26 am

Portage tells me to use etc-update, if I, for example, install apache, edit the config files and reemerge with additional apache modules.
After a while, portage ignores config files that differ from the original ones and doesn't ask for etc-update.
How can I tell portage to ask me every time?

If I, for example, run "emerge -eav world", I want to run etc-update on every modified config file.
Last edited by duxsco on Sun Oct 12, 2014 4:41 pm, edited 2 times in total.
Top
Perfect Gentleman
Veteran
Veteran
User avatar
Posts: 1301
Joined: Sun May 18, 2014 10:16 am
Contact:
Contact Perfect Gentleman
Website

  • Quote

Post by Perfect Gentleman » Sat Oct 11, 2014 3:30 am

run 'etc-update'
Top
duxsco
n00b
n00b
Posts: 45
Joined: Sat Jun 05, 2010 6:48 am

  • Quote

Post by duxsco » Sat Oct 11, 2014 4:19 am

The system tells me that there is nothing to do although some config files differ from the original ones.
Btw, I usually use dispatch-conf. But, portage should notice differing config files either way after an emerge.
Top
duxsco
n00b
n00b
Posts: 45
Joined: Sat Jun 05, 2010 6:48 am

  • Quote

Post by duxsco » Sun Oct 12, 2014 2:10 am

I noticed the existence of "/etc/config-archive". Does the deletion of its content solve the problem?
e.g.:
1. Delete content of "/etc/config-archive"
2. Run e.g. "emerge -eav world"
3. Run "dispatch-conf"
Top
dol-sen
Retired Dev
Retired Dev
User avatar
Posts: 2805
Joined: Sun Jun 30, 2002 2:44 pm
Location: Richmond, BC, Canada

  • Quote

Post by dol-sen » Sun Oct 12, 2014 4:08 am

Portage tries to be smart about when to tell you to run etc-update/dispatch-conf.

When installing files, portage checks if the config file has been modified from the original install (meaning it was edited). Also, many times config's haven't changed for version bumps (so no change to merge). Also dispatch-conf tries to be smart about the changes and will auto-merge whitespace changes without bothering you with them, etc..
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Top
mv
Watchman
Watchman
User avatar
Posts: 6795
Joined: Wed Apr 20, 2005 12:12 pm

  • Quote

Post by mv » Sun Oct 12, 2014 6:58 am

I guess that you are looking for the emerge option --noconfmem
Top
duxsco
n00b
n00b
Posts: 45
Joined: Sat Jun 05, 2010 6:48 am

  • Quote

Post by duxsco » Sun Oct 12, 2014 4:41 pm

mv wrote:I guess that you are looking for the emerge option --noconfmem
Thanks. That solved the problem.
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