Re: pkgdb -F questions
From: Mike Scott (usenet.9_at_spam.stopper.scottsonline.org.uk)
Date: 11/25/04
- Next message: Bob: "Re: UDP Broadcast"
- Previous message: Lars Eighner: "Re: pkgdb -F questions"
- In reply to: Kris Kennaway: "Re: pkgdb -F questions"
- Next in thread: Lars Eighner: "Re: pkgdb -F questions"
- Reply: Lars Eighner: "Re: pkgdb -F questions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 25 Nov 2004 11:24:01 GMT
Kris Kennaway wrote:
> On 2004-11-25, Lars Eighner <eighner@io.com> wrote:
>
>>When pkgdb -F says:
>>
>>Stale dependency: foo -> bar
>>
>>What does that mean? Which is the dependent, foo or bar?
>>(i.e. did foo used to need bar or did bar used to need foo?)
>
>
> port foo depends on port bar, which you do not have installed. This
> is commonly because you either forced the installation or
> deinstallation of a port or package when it warned you that it
> couldn't find all of its dependencies. It may also be because you
> haven't upgraded ports correctly in the past, and dependency
> information has been lost.
It's not that simple. I've just run it on my m/c, and amonst other
things I get:
Stale dependency: samba-3.0.7,1 -> heimdal-0.6.1 (security/heimdal):
New dependency? (? to help): ?
[Enter] to skip, [Ctrl]+[D] to delete, [.][Enter] to abort, [Tab] to
complete
New dependency? (? to help):
Skip this? ([y]es/[n]o/[a]ll) [yes]
Skipped.
The questions and options are cryptic to say the least. [Tab] has never
offered anything useful AFAIR.
Well, I've not a clue what heimdal might be -- I assume it's something
to do with the samba3 port. I know I've installed samba3 recently to
replace samba2. Checking now (pkg_info) I see heimdal's not present.
Which is odd - I install new ports in one of three ways: pkg_add -r,
portupgrade -N, or cd /usr/ports/....; make install. And I don't delete
ports unless I'm *very* sure about them (and haven't for ages). So how
come heimdal wasn't installed if it's needed by samba3? All those
methods install the dependencies, don't they?
Same problem for ImageMagick:
Stale dependency: ImageMagick-6.0.2.7 -> gsfonts-8.11_1 (print/gsfonts):
New dependency? (? to help): ?
[Enter] to skip, [Ctrl]+[D] to delete, [.][Enter] to abort, [Tab] to
complete
New dependency? (? to help):
Skip this? ([y]es/[n]o/[a]ll) [yes]
Skipped.
gsfonts is not on the system. But I've not touched either of these
since ImageMagick was installed months ago. And to add confusion, INDEX
(I've done a cvsup and make fetchindex) lists gsfonts-8.11_2 as the
requirement instead (I think). So what gives?
For good measure, I get a stack of 'duplicated origin' messages. DO I
want to unregister any of them? Frankly, I've no idea!!
>
>
>>What am I supposed to do about it?
Good question.
>
>
> Correct it to whatever port it is supposed to depend on (see below),
> or halt the pkgdb program and install the missing port.
But why should the user have to fix what the system's screwed up?
>
>
>>If it is stale, why didn't pkgdb -F just delete it?
>
>
> Because automatically deleting data without confirmation is usually
> considered bad.
OK.
>
>
>>Am I supposed to research something?
>>Where?
>
>
> If you're unsure, check the port makefile to see what it's supposed to
> depend on. If you're really unsure, you can always just remove the
Gah! No way should anyone have to ferret around like that. If the ports
system is so unrobust the user has to do that sort of thing, then it's
broken. The whole structure seems worryingly arcane. IMVHO, of course :-)
> port and reinstall it, and let the ports system take care of its own
> dependencies.
But it obviously doesn't - not always.
>
> Kris
>
- Next message: Bob: "Re: UDP Broadcast"
- Previous message: Lars Eighner: "Re: pkgdb -F questions"
- In reply to: Kris Kennaway: "Re: pkgdb -F questions"
- Next in thread: Lars Eighner: "Re: pkgdb -F questions"
- Reply: Lars Eighner: "Re: pkgdb -F questions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|