[Aptitude-devel] Bug#695205: aptitude install name_of_the_missing_file should find the package of name_of_the_missing_file and install it

Ole Tange ole at tange.dk
Wed Dec 5 12:59:33 UTC 2012


Package: aptitude
Version: 0.6.8.1
Severity: wishlist

I often experience some program depend on a file. I then have to
locate which package may contain the file and then install the
package.

It looks like this:

$ foo
Could not load library: libglut.so.3: cannot open shared object file:
No such file or directory.
$ 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

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

If multiple packages contain libglut.so.3 then aptitude should ask me
to select one of them.


/Ole



More information about the Aptitude-devel mailing list