vine-users ML アーカイブ



[vine-users:080048] Re: new spec files for Vine

  • From: MATSUBAYASHI 'Shaolin' Kohji <shaolin@xxxxxxxxxxxxx>
  • Subject: [vine-users:080048] Re: new spec files for Vine
  • Date: Thu, 11 Feb 2010 21:34:05 +0900
At Thu, 11 Feb 2010 19:55:47 +0800,
SHiNE wrote:
> 
> thanks for your reply! :)
> i'm going to subscribe vineplus mailing list.

Way to go - hope to see you again soon over here :)


> another question is how can i find out the dependency of my package? i
> know that checking out the file which is provided by a distinct rpm by
> running command 'rpm -qf /dir/somefile', but this only works for the
> file already installed in my system. for an unknown file, how can i
> know which package provides it? like the yum package manager, 'yum
> provides 'foo'' (find out which package a file belongs to).

Unfortunately no (at the moment) - here's why.

As you may know, Vine Linux uses apt-rpm for meta package management.
There is a command "apt-file" which does the same as "yum provides",
but this "apt-file" command is not available on apt-rpm (a variation
of apt in order to handle rpm packages) but only on original apt
(for deb packages).

To tell the truth here, Vine's apt-rpm has some kind of capability
of finding which package (even uninstalled yet) provides a specific file
by using "apt-cache" command. However, the apt repository database
(we Project Vine provides) must have file list data. Due to some past
considerations (such as limited network bandwidths and server
capabilities in those days), we have not provided the file list data
into the apt repository database.

But on the other hand, we Project Vine members has begun considering
the inclusion of file list data into the apt repository database sometime
in the future, so that everybody will be able to search a certain file
by "apt-cache" command. On this standpoint, the answer would turn to
"yes, hopefully, in the near future..."

Cheers,

--
 MATSUBAYASHI, 'Shaolin' Kohji
 Vice President & PPC Maintainer, Project Vine  shaolin@xxxxxxxxxxxxx
 Interaction Designer, Vine Caves Ltd.          shaolin@xxxxxxxxxxxxx

 GPG Fingerprint: 981C 4171 3044 DC45 6024  EA00 A413 F44D 8FB7 5B97