hi roman
On Sat, 15 Nov 2003 13:07, Roman Medina wrote:
Apt-get tries to replace my customized package. How is the best
approach to solve it? Changing version number? Tunning config file for
apt? Please, detailed example would be welcome.
i set up my own debian source and set the priorities in the
/etc/apt/preferences to take my packages. the only bad thing about this
is, that apt does not upgrade on new orgiginal versions :)
maybe this is an overkill for just one server...
my script for generating my mirror:
------------------
#!/bin/bash
echo "fetch files from source directories ..."
cd /usr/local/src
mv packages/*/*.deb debian/
echo "update packages.gz file ..."
echo
"------------------------------------------------------------------------"
cd /var/www/debian
rm dists/testing/main/binary-i386/Packages.gz
dpkg-scanpackages dists/testing/main/binary-i386 /dev/null > \
dists/testing/main/binary-i386/Packages
gzip dists/testing/main/binary-i386/Packages
echo
"------------------------------------------------------------------------"
echo "done."
-------------------------
my Release file:
------------------------
Archive: testing
Component: main
Origin: xy.nine.ch
Label: nine.ch
Architecture: i386
--------------------------
the extensions in /etc/apt/sources.list
-------------
deb http://xy.nine.ch/debian/ testing main
----------------------
the /etc/apt/preferences
---------
Package: courier-maildrop
Pin: release l=nine.ch
Pin-Priority: 1500
-tom