Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
What needs to be improved in Gentoo?
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 11, 12, 13  
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  

What do you think about these suggestions?
I love them and I would like to help developing!
20%
 20%  [ 7 ]
I like them.
44%
 44%  [ 15 ]
They aren't important.
0%
 0%  [ 0 ]
I don't like them.
14%
 14%  [ 5 ]
They are stupid. Stop giving useless suggestions.
20%
 20%  [ 7 ]
Total Votes : 34

Author Message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Tue Oct 24, 2006 10:07 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9507
Location: beyond the rim

PostPosted: Tue Oct 24, 2006 10:16 am    Post subject: Reply with quote

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)?

Quote:
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
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Tue Oct 24, 2006 11:01 am    Post subject: Reply with quote

Thanks for your help.

Code:
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:
emerge --help config


should be corrected
emerge --help --config
Back to top
View user's profile Send private message
Icer
Guru
Guru


Joined: 26 Aug 2003
Posts: 395
Location: @home

PostPosted: Tue Oct 24, 2006 3:28 pm    Post subject: Reply with quote

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

Code:
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.
Back to top
View user's profile Send private message
Corona688
Veteran
Veteran


Joined: 10 Jan 2004
Posts: 1204

PostPosted: Tue Oct 24, 2006 4:14 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9507
Location: beyond the rim

PostPosted: Tue Oct 24, 2006 6:20 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Icer
Guru
Guru


Joined: 26 Aug 2003
Posts: 395
Location: @home

PostPosted: Tue Oct 24, 2006 7:28 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
steveL
Watchman
Watchman


Joined: 13 Sep 2006
Posts: 5153
Location: The Peanut Gallery

PostPosted: Sat Oct 28, 2006 10:16 am    Post subject: Reply with quote

From IRC, diilbertAtWork, suggested using the Standard Build Unit as a metric.
Back to top
View user's profile Send private message
bubbl07
Apprentice
Apprentice


Joined: 06 Feb 2005
Posts: 237
Location: New York City

PostPosted: Sun Oct 29, 2006 1:32 am    Post subject: Reply with quote

Genone wrote:
Quote:
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:
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.
Back to top
View user's profile Send private message
Omega21
l33t
l33t


Joined: 14 Feb 2004
Posts: 788
Location: Canada (brrr. Its cold up here)

PostPosted: Sun Oct 29, 2006 9:46 pm    Post subject: Reply with quote

I hate split ebuilds.
_________________
iMac G4 1GHz :: q6600 //2x 500GB//2GB RAM//8600GT//Gentoo :: MacBook Pro//2.53GHz
Back to top
View user's profile Send private message
boniek
Guru
Guru


Joined: 26 Mar 2005
Posts: 373

PostPosted: Mon Oct 30, 2006 12:21 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Icer
Guru
Guru


Joined: 26 Aug 2003
Posts: 395
Location: @home

PostPosted: Mon Oct 30, 2006 7:44 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
boniek
Guru
Guru


Joined: 26 Mar 2005
Posts: 373

PostPosted: Mon Oct 30, 2006 7:02 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Icer
Guru
Guru


Joined: 26 Aug 2003
Posts: 395
Location: @home

PostPosted: Mon Oct 30, 2006 8:05 pm    Post subject: Reply with quote

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: https://forums.gentoo.org/viewtopic-t-510844.html
_________________
Everything can be done. There's just a longer delivery time for impossible projects.
Back to top
View user's profile Send private message
Lo!Mm
n00b
n00b


Joined: 25 Nov 2004
Posts: 5
Location: Czech republic

PostPosted: Tue Feb 13, 2007 5:02 pm    Post subject: Emerge shows keywords Reply with quote

I'd REALLY LIKE to see package keywords on emerge verbose list output. Something like this:

Quote:

[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
Back to top
View user's profile Send private message
procelain
n00b
n00b


Joined: 23 Mar 2006
Posts: 28
Location: letter.4.me? at antichef.com

PostPosted: Thu Mar 01, 2007 5:05 pm    Post subject: Reply with quote

@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:
 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!
Back to top
View user's profile Send private message
bmichaelsen
Veteran
Veteran


Joined: 17 Nov 2002
Posts: 1277
Location: Hamburg, Germany

PostPosted: Thu Mar 01, 2007 8:25 pm    Post subject: Reply with quote

For those complaining about etc-update / dispatch-conf you might give etc-proposals a testdrive.
Back to top
View user's profile Send private message
bent
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2003
Posts: 75
Location: New Zealand

PostPosted: Fri Mar 02, 2007 9:30 pm    Post subject: Reply with quote

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:
 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.
Back to top
View user's profile Send private message
dol-sen
Retired Dev
Retired Dev


Joined: 30 Jun 2002
Posts: 2805
Location: Richmond, BC, Canada

PostPosted: Sat Mar 03, 2007 3:46 pm    Post subject: Reply with quote

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

Code:
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...
Back to top
View user's profile Send private message
bmichaelsen
Veteran
Veteran


Joined: 17 Nov 2002
Posts: 1277
Location: Hamburg, Germany

PostPosted: Sat Mar 03, 2007 4:55 pm    Post subject: Reply with quote

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

Code:
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.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Goto page Previous  1, 2, 3 ... 11, 12, 13
Page 13 of 13

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum