Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't emerge -u world due to docbook-sgml error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Empty_One
n00b
n00b


Joined: 18 Oct 2002
Posts: 32

PostPosted: Thu Jan 16, 2003 12:51 am    Post subject: Can't emerge -u world due to docbook-sgml error Reply with quote

I can't do an emerge -u world because I keep getting this error:
Code:

emerge app-text/docbook-sgml-utils
Calculating dependencies /
emerge: there are no masked or unmasked ebuilds to satisfy "=app-text/docbook-sgml-dtd-3.1".

!!! Error calculating dependancies. Please correct.



I followed the instructions here:
http://cvs.gentoo.org/~satai/sgmlfix.html
but that didn't help anything, I still get the same error. Any ideas?
_________________
"Barney sucks! Best Buy sucks! Sony Sucks! Microsoft sucks, Bill Gates is the anti-Christ and John Ashcroft can kiss my ass!" Wil Wheaton
Back to top
View user's profile Send private message
ctford0
l33t
l33t


Joined: 25 Oct 2002
Posts: 774
Location: Lexington, KY,USA

PostPosted: Thu Jan 16, 2003 5:21 am    Post subject: Reply with quote

just to emerge -u world you should be able to go to /var/cache/edb/world and delete the entry out of the file. However, I am in the same situation, I can emerge -u world, but I can't emerge -u --deep world because this is a dependency of something I have. I would really like to get this resolved.

Hope this helps...

Chris
Back to top
View user's profile Send private message
watersb
Apprentice
Apprentice


Joined: 04 Sep 2002
Posts: 297
Location: take a left turn in Tesuque

PostPosted: Thu Jan 16, 2003 6:15 am    Post subject: cheat by using emerge inject Reply with quote

Quote:

I followed the instructions here:
http://cvs.gentoo.org/~satai/sgmlfix.html


I had a similar problem today, and those sgmlfix instructions helped me.

But I thought I might suggest a work-around that I used until I found out about the sgml-fix; the technique might help you get past your problems...

Code:

[ebuild    U ] app-text/sgml-common-0.6.3-r3 [0.6.3-r2]
[ebuild    UD] app-text/docbook-sgml-dtd-3.1-r1 [4.1]
[ebuild    UD] app-text/docbook-sgml-dtd-3.0-r1 [4.1]
[ebuild    U ] app-text/openjade-1.3.1-r6 [1.3.1-r4]
[ebuild    U ] app-text/docbook-sgml-dtd-4.1-r1 [4.1]
[ebuild    U ] dev-perl/SGMLSpm-1.03-r4 [1.03-r3]
[ebuild  N   ] app-text/jadetex-3.12
[ebuild    U ] app-text/docbook-dsssl-stylesheets-1.77-r1 [1.77]
[ebuild    U ] app-text/docbook-xsl-stylesheets-1.57.0 [1.54.1]
[ebuild    UD] app-text/docbook-sgml-dtd-4.0-r1 [4.1]
[ebuild    U ] app-text/docbook-sgml-utils-0.6.11-r2 [0.6.11-r1]


This process died with the emerge of docuboot-sgml-utils. I had a lot of other stuff to update/break :wink: after this, so I needed a work-around...

I cheated by forcing Portage to think that it had already installed the offending package:

Code:

emerge inject app-text/docbook-sgml-utils-0.6.11-r2


This isn't great, but it should work -- because (look at my first code listing) I already have a relatively recent version of this package installed. This is an important caveat -- I sort-of know that I can get away with skipping this package for now. I wouldn't try this with a significant upgrade of a major package.

Someday Real Soon I can go back and get rid of this kludge by deleting the place-holder entry in the Portage db:
Code:

# rm -rf /var/db/pkg/app-text/docbook-sgml-utils-0.6.11-r2/


HTH...
Back to top
View user's profile Send private message
TheMoog
n00b
n00b


Joined: 09 Jan 2003
Posts: 14

PostPosted: Thu Jan 16, 2003 9:27 am    Post subject: Reply with quote

The answer is in this thread

https://forums.gentoo.org/viewtopic.php?t=29222
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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