[Aptitude-devel] Bug#695205: aptitude install name_of_the_missing_file should find the package of name_of_the_missing_file and install it
Axel Beckert
abe at debian.org
Sat Dec 8 13:25:18 UTC 2012
reassign 695205 apt-file
unblock 695205 by 695436
retitle 695205 apt-file: Should provide a wrapper to install the found package
kthxbye
Hi,
Daniel Hartwig wrote:
> On 5 December 2012 20:59, Ole Tange <ole at tange.dk> wrote:
> > $ apt-file search libglut.so.3
> > freeglut3: /usr/lib/x86_64-linux-gnu/libglut.so.3
> > freeglut3: /usr/lib/x86_64-linux-gnu/libglut.so.3.9.0
> > $ sudo aptitude install freeglut3
>
> Clear and concise. No confusion over what you meant with /these/ commands.
>
> >
> > It would be nice if I did not have to go through apt-file to locate
> > the package, but that I instead simply could do:
> >
> > $ sudo aptitude install libglut.so.3
>
> Whats that? Is the argument a package name, some missing file you
> like, something else? This is no longer clear.
That's what I thought, too. Nevertheless I think the idea in general
is not so bad.
A more clear situation would provide a sub command named e.g.
"fileinstall".
But despite it sounds simple, I think this is quite complex to
integrate in aptitude. But it could be easily implemented as a wrapper
around apt-file and apt-get/aptitude.
And since it needs apt-file anyway (pointless to implement that
functionality a second time), but may be used with aptitude as well as
apt-get, I think it's better if such a wrapper script (named e.g.
apt-file-install) is included in the apt-file package.
Actually http://bugs.debian.org/408379 already covers the download
part as wrapper script. It should be easy to change the script to
install the package instead.
Reassigning to apt-file hence.
Regards, Axel
--
,''`. | Axel Beckert <abe at debian.org>, http://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
`- | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
More information about the Aptitude-devel
mailing list