Autor |
Nachricht |
|
Titel: apt-get locally
Verfasst am: 02.12.2006, 05:15 Uhr
|
|
Anmeldung: 21. Apr 2006
Beiträge: 152
Wohnort: Ice and Snow
|
|
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. |
|
|
|
|
 |
|
Titel: RE: apt-get locally
Verfasst am: 02.12.2006, 16:24 Uhr
|
|
Anmeldung: 08. Dez 2005
Beiträge: 300
|
|
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? |
|
|
|
|
 |
|
Titel: RE: apt-get locally
Verfasst am: 03.12.2006, 01:23 Uhr
|
|
Anmeldung: 13. Mai 2005
Beiträge: 732
Wohnort: Texas
|
|
|
|
 |
|
|
|