PDA

View Full Version : [SOLVED] source installation



chaying
October 7th, 2012, 10:50 AM
Hi

Does anyone know how to make ubuntu aware of an installation from sources ?

Thank you

chaying
October 7th, 2012, 10:59 AM
I auto reply :

Usage: apt-mark [options] {auto|manual} pkg1 [pkg2 ...]

apt-mark is a simple command line interface for marking packages
as manual or automatical installed. It can also list marks.

Commands:
auto - Mark the given packages as automatically installed
manual - Mark the given packages as manually installed

Options:
-h This help text.
-q Loggable output - no progress indicator
-qq No output except for errors
-s No-act. Just prints what would be done.
-f read/write auto/manual marking in the given file
-c=? Read this configuration file
-o=? Set an arbitrary configuration option, eg -o dir::cache=/tmp
See the apt-mark(8) and apt.conf(5) manual pages for more information.

Thank you :)

chaying
October 7th, 2012, 11:03 AM
I re auto ask because it doesn't seem to work when source installation, just with packages. :(

oldos2er
October 7th, 2012, 05:48 PM
Have you tried installing your source with checkinstall (https://help.ubuntu.com/community/CheckInstall)? I am unfamiliar with apt-mark, but it might work.


Does anyone know how to make ubuntu aware of an installation from sources ?

It would help if you would give some details such as which software you compiled and installed, and any terminal output from ./configure, make, or sudo make install

chaying
October 11th, 2012, 12:54 PM
Hi

Very thanks for the tip ! :)
It works fine, it even builds a deb package from the sources : just great !

This was to install the last version of samba, I'm still dealing with a dependency issue (libwbclient0) but it should just do.

Thanks again. ;)

PS : apt-mark can't work as it tests if the package is installed before applying mark, the dog bites in own tail..