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

Re: adding a directory to apt source



emarsk <emanuele.rsk@tiscali.it> writes:

> 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

You can successfully use /dev/null as an override file.  If you want a
Packages.gz file, as the filename suggests, it should be gzipped.

  dpkg-scanpackages ./ /dev/null | gzip -c9 > Packages.gz

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

...or fire up $EDITOR on /etc/apt/sources.list yourself.

-- 
David Maze         dmaze@debian.org      http://people.debian.org/~dmaze/
"Theoretical politics is interesting.  Politicking should be illegal."
	-- Abra Mitchell



Reply to: