1 |
On Sun, Dec 12, 2010 at 1:41 PM, Alan McKinnon <alan.mckinnon@×××××.com> wrote: |
2 |
> Apparently, though unproven, at 23:10 on Sunday 12 December 2010, |
3 |
> covici@××××××××××.com did opine thusly: |
4 |
> |
5 |
>> Alan McKinnon <alan.mckinnon@×××××.com> wrote: |
6 |
>> > Apparently, though unproven, at 22:35 on Sunday 12 December 2010, |
7 |
>> > |
8 |
>> > covici@××××××××××.com did opine thusly: |
9 |
>> > > Mark Knecht <markknecht@×××××.com> wrote: |
10 |
>> > > > On Sun, Dec 12, 2010 at 10:48 AM, <covici@××××××××××.com> wrote: |
11 |
>> > > > > I have a fair number of preserved-libs, but it will not run at all |
12 |
>> > > > > and gives the rather strange message: |
13 |
>> > > > > Calculating dependencies... done! |
14 |
>> > > > > |
15 |
>> > > > > emerge: there are no ebuilds to satisfy "dev-tex/mplib:0". |
16 |
>> > > > > (dependency required by "@preserved-rebuild") |
17 |
>> > > > > |
18 |
>> > > > > Now I have no such package and an eix seems to indicate that there |
19 |
>> > > > > is no such, so how do I get this rebuild going again? |
20 |
>> > > > > |
21 |
>> > > > > Thanks in advance for all your help. |
22 |
>> > > > > |
23 |
>> > > > > -- |
24 |
>> > > > > Your life is like a penny. You're going to lose it. The question |
25 |
>> > > > > is: How do |
26 |
>> > > > > you spend it? |
27 |
>> > > > > |
28 |
>> > > > > John Covici |
29 |
>> > > > > covici@××××××××××.com |
30 |
>> > > > |
31 |
>> > > > Probably searching for packages that depend on mplib, (equery) then |
32 |
>> > > > emerge -C them (it's what I'd probably do - depends...) then |
33 |
>> > > > re-emerge them if you still use them? Note that I'd go back to |
34 |
>> > > > finding what members of the world file need all this stuff and |
35 |
>> > > > emerge that with -DuN, maybe even doing a -depclean after the emerge |
36 |
>> > > > -C. It's all a guess though. |
37 |
>> > > > |
38 |
>> > > > Seems like this sort of thing happens when a package gets dumped in |
39 |
>> > > > an upgrade but somehow the ebuilds or package manager don't get |
40 |
>> > > > updated or just don't work perfectly. |
41 |
>> > > > |
42 |
>> > > > Again, all a guess but I can usually figure it out looking at equery |
43 |
>> > > > output, etc. |
44 |
>> > > |
45 |
>> > > Well, there was a package, but no ebuild, so I deleted the package and |
46 |
>> > > its going, but someone broke something. I wish you could not delete an |
47 |
>> > > ebuild if you have the package, or it would put it somewhere to prevent |
48 |
>> > > this kind of thing. |
49 |
>> > |
50 |
>> > That will make portage store gigantic numbers of old and since upgraded |
51 |
>> > versions just in case maybe you might need it perhaps. Sounds like a lot |
52 |
>> > of pain for no gain. Sounds like exactly the kind of thing any decent |
53 |
>> > dev will reject. |
54 |
>> > |
55 |
>> > Besides, you can always get the old ebuild back from the Attic, or you |
56 |
>> > could copy it somewhere safe from /var/db/pkg/ before you delete it. |
57 |
>> > |
58 |
>> > Mark has the correct solution. mplib is not needed and was deleted. |
59 |
>> > However, it's in preserved-rebuild as being used by something. In all |
60 |
>> > likelyhood that something uses mplib purely optionally and you should |
61 |
>> > just rebuild that something. You provided no output so no-one here knows |
62 |
>> > how to fix your problem. |
63 |
>> |
64 |
>> There was no output, but what I sent and the only thing depended on |
65 |
>> mplib was the package with no ebuild, so I guess its fixed. But |
66 |
>> something seems wrong here that you should have a package and the ebuild |
67 |
>> would go away like that. I am not sure of the best solution. |
68 |
> |
69 |
> But you *don't* have the package, or it didn't uninstall cleanly. It's not in |
70 |
> the tree, it's not in eix, so it no longer exists. There would have been at |
71 |
> least 30 days notice in $PORTDIR/profiles/package.mask that it was going away, |
72 |
> and emerge gives output that there is a package present without an ebuild. |
73 |
> |
74 |
> Or maybe you deleted the ebuild yourself out of a local overlay. |
75 |
> |
76 |
> There's lots of ways this can happen. preserved-rebuild tracks that some part |
77 |
> of mplib is bieng used somehow, and it told you. Now you as the human being |
78 |
> get to decide how to proceed because the software cannot decide for you. |
79 |
> |
80 |
> The software is working as designed. What else did you expect it to do? |
81 |
> |
82 |
> One thing that is NOT a solution is to not delete the ebuild. That results in |
83 |
> your tree being out of sync with upstream. That is not allowed. |
84 |
|
85 |
covici, |
86 |
It strikes me that maybe I wasn't totally clear about this sort of fix. My bad. |
87 |
|
88 |
I _think_ that if you had a totally up to date system and a recent set |
89 |
of ebuilds on the system then likely none of them would depend on |
90 |
mplib. (Assuming it's been dropped for some reason.) |
91 |
|
92 |
The issue you need to sort of get your head around is that you are |
93 |
searching from some _older_, currently installed package that depends |
94 |
on this dropped library. Once you know the name of that package, if |
95 |
you emerge -C it then the system no longer requires it and complaints |
96 |
should go away. Assuming they do then I would likely do an emerge -p |
97 |
--depclean, which gets the system clean without the program you want, |
98 |
then I would emerge the newest version of that program which doesn't |
99 |
require mplib. |
100 |
|
101 |
Again, it's sort of an Easter Egg Hunt getting to all the older |
102 |
programs that required the library that's been removed. There may be |
103 |
more than one program that used it. |
104 |
|
105 |
One other possibility, I think, is that everything is OK with your |
106 |
programs but some mplib executable (possibly a *.so file or something) |
107 |
was left laying around and now revdep-rebuild is complaining that it |
108 |
cannot fix it. That one is relatively easy as you can search, using |
109 |
equery, for the package that provided it and if it's not on the system |
110 |
then just delete the *.so that it's complaining about. |
111 |
|
112 |
Whatever, do make sure that you double check the system with |
113 |
revdep-rebuild and emerge -pvDuN @world at the end to make sure your |
114 |
clean. |
115 |
|
116 |
Hope that helps, |
117 |
Mark |