19.04.2024, 00:07 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]

Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
Autor Nachricht
LRC
Titel: apt-get locally  BeitragVerfasst 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.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
DeepDayze
Titel: RE: apt-get locally  BeitragVerfasst 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?
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
jackiebrown
Titel: RE: apt-get locally  BeitragVerfasst am: 03.12.2006, 01:23 Uhr



Anmeldung: 13. Mai 2005
Beiträge: 732
Wohnort: Texas
I use this
http://www.debian.org/doc/manuals/repos ... al-example

_________________
Always acknowledge a fault. This will throw those in authority off their guard and give you an opportunity to commit more.
Mark Twain
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Beiträge vom vorherigen Thema anzeigen:     
Gehe zu:  
Alle Zeiten sind GMT + 1 Stunde
Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
PNphpBB2 © 2003-2007 
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.