kanotix.com

General Support - apt-get locally

LRC - 02.12.2006, 05:15 Uhr
Titel: apt-get locally
I found this.
If you do not want to write an override file, just use /dev/null. when calling dpkg-scanpackages.

Still in the /root directory do:
# dpkg-scanpackages debs file | gzip > debs/Packages.gz

In the above line, file is the override file, the command generates a file Packages.gz that contains various information about the packages, which are used by APT. To use the packages, finally, add:
deb file:/root debs/
Based on this, if I read it correctly, if I download a deb file, or convert an rpm to deb, and place it in /root/deb folder, (the folder modified by the folder name I actually placed it in, and replaced 'file' with '/dev/null', ( as I don't wont to make an override file), and add it to my sources list, apt-get will find whatever I put there after an update and I then can use apt-get to install the package.
DeepDayze - 02.12.2006, 16:24 Uhr
Titel: RE: apt-get locally
Nice tip, LRC. it can be useful to apt-get a package on a CD or removable device. Would it also go to the Net to get any dependencies that might be required for such packages?
jackiebrown - 03.12.2006, 01:23 Uhr
Titel: RE: apt-get locally
I use this
http://www.debian.org/doc/manuals/repos ... al-example
Alle Zeiten sind GMT + 1 Stunde
PNphpBB2 © 2003-2007