Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Gentoo Chat
  • Search

What needs to be improved in Gentoo?

Opinions, ideas and thoughts about Gentoo. Anything and everything about Gentoo except support questions.
Post Reply
  • Print view
Advanced search
320 posts
  • Page 13 of 13
    • Jump to page:
  • Previous
  • 1
  • …
  • 9
  • 10
  • 11
  • 12
  • 13

What do you think about these suggestions?

I love them and I would like to help developing!
7
21%
I like them.
15
44%
They aren't important.
0
No votes
I don't like them.
5
15%
They are stupid. Stop giving useless suggestions.
7
21%
 
Total votes: 34
Your vote has been cast.

Author
Message
Roman_Gruber
Advocate
Advocate
Posts: 3858
Joined: Tue Oct 03, 2006 8:43 am
Location: Austro Bavaria

  • Quote

Post by Roman_Gruber » Tue Oct 24, 2006 10:07 am

What needs to be improved?

1) If I emerge my system then it writes:

and then it complains about
missing -- in the command which it suggest before, please look at it and correct it. It´s a matter of 5 minutes or so.
This should be corrected
It results then in the command: find /etc -iname '*._cfg????*'
After emerging my system, it tells me, that i have to correct the config files, and if i don´t know i have to enter a command, in which -- is missing.

please see below, thanks

2) the emerge command needs an option, that deletes distfiles, which are not currently installed. I don´t want to delete 5 GB and then download 3 GB. Thats insane and not fair to the people, who pays the server. There must be an easy option like
emerge --clean_distfiles.
I mean the directory usr/portage/distfiles . There are to many files, which are not installed currently on my system and should not be there, because they take a lot of harddisk space.
Last edited by Roman_Gruber on Tue Oct 24, 2006 1:30 pm, edited 2 times in total.
Top
Genone
Retired Dev
Retired Dev
User avatar
Posts: 9657
Joined: Fri Mar 14, 2003 6:02 pm
Location: beyond the rim

  • Quote

Post by Genone » Tue Oct 24, 2006 10:16 am

tw04l124 wrote:What needs to be improved?

1) If I emerge my system then it writes:
emerge ....

and then it complains about

missing -- in the command which it suggest before, please look at it and correct it. It´s a matter of 5 minutes or so.

This should be corrected
Sorry, don't quite understand your problem, could you give an actual example (with exact output)?
2) the emerge command needs an option, that deletes distfiles, which are not currently installed. I don´t want to delete 5 GB and then download 3 GB. Thats insane and not fair to the people, who pays the server. There must be an easy option like
emerge --clean_distfiles.
I mean the directory usr/portage/distfiles . There are to many files, which are not installed currently on my system and should not be there, because they take a lot of harddisk space.
app-portage/gentoolkit - eclean
Top
Roman_Gruber
Advocate
Advocate
Posts: 3858
Joined: Tue Oct 03, 2006 8:43 am
Location: Austro Bavaria

  • Quote

Post by Roman_Gruber » Tue Oct 24, 2006 11:01 am

Thanks for your help.

Code: Select all

eclean --destructive distfiles 
has deleted 700MB. THANKS. That i was looking for.


Here is a example, which i mentioned before:


x11-apps/ati-drivers-extra
selected: 8.27.10
protected: 8.29.6
omitted: none

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3 2 1
>>> Unmerging x11-apps/ati-drivers-extra-8.27.10...
No package files given... Grabbing a set.
--- !mtime obj /usr/share/pixmaps/ati.xpm
--- !mtime obj /usr/share/applications/fireglcontrol.desktop
--- !mtime obj /opt/ati/bin/fireglcontrol
--- !mtime obj /opt/ati/bin/fgl_glxgears
--- !empty dir /usr/share/pixmaps
--- !empty dir /usr/share/applications
--- !empty dir /usr/share
--- !empty dir /usr
--- !empty dir /opt/ati/bin
--- !empty dir /opt/ati
--- !empty dir /opt
>>> Regenerating /etc/ld.so.cache...
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.


* Regenerating GNU info directory index...
* Processed 223 info files.
* IMPORTANT: 1 config files in /etc need updating.
* Type emerge --help config to learn how to update config files.

notebook roman # emerge --help config
*** Deprecated use of action 'config', use '--config' instead
Config file management support (preliminary)

Portage has a special feature called "config file protection". The purpose of
this feature is to prevent new package installs from clobbering existing
configuration files. By default, config file protection is turned on for /etc
and the KDE configuration dirs; more may be added in the future.

When Portage installs a file into a protected directory tree like /etc, any
existing files will not be overwritten. If a file of the same name already
exists, Portage will change the name of the to-be-installed file from 'foo' to
'._cfg0000_foo'. If '._cfg0000_foo' already exists, this name becomes
'._cfg0001_foo', etc. In this way, existing files are not overwritten,
allowing the administrator to manually merge the new config files and avoid any
unexpected changes.

In addition to protecting overwritten files, Portage will not delete any files
from a protected directory when a package is unmerged. While this may be a
little bit untidy, it does prevent potentially valuable config files from being
deleted, which is of paramount importance.

Protected directories are set using the CONFIG_PROTECT variable, normally
defined in /etc/make.globals. Directory exceptions to the CONFIG_PROTECTed
directories can be specified using the CONFIG_PROTECT_MASK variable. To find
files that need to be updated in /etc, type:

# find /etc -iname '._cfg????_*'

You can disable this feature by setting CONFIG_PROTECT="-*" in /etc/make.conf.
Then, Portage will mercilessly auto-update your config files. Alternatively,
you can leave Config File Protection on but tell Portage that it can overwrite
files in certain specific /etc subdirectories. For example, if you wanted
Portage to automatically update your rc scripts and your wget configuration,
but didn't want any other changes made without your explicit approval, you'd
add this to /etc/make.conf:

CONFIG_PROTECT_MASK="/etc/wget /etc/rc.d"

Tools such as dispatch-conf, cfg-update, and etc-update are also available to
aid in the merging of these files. They provide interactive merging and can
auto-merge trivial changes.


notebook roman #

Code: Select all

emerge --help config 
should be corrected
emerge --help --config
Top
Icer
Guru
Guru
User avatar
Posts: 395
Joined: Tue Aug 26, 2003 8:11 pm
Location: @home

  • Quote

Post by Icer » Tue Oct 24, 2006 3:28 pm

tw04l124 wrote:Thanks for your help.
zap ...

Code: Select all

emerge --help config 
should be corrected
emerge --help --config
Uhh, I'd rather have it so that you wouldnt need to type any of the '-' characters. For example some time ago 'emerge info' worked ok. It still does work, except that it now prints with ugly red font that this syntax is deprecated. I assume that the new syntax is based on some standard. Anyway I still prefer the old syntax.
Everything can be done. There's just a longer delivery time for impossible projects.
Top
Corona688
Veteran
Veteran
User avatar
Posts: 1204
Joined: Sat Jan 10, 2004 7:51 pm

  • Quote

Post by Corona688 » Tue Oct 24, 2006 4:14 pm

Icer wrote:Uhh, I'd rather have it so that you wouldnt need to type any of the '-' characters.
The problem is, this syntax is ambiguous. What happens when someone adds a package named config? Will it install the package, or do whatever --config means?

I had this problem when I needed to update rsync. emerge rsync just did an emerge --sync. Infuriating. I had to do the =dir/packagename stuff to tell it what I really wanted.

So the old syntax may be what you're used to, but the --flag syntax really is better.
Petition for Better 64-bit ATI Drivers - Sign Here
http://www.petitiononline.com/atipet/petition.html
Top
Genone
Retired Dev
Retired Dev
User avatar
Posts: 9657
Joined: Fri Mar 14, 2003 6:02 pm
Location: beyond the rim

  • Quote

Post by Genone » Tue Oct 24, 2006 6:20 pm

Corona688 wrote:
Icer wrote:Uhh, I'd rather have it so that you wouldnt need to type any of the '-' characters.
The problem is, this syntax is ambiguous. What happens when someone adds a package named config? Will it install the package, or do whatever --config means?
Exactly. The other potential solutions would have been even more annoying.
Top
Icer
Guru
Guru
User avatar
Posts: 395
Joined: Tue Aug 26, 2003 8:11 pm
Location: @home

  • Quote

Post by Icer » Tue Oct 24, 2006 7:28 pm

Corona688 wrote:
Icer wrote:Uhh, I'd rather have it so that you wouldnt need to type any of the '-' characters.
The problem is, this syntax is ambiguous. What happens when someone adds a package named config? Will it install the package, or do whatever --config means?

I had this problem when I needed to update rsync. emerge rsync just did an emerge --sync. Infuriating. I had to do the =dir/packagename stuff to tell it what I really wanted.

So the old syntax may be what you're used to, but the --flag syntax really is better.
Now that you explained it I agree that the new syntax is better. And the only problem I really had with this was that I was indeed used to the old syntax, as you said. Old habits die hard as they say... :lol:
Everything can be done. There's just a longer delivery time for impossible projects.
Top
steveL
Watchman
Watchman
Posts: 5153
Joined: Wed Sep 13, 2006 1:18 pm
Location: The Peanut Gallery

  • Quote

Post by steveL » Sat Oct 28, 2006 10:16 am

From IRC, diilbertAtWork, suggested using the Standard Build Unit as a metric.
Top
bubbl07
Apprentice
Apprentice
User avatar
Posts: 237
Joined: Sun Feb 06, 2005 8:54 pm
Location: New York City

  • Quote

Post by bubbl07 » Sun Oct 29, 2006 1:32 am

Genone wrote:
To continue my previous comment, add in a man_page & info_page USE flags, so that anything you get will be one or the other (also would help reduce system size slightly. Would be handy for like, LiveCDs :))

Code: Select all

FEATURES="noman noinfo"
Wow, had no idea that was possible. Thanks for the heads up. The man page for make.conf had even more options I didn't even realize.
Top
Omega21
l33t
l33t
User avatar
Posts: 788
Joined: Sat Feb 14, 2004 11:37 pm
Location: Canada (brrr. Its cold up here)
Contact:
Contact Omega21
Website

  • Quote

Post by Omega21 » Sun Oct 29, 2006 9:46 pm

I hate split ebuilds.
iMac G4 1GHz :: q6600 //2x 500GB//2GB RAM//8600GT//Gentoo :: MacBook Pro//2.53GHz
Top
boniek
Guru
Guru
User avatar
Posts: 373
Joined: Sat Mar 26, 2005 6:02 pm

  • Quote

Post by boniek » Mon Oct 30, 2006 12:21 am

Is it possible to automate revdep-rebuild -X, but just only after api,abi breaking package was emerged? I think It would require new variable inside of such problematic ebuild.
What about apg-get latest hot feature namely autoremove? I would really want to see something like that in portage!
Also what about some way to manage efficiently etc-update on dozens of machines running Gentoo?
tylerwylie wrote:Gentoo is near-perfect for me. Things I would change:
Logo
I don't hate the cow
but I don't like cows.
There is also hidden in shadow of Larry and long forgotten Knurt the flying saucer
[HOWTO]New freetype subpixel font rendering for lcd monitors
Top
Icer
Guru
Guru
User avatar
Posts: 395
Joined: Tue Aug 26, 2003 8:11 pm
Location: @home

  • Quote

Post by Icer » Mon Oct 30, 2006 7:44 am

boniek wrote:Is it possible to automate revdep-rebuild -X, but just only after api,abi breaking package was emerged? I think It would require new variable inside of such problematic ebuild.
What about apg-get latest hot feature namely autoremove? I would really want to see something like that in portage!
Also what about some way to manage efficiently etc-update on dozens of machines running Gentoo?
tylerwylie wrote:Gentoo is near-perfect for me. Things I would change:
Logo
I don't hate the cow
but I don't like cows.
There is also hidden in shadow of Larry and long forgotten Knurt the flying saucer
Heh, so the flying saucer is kind of another Gentoo logo? Nice.

How would that autoremove work? I've not heard about it.
Everything can be done. There's just a longer delivery time for impossible projects.
Top
boniek
Guru
Guru
User avatar
Posts: 373
Joined: Sat Mar 26, 2005 6:02 pm

  • Quote

Post by boniek » Mon Oct 30, 2006 7:02 pm

Well it basically removes package with all its dependecies unless they are used by other package. It helps to keep your system clean.
[HOWTO]New freetype subpixel font rendering for lcd monitors
Top
Icer
Guru
Guru
User avatar
Posts: 395
Joined: Tue Aug 26, 2003 8:11 pm
Location: @home

  • Quote

Post by Icer » Mon Oct 30, 2006 8:05 pm

Ahh, well it would be a good feature. You might want to see the user reps forum. There's a thread you might be interested in: http://forums.gentoo.org/viewtopic-t-510844.html
Everything can be done. There's just a longer delivery time for impossible projects.
Top
Lo!Mm
n00b
n00b
Posts: 5
Joined: Thu Nov 25, 2004 8:08 pm
Location: Czech republic

Emerge shows keywords

  • Quote

Post by Lo!Mm » Tue Feb 13, 2007 5:02 pm

I'd REALLY LIKE to see package keywords on emerge verbose list output. Something like this:
[ebuild R ] sys-kernel/gentoo-sources-2.6.19-r5 x86 USE="-build -symlink" 0 kB
[ebuild R ] sys-apps/suspend2-userui-0.7.0 M~x86 USE="fbsplash -static" 0 kB
[ebuild R ] app-office/kivio-1.6.1 ~x86 USE="arts xinerama -debug" 0 kB
AMD Athlon64 3200+ at 2.478GHz
Abit A8N-E nForce4 Ultra
2x 512MB Kingston DDR533
Top
procelain
n00b
n00b
User avatar
Posts: 28
Joined: Thu Mar 23, 2006 3:05 am
Location: letter.4.me? at antichef.com

  • Quote

Post by procelain » Thu Mar 01, 2007 5:05 pm

@Lo!Mm: isn't eix enough? And if you really want to see what packages would be drawn in by ~x86 try something like

Code: Select all

 ACCEPT_KEYWORDS="~x86" emerge -pv gentoo-sources 
Ok, now my proposal:

Though I'm not somebody with limited bandwidth, I am always reluctant to erase the dists in /usr/portage/distfiles. But as my system runs longer and longer, the distfiles get more and more - and my harddrive is unfortunately not infinitely large. So what I would need would be a portage feature, that removes old distfiles when new ones have already been downloaded and thus are outdated.
I'm not sure, how much effort one had to put into such a feature, but it would also reduce bandwidth use for the gentoo mirrors, if users would more adopt a you-don't-have-to-delete-as-it-won't-grow-larger-than-8GB-and-I-don't-bother-about-those-lousy-gigs-behaviour.
I would love it!
Top
bmichaelsen
Veteran
Veteran
User avatar
Posts: 1277
Joined: Sun Nov 17, 2002 2:38 am
Location: Hamburg, Germany

  • Quote

Post by bmichaelsen » Thu Mar 01, 2007 8:25 pm

For those complaining about etc-update / dispatch-conf you might give etc-proposals a testdrive.
Top
b11n
Guru
Guru
User avatar
Posts: 345
Joined: Wed Mar 26, 2003 8:15 am
Location: New Zealand

  • Quote

Post by b11n » Fri Mar 02, 2007 9:30 pm

procelain wrote:@Lo!Mm: isn't eix enough? And if you really want to see what packages would be drawn in by ~x86 try something like

Code: Select all

 ACCEPT_KEYWORDS="~x86" emerge -pv gentoo-sources 
Ok, now my proposal:

Though I'm not somebody with limited bandwidth, I am always reluctant to erase the dists in /usr/portage/distfiles. But as my system runs longer and longer, the distfiles get more and more - and my harddrive is unfortunately not infinitely large. So what I would need would be a portage feature, that removes old distfiles when new ones have already been downloaded and thus are outdated.
I'm not sure, how much effort one had to put into such a feature, but it would also reduce bandwidth use for the gentoo mirrors, if users would more adopt a you-don't-have-to-delete-as-it-won't-grow-larger-than-8GB-and-I-don't-bother-about-those-lousy-gigs-behaviour.
I would love it!
++
What I've done in the past is emerge -f world, (from my local distfiles mirror), then clear out my mirror and copy /usr/portage/distfiles back there. Pretty clunky, but it's kept the size down.
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 » Sat Mar 03, 2007 3:46 pm

There already is a feature for cleaning out the distfiles directory.

Code: Select all

emerge app-portage/gentoolkit
man elcean
There are also other scripts available on these forums for cleaning the distfiles directory.

There are a number of other very useful tools included in gentoolkit. Some of them may eventually make into portage itself.
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Top
bmichaelsen
Veteran
Veteran
User avatar
Posts: 1277
Joined: Sun Nov 17, 2002 2:38 am
Location: Hamburg, Germany

  • Quote

Post by bmichaelsen » Sat Mar 03, 2007 4:55 pm

dol-sen wrote:There already is a feature for cleaning out the distfiles directory.

Code: Select all

emerge app-portage/gentoolkit
man elcean
There are also other scripts available on these forums for cleaning the distfiles directory.

There are a number of other very useful tools included in gentoolkit. Some of them may eventually make into portage itself.
Actually, it would be a gerat idea to have an current overview of all the tools available around portage - for example in the GWN.
Top
Post Reply
  • Print view

320 posts
  • Page 13 of 13
    • Jump to page:
  • Previous
  • 1
  • …
  • 9
  • 10
  • 11
  • 12
  • 13

Return to “Gentoo Chat”

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 Authors
Gentoo is a trademark of the Gentoo Foundation, Inc. and of Förderverein Gentoo e.V.
The contents of this document, unless otherwise expressly stated, are licensed under the CC-BY-SA-4.0 license.
The Gentoo Name and Logo Usage Guidelines apply.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy