Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Clean out your world file
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 15, 16, 17 ... 27, 28, 29  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
=DvD=
Veteran
Veteran


Joined: 25 Mar 2004
Posts: 1353

PostPosted: Tue Jan 04, 2005 7:57 pm    Post subject: Reply with quote

Oktane wrote:
Looks like nobody is maintaining this thing anymore :( I tried it, even with the workarounds, it's completely b0rked...


There is unclepine, something like dep, still maintained and working well with new portage, virtuals, circular dependencies, and so on ;)
https://forums.gentoo.org/viewtopic.php?t=260866
Back to top
View user's profile Send private message
nth10sd
n00b
n00b


Joined: 31 Dec 2004
Posts: 54

PostPosted: Thu Jan 06, 2005 5:45 pm    Post subject: Reply with quote

seems like this no longer works... maybe the mods could do something about it?

should i use unclepine then? with what parameters to get the same result as this script? (which is exactly what i need but fails to work)
Back to top
View user's profile Send private message
Deranger
Veteran
Veteran


Joined: 26 Aug 2004
Posts: 1215

PostPosted: Thu Jan 06, 2005 8:51 pm    Post subject: Reply with quote

nth10sd wrote:
seems like this no longer works... maybe the mods could do something about it?

should i use unclepine then? with what parameters to get the same result as this script? (which is exactly what i need but fails to work)

Code:
unclepine -sw


=DvD=, thanks for pointing out UnclePine, it's awesome!
Back to top
View user's profile Send private message
=DvD=
Veteran
Veteran


Joined: 25 Mar 2004
Posts: 1353

PostPosted: Thu Jan 06, 2005 9:39 pm    Post subject: Reply with quote

Oktane wrote:
=DvD=, thanks for pointing out UnclePine, it's awesome!

Tnx xchris who made it ;)

Good stuff need visibility =D
Back to top
View user's profile Send private message
antiflag1980
n00b
n00b


Joined: 01 Nov 2004
Posts: 65
Location: cincinnati usa

PostPosted: Fri Jan 14, 2005 7:44 am    Post subject: Reply with quote

Yeah, doesn't work for me anymore either, I was hoping it would cause I've used it before and it used to work. I have >700 packages installed and I was hoping to speed things up, cause I'm sure I have lots of redundant entries in world.
Back to top
View user's profile Send private message
antiflag1980
n00b
n00b


Joined: 01 Nov 2004
Posts: 65
Location: cincinnati usa

PostPosted: Fri Jan 14, 2005 7:55 am    Post subject: Reply with quote

choenig wrote:
This most probably isn't an apropriate fix, bit it helps at least to get it running again.

Change the function 'kill_comments_and_blanks() to the following:
Code:

function kill_comments_and_blanks() {
        if [ $# -gt 0 ] ; then
            sed -e 's/#.*//;/^$/d' "$@"
        fi
}



take care, have fun
/christian

Ok, this fix worked perfect for me. I guess everybody should read the page before this one.
Back to top
View user's profile Send private message
radfoj
Guru
Guru


Joined: 31 Dec 2004
Posts: 490
Location: Tísek, Czech Republic

PostPosted: Mon Jan 17, 2005 3:58 pm    Post subject: Reply with quote

Yes, I red twice the page before this one and still doesnt work.

When I typed for example
Code:
./dep -r mplayer
for a long time nothing happen.

But when I tried start this script by sh i get
Code:
radfoj root # sh dep -s
dep: line 301: `fmt-w': not a valid identifier

Thats all.
Back to top
View user's profile Send private message
yaneurabeya
Veteran
Veteran


Joined: 13 May 2004
Posts: 1754
Location: Seattle

PostPosted: Wed Mar 09, 2005 8:36 am    Post subject: Reply with quote

I got similar errors before. Since the script is a bash script and not an sh script, try bash ./dep...

Shouldn't there be a relevant line in the top of the dep file that says #!/bin/bash as opposed to leaving the executing shell open ended?
Back to top
View user's profile Send private message
aethyr
Veteran
Veteran


Joined: 06 Apr 2003
Posts: 1085
Location: NYC

PostPosted: Wed Mar 09, 2005 6:20 pm    Post subject: Reply with quote

I noticed dep got updated again.

Code:
# 0.4.1 "Doritos"
#
#       * cope with whitespace missing from depstrings
#       * fix for findutils-4.2.18 POSIX strictness (thanks
#         metal_leper@hotmail.com)
#       * fix virtual resolution
#       * some memoization - more needed
#       * USE-contingent virtuals
#       * xterm title progress hints
#       * some small speedups
#       * fix broken pipe (ditto)
#       * fix package.provided stall in kill_comments_and_blanks


Last time I noticed it was updated to 0.4.0 (back in January), I accidently posted in the wrong thread:
https://forums.gentoo.org/viewtopic-p-2024739.html#2024739
Back to top
View user's profile Send private message
yaneurabeya
Veteran
Veteran


Joined: 13 May 2004
Posts: 1754
Location: Seattle

PostPosted: Thu Mar 10, 2005 3:10 am    Post subject: Reply with quote

Unfortunately dep removed some packages from my world file that I'd rather like to keep...

Code:
>>> These are the packages that I would unmerge:

 app-emulation/wine
    selected: 20050111
   protected: none
     omitted: none

 app-text/acroread
    selected: 5.10
   protected: none
     omitted: none

 media-fonts/acroread-asianfonts
    selected: 20020815
   protected: none
     omitted: none

 media-libs/libungif
    selected: 4.1.3
   protected: none
     omitted: none

 media-video/nvidia-glx
    selected: 1.0.6629-r1
   protected: none
     omitted: none

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


I am running the 'doritos' release.

Could you possibly ask the Gentoo people to add dep to portage? This does seem to be a very beneficial tool :).
Back to top
View user's profile Send private message
soulwarrior
Guru
Guru


Joined: 21 Oct 2002
Posts: 331

PostPosted: Sun Mar 13, 2005 9:50 am    Post subject: Reply with quote

yaneurabeya wrote:

Unfortunately dep removed some packages from my world file that I'd rather like to keep...

Maybe because they are not in your world file?

I had once the problem that "dep" would want to remove too much packages and I think it was because I treated my world file before with "dep -w". So maybe it would be good to issue a "regenworld" before going "dep -s"?

yaneurabeya wrote:

Could you possibly ask the Gentoo people to add dep to portage? This does seem to be a very beneficial tool :).

That would be a great idea, like that the tool would be tested by more people. Maybe even this functionality could be included in portage itself?

Greetings,
Daniel
Back to top
View user's profile Send private message
mope
Apprentice
Apprentice


Joined: 23 Feb 2003
Posts: 206

PostPosted: Wed Apr 06, 2005 10:23 pm    Post subject: Reply with quote

goodness, now I'm massively confused.

Dep's still being maintained?
Do we use unclepine or dep?
Back to top
View user's profile Send private message
aethyr
Veteran
Veteran


Joined: 06 Apr 2003
Posts: 1085
Location: NYC

PostPosted: Wed Apr 06, 2005 11:28 pm    Post subject: Reply with quote

mope wrote:
goodness, now I'm massively confused.

Dep's still being maintained?
Do we use unclepine or dep?


Dep is still being maintained (as I mentioned 2 posts up):
https://forums.gentoo.org/viewtopic-p-2171851.html#2171851

It still works well, I just used it today.
Back to top
View user's profile Send private message
mope
Apprentice
Apprentice


Joined: 23 Feb 2003
Posts: 206

PostPosted: Wed Apr 06, 2005 11:53 pm    Post subject: Reply with quote

aethyr wrote:
mope wrote:
goodness, now I'm massively confused.

Dep's still being maintained?
Do we use unclepine or dep?


Dep is still being maintained (as I mentioned 2 posts up):
https://forums.gentoo.org/viewtopic-p-2171851.html#2171851

It still works well, I just used it today.


well, I saw that you mentioned it a few posts back.
But, and please correct if I'm wrong, you posted that on March 9th and this is April 6th.
I mean, no offense to you, but saying you posted something two posts ago kinda implies your comment is relevant to today. Although, in actuality it was posted a month ago and this thread has just been marinading--so I don't think my question was inappropriate.

My question was aimed at etcatmur since I haven't seen him post an "official" response to this question.
Also, it was semi-rhetorical in the sense that I'm more concerned with determining the differences between this (which I've used for a very long time) and unclepine (which I just grabbed a few days ago) and which one people were using to greateer success.
Back to top
View user's profile Send private message
aethyr
Veteran
Veteran


Joined: 06 Apr 2003
Posts: 1085
Location: NYC

PostPosted: Thu Apr 07, 2005 6:09 am    Post subject: Reply with quote

mope wrote:
aethyr wrote:
mope wrote:
goodness, now I'm massively confused.

Dep's still being maintained?
Do we use unclepine or dep?


Dep is still being maintained (as I mentioned 2 posts up):
https://forums.gentoo.org/viewtopic-p-2171851.html#2171851

It still works well, I just used it today.


well, I saw that you mentioned it a few posts back.
But, and please correct if I'm wrong, you posted that on March 9th and this is April 6th.
I mean, no offense to you, but saying you posted something two posts ago kinda implies your comment is relevant to today. Although, in actuality it was posted a month ago and this thread has just been marinading--so I don't think my question was inappropriate.

My question was aimed at etcatmur since I haven't seen him post an "official" response to this question.
Also, it was semi-rhetorical in the sense that I'm more concerned with determining the differences between this (which I've used for a very long time) and unclepine (which I just grabbed a few days ago) and which one people were using to greateer success.


Well, considering the last new version of portage was released March 3rd, http://www.gentoo.org/cgi-bin/viewcvs.cgi/sys-apps/portage/?sortby=date#dirlist, and that is the only thing that should affect compatibility, then my post certainly is relevant today. And if you were not sure, you could have tried it to see for yourself (it's not like you can hurt your system, especially if you run it as non-root in pretend mode).

Moreover, if you just wanted to know what was better, you could have just asked. I asked the same exact question myself in January (https://forums.gentoo.org/viewtopic-p-1942141-highlight-dep.html#1942141) only to not get a satisfactory answer, so I tried unclepine (I had already been using dep for awhile). Personally I prefer dep, and it does work with the current version of portage (2.0.51.19 as of this writing).

Oh yea, ecatmur doesn't seem to be posting here anymore, but as I previously indicated, the program was updated on his site at least 2 times since ~November of 2004, which is considered actively maintained (at least by my standards, many open source projects have less releases than that).
Back to top
View user's profile Send private message
rhill
Retired Dev
Retired Dev


Joined: 22 Oct 2004
Posts: 1629
Location: sk.ca

PostPosted: Wed Apr 20, 2005 6:13 am    Post subject: Reply with quote

i just noticed the update. i love this script. i don't know why but i just can't grok anything unclepine spits out.
_________________
by design, by neglect
for a fact or just for effect
Back to top
View user's profile Send private message
rhill
Retired Dev
Retired Dev


Joined: 22 Oct 2004
Posts: 1629
Location: sk.ca

PostPosted: Wed Apr 20, 2005 6:43 am    Post subject: Reply with quote

heh, spoke too soon.

anyone else getting this?

Code:
244 packages in world:  108 valid,  136 redundant;
68 packages in system;
315 packages installed: 21% in system, 77% in world, 44% deps.
Install new world file? [Yes/No/Diff/Merge] y
tr: misaligned [:upper:] and/or [:lower:] construct
tr: misaligned [:upper:] and/or [:lower:] construct


the world file is getting written, so i don't know if it's ignorable or not. the only use of tr is

Code:
function upper() {
   echo "$*" | tr [[:lower:]] [[:upper:]]
}


so i don't know how important it is.

edit: oh okay it's for parsing user input (change small y into capital Y).

edit2:
Code:
function upper() {
   echo "$*" | tr "[[:lower:]]" "[[:upper:]]"
}


i think that'll do it.
_________________
by design, by neglect
for a fact or just for effect
Back to top
View user's profile Send private message
localghost
Apprentice
Apprentice


Joined: 28 Oct 2004
Posts: 185
Location: Sint-Niklaas, Belgium

PostPosted: Sun May 29, 2005 11:23 am    Post subject: Reply with quote

I did the following:
Code:
# wget http://home.jesus.ox.ac.uk/~ecatmur/my-bin/dep
# chmod a+x dep
# mv dep /usr/local/bin/


Now when I run dep, I get the following error:
Code:
# dep
sed: -e uitdrukking #1, teken 122: unterminated `s' command


How can I fix this?
_________________
411 /0µr 84$3 4r3 8310n9 70 µ$.
Back to top
View user's profile Send private message
embobo
Guru
Guru


Joined: 19 May 2003
Posts: 311

PostPosted: Tue Oct 18, 2005 12:18 am    Post subject: Reply with quote

localghost wrote:
I did the following:
Code:
# wget http://home.jesus.ox.ac.uk/~ecatmur/my-bin/dep
# chmod a+x dep
# mv dep /usr/local/bin/


Now when I run dep, I get the following error:
Code:
# dep
sed: -e uitdrukking #1, teken 122: unterminated `s' command


How can I fix this?


Code:

     86 function help_fmt() {
     87         sed -r "s/( |^)$PROG( |$)/$CY\\0$NO/
     88         s/^[^[:space:]].*:/$YL\\0$NO/
     89         s/[[:space:]]-[][[:alpha:]?-]+/${FC}\\0${NO}/g
     90         s/[[:upper:]_]{3,}/${RD}\\0${NO}/g
     91         s/\\(default\\)/${BR}\\0${NO}/
     92         s:( |^)/[^[:space:]]+:$GR\\0$NO:
     93         s/[[:alpha:]]+([[:digit:]]+)/${BL}\\0${NO}/
     94         s/^(An? [[:alpha:]]+ is )([[:alpha:]]+)/\\1${BR}\\2${NO}/"
     95 }


See the [] on line 89? Delete that. Beyond fancy color-formatting of the help message, I don't know what it does.
Back to top
View user's profile Send private message
Shan
Guru
Guru


Joined: 04 Nov 2003
Posts: 558
Location: /dev/null

PostPosted: Sat Nov 12, 2005 2:13 pm    Post subject: Reply with quote

I'm glad you posted that fix embobo, I never would have figured it out. The silly thing is, I've got two systems where the 'stock' dep (from ecatmur's site) works perfect, but a third where I had to remove the brackets. The only difference between the two working and the one non is that the 'non' is arch, whereas the other two are ~arch (one ~x86, the other ~amd64 respectively). Ah well, works now ^^;
_________________
{ NO -U } { STRIP }
{ TINY }
Back to top
View user's profile Send private message
omp
Retired Dev
Retired Dev


Joined: 10 Sep 2005
Posts: 1018
Location: Glendale, California

PostPosted: Wed Nov 16, 2005 5:44 am    Post subject: Reply with quote

Wow.. this script is GREAT.
_________________
meow.
Back to top
View user's profile Send private message
slycordinator
Advocate
Advocate


Joined: 31 Jan 2004
Posts: 3065
Location: Korea

PostPosted: Fri Dec 02, 2005 3:01 am    Post subject: Reply with quote

I just found a bug with this script.

I installed bash-completion. A post-dependency of it is gentoo-bashcomp.

So app-shells/bash-completion was in my world file.

Then when I run "dep -w" it tells me that this entry is redundant. So after letting it remove the entry for bash-completion there is no entry for either bash-completion OR gentoo-bashcomp. And if I add app-shells/gentoo-bashcomp to my world file dep tells me that's an unneeded entry as well.

I'm guessing this script doesn't deal with post-dependencies well then.

edit:
I see, the problem with it is that gentoo-bashcomp depends on bash-completion but bash-completion has gentoo-bashcomp as a post-dependency. Creates a type of circular dependency.
Back to top
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Thu Dec 15, 2005 2:42 am    Post subject: Reply with quote

Just for the record: dep is being actively maintained again. Latest version is 0.5.6; it handles circular dependencies and has a whole host of informational functions. Also: it's fast.
_________________
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Back to top
View user's profile Send private message
St. Joe
Apprentice
Apprentice


Joined: 13 Apr 2005
Posts: 242
Location: USA

PostPosted: Fri Dec 16, 2005 4:12 am    Post subject: Reply with quote

I've read through this very informative thread, and feel I have a good idea of which entries should be present in the world file. It is quite apparent that I have a good number of packages listed in the world file that are simple deps of other ebuilds. I feel that using the provided script I could prune them effectively.

However, I have a question. If I remove those entries and then need to do a:

emerge -e system
emerge -e world

How and when will the ebuilds that I removed get rebuilt? I good example would be the recent gcc upgrade, and the need to recompile the system and world packages. If a package gets rebuilt it will not once again pull in the applicable deps to also get rebuilt, and so if those deps are not listed in the world file how will they get flagged?

Edit: I suppose one way would be if they were already included in the 'system' category of packages. Then they would not need to be flagged during the 'emerge -e world' session. What would be an effective method to cross-reference this locally? By that I mean look at the 'system' package listing and compare it to those ebuilds in my world file I am considering removing.
_________________
For every hammer there is a nail.
For every nail there is a thumb.
Back to top
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Fri Dec 16, 2005 4:44 am    Post subject: Reply with quote

No; emerge -e world will remerge dependencies as well; emerge -e world and emerge -e system will (ideally) remerge everything that isn't removed by depclean.
_________________
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3 ... 15, 16, 17 ... 27, 28, 29  Next
Page 16 of 29

 
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