Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Revdep-rebuild [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
dpetka2001
l33t
l33t


Joined: 04 Mar 2005
Posts: 804

PostPosted: Mon Oct 17, 2005 11:31 am    Post subject: Revdep-rebuild [Solved] Reply with quote

Hello there...I have just finished an upgrade of my system and world and am trying to do a "revdep-rebuild" before "emerge -depclean"..."revdep-rebuild" complains about non existing openoffice 1.1.4 ebuild...but after the upgrade I have openoffice 1.1.5 in my system and I remember (while watching the emerge proccess) that older version of openoffice (meaning 1.1.4) "has been safely removed"...so what should I do??

Last edited by dpetka2001 on Tue Dec 06, 2005 12:04 am; edited 1 time in total
Back to top
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Mon Oct 17, 2005 12:45 pm    Post subject: Reply with quote

Post the actual error message?
_________________
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Back to top
View user's profile Send private message
dpetka2001
l33t
l33t


Joined: 04 Mar 2005
Posts: 804

PostPosted: Mon Oct 17, 2005 7:51 pm    Post subject: Reply with quote

here is the output of revdep-rebuild
Code:
Checking reverse dependencies...
Packages containing binaries and libraries broken by any package update,
will be recompiled.

^[[32;01mCollecting system binaries and libraries...^[[0;0m using existing /roo$
^[[32;01mCollecting complete LD_LIBRARY_PATH...^[[0;0m using existing /root/.re$
^[[32;01mChecking dynamic linking consistency...^[[0;0m using existing /root/.r$
^[[32;01mAssigning files to ebuilds...^[[0;0m using existing /root/.revdep-rebu$
^[[32;01mEvaluating package order...^[[0;0m using existing /root/.revdep-rebuil$
^[[32;01mAll prepared. Starting rebuild...^[[0;0m
emerge --oneshot --nodeps  =app-office/openoffice-bin-1.1.4-r1 =www-client/mozi$^G.^G.^G.^G.^G.^G.^G.^G.^G.^G.
Calculating dependencies
emerge: there are no ebuilds to satisfy "=app-office/openoffice-bin-1.1.4-r1".
^[[31;01mResult is not OK, you have following choices:^[[0;0m
- if emerge failed during build, fix the problems and re-run revdep-rebuild
    or
- use -X or --package-names as first argument (try to rebuild package, not exact  ebuild - ignores SLOT!)
    or
- set ACCEPT_KEYWORDS="~<your platform>" and/or /etc/portage/package.unmask
  (and remove /root/.revdep-rebuild.5_order to be evaluated again)
    or
- modify the above emerge command and run it manually
    or
- compile or unmerge unsatisfied packages manually, remove temporary files and
  try again (you can edit package/ebuild list first)

^[[32;01mTo remove temporary files, please run:^[[0;0m
rm /root/.revdep-rebuild*.?_*
Back to top
View user's profile Send private message
dpetka2001
l33t
l33t


Joined: 04 Mar 2005
Posts: 804

PostPosted: Tue Oct 18, 2005 9:44 pm    Post subject: Reply with quote

anyone can help me with this error??
Back to top
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Wed Oct 19, 2005 10:45 am    Post subject: Reply with quote

If files are being assigned to openoffice-bin-1.1.4-r1 it was not removed properly.

Try
Code:
emerge --unmerge =app-office/openoffice-bin-1.1.4-r1

and if that does not work,
Code:
rm -rf /var/db/pkg/app-office/openoffice-bin-1.1.4-r1
to remove the package from the vardb.
_________________
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Back to top
View user's profile Send private message
dpetka2001
l33t
l33t


Joined: 04 Mar 2005
Posts: 804

PostPosted: Wed Oct 19, 2005 11:53 am    Post subject: Reply with quote

Code:
emerge --unmerge =app-office/openoffice-bin-1.1.4-r1
tells me that there are no packages to unmerge
Code:
rm -rf /var/db/pkg/app-office/openoffice-bin-1.1.4-r1
shows only openoffice-bin-1.1.5 in /var/db/pkg/app-office...I cannot understand why revdep-rebuild is pulling openoffice-bin-1.1.4-r1 in...is there another way to check what is dragging openoffice-bin-1.1.4-r1 while revedep-rebuild?? thanks...
Back to top
View user's profile Send private message
dpetka2001
l33t
l33t


Joined: 04 Mar 2005
Posts: 804

PostPosted: Wed Oct 19, 2005 12:18 pm    Post subject: Reply with quote

I found however a openoffice-bin-1.1.4-r1.ebuild in "usr/portage/app-office/openoffice"...does this have any particular meaning?? can I use it in order to resume revdep-rebuild?? thanks...
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


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

PostPosted: Wed Oct 19, 2005 2:02 pm    Post subject: Reply with quote

Please run a
Code:
rm -r ~/.revdep*

first, could be old cache files.
Back to top
View user's profile Send private message
dpetka2001
l33t
l33t


Joined: 04 Mar 2005
Posts: 804

PostPosted: Thu Oct 20, 2005 7:06 pm    Post subject: Reply with quote

thanks this worked great...how often do you suggest I should remove old cache files?? should I do it in general?? or was my situation just a special one??
Back to top
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Thu Oct 20, 2005 7:49 pm    Post subject: Reply with quote

~/.revdep* aren't cache files, they're temp files; and as such you should remove them each time unless you have a reason to keep them. (Basically, they let revdep-rebuild continue from a particular point if it is interrupted; but if that point does not reflect the actual state of your system you're going to be in loads of grief.)
_________________
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Back to top
View user's profile Send private message
dpetka2001
l33t
l33t


Joined: 04 Mar 2005
Posts: 804

PostPosted: Thu Oct 20, 2005 11:02 pm    Post subject: Reply with quote

actually I tried to track down if there are any revdep* temp files in ~/ but it seems that they get deleted after a successful execution of the command...couldn't find any...thanks for pointing this out to me...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
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