[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: adding a directory to apt source



The way I found (and that works for me) to do add a directory to apt
source is this one:

from the tree where the packages are (they can be in one or more
subdirs) type:
	
	touch override
		#(scanpackages need an override file, that can be blank)

	dpkg-scanpackages ./ override > Packages
		#I tried Packages.gz and did't work
	
	apt-setup

from apt-setup choose to manually edit the conf file end add the line

	deb file:<path_of_the_package_tree>
<dir_of_the_package_tree_you_want_to_add>

so if my packages are in /packages/packs1/ and /packages/packs2/ I write
	deb file:/packages ./
(I used this one)
or
	deb file:/packages packs1 packs2
(not tried actually but I think it works)

Greetings



Reply to: