Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Is portage too symbolic in displaying errors?
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  

Could portage output be more descriptive?
Yes - Should be more detailed
37%
 37%  [ 6 ]
No - Fine the way it is
62%
 62%  [ 10 ]
Total Votes : 16

Author Message
Mr. T.
Guru
Guru


Joined: 26 Dec 2016
Posts: 477

PostPosted: Tue Mar 20, 2018 6:38 pm    Post subject: Reply with quote

I do not see any differences between the syntaxes concerning atom specification (including extended specification) supported by the two package managers!
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Tue Mar 20, 2018 7:31 pm    Post subject: Reply with quote

And that's why you shouldn't be criticising it. Dunning-Kruger.
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Wed Mar 21, 2018 10:30 am    Post subject: Reply with quote

helecho wrote:
I do not see any differences between the syntaxes concerning atom specification (including extended specification) supported by the two package managers!

I see pkgcore allow you to break the portage rule Atoms containing wildcard patterns are of the form category/package with a more simplistic "package" that would be assume as "*/package" by pkgcore
Quote:
* ________________________ match anything

is invalid for portage, the equivalent is */*
And it goes the same for "*cgi*"...
Back to top
View user's profile Send private message
Mr. T.
Guru
Guru


Joined: 26 Dec 2016
Posts: 477

PostPosted: Wed Mar 21, 2018 11:47 am    Post subject: Reply with quote

In my opinion, the expressions mentioned should only be used on the command line. In fact, Pkgcore may used these expressions in configuration files.

I guess my point was incorrect but I disagree with the mentioned (or implied) design choice. For example, it is easy to add * to unmask all packages.
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3333
Location: Rasi, Finland

PostPosted: Wed Mar 21, 2018 1:40 pm    Post subject: Reply with quote

helecho wrote:
For example, it is easy to add * to unmask all packages.
So, are you saying it's too much to type "*/*" instead of "*" in cofiguration files?
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
Mr. T.
Guru
Guru


Joined: 26 Dec 2016
Posts: 477

PostPosted: Wed Mar 21, 2018 2:48 pm    Post subject: Reply with quote

In other words, I think some atom specifications used by Pkgcore may be unsuitable in some cases. Of course, the user (or an administrator) must use common sense.
That's why I said Portage and Pkgcore are similar.
Back to top
View user's profile Send private message
Mr. T.
Guru
Guru


Joined: 26 Dec 2016
Posts: 477

PostPosted: Wed Apr 04, 2018 6:44 am    Post subject: Reply with quote

I had some issues with Portage so I checked the documentation.

man emerge wrote:
--help (-h)

Displays help information for emerge. Adding one of the additional arguments listed above will
give you more specific help information on that subject. The internal emerge help documentation
is updated more frequently than this man page; check it out if you are having problems that this
man page does not help resolve.


man emerge wrote:
emerge --help | --version


I feel the above option (--help) could be useful but unfortunately this option does not work as indicated (expected).
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3333
Location: Rasi, Finland

PostPosted: Wed Apr 04, 2018 7:18 am    Post subject: Reply with quote

Mr. T. wrote:
I feel the above option (--help) could be useful but unfortunately this option does not work as indicated (expected).
emerge --help:
<snip>
For more help consult the man page.

_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
Mr. T.
Guru
Guru


Joined: 26 Dec 2016
Posts: 477

PostPosted: Wed Apr 04, 2018 7:33 am    Post subject: Reply with quote

The documentation is confusing.

make.conf:
EMERGE_DEFAULT_OPTS="-aqv --mispell-suggestions=n"

Code:
emerge literate
!!! '--mispell-suggestions=n' is not a valid package atom.
!!! Please check ebuild(5) for full details.


Edit: I spend time solving trivial problems, handling Portage, understanding Portage documentation.
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3333
Location: Rasi, Finland

PostPosted: Wed Apr 04, 2018 8:26 am    Post subject: Reply with quote

Check your typing. It's "misspell" not "mispell".
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
Mr. T.
Guru
Guru


Joined: 26 Dec 2016
Posts: 477

PostPosted: Wed Apr 04, 2018 9:26 am    Post subject: Reply with quote

Oops! :oops:
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Wed Apr 04, 2018 10:16 am    Post subject: Reply with quote

Mr. T. wrote:
Oops! :oops:

aren't we suppose to call you for help?
you know the: if no one else can help, and if you can find them... :D
Back to top
View user's profile Send private message
Mr. T.
Guru
Guru


Joined: 26 Dec 2016
Posts: 477

PostPosted: Wed Apr 04, 2018 10:30 am    Post subject: Reply with quote

krinn, "errare est humanum". 8)
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Wed Apr 04, 2018 10:23 pm    Post subject: Reply with quote

that was a joke in reference to the a-team (you know, because of your nick Mr. T), and they comes with the famous "if no one else can help..." ; which i find amazing that Mr. T is asking help where we're suppose to call a-team to get some.

ps: yeah, i should really stop reference and jokes, looks like i'm way to subtitle, or sucks. For my defence, it does work with my friends :)
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21593

PostPosted: Thu Apr 05, 2018 2:01 am    Post subject: Reply with quote

I've never seen A-Team and I recognized it right away. I pity the fool that takes the name of Mr. T. without knowing its history.
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
Page 2 of 2

 
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