Re: dpkg-scanpackages instructions on the Debian wiki
On 2018-05-15 16:12 +0200, Vincent Lefevre wrote: > It seems that the dpkg-scanpackages instructions on the Debian wiki > are wrong. In the generated Packages file, for libltdl7, I get only: > > Package: libltdl7 > Source: libtool > Version: 2.4.6-2.1+local2 > Architecture: i386 > Maintainer: Kurt Roeckx <k...@roeckx.be> > Installed-Size: 417 > Depends: libc6 (>= 2.14) > Filename: ./libltdl7_2.4.6-2.1+local2_i386.deb > [...] > > while I have both: > > libltdl7_2.4.6-2.1+local2_amd64.deb > libltdl7_2.4.6-2.1+local2_i386.deb > > and I need both to satisfy dependencies (due to the bloated > libwine:i386). > > Indeed the dpkg-scanpackages(1) man page says: > > If more than one version of a package is found only the newest one is > included in the output. If they have the same version and only differ > in architecture only the first one found is used. That sentence, and most of the dpkg-scanpackages script, was written before multiarch, and apparently nobody bothered to add multiarch support to dpkg-scanpackages. > I assume that one needs a specific directory for each foreign > architecture. Either that, or use apt-ftparchive to generate the Packages file. Works for me. :-) Cheers, Sven
dpkg-scanpackages instructions on the Debian wiki
It seems that the dpkg-scanpackages instructions on the Debian wiki are wrong. In the generated Packages file, for libltdl7, I get only: Package: libltdl7 Source: libtool Version: 2.4.6-2.1+local2 Architecture: i386 Maintainer: Kurt Roeckx <k...@roeckx.be> Installed-Size: 417 Depends: libc6 (>= 2.14) Filename: ./libltdl7_2.4.6-2.1+local2_i386.deb [...] while I have both: libltdl7_2.4.6-2.1+local2_amd64.deb libltdl7_2.4.6-2.1+local2_i386.deb and I need both to satisfy dependencies (due to the bloated libwine:i386). Indeed the dpkg-scanpackages(1) man page says: If more than one version of a package is found only the newest one is included in the output. If they have the same version and only differ in architecture only the first one found is used. I assume that one needs a specific directory for each foreign architecture. -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Re: Problem understanding/using dpkg-scanpackages
Zenaan Harkness wrote: On 11/7/13, Richard Owlett rowl...@cloud85.net wrote: I purchase complete DVD sets. I am doing multiple clean installs to determine my optimum solution. Shuffling DVDs became a pain. I set aside a partition for myown repository. I copied the /dists and /pool directories from all DVDs in the distribution set to that partition - it is mounted as /media/repo6. OK, here's a test I just ran, which seems to work, as I'll show below. It is my understanding that, for your purposes of an offline mirror created by simply dumping the contents of the various DVDs that you have, you only need the pool directories. First, to emulate your DVD pool scenario, I copied a subset of pool/..., the z directory from my pool/main/ directory, to a temporary location: mkdir /media/repo6 cp -r /my/full/mirror/pool/main/z /media/repo6 cd /media/repo6 mkdir -p pool/main mv z pool/main In your case, you would for each DVD insert and copy off the files something like as follows: cp -rf /media/cdrom/debian/pool /media/repo6 Next, I ran the following command (many warnings are produced): dpkg-scanpackages . | gzip - Packages.gz Note that I am still in the /media/repo6 directory. Next I added the following line to /etc/apt/sources.list, commenting out all other lines in that file: deb file:/media/repo6 ./ Finally I ran the following command: apt-get update and got this output: Ign file: ./ InRelease Ign file: ./ Release.gpg Ign file: ./ Release Ign file: ./ Translation-en_AU Ign file: ./ Translation-en Reading package lists... Done So, using this procedure, seems to work for me. In the past, I have used this same procedure, using the DVD set, as you are using, and it works just fine. Good luck Zenaan I followed your work flow. I was able to install,using synaptic, two applications - wine and zork: 1. wine because I actually need it 2. zork because at least some of the files were on the last DVD Although everything seemed to function correctly, some of the details were not as I expected. When installing the applications, they did not authenticate although they came from distribution DVD's. In a previous round of my experiments wine had installed properly when following normal procedures for installing from CD/DVD. Also, during installation of both wine and zork Synaptic paused requesting that the 1st DVD of the distribution be installed. Long term that is not acceptable as my eventual goal is DVD free application installations. Also I noted your procedure did not copy the dists directory from the DVDs nor mention distribution name nor whether applications were from main or contrib. As my test machine has had many strange things done it in the last couple of months, I'll wipe the hard drive and do a clean normal install. The current Debian isn't even close to typical - I'm working on multiple projects with conflicting goals. Due to outside constraints I'm working with Squeeze 6.0.5. I've the Wheezy DVDs and will do a setup with them later. Thank you for your assistance. I've got some reading to do. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/527be55a.8050...@cloud85.net
Re: Problem understanding/using dpkg-scanpackages
On 11/8/13, Richard Owlett rowl...@cloud85.net wrote: Zenaan Harkness wrote: On 11/7/13, Richard Owlett rowl...@cloud85.net wrote: I purchase complete DVD sets. .. Shuffling DVDs became a pain. I set aside a partition for myown repository. .. OK, here's a test I just ran, which seems to work, as I'll show below. .. Next, I ran the following command (many warnings are produced): dpkg-scanpackages . | gzip - Packages.gz Next I added the following line to /etc/apt/sources.list, commenting out all other lines in that file: deb file:/media/repo6 ./ Finally I ran the following command: apt-get update and got this output: Ign file: ./ InRelease Ign file: ./ Release.gpg Ign file: ./ Release Ign file: ./ Translation-en_AU Ign file: ./ Translation-en Reading package lists... Done I followed your work flow. I was able to install,using synaptic, two applications - wine and zork: 1. wine because I actually need it 2. zork because at least some of the files were on the last DVD Although everything seemed to function correctly, some of the details were not as I expected. When installing the applications, they did not authenticate although they came from distribution DVD's. The procedure I use is the quickest solution to get the packages off a DVD/CD set and into a usable local repo. Because they are the only files you are using, you must trust those files (off the DVD set) implicitly - ie there is rather little advantage to be gained by re-checking GPG signatures every time you install something. Besides, setting up a full signed repo was not the problem statement and there are other threads, and wiki sites, which explain how to do that. In a previous round of my experiments wine had installed properly when following normal procedures for installing from CD/DVD. Also, during installation of both wine and zork Synaptic paused I assume here that you now mean on this round (not the previous round).. requesting that the 1st DVD of the distribution be installed. This should not happen and does not make sense to me. This implies very strongly that you failed to properly comment out all other lines in your existing /etc/apt/sources.list file before adding the deb file:/... line suggested. Please chech your /etc/apt/sources.list and see if this is the case or not. Remember, the DVD lines look quite different to normal lines in that file. Long term that is not acceptable as my eventual goal is DVD free application installations. I assume here that you mean: sans-DVD _and_ sans-network installations, in which case, as mentioned previously, get to know debmirror (which I currently use - I can send you my wrapper script if you wish) or reprepro. Also I noted your procedure did not copy the dists directory from the DVDs nor mention distribution name nor whether applications were from main or contrib. This is true. The procedure shown is the quick and dirty way to get a local hierarchy from a DVD set. If your DVD set contains packages from 1 distribution, then you will need something a little more elaborate, but that would rarely be the case. So yes, with this procedure, you do need to use packages from a DVD set which matches the distribution you have installed on the partition you are installing packages to... As my test machine has had many strange things done it in the last couple of months, I'll wipe the hard drive and do a clean ... Sounds like you're having fun :) Good luck, Zenaan -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAOsGNSRg7KHnhL1WFMrpvVoiBoHDMon2UNSZuckG6JEW33M=1...@mail.gmail.com
Problem understanding/using dpkg-scanpackages
I tried to ask this in another thread. But I raised too many question in one post. I do not have high speed internet. Therefore I purchase complete DVD sets. I am doing multiple clean installs to determine my optimum solution. Shuffling DVDs became a pain. I set aside a partition for myown repository. I copied the /dists and /pool directories from all DVDs in the distribution set to that partition - it is mounted as /media/repo6. {I'm working on my Squeeze machine at the moment. Eventually I'll dual boot Wheezy and Squeeze. Then I'll add another repository partition mounted as /media/repo7 etc. Later they will be on an external 1 TB drive.} My problem with the dpkg-scanpackages man pages is that I don't seem to be able to apply it correctly to my situation. Directory structure is: /media/repo6/dists/squeeze/contrib/binary-i386 /media/repo6/dists/squeeze/contrib/binary-i386/release /media/repo6/dists/squeeze/main /media/repo6/dists/squeeze/main/binary-i386 /media/repo6/dists/squeeze/main/binary-i386/release /media/repo6/pool /media/repo6/pool/squeeze /media/repo6/pool/squeeze/contrib /media/repo6/pool/squeeze/contrib/... {directories containing deb files} /media/repo6/pool/squeeze/main /media/repo6/pool/squeeze/main/... {directories containing deb files} I need appropriate Packages.gz under /media/repo6/dists/squeeze/contrib/binary-i386 and /media/repo6/dists/squeeze/main/binary-i386 . I also need appropriate lines to add to sources.list . I started at https://wiki.debian.org/HowToSetupADebianRepository#dpkg-scanpackages_and_dpkg-scansources pointing to http://www.debian.org/doc/manuals/repository-howto/repository-howto.en.html which has two problems: 1. Its title labels it as Obsolete Documentation 2. I can't figure how to apply what it says to my case. It comes closer to my case than what I've found using Google to search for dpkg-scanpackages tutorials/How-To. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/527a41f4.4020...@cloud85.net
Re: Problem understanding/using dpkg-scanpackages
On 11/7/13, Richard Owlett rowl...@cloud85.net wrote: I purchase complete DVD sets. I am doing multiple clean installs to determine my optimum solution. Shuffling DVDs became a pain. I set aside a partition for myown repository. I copied the /dists and /pool directories from all DVDs in the distribution set to that partition - it is mounted as /media/repo6. OK, here's a test I just ran, which seems to work, as I'll show below. It is my understanding that, for your purposes of an offline mirror created by simply dumping the contents of the various DVDs that you have, you only need the pool directories. First, to emulate your DVD pool scenario, I copied a subset of pool/..., the z directory from my pool/main/ directory, to a temporary location: mkdir /media/repo6 cp -r /my/full/mirror/pool/main/z /media/repo6 cd /media/repo6 mkdir -p pool/main mv z pool/main In your case, you would for each DVD insert and copy off the files something like as follows: cp -rf /media/cdrom/debian/pool /media/repo6 Next, I ran the following command (many warnings are produced): dpkg-scanpackages . | gzip - Packages.gz Note that I am still in the /media/repo6 directory. Next I added the following line to /etc/apt/sources.list, commenting out all other lines in that file: deb file:/media/repo6 ./ Finally I ran the following command: apt-get update and got this output: Ign file: ./ InRelease Ign file: ./ Release.gpg Ign file: ./ Release Ign file: ./ Translation-en_AU Ign file: ./ Translation-en Reading package lists... Done So, using this procedure, seems to work for me. In the past, I have used this same procedure, using the DVD set, as you are using, and it works just fine. Good luck Zenaan -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAOsGNSSWWR0KELhhVhq85mKCw15jRLxAkO+5=-fujrnsy0c...@mail.gmail.com
Re: Problem understanding/using dpkg-scanpackages
On Wednesday, November 06, 2013 07:11:24 PM Zenaan Harkness wrote: On 11/7/13, Richard Owlett rowl...@cloud85.net wrote: I purchase complete DVD sets. I am doing multiple clean installs to determine my optimum solution. Shuffling DVDs became a pain. I set aside a partition for myown repository. I copied the /dists and /pool directories from all DVDs in the distribution set to that partition - it is mounted as /media/repo6. I've been following this for a while. How hard would it be to create a local web site that mirrors the essential parts of, say, ftp.us.debian.org? Then tell net install to load from that host. Would the net install then function as expected (albeit somewhat quicker)? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201311062010.00554.neal.p.mur...@alum.wpi.edu
Re: Problem understanding/using dpkg-scanpackages
Neal Murphy wrote: I've been following this for a while. How hard would it be to create a local web site that mirrors the essential parts of, say, ftp.us.debian.org? Then tell net install to load from that host. Would the net install then function as expected (albeit somewhat quicker)? If you have network access then it is very easy using 'debmirror'. apt-cache show debmirror Description-en: Debian partial mirror script, with ftp and package pool support This program downloads and maintains a partial local Debian mirror. It can mirror any combination of architectures, distributions and sections. Files are transferred by ftp, http, hftp or rsync, and package pools are fully supported. It also does locking and updates trace files. There is also 'reprepro' and others too. Bob signature.asc Description: Digital signature
Re: Probleme avec la commande dpkg-scanpackages
Lors de l'exécution de la commande dpkg-scanpackages pour créer le fichier Packages.gz, j'ai une erreur : dpkg-scanpackages . /dev/null | gzip -9c Packages.gz Est-ce que LANG=C dpkg-scanpackages . /dev/null | gzip -9c Packages.gz fonctionne ? J'obtiens toujours le même message d'erreur, mais en anglais cette fois :) dpkg-scanpackages: error: Unprocessed text from ./monpackage.deb control file; info: Quelle version de dpkg-dev avez-vous sur ce système ? dpkg-scanpackages --version Debian dpkg-scanpackages version 1.15.4ubuntu1. Il semblerait que ce soit la version à jour. Cordialement, Frederic -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.org/fr/FrenchLists Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe vers debian-user-french-requ...@lists.debian.org En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org Archive: http://lists.debian.org/4b9771df.9000...@enseirb-matmeca.fr
Re: Probleme avec la commande dpkg-scanpackages
Bonjour, On Wed, 10 Mar 2010, MARTY wrote: Lors de l'exécution de la commande dpkg-scanpackages pour créer le fichier Packages.gz, j'ai une erreur : dpkg-scanpackages . /dev/null | gzip -9c Packages.gz Est-ce que LANG=C dpkg-scanpackages . /dev/null | gzip -9c Packages.gz fonctionne ? J'obtiens toujours le même message d'erreur, mais en anglais cette fois :) dpkg-scanpackages: error: Unprocessed text from ./monpackage.deb control file; info: Et que donne dpkg-deb -I ./monpackage.deb control ? Et puis merci de coller le message d'erreur en entier, normalement il est de cette forme (en anglais): Unprocessed text from %s control file; info:\n%s / %s Or je n'ai pas vu le / dans votre copier/coller du message d'erreur. Debian dpkg-scanpackages version 1.15.4ubuntu1. (passons sur le fait qu'on est sur une liste debian et pas ubuntu :-)) A+ -- Raphaël Hertzog Like what I do? Sponsor me: http://ouaza.com/wp/2010/01/05/5-years-of-freexian/ My Debian goals: http://ouaza.com/wp/2010/01/09/debian-related-goals-for-2010/ -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.org/fr/FrenchLists Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe vers debian-user-french-requ...@lists.debian.org En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org Archive: http://lists.debian.org/20100310110053.gg20...@rivendell
Re: Probleme avec la commande dpkg-scanpackages
Raphael Hertzog wrote: Bonjour, On Wed, 10 Mar 2010, MARTY wrote: Lors de l'exécution de la commande dpkg-scanpackages pour créer le fichier Packages.gz, j'ai une erreur : dpkg-scanpackages . /dev/null | gzip -9c Packages.gz Est-ce que LANG=C dpkg-scanpackages . /dev/null | gzip -9c Packages.gz fonctionne ? J'obtiens toujours le même message d'erreur, mais en anglais cette fois :) dpkg-scanpackages: error: Unprocessed text from ./monpackage.deb control file; info: Et que donne dpkg-deb -I ./monpackage.deb control ? Avec cette commande, j'ai le contenu de mon fichier control qui est affiché en totalité : ma...@marty:~/depotWebLib/bras$ dpkg-deb -I ./monpackage-1.deb control Package : monpackage Version : 1 Section: base Priority: optional Architecture: all Depends: Maintainer: Weblib Description: blabla Et puis merci de coller le message d'erreur en entier, normalement il est de cette forme (en anglais): Unprocessed text from %s control file; info:\n%s / %s Or je n'ai pas vu le / dans votre copier/coller du message d'erreur. En effet, j'ai pas mégarde tronquer le message d'erreur à sa première ligne. Le voici en globalité : ma...@marty:~/depotWebLib/bras$ LANG=C dpkg-scanpackages . /dev/null | gzip -9c Packages.gz dpkg-scanpackages: error: Unprocessed text from ./monpackage-1.deb control file; info: Package : monpackage Version : 1 Section: base Priority: optional Architecture: all Depends: Maintainer: Weblib Description: blabla / Package : monpackage Version : 1 Section: base Priority: optional Architecture: all Depends: Maintainer: Weblib Description: blabla Il s'agit exactement de la même erreur que pour la commande dpkg-scanpackages . /dev/null | gzip -9c Packages.gz, mais en anglais. Cordialement, Frédéric -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.org/fr/FrenchLists Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe vers debian-user-french-requ...@lists.debian.org En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org Archive: http://lists.debian.org/4b978487.4060...@enseirb-matmeca.fr
Re: Probleme avec la commande dpkg-scanpackages
On Wed, 10 Mar 2010, MARTY wrote: Avec cette commande, j'ai le contenu de mon fichier control qui est affiché en totalité : ma...@marty:~/depotWebLib/bras$ dpkg-deb -I ./monpackage-1.deb control Package : monpackage Version : 1 Il ne doit pas y avoir d'espace avant les :. Je ne sais pas comment vous avez généré ce paquet, mais ces espaces ne doivent pas y être, c'est à cause de cela que ces informations ne sont pas reconnues par dpkg-scanpackages. A+ -- Raphaël Hertzog Like what I do? Sponsor me: http://ouaza.com/wp/2010/01/05/5-years-of-freexian/ My Debian goals: http://ouaza.com/wp/2010/01/09/debian-related-goals-for-2010/ -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.org/fr/FrenchLists Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe vers debian-user-french-requ...@lists.debian.org En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org Archive: http://lists.debian.org/20100310125344.gc14...@rivendell
Re: Probleme avec la commande dpkg-scanpackages
On Wed, 10 Mar 2010, MARTY wrote: Il ne doit pas y avoir d'espace avant les :. Je ne sais pas comment vous avez généré ce paquet, mais ces espaces ne doivent pas y être, c'est à cause de cela que ces informations ne sont pas reconnues par dpkg-scanpackages. A+ Merci beaucoup pour ce coup de main, j'ai honte de mon erreur ... Comme quoi, ce n'est pas parce que le fichier .deb est créé que le control est valide. C'est justement étonnant parce que dpkg-deb -b vérifie la syntaxe de ce fichier normalement, extrait de dpkg-deb(1): Unless you specify --nocheck, dpkg-deb will read DEBIAN/control and parse it. It will check it for syntax errors and other problems, and display the name of the binary package being built. dpkg-deb will also check the per‐ missions of the maintainer scripts and other files found in the DEBIAN con‐ trol information directory. D'où ma remarque je ne sais pas comment vous avez généré ce paquet. Mais peut-être bien qu'il tolère ces espaces alors qu'ils ne devraient pas y être. A+ -- Raphaël Hertzog Like what I do? Sponsor me: http://ouaza.com/wp/2010/01/05/5-years-of-freexian/ My Debian goals: http://ouaza.com/wp/2010/01/09/debian-related-goals-for-2010/ -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.org/fr/FrenchLists Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe vers debian-user-french-requ...@lists.debian.org En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org Archive: http://lists.debian.org/20100310132634.gb15...@rivendell
Re: Probleme avec la commande dpkg-scanpackages
Il ne doit pas y avoir d'espace avant les :. Je ne sais pas comment vous avez généré ce paquet, mais ces espaces ne doivent pas y être, c'est à cause de cela que ces informations ne sont pas reconnues par dpkg-scanpackages. A+ Merci beaucoup pour ce coup de main, j'ai honte de mon erreur ... Comme quoi, ce n'est pas parce que le fichier .deb est créé que le control est valide. Je tacherai d'etre plus attentif a l'avenir :-) Frederic -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.org/fr/FrenchLists Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe vers debian-user-french-requ...@lists.debian.org En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org Archive: http://lists.debian.org/4b979b65.4040...@enseirb-matmeca.fr
Probleme avec la commande dpkg-scanpackages
Bonjour à tous, Après avoir créer un package perso, j'essai de le monter sur un dépot sur ma machine. Lors de l'exécution de la commande dpkg-scanpackages pour créer le fichier Packages.gz, j'ai une erreur : dpkg-scanpackages . /dev/null | gzip -9c Packages.gz dpkg-scanpackages: erreur: Texte non traité du fichier de contrôle ./monpackage-0.1.deb ; info : Package: monpackage Version : 0.1 Section: main Priority: optional Architecture: all Depends: Maintainer: sirmav Description: bla Lors de la construction du package, je n'ai pas de problème avec le fichier DEBIAN/control. J'ai beau essayé de changer quelques lignes dans le fichier control, soit cela ne change rien au problème de base, soit c'est au niveau de la création du .deb que cela coince. Quelqu'un aurait il déjà eu ce problème, ou une idée de solution ? Merci par avance, Frédéric -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.org/fr/FrenchLists Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe vers debian-user-french-requ...@lists.debian.org En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org Archive: http://lists.debian.org/4b96428c.3080...@enseirb-matmeca.fr
Re: Probleme avec la commande dpkg-scanpackages
Bonjour, On Tue, 09 Mar 2010, MARTY wrote: Lors de l'exécution de la commande dpkg-scanpackages pour créer le fichier Packages.gz, j'ai une erreur : dpkg-scanpackages . /dev/null | gzip -9c Packages.gz Est-ce que LANG=C dpkg-scanpackages . /dev/null | gzip -9c Packages.gz fonctionne ? Quelle version de dpkg-dev avez-vous sur ce système ? Cordialement, -- Raphaël Hertzog Like what I do? Sponsor me: http://ouaza.com/wp/2010/01/05/5-years-of-freexian/ My Debian goals: http://ouaza.com/wp/2010/01/09/debian-related-goals-for-2010/ -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.org/fr/FrenchLists Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe vers debian-user-french-requ...@lists.debian.org En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org Archive: http://lists.debian.org/20100309174644.gb16...@rivendell
Repositorio de paquetes local - dpkg-scanpackages - apt
Amigos, tengo el siguiente problema: En mi trabajo tengo Lenny con todas las actualizaciones y quiero actualizar mi notebook, entonces, para no volver a bajar todos los paquetes que ya tengo, he realizado lo siguiente: 1) copie el /var/cache/apt/archives a mi notebook. 2) Mirando esto[0],[1] entonces hago: 2.1) A la primera no me funciona, el Packages.gz tenia 0 de tamaño y luego de leer man dpkg-scanpackages encuentro que dice: (...) Note: If you want to access the generated Packages file with apt you will probably need to compress the file with bzip2(1) (generating a Packages.bz2 file) or gzip(1) (generatinc a Packages.gz file). apt ignores uncompressed Packages files _except on local access (i.e. file:// sources)._ (...) Modifico ligeramente el script para no comprimir el Package para que lo tome así mismo el apt: --Comienzo del script-- #! /bin/sh # Script para actualizar el archivo Packages.gz en el directorio /root/pkg # Copiado de: http://moin.lug.fi.uba.ar/FAQ#head-620355952aae6378cc8dbab9acb880e187baaa84 # El 2009-feb-12 cd /home/calabaza/install/deb #dpkg-scanpackages archive Packages | gzip archive/Packages.gz dpkg-scanpackages archive archive/Packages echo Origin: local archive/Release echo MD5Sum: archive/Release echo ' ' `md5sum archive/Packages|cut -f 1 -d ' ' ` ' ' `du archive/Packages|cut -f 1` ' ' archive/Packages archive/Release #gzip archive/Packages echo echo -n ¿Ejecutar el comando 'apt-get update' [Sn]? read ANS if [ x$ANS = x -o $ANS = s -o $ANS = S ]; then apt-get update fi --Fin del script-- Bueno, con esto ya me creo un archivo Packages con un tamaño razonable :) 2.2) Luego modifico mi /etc/apt/sources.list y en la primera linea agrego: deb file:/home/calabaza/install/deb/archive ./ 3) luego hago: # apt-get update 4) luego # apt-get dist-upgrade y sale: (...) openoffice.org-style-tango openoffice.org-writer openssh-client openssh-server openssl passwd perl perl-base perl-modules policycoreutils popularity-contest portmap postgresql-7.4 postgresql-8.3 postgresql-client postgresql-client-7.4 postgresql-client-8.3 postgresql-client-common postgresql-common postgresql-doc-7.4 postgresql-doc-8.3 powermgmt-base procps python python-cairo python-cupsutils python-eggtrayicon python-gnome2-extras python-gtkhtml2 python-gtkmozembed python-libxml2 python-minimal python-semanage python-subversion python-vte python2.5 python2.5-minimal readline-common reportbug rsyslog ssh subversion subversion-tools sudo swfdec-mozilla synaptic system-config-printer system-tools-backends tasksel tasksel-data toshset totem-common totem-gstreamer totem-mozilla totem-plugins ttf-kochi-gothic ttf-kochi-mincho ttf-liberation ttf-opensymbol ucf update-notifier update-notifier-common vinagre virtualbox-ose virtualbox-ose-modules-2.6.26-1-486 virtualbox-ose-modules-2.6.26-1-686 virtualbox-ose-source whois wine wine-bin wine-utils wodim wpasupplicant x11-utils xdg-utils xml-core xsane xsane-common xserver-xorg-core xserver-xorg-input-evdev xserver-xorg-video-cirrus xserver-xorg-video-intel xserver-xorg-video-openchrome xterm xulrunner-1.9 xulrunner-1.9-gnome-support yelp 347 actualizados, 20 se instalarán, 0 para eliminar y 0 no actualizados. Se necesita descargar 288MB/513MB de archivos. After this operation, 45,8MB of additional disk space will be used. ¿Desea continuar [S/n]? s AVISO: ¡No se han podido autenticar los siguientes paquetes! libdns43 libisc44 postgresql-client-7.4 postgresql-7.4 postgresql-doc-7.4 ¿Instalar estos paquetes sin verificación [s/N]? s Err file: ./ postgresql-client-7.4 1:7.4.23-0etch1 Fichero no encontrado Err file: ./ postgresql-7.4 1:7.4.23-0etch1 Fichero no encontrado Err file: ./ postgresql-doc-7.4 1:7.4.23-0etch1 Fichero no encontrado Des:1 http://ftp.es.debian.org testing/main desktop-base 5.0.3 [4560kB] 1% [1 desktop-base 4445533/4560kB 97%] 14,1kB/s 5h34min14s^C (...) Bueno, como podran ver, tengo muchos paquetes para actualizar porque lo he instalado desde los dvds. El primer error que tengo (la autenticacion de los paquetes) imagino que se debe a que los mismos son de etch y un poco viejitos y bueno, como los tengo en mi repo local, pues, le doy que sí. Luego los errores de ficheros no encontrados son los que me desconciertan. Y luego veo que se pone a bajar un paquete que ya tengo: desktop-base 5.0.3 ya que al hacer un ls puedo ver que esta en mi repo. $ ls desktop-base*.* desktop-base_4.0.1etch2_all.deb desktop-base_5.0.3_all.deb Alguien me puede dar un poco de luz para solucionar esto? Ah! tambien comento que he hecho la tarea :) buscando en el archivo de la lista y me he encontrado con casi lo mismo[2][3][4], pero nadie con el error de no encontrar sus paquetes. [0]http://www.debian.org/doc/manuals/apt-howto/ch-basico.es.html#s-dpkg-scanpackages [1]http
Re: Repositorio de paquetes local - dpkg-scanpackages - apt
Calabaza escribió: Amigos, tengo el siguiente problema: En mi trabajo tengo Lenny con todas las actualizaciones y quiero actualizar mi notebook, entonces, para no volver a bajar todos los paquetes que ya tengo, he realizado lo siguiente: 1) copie el /var/cache/apt/archives a mi notebook. 2) Mirando esto[0],[1] entonces hago: 2.1) A la primera no me funciona, el Packages.gz tenia 0 de tamaño y luego de leer man dpkg-scanpackages encuentro que dice: (...) Note: If you want to access the generated Packages file with apt you will probably need to compress the file with bzip2(1) (generating a Packages.bz2 file) or gzip(1) (generatinc a Packages.gz file). apt ignores uncompressed Packages files _except on local access (i.e. file:// sources)._ (...) 2.2) Luego modifico mi /etc/apt/sources.list y en la primera linea agrego: deb file:/home/calabaza/install/deb/archive ./ Hola, Hay un error aquí, quítale el punto y que quede así: deb file:///home/calabaza/install/deb/archive / Desde ya les pido disculpas por lo largo del correo, y muchas gracias por su tiempo. Un abrazo. Salu2 -- To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Repositorio de paquetes local - dpkg-scanpackages - apt
On Fri, Feb 13, 2009 at 10:39 AM, Jose G. López josg...@gmail.com wrote: Calabaza escribió: Amigos, tengo el siguiente problema: En mi trabajo tengo Lenny con todas las actualizaciones y quiero actualizar mi notebook, entonces, para no volver a bajar todos los paquetes que ya tengo, he realizado lo siguiente: Para evitarte ese problema a lo mejor quieras algo como los siguientes: http://packages.debian.org/etch/apt-zip http://packages.debian.org/lenny/aptoncd http://packages.debian.org/etch/apt-proxy Saludos, Toote -- Web: http://www.enespanol.com.ar -- To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Repositorio de paquetes local - dpkg-scanpackages - apt
2009/2/13 Jose G. López josg...@gmail.com: Calabaza escribió: Amigos, tengo el siguiente problema: En mi trabajo tengo Lenny con todas las actualizaciones y quiero actualizar mi notebook, entonces, para no volver a bajar todos los paquetes que ya tengo, he realizado lo siguiente: 1) copie el /var/cache/apt/archives a mi notebook. 2) Mirando esto[0],[1] entonces hago: 2.1) A la primera no me funciona, el Packages.gz tenia 0 de tamaño y luego de leer man dpkg-scanpackages encuentro que dice: (...) Note: If you want to access the generated Packages file with apt you will probably need to compress the file with bzip2(1) (generating a Packages.bz2 file) or gzip(1) (generatinc a Packages.gz file). apt ignores uncompressed Packages files _except on local access (i.e. file:// sources)._ (...) 2.2) Luego modifico mi /etc/apt/sources.list y en la primera linea agrego: deb file:/home/calabaza/install/deb/archive ./ Hola, Hay un error aquí, quítale el punto y que quede así: deb file:///home/calabaza/install/deb/archive / Ok,he modificado mi sources.list de esta forma y he cambiado tambien: dpkg-scanpackages -m . /dev/null Packages para que incluya todos los paquetes, y quede como referencia el directorio actual. Hice esto porque al mirar el fichero Packages veo que los ficheros hacen referencia a archive/nombre.deb y me seguia dando el error del fichero no encontrado. Desde ya les pido disculpas por lo largo del correo, y muchas gracias por su tiempo. Un abrazo. Salu2 -- To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org El error de que no se encuentra el archivo ya fue solucionado, pero igual me sigue descargando los paquetes desde internet, he revisado la pagina: http://packages.debian.org/lenny/desktop-base y veo que la version es correcta 5.0.3, que es la misma que ya tengo en mi repo local. y al hacer un apt-cache show desktop-base solo me muestra la version de etch que tambien lo tengo en el repo local porque la pc de mi trabajo fue actualizada desde etch a lenny. Al mirar el fichero Packages generado veo que ambas versiones del paquete se encuentran en el mismo, o sea que si fue indexado, asi que no logro entender porque quiere bajar el paquete. Desde ya gracias. -- §~^Calabaza^~§ from Villa Elisa, Paraguay -- To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Repositorio de paquetes local - dpkg-scanpackages - apt
2009/2/13 Matías Bellone matiasbell...@gmail.com: On Fri, Feb 13, 2009 at 10:39 AM, Jose G. López josg...@gmail.com wrote: Calabaza escribió: Amigos, tengo el siguiente problema: En mi trabajo tengo Lenny con todas las actualizaciones y quiero actualizar mi notebook, entonces, para no volver a bajar todos los paquetes que ya tengo, he realizado lo siguiente: Para evitarte ese problema a lo mejor quieras algo como los siguientes: http://packages.debian.org/etch/apt-zip http://packages.debian.org/lenny/aptoncd http://packages.debian.org/etch/apt-proxy Gracias, también he encontrado materiales sobre estos paquetes y pienso utilizarlo más adelante para montar mi mirror local. :) Saludos, Toote -- Web: http://www.enespanol.com.ar -- §~^Calabaza^~§ from Villa Elisa, Paraguay -- To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Repositorio de paquetes local - dpkg-scanpackages - apt
El vie, 13-02-2009 a las 13:39 +0100, Jose G. López escribió: Calabaza escribió: Amigos, tengo el siguiente problema: En mi trabajo tengo Lenny con todas las actualizaciones y quiero actualizar mi notebook, entonces, para no volver a bajar todos los paquetes que ya tengo, he realizado lo siguiente: 1) copie el /var/cache/apt/archives a mi notebook. 2) Mirando esto[0],[1] entonces hago: 2.1) A la primera no me funciona, el Packages.gz tenia 0 de tamaño y luego de leer man dpkg-scanpackages encuentro que dice: (...) Note: If you want to access the generated Packages file with apt you will probably need to compress the file with bzip2(1) (generating a Packages.bz2 file) or gzip(1) (generatinc a Packages.gz file). apt ignores uncompressed Packages files _except on local access (i.e. file:// sources)._ (...) 2.2) Luego modifico mi /etc/apt/sources.list y en la primera linea agrego: deb file:/home/calabaza/install/deb/archive ./ Hola, Hay un error aquí, quítale el punto y que quede así: deb file:///home/calabaza/install/deb/archive / Desde ya les pido disculpas por lo largo del correo, y muchas gracias por su tiempo. Un abrazo. Salu2 Aptoncd == con esto puedes hacer lo que quieres http://packages.debian.org/es/sid/aptoncd Saludos -- Carlos Lazo B. Linux User 446689 http://www.carloslazo.cl.kz El hecho de que tengas un trabajo es algo normal; el hecho de que seas bueno en tu trabajo es algo destacable -- To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Repositorio de paquetes local - dpkg-scanpackages - apt
El día 13 de febrero de 2009 7:45, Calabaza calali...@gmail.com escribió: 2009/2/13 Jose G. López josg...@gmail.com: Calabaza escribió: Amigos, tengo el siguiente problema: En mi trabajo tengo Lenny con todas las actualizaciones y quiero actualizar mi notebook, entonces, para no volver a bajar todos los paquetes que ya tengo, he realizado lo siguiente: 1) copie el /var/cache/apt/archives a mi notebook. 2) Mirando esto[0],[1] entonces hago: 2.1) A la primera no me funciona, el Packages.gz tenia 0 de tamaño y luego de leer man dpkg-scanpackages encuentro que dice: (...) Note: If you want to access the generated Packages file with apt you will probably need to compress the file with bzip2(1) (generating a Packages.bz2 file) or gzip(1) (generatinc a Packages.gz file). apt ignores uncompressed Packages files _except on local access (i.e. file:// sources)._ (...) 2.2) Luego modifico mi /etc/apt/sources.list y en la primera linea agrego: deb file:/home/calabaza/install/deb/archive ./ Hola, Hay un error aquí, quítale el punto y que quede así: deb file:///home/calabaza/install/deb/archive / Ok,he modificado mi sources.list de esta forma y he cambiado tambien: dpkg-scanpackages -m . /dev/null Packages para que incluya todos los paquetes, y quede como referencia el directorio actual. Hice esto porque al mirar el fichero Packages veo que los ficheros hacen referencia a archive/nombre.deb y me seguia dando el error del fichero no encontrado. Desde ya les pido disculpas por lo largo del correo, y muchas gracias por su tiempo. Un abrazo. Salu2 -- To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org El error de que no se encuentra el archivo ya fue solucionado, pero igual me sigue descargando los paquetes desde internet, he revisado la pagina: http://packages.debian.org/lenny/desktop-base y veo que la version es correcta 5.0.3, que es la misma que ya tengo en mi repo local. y al hacer un apt-cache show desktop-base solo me muestra la version de etch que tambien lo tengo en el repo local porque la pc de mi trabajo fue actualizada desde etch a lenny. Al mirar el fichero Packages generado veo que ambas versiones del paquete se encuentran en el mismo, o sea que si fue indexado, asi que no logro entender porque quiere bajar el paquete. Desde ya gracias. -- §~^Calabaza^~§ from Villa Elisa, Paraguay Solución momentánea, pon un # antes de la dirección de internet en tu source.list, es probable que como esa dirección sí es autentificada el sistema prefiera esa opción para instalar. Suerte. Marcos Delgado. -- To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Repositorio de paquetes local - dpkg-scanpackages - apt
El día 13 de febrero de 2009 13:29, Marcos Delgado juanm...@gmail.com escribió: El día 13 de febrero de 2009 7:45, Calabaza calali...@gmail.com escribió: 2009/2/13 Jose G. López josg...@gmail.com: Calabaza escribió: Amigos, tengo el siguiente problema: En mi trabajo tengo Lenny con todas las actualizaciones y quiero actualizar mi notebook, entonces, para no volver a bajar todos los paquetes que ya tengo, he realizado lo siguiente: 1) copie el /var/cache/apt/archives a mi notebook. 2) Mirando esto[0],[1] entonces hago: 2.1) A la primera no me funciona, el Packages.gz tenia 0 de tamaño y luego de leer man dpkg-scanpackages encuentro que dice: (...) Note: If you want to access the generated Packages file with apt you will probably need to compress the file with bzip2(1) (generating a Packages.bz2 file) or gzip(1) (generatinc a Packages.gz file). apt ignores uncompressed Packages files _except on local access (i.e. file:// sources)._ (...) 2.2) Luego modifico mi /etc/apt/sources.list y en la primera linea agrego: deb file:/home/calabaza/install/deb/archive ./ Hola, Hay un error aquí, quítale el punto y que quede así: deb file:///home/calabaza/install/deb/archive / Ok,he modificado mi sources.list de esta forma y he cambiado tambien: dpkg-scanpackages -m . /dev/null Packages para que incluya todos los paquetes, y quede como referencia el directorio actual. Hice esto porque al mirar el fichero Packages veo que los ficheros hacen referencia a archive/nombre.deb y me seguia dando el error del fichero no encontrado. Desde ya les pido disculpas por lo largo del correo, y muchas gracias por su tiempo. Un abrazo. Salu2 -- To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org El error de que no se encuentra el archivo ya fue solucionado, pero igual me sigue descargando los paquetes desde internet, he revisado la pagina: http://packages.debian.org/lenny/desktop-base y veo que la version es correcta 5.0.3, que es la misma que ya tengo en mi repo local. y al hacer un apt-cache show desktop-base solo me muestra la version de etch que tambien lo tengo en el repo local porque la pc de mi trabajo fue actualizada desde etch a lenny. Al mirar el fichero Packages generado veo que ambas versiones del paquete se encuentran en el mismo, o sea que si fue indexado, asi que no logro entender porque quiere bajar el paquete. Desde ya gracias. -- §~^Calabaza^~§ from Villa Elisa, Paraguay Solución momentánea, pon un # antes de la dirección de internet en tu source.list, es probable que como esa dirección sí es autentificada el sistema prefiera esa opción para instalar. Gracias! tienes toda la razón, :) apt intentaba bajar los ficheros por el tema de la autenticación. Suerte. Marcos Delgado. A todos muchas gracias por su ayuda. -- §~^Calabaza^~§ from Villa Elisa, Paraguay -- To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: dpkg-scanpackages
Felipe Augusto van de Wiel (faw) wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 21-02-2008 20:36, Saint wrote: qdo crio um repertório local alguns pacotes estão com versão anteriores, sendo que o apt-get autoclean não apaga, mas o dpkg-scanpackages os localiza, como tenho vários pacotes, mais de 3mil, como poderia remover estes pacotes que estão desatualizados? Um por um ficar muito trabalhoso! Você poderia dar mais detalhes? Quais pacotes? Quais versões? Quais comandos executou? O que você está tentando fazer exatamente? :-) Abraço, - -- Felipe Augusto van de Wiel (faw) Debian. Freedom to code. Code to freedom! -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHvkHMCjAO0JDlykYRAt1XAJ9z2bP6Lojid+3SUj7OAQiAvZiNAACguVSn TzreZPmrDOaOlRfKdetAgv8= =BBNx -END PGP SIGNATURE- usei esta dica: http://www.vivaolinux.com.br/dicas/verDica.php?codigo=6616 qdo se usa o #dpkg-scanpackages debs arquivo | gzip debs/Packages.gz ! Package ruby (filename debs/ruby_1.8.2-2_all.deb) is repeat; ignored that one and using data from debs/ruby_4.1_all.deb ! ! Package iceape-browser (filename debs/iceape-browser_1.1.7-1_amd64.deb) is repeat; ele vai usar a versão mais nova, no caso a ruby_4.1_all.deb e ignorar outra. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
dpkg-scanpackages
qdo crio um repertório local alguns pacotes estão com versão anteriores, sendo que o apt-get autoclean não apaga, mas o dpkg-scanpackages os localiza, como tenho vários pacotes, mais de 3mil, como poderia remover estes pacotes que estão desatualizados? Um por um ficar muito trabalhoso! Obrigado desde já. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dpkg-scanpackages
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 21-02-2008 20:36, Saint wrote: qdo crio um repertório local alguns pacotes estão com versão anteriores, sendo que o apt-get autoclean não apaga, mas o dpkg-scanpackages os localiza, como tenho vários pacotes, mais de 3mil, como poderia remover estes pacotes que estão desatualizados? Um por um ficar muito trabalhoso! Você poderia dar mais detalhes? Quais pacotes? Quais versões? Quais comandos executou? O que você está tentando fazer exatamente? :-) Abraço, - -- Felipe Augusto van de Wiel (faw) Debian. Freedom to code. Code to freedom! -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHvkHMCjAO0JDlykYRAt1XAJ9z2bP6Lojid+3SUj7OAQiAvZiNAACguVSn TzreZPmrDOaOlRfKdetAgv8= =BBNx -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Using dpkg-scanpackages with a debian repository
Hello, I'm creating a customized debian repository. In repository, i´ll go put the packages than i created. This packages are aplications, all with Sections optional in debian/control. I create the override.sarge.main file: package1 optionaladmin package2 optionaladmin package3 optionaladmin Then I run the command: dpkg-scanpackages -u -a i386 /var/www/mirrors/dists/sarge/main/binary-i386/ /var/www/mirrors/indices/override.sarge.main Packages The reply was: Wrote 0 entries to output Packages file. I made a download of override.sarge.main.gz in http://ftp.br.debian.org/debian/indices/. Still, the reply was the same. How I can to create packges files with dpkg-scanpackages ? Ps : i´m not found a good tutorial about creating mirrors debian, any sugestion ? Best regards, Rodrigo Faria Tavares __ Fale com seus amigos de graça com o novo Yahoo! Messenger http://br.messenger.yahoo.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Using dpkg-scanpackages with a debian repository
On Mon, Mar 05, 2007 at 08:38:02AM -0300, Rodrigo Tavares wrote: Hello, Then I run the command: dpkg-scanpackages -u -a i386 /var/www/mirrors/dists/sarge/main/binary-i386/ /var/www/mirrors/indices/override.sarge.main Packages Did you create .deb or .udeb packages? The '-u' option makes dpkg-scanpackages look for .udebs instead of .debs. Also, you might want to give the binary directory relative to the root of the archive. See `man dpkg-scanpackages` for details... Best regards, Rodrigo Faria Tavares __ Fale com seus amigos de graça com o novo Yahoo! Messenger http://br.messenger.yahoo.com/ Simo -- :r ~/.signature signature.asc Description: Digital signature
Re: Using dpkg-scanpackages with a debian repository
Hello Kauppi, My packages are .deb. I remove the option -u, but the error continue. Best regards, Rodrigo Faria --- Simo Kauppi [EMAIL PROTECTED] escreveu: On Mon, Mar 05, 2007 at 08:38:02AM -0300, Rodrigo Tavares wrote: Hello, Then I run the command: dpkg-scanpackages -u -a i386 /var/www/mirrors/dists/sarge/main/binary-i386/ /var/www/mirrors/indices/override.sarge.main Packages Did you create .deb or .udeb packages? The '-u' option makes dpkg-scanpackages look for .udebs instead of .debs. Also, you might want to give the binary directory relative to the root of the archive. See `man dpkg-scanpackages` for details... Best regards, Rodrigo Faria Tavares __ Fale com seus amigos de graça com o novo Yahoo! Messenger http://br.messenger.yahoo.com/ Simo -- :r ~/.signature __ Fale com seus amigos de graça com o novo Yahoo! Messenger http://br.messenger.yahoo.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Using dpkg-scanpackages with a debian repository
On Mon, Mar 05, 2007 at 08:38:02AM -0300, Rodrigo Tavares wrote: Hello, I'm creating a customized debian repository. In repository, i´ll go put the packages than i created. http://people.connexer.com/~roberto/howtos/debrepository Regards, -Roberto -- Roberto C. Sanchez http://people.connexer.com/~roberto http://www.connexer.com signature.asc Description: Digital signature
Re: Using dpkg-scanpackages with a debian repository
Hello People, About my problem, i resolve it usingo the below command: dpkg-scanpackages . /dev/null | tee Packages | gzip -9 Packages.gz Still, my repository it's Ok. Bye Rodrigo Faria --- Rodrigo Tavares [EMAIL PROTECTED] escreveu: Hello Kauppi, My packages are .deb. I remove the option -u, but the error continue. Best regards, Rodrigo Faria --- Simo Kauppi [EMAIL PROTECTED] escreveu: On Mon, Mar 05, 2007 at 08:38:02AM -0300, Rodrigo Tavares wrote: Hello, Then I run the command: dpkg-scanpackages -u -a i386 /var/www/mirrors/dists/sarge/main/binary-i386/ /var/www/mirrors/indices/override.sarge.main Packages Did you create .deb or .udeb packages? The '-u' option makes dpkg-scanpackages look for .udebs instead of .debs. Also, you might want to give the binary directory relative to the root of the archive. See `man dpkg-scanpackages` for details... Best regards, Rodrigo Faria Tavares __ Fale com seus amigos de graça com o novo Yahoo! Messenger http://br.messenger.yahoo.com/ Simo -- :r ~/.signature __ Fale com seus amigos de graça com o novo Yahoo! Messenger http://br.messenger.yahoo.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] __ Fale com seus amigos de graça com o novo Yahoo! Messenger http://br.messenger.yahoo.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
dpkg-scanpackages komutu bulunamıyor
merhaba, elimde birçok deb dosyası olduğundan kurulumdan sonra tekrar bunları indirmemek için yerel bir apt kaynağı oluşturmak istedim. bunları root un altında oluşturduğum debs klasörüne attım. konsolda rootun altına gidip # dpkg-scanpackages debs /dev/null | gzip debs/Packages.gz yaptığımda bu uyarı ile karşılaşıyorum. override dosyası oluşturmadığımdan /dev/null kullandım ancak bir yerde atladığım birşeyler olmalı. dpkg-scanpackages: command not found yardımlarınız için şimdiden teşekkürler... -- Ya Bir Yol Bulacağız, Ya da Bir Yol Açacağız!
dpkg-scanpackages vs. http
Hallo Leute, ich habe bei mir einen Rechner zu laufen, der staendig auf dem aktuellsten Paketstand gehalten wird. Da er auch der einzige Rechner ist, der ueber eine Internetverbindung verfuegt habe ich ihn zu einer Art Mirror ausgebaut. Ueber http koennen die restlichen Rechner auf diesen zugreifen und werden so ebenfalls aktualisiert. Jetzt habe ich folgendes Problem: bei einem dpkg-scanpackages . /dev/null | gzip Packages.gz werden die Paketangaben sehr schoen ausgelesen, allerdings werden die Angaben nicht webkompatibel in die Packages.gz geschrieben. Sonderzeichen wie z.B. Prozent werden zwar richtig in die Packages.gz geschrieben, aber da die Pakete ueber http abgerufen werden sollte statt einem % ein %25 drinstehen. Kennt jemand eine Flag, etc. die man bei dpkg-scanpackages benutzen kann um dieses Problem zu loesen. Im Moment loese ich das Problem mit a) gunzip Packages.gz b) vi Packages c) :%s/%/%25/g d) :wq e) gzip Packages Danke fuer Eure Hilfe Henner Graubitz -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: dpkg-scanpackages vs. http
On Thu, Sep 16, 2004 at 09:51:06AM +0200, [EMAIL PROTECTED] wrote: Hallo Leute, ich habe bei mir einen Rechner zu laufen, der staendig auf dem aktuellsten Paketstand gehalten wird. Da er auch der einzige Rechner ist, der ueber eine Internetverbindung verfuegt habe ich ihn zu einer Art Mirror ausgebaut. Du hast apt-proxy neu erfunden? cu ulf -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: dpkg-scanpackages vs. http
Moin henner! [EMAIL PROTECTED] schrieb am Donnerstag, den 16. September 2004: Prozent werden zwar richtig in die Packages.gz geschrieben, aber da die Pakete ueber http abgerufen werden sollte statt einem % ein %25 drinstehen. Solche Zeichen sind in den Dateinamen tabu. Aus genau diesem Grund. Vermuttlich wolltest du den apt-cache exportieren; da gibt es Tools, um den Apt-Cache in eine weiterverwendbare Form zu bringen (apt-move). Generell würde ich empfehlen, apt-cacher einzusetzen (oder apt-proxy, sofern es funktioniert). Gruss, Eduard. -- Wer sich nicht bewegt, spürt auch nicht seine Fesseln. -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: dpkg-scanpackages vs. http
Moin, mal abgesehen von apt-proxy, kannst den Aufruf einfach ändern: On Thu, Sep 16, 2004 at 09:51:06AM +0200, [EMAIL PROTECTED] wrote: [...] dpkg-scanpackages . /dev/null | gzip Packages.gz dpkg-scanpackages . /dev/null | sed regexpr | gzip Packages.gz Gruss -- hgb -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Question about dpkg-scanpackages
Hello List! I've setup my apt-get repository the way I like it. Now my other goal is to include my custom Debian packages in my apt-get repository. The way I understand dpkg-scanpackages, is that packages listed in the Packages.gz file are available via apt-get install. The trouble I'm running into is trying to figure out the right method of registering custom packages in my repository, I've tried the following. # cd /var/cache/apt/archives # ll foo-bar.deb # dpkg-scanpackages . /dev/null | gzip -9c /local/debian/dists/stable/main/binary-i386/Packages.gz When I check the Packages file, foo-bar.deb is included. Then when I try to move the foo-bar.deb package, I use the following command. # apt-move move This works when packages are sync'ed with http://ftp.us.debian.org stable main, but custom packages still get skipped. # Moving files... # Skipping files: # $/var/cache/apt/archives/foo-bar.deb # Moving files: Any help with this, I would be very grateful! ~~Rick King Apt-get Repository: /local/debian/dists/stable/main/binary-i386 /Packages.gz /admin /alien /base /comm /devel /doc /editors /electronics /games /graphics /hamradio /interpreters /libdevel /libs /mail /math /misc /net /news /non-free /nonfree /oldlibs /otherosfs /science /shells /sound /tex /text /utils /web /x11 -- Rick King Unix Messaging Team, Boise ID
Re: dpkg-scanpackages
Hallo, danke an alle für die vielfältigen Antworten. Viele Grüße. Jan -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: dpkg-scanpackages
-BEGIN PGP SIGNED MESSAGE- On Tue, 6 Apr 2004 23:48:08 +0200, Elmar W. Tischhauser wrote: Hallo! | apt-ftparchive is a superset of the dpkg-scanpackages(8) program in der Manpage stand, habe ich mir die Empfehlung halt gleich zu Herzen genommen. Als stichhaltige Begründung würde ich das nicht gerade ansehen. Da ist wohl mehr der Wunsch der Ablösung von dpks-scanpackages der Vater des Gedankens. with best regards from Dortmund Matthias Popp +49-163 4289455 - -- Wo Freiheit draufsteht, ist Sucht drin GPG fingerprint = AE1C 4901 2A38 4C00 6A59 64DC ECE3 A0D3 6827 1864 PGP Fingerprint = 71 13 E9 4B 89 E5 88 6C 66 1D B8 E8 32 3A AE AB -BEGIN PGP SIGNATURE- Version: 2.6.3in Charset: noconv iQEVAwUBQHQuZ6h1Endy0XEdAQEQLwgAmRWiHD+RUy+G841WQLMojJeTLcweK2BQ IPhx9KinWOiVylykaktUDJ//2A/Pdqc++1cvZJ1RCWwgWMik0l/9c04Rm//gB/9t zi/OOZ/NnzeAWNAGL06mFN7me9NVZYDrbnHo5eVgKSgls+385ZTcWnbfzawJkpQf oJbcEK+wpMyTduEc8fZyDUWkxv+EzVRhHPaa5/l9J4H7x78TJhYo/qH1TvFe4DiN A3JRKdxJAhw6leIFT96q4q9Ax0no8hblXlaExCxl7zHv6ruJmCr4L3+tk3iuU1Qe DAPgaxySZVDl3NEUvlTwRhjA9ILZFrQaJO6c482ePTzF2gTW31b1Rw== =8qhH -END PGP SIGNATURE-
dpkg-scanpackages
Hallo, ich würde gerne die Datei Packages.gz neu erstellen. Dazu fand ich folgenden Hinweis: dpkg-scanpackages debian/ /dev/null | gzip -9 debian/Packages.gz Ich habe bei mir Knoppix installiert, ausserdem die Debian Woody CD's auf Platte liegen, diese mit der alten Packages.gz in der /etc/apt/sources.list eingetragen und auch die meisten Internet-Resourcen (stable/unstable/testing) für das Paketmanagment mit einbezogen. Nur leider kann ich dpkg-scanpackages nirgendwo finden. Wie kriege ich es? Viele Grüße. Jan -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: dpkg-scanpackages
Jan Herold wrote: Nur leider kann ich dpkg-scanpackages nirgendwo finden. -- snip --- [EMAIL PROTECTED]:/root/konf$ dpkg -S dpkg-scanpackages dpkg-dev: /usr/share/man/ja/man8/dpkg-scanpackages.8.gz dpkg-dev: /usr/bin/dpkg-scanpackages ... -- snip --- -- Gruß Rüdiger -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: dpkg-scanpackages
Hallo! On 06 Apr 2004 at 20:33 +0200, Jan Herold wrote: ich würde gerne die Datei Packages.gz neu erstellen. Dazu fand ich folgenden Hinweis: dpkg-scanpackages debian/ /dev/null | gzip -9 debian/Packages.gz dpkg-scanpackages ist obsolet, man sollte gleich das leistungsfähigere apt-ftparchive einsetzen, z.B. so: | apt-ftparchive packages debian/ | gzip -9 debian/Packages.gz apt-ftparchive ist Bestandteil des Pakets apt-utils. Nur leider kann ich dpkg-scanpackages nirgendwo finden. Es befindet sich im Paket dpkg-dev. Aber siehe oben. Gruß, Elmar -- [ GnuPG: D8A88C0D / 2407 063C 1C92 90E9 4766 B170 5E95 0D7F D8A8 8C0D ] ··· What is wanted is not the will to believe, but the will to find out - which is the exact opposite. -- Bertrand Russell pgp0.pgp Description: PGP signature
Re: dpkg-scanpackages
On Tuesday 06 April 2004 20:33, Jan Herold wrote: Hallo, ich würde gerne die Datei Packages.gz neu erstellen. Dazu fand ich folgenden Hinweis: dpkg-scanpackages debian/ /dev/null | gzip -9 debian/Packages.gz Ich habe bei mir Knoppix installiert, ausserdem die Debian Woody CD's auf Platte liegen, diese mit der alten Packages.gz in der /etc/apt/sources.list eingetragen und auch die meisten Internet-Resourcen (stable/unstable/testing) für das Paketmanagment mit einbezogen. Nur leider kann ich dpkg-scanpackages nirgendwo finden. Wie kriege ich es? Viele Grüße. Jan Versuchs mal mit dem Paket dpkg-dev, so findet man es heraus: apt-file search dpkg-scanpackages debian-cd: usr/share/debian-cd/tools/my-dpkg-scanpackages dpkg-dev: usr/bin/dpkg-scanpackages dpkg-dev: usr/share/man/fr/man8/dpkg-scanpackages.8.gz dpkg-dev: usr/share/man/ja/man8/dpkg-scanpackages.8.gz dpkg-dev: usr/share/man/man8/dpkg-scanpackages.8.gz dpkg-multicd: usr/bin/dpkg-scanpackages dpkg-multicd: usr/share/man/man8/dpkg-scanpackages.8.gz Grüße, Tilo
Re: dpkg-scanpackages
On Tuesday 06 April 2004 20:33, Jan Herold wrote: Hallo, ich würde gerne die Datei Packages.gz neu erstellen. Dazu fand ich folgenden Hinweis: dpkg-scanpackages debian/ /dev/null | gzip -9 debian/Packages.gz Ich habe bei mir Knoppix installiert, ausserdem die Debian Woody CD's auf Platte liegen, diese mit der alten Packages.gz in der /etc/apt/sources.list eingetragen und auch die meisten Internet-Resourcen (stable/unstable/testing) für das Paketmanagment mit einbezogen. Nur leider kann ich dpkg-scanpackages nirgendwo finden. Hallo, mit apt-file kannst du herausfinden, in welchen Paketen eine bestimmte Datei ist. Die Datei /usr/bin/dpkg-scanpackages ist in dem Paket dpkg-dev enthalten. Gruß Jakob Wie kriege ich es? Viele Grüße. Jan -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: dpkg-scanpackages
Elmar W. Tischhauser wrote: dpkg-scanpackages ist obsolet, man sollte gleich das leistungsfähigere apt-ftparchive einsetzen, z.B. so: | apt-ftparchive packages debian/ | gzip -9 debian/Packages.gz Ooops! Wobei sich mir gleich wieder die Frage stellt, wie man an solche Informationen kommt, ohne _alle_ verdächtigen ML's etc. mitzulesen? -- Gruß Rüdiger -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: dpkg-scanpackages
Hallo! On 06 Apr 2004 at 23:14 +0200, Rüdiger Noack wrote: Elmar W. Tischhauser wrote: dpkg-scanpackages ist obsolet, man sollte gleich das leistungsfähigere apt-ftparchive einsetzen, [...] Ooops! Wer wird denn gleich... Ich glaube nicht, dass die Verwendung von dpkg-scanpackages irgendwie bestraft wird ;-) Wobei sich mir gleich wieder die Frage stellt, wie man an solche Informationen kommt, ohne _alle_ verdächtigen ML's etc. mitzulesen? -devel lese ich zurzeit gar nicht, den Hinweis auf apt-ftparchive habe ich IIRC vor gut einem Jahr von Marc Haber in einer de.*-Newsgroup gelesen. Da auch noch | apt-ftparchive is a superset of the dpkg-scanpackages(8) program in der Manpage stand, habe ich mir die Empfehlung halt gleich zu Herzen genommen. Gruß, Elmar -- [ GnuPG: D8A88C0D / 2407 063C 1C92 90E9 4766 B170 5E95 0D7F D8A8 8C0D ] ··· An algorithm must be seen to be believed.-- Donald E. Knuth pgp0.pgp Description: PGP signature
Re: dpkg-scanpackages
Am 2004-04-06 20:33:25, schrieb Jan Herold: Hallo, Nur leider kann ich dpkg-scanpackages nirgendwo finden. Wie kriege ich es? apt-get install dpkg-dev Viele Grüße. Jan Greetings Michelle -- Registered Linux-User #280138 with the Linux Counter, http://counter.li.org/ -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Cannot find dpkg-scanpackages
Hello, I'm new to Debian and have done a base installation of Woody 3.0 R1 from CDROM, and am now in the process of installing packages not on the single CD. I've obtained the packages I want, but dpkg-scanpackages yields: bash- command not found. I've also searched the installed system, and the cdrom using find / -name dpk* with no results. It seems dpkg-scanpackages is commonly found in /usr/bin, but not in my installation. I'd appreciate any ideas, to solve the problem and also as to how dpkg-scanpackages should itself be packaged. TIA Tony Bazeley -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Cannot find dpkg-scanpackages
Hello Tony Bazeley ([EMAIL PROTECTED]) wrote: I'm new to Debian and have done a base installation of Woody 3.0 R1 from CDROM, and am now in the process of installing packages not on the single CD. I've obtained the packages I want, but dpkg-scanpackages yields: bash- command not found. I've also searched the installed system, and the cdrom using find / -name dpk* with no results. It seems dpkg-scanpackages is commonly found in /usr/bin, but not in my installation. Go to http://packages.debian.org. You can search package contents there. Or install apt-file, which will allow you to do that locally. Or take a look at apt-ftparchive, which can do what dpkg-scanpackages does, and more. best regards Andreas Janssen -- Andreas Janssen [EMAIL PROTECTED] PGP-Key-ID: 0xDC801674 Registered Linux User #267976 http://www.andreas-janssen.de/debian-tipps.html -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dpkg-scanpackages für pool-mirror ?
* Michelle Konzack wrote: Am 2004-01-18 18:44:51, schrieb Norbert Tretkowski: Das denke ich nicht, ich denke nur dass apt-ftparchive nicht das Tool ist was ich verwenden will. Was spricht dagegen, einfach eine Liste mit den Architektur-Abhängigne Paketenzu machen und dann ein Script zu schreiben, das die 'control' Dateien aus den paketen extrahiert und als 'Packages' zusamenfügt ? Dagegen spricht dass es elegantere Loesungen gibt. Bin hier geade (seit gestern 17:00) beim BASH-Scripting und habe da so einiges gebastelt. Denke so ein script kann man sich in kürzester Zeit zusammennageln. Dann lieber Perl. Norbert -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: dpkg-scanpackages für pool-mirror ?
* Michelle Konzack wrote: Am 2004-01-18 02:14:03, schrieb Norbert Tretkowski: * Michelle Konzack wrote: Wie macht man eine Packages(.gz) wenn man den 'pool' verwendet ? apt-ftparchive Und wie unterscheidet apt-ftparchive zwischen woody und sarge ? Offenbar nur indem man ihm eine Liste mitgibt welche Version der Pakete nun in woody bzw. sarge vorhanden sind. Das Ding ist beschissen dokumentiert, was auch der Grund war warum ich vor ein paar Tagen beschlossen habe es zu hassen. Norbert -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: dpkg-scanpackages für pool-mirror ?
Am 2004-01-18 12:36:29, schrieb Norbert Tretkowski: * Michelle Konzack wrote: Und wie unterscheidet apt-ftparchive zwischen woody und sarge ? Offenbar nur indem man ihm eine Liste mitgibt welche Version der Pakete nun in woody bzw. sarge vorhanden sind. Das Ding ist beschissen dokumentiert, was auch der Grund war warum ich vor ein paar Tagen beschlossen habe es zu hassen. Da war doch sowas wie die umstellung von Old-Style-Mirror auf Pool-Mirror (backports.org) ? Ich denke, das der Old-Style Mirror wesentlich gesünder ist. Ich habe meine gesamten Debian-CD's von buzz bis woody auf die Platte kopiert und von POTATO und WOODY per script eine Old-Style-Mirror erstellt. Jatzt kann man wenigstens anständig FTP-Surfen. Desweitern müßte ich vor ein paar tagen feststellen, das POTATO nicht mehr im pool ist... Arrr, - Jetzt existiert er als Old-Style-Mirror in /debian-archive... Abgesehen davon, habe ich mir eine Override für WOODY selber gebastelt, die die neuen Sectionen kde, gnome und ... enthalten. Norbert Grüße Michelle -- Registered Linux-User #280138 with the Linux Counter, http://counter.li.org/ -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: dpkg-scanpackages für pool-mirror ?
* Michelle Konzack wrote: Am 2004-01-18 12:36:29, schrieb Norbert Tretkowski: [apt-ftparchive] Offenbar nur indem man ihm eine Liste mitgibt welche Version der Pakete nun in woody bzw. sarge vorhanden sind. Das Ding ist beschissen dokumentiert, was auch der Grund war warum ich vor ein paar Tagen beschlossen habe es zu hassen. Da war doch sowas wie die umstellung von Old-Style-Mirror auf Pool-Mirror (backports.org)? Ja, genau dafuer habe ich micht mit apt-ftparchive auseinander gesetzt. Ich denke, das der Old-Style Mirror wesentlich gesünder ist. Das denke ich nicht, ich denke nur dass apt-ftparchive nicht das Tool ist was ich verwenden will. Norbert -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: dpkg-scanpackages für pool-mirror ?
Am 2004-01-18 18:44:51, schrieb Norbert Tretkowski: Das denke ich nicht, ich denke nur dass apt-ftparchive nicht das Tool ist was ich verwenden will. Was spricht dagegen, einfach eine Liste mit den Architektur-Abhängigne Paketenzu machen und dann ein Script zu schreiben, das die 'control' Dateien aus den paketen extrahiert und als 'Packages' zusamenfügt ? Bin hier geade (seit gestern 17:00) beim BASH-Scripting und habe da so einiges gebastelt. Denke so ein script kann man sich in kürzester Zeit zusammennageln. Norbert Ich habe die ganze Nacht geschaft, shick meine Arbeit per E-Mail ab und geh jetzt ins Bett. Grüße und Schönen Tag, Michelle -- Registered Linux-User #280138 with the Linux Counter, http://counter.li.org/ -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
dpkg-scanpackages für pool-mirror ?
Hallo Debian-Mirror-FTP-Freunde. Wie macht man eine Packages(.gz) wenn man den 'pool' verwendet ? Ich habe hier mehr als 30.000 Pakete die dpkg-scanpackes nicht schaft. Michelle -- Registered Linux-User #280138 with the Linux Counter, http://counter.li.org. -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: dpkg-scanpackages für pool-mirror ?
* Michelle Konzack wrote: Wie macht man eine Packages(.gz) wenn man den 'pool' verwendet ? apt-ftparchive Norbert -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: dpkg-scanpackages für pool-mirror ?
Am 2004-01-18 02:14:03, schrieb Norbert Tretkowski: * Michelle Konzack wrote: Wie macht man eine Packages(.gz) wenn man den 'pool' verwendet ? apt-ftparchive Norbert Und wie unterscheidet apt-ftparchive zwischen woody und sarge ? Oder muß man als erstes für jede Architektur einen eignen Mirror haben den man erst danach mischt ? Michelle etwas rätzelnd -- Registered Linux-User #280138 with the Linux Counter, http://counter.li.org/ -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
dpkg-scanpackages [was Re: General debian questions]
On Tue, Dec 16, 2003 at 11:40:45AM +, Colin Watson wrote: Use dpkg-scanpackages to update the Packages file (and remember to gzip it, so you've got Packages.gz). When you say update the Packages, are you implying that you can do an incremental update of an existing Packages file? I use the command: #dpkg-scanpackages latest /dev/null $sub/Packages and every invocation takes the same amount of time, it's quite a lengthy process, even though the archive is but little changed -- it doesn't reuse what it can. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dpkg-scanpackages [was Re: General debian questions]
On Tue, Dec 16, 2003 at 03:59:04AM -0800, Nunya wrote: On Tue, Dec 16, 2003 at 11:40:45AM +, Colin Watson wrote: Use dpkg-scanpackages to update the Packages file (and remember to gzip it, so you've got Packages.gz). When you say update the Packages, are you implying that you can do an incremental update of an existing Packages file? I was just talking about replacing it, actually. I use the command: #dpkg-scanpackages latest /dev/null $sub/Packages and every invocation takes the same amount of time, it's quite a lengthy process, even though the archive is but little changed -- it doesn't reuse what it can. You might like to look into apt-ftparchive, which was written because dpkg-scanpackages was getting too slow for the needs of the Debian archive. However, I haven't used it myself so I'm hesitant to recommend it straight off because I don't know how hard it is to set up. (It might be quite easy, which would be nice ...) Cheers, -- Colin Watson [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
any way to speed up dpkg-scanpackages?
I have 727 .debs in a directory as my local cache. Whenever the contents of the directory changes, I dpkg-scanpackages to find the dups and write the Packages file. It takes many seconds to complete. Since the directory changes little each time, it seems like lots of the work must be wasted. It reminds me of a moderately sized SQL table without an index. Is there any way to Index the debs, or reuse the mostly still-good Packages file, so that dpkg-scanpackage is faster? (This is an architectural question.) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
dpkg-scanpackages command not found
Bonjour à tous, Je viens d'installer fraichement une woody de façon minimale et j'obtiens le message command not found avec dpkg-scanpackages Pouvez-vous m'éclairer sur la source du problème ? Merci Marco
Re: dpkg-scanpackages command not found
On Sun, Oct 12, 2003 at 01:28:50PM +0200, Marco Ricco wrote: Bonjour à tous, Bonjour, Je viens d'installer fraichement une woody de façon minimale et j'obtiens le message command not found avec dpkg-scanpackages Pouvez-vous m'éclairer sur la source du problème ? Merci Marco La commande dpkg-scanpackages est dans le paquet dpkg-dev, donc apt-get install dpkg-dev et tu auras ce que tu cherches :) -- Le simple fait qu'une opinion ne peut pas être réfutée n'implique nullement qu'il y ait la moindre raison de croire qu'elle est vraie. -- Sokal, Alan ; Bricmont, Jean ; Impostures intellectuelles
Re: Installer un hotplug rcent avec dpkg-scanpackages
Salut, * si tu n'as qu'un paquet, tu peux directement l'installer avec dpkg -i paquet.deb Fred. Salut, J'ai essayé cette methode , le PC mouline et tou semble OK. Mais quand je fais # apt-cache show hotplug j'ai toujours l'ancienne version. Faudrait-il d'abords desinstaller l'ancienne version ? Merci Marco
Re: Installer un hotplug récent avec dpkg-scanpackages
On Sat, 20 Sep 2003 10:14:28 +0200 Marco Ricco [EMAIL PROTECTED] wrote: Mais quand je fais # apt-cache show hotplug j'ai toujours l'ancienne version. Faudrait-il d'abords desinstaller l'ancienne version ? apt-cache show ne te donne pas ce qui est installé mais ce qui est disponible sur les sources apt (donc potentiellement installable ***par apt***). Donc tu ne vois pas quel hotplug est effectivement installé... D'autant plus que tu l'as installé à la main par contre apt-cache policy hotplug devrait être mieux ... A+ -- mailto:[EMAIL PROTECTED] tel: (33) 03 20 43 84 06 INRETS, 20 rue Élisée Reclus fax: (33) 03 20 43 83 59 BP 317 -- 59666 Villeneuve d'Ascq http://www3.inrets.fr/estas/mariano
Re: Installer un hotplug récent avec dpkg-scanpackages
apt-cache show ne te donne pas ce qui est installé mais ce qui est disponible sur les sources apt (donc potentiellement installable ***par apt***). Donc tu ne vois pas quel hotplug est effectivement installé... D'autant plus que tu l'as installé à la main par contre apt-cache policy hotplug devrait être mieux ... Effectivement l'installation s'est faite avec succès. Merci à tous. Marco
Re: Installer un hotplug rcent avec dpkg-scanpackages
Salut, * si tu n'as qu'un paquet, tu peux directement l'installer avec dpkg -i paquet.deb * dans ta méthode, il te manque des étapes : après le dpkg-scanpackages, - il faut ajouter la déclaration de ton archive dans ton /etc/apt/sources.list : deb file:/root debs/ [?de mémoire?, voir page de manuel] - apt-get update puis - apt-get upgrade devrait te proposer la mise à jour ... Fred. -- Frédéric Boiteux - Calistel
Installer un hotplug récent avec dpkg-scanpackages
Bonjour, J'ai une connexion adsl avec le modem Fast 800 qui fonctionne presque correctement sous woody. Le problème c'est le démarrage car je dois chaque fois debrancher-rebrancher le modem puis ça synchronise. Je crois comprendre que c'est le hotplug_0.0.20020114-7_all.deb original qui est défaillant. J'ai téléchargé et installé dans /root/debs le hotplug _0.0.20030117-7_all.deb. puis j'ai fait # dpkg-scanpackages debs /dev/null Packages Quand j'installle # apt-get install hotplug rien de nouveau. pouvez- vous m'aider ? Merci Marco
No encuentro dpkg-scanpackages
Hola a todos. Estoy tratando de encontrar la utilidad dpkg-scanpackages pero no esta instalada en mi maquina ni tampoco la veo en los paquetes de Debian. Gracias anticipadas a quien me pueda colaborar. -- David Rios R.
Re: No encuentro dpkg-scanpackages
Está en el paquete dpkg-dev Saludos Miguel On Wed, 27 Nov 2002 14:02:19 -0500 David Rios R. [EMAIL PROTECTED] wrote: Hola a todos. Estoy tratando de encontrar la utilidad dpkg-scanpackages pero no esta instalada en mi maquina ni tampoco la veo en los paquetes de Debian. Gracias anticipadas a quien me pueda colaborar. -- David Rios R. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- = Miguel Rodriguez Penabad[EMAIL PROTECTED] Laboratorio de Bases de Datos http://emilia.dc.fi.udc.es/labBD Facultade de InformáticaUniversidade da Coruña (Spain) =
Re: No encuentro dpkg-scanpackages
De perlas Miguel. Muchas gracias. mié, 27 de nov de 2002, 06:37:26 +0100. Miguel R. Penabad wrote: Está en el paquete dpkg-dev Saludos Miguel On Wed, 27 Nov 2002 14:02:19 -0500 David Rios R. [EMAIL PROTECTED] wrote: Hola a todos. Estoy tratando de encontrar la utilidad dpkg-scanpackages pero no esta instalada en mi maquina ni tampoco la veo en los paquetes de Debian. Gracias anticipadas a quien me pueda colaborar. -- David Rios R. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- = Miguel Rodriguez Penabad [EMAIL PROTECTED] Laboratorio de Bases de Datos http://emilia.dc.fi.udc.es/labBD Facultade de Informática Universidade da Coruña (Spain) = -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- David Rios R. Ingeniero de Desarrollo ne Digital S.A. - NTT/VERIO Colombia Tel. +57 4 312.23.93
Re: dpkg-scanpackages on an official mirror
Am 09. Sep, 2001 schwätzte Martin F Krafft so: also sprach der.hans (on Sat, 08 Sep 2001 01:38:13PM -0700): Am 08. Sep, 2001 schwäzte Martin F Krafft so: schwätzte... Blöder Tippfehler, gell? :( well, i know this. but the official mirror's pool/ tree has duplicates in it, as all of potato, woody, and sid index into it. some package version 2.0 might only be in woody while 1.3 exists in potato... then pool/m/myprogram will exist in two version and the Packages.gz file of the respective distro should include only the appropriate version/package. Hmm. What's the source for determining what's in potato, woody and sid? or is this what ./override is for? if not, what is *it's* purpose? It's for overriding stuff :). As I remember the docs, they said something about CD vendors. Allows them to make changes. Might be important for CD1 vs. CD2, etc. Might enable them to include/remove things, e.g. crypto packages. ciao, der.hans -- # [EMAIL PROTECTED] home.pages.de/~lufthans/ www.DevelopOnline.com # kill telnet, long live ssh - der.hans
Re: dpkg-scanpackages on an official mirror
also sprach der.hans (on Sun, 09 Sep 2001 02:24:09AM -0700): Am 08. Sep, 2001 schwäzte Martin F Krafft so: schwätzte... Blöder Tippfehler, gell? :( no stress :) well, i know this. but the official mirror's pool/ tree has duplicates in it, as all of potato, woody, and sid index into it. some package version 2.0 might only be in woody while 1.3 exists in potato... then pool/m/myprogram will exist in two version and the Packages.gz file of the respective distro should include only the appropriate version/package. Hmm. What's the source for determining what's in potato, woody and sid? i don't know. part of the reason i asked. martin; (greetings from the heart of the sun.) \ echo mailto: !#^.*|tr * mailto:; [EMAIL PROTECTED] -- 1-800-psych hello, welcome to the psychiatric hotline. if you are paranoid-delusional, we know who you are and what you want. just stay on the line so we can trace the call. pgp8u1qQhRPef.pgp Description: PGP signature
dpkg-scanpackages on an official mirror
hi, we operate a full debian mirror and need to redo the Packages every now and then, if last night's rsync did not complete all the way. but i am confused, and trying to recreate every Packages file results in many duplicate errors such as ! Package pcmcia-source (filename ./debian/dists/Debian2.2r3/main/ binary-all/admin/pcmcia-source_3.1.22-0.1potato.deb) is repeat; ignored that one and using data from ./debian/dists/Debian2.2r3/ main/binary-all/admin/pcmcia-source_3.1.22-0.2potato.deb ! does anyone have a script as to how Packages files are updated if you have a full Debian package tree? martin; (greetings from the heart of the sun.) \ echo mailto: !#^.*|tr * mailto:; [EMAIL PROTECTED] -- weekend, where are you?
Re: dpkg-scanpackages on an official mirror
Am 08. Sep, 2001 schwäzte Martin F Krafft so: hi, we operate a full debian mirror and need to redo the Packages every now and then, if last night's rsync did not complete all the way. but i am confused, and trying to recreate every Packages file results in many duplicate errors such as ! Package pcmcia-source (filename ./debian/dists/Debian2.2r3/main/ binary-all/admin/pcmcia-source_3.1.22-0.1potato.deb) is repeat; ignored that one and using data from ./debian/dists/Debian2.2r3/ main/binary-all/admin/pcmcia-source_3.1.22-0.2potato.deb ! does anyone have a script as to how Packages files are updated if you have a full Debian package tree? This is just letting you know that you have two different versions for that package and it's taken the highest version for the Packages file. Search for a bug report I made for dpkg-scanpackages and the fix for that bug. If you look at the Packages.gz file, you'll see each of those packages are only listed once. Do you need both to be listed? ciao, der.hans -- # [EMAIL PROTECTED] home.pages.de/~lufthans/ www.DevelopOnline.com # Two roads diverged in a wood, and I -- # I took the one less traveled by, # And that has made all the difference. -- Robert Frost # I, OTOH, prefer to just go stomping through the desert... - der.hans
Re: dpkg-scanpackages on an official mirror
also sprach der.hans (on Sat, 08 Sep 2001 01:38:13PM -0700): Am 08. Sep, 2001 schwäzte Martin F Krafft so: schwätzte... soso... This is just letting you know that you have two different versions for that package and it's taken the highest version for the Packages file. well, i know this. but the official mirror's pool/ tree has duplicates in it, as all of potato, woody, and sid index into it. some package version 2.0 might only be in woody while 1.3 exists in potato... then pool/m/myprogram will exist in two version and the Packages.gz file of the respective distro should include only the appropriate version/package. or is this what ./override is for? if not, what is *it's* purpose? martin; (greetings from the heart of the sun.) \ echo mailto: !#^.*|tr * mailto:; [EMAIL PROTECTED] -- f u cn rd ths, u cn gt a nce jb in th prgrmng indstry
dpkg -scanpackages - how?
In response to a question from me about how to make use of the .debs I'd accumulated in /var/cache/apt during a re-install several people helpfully suggested I did dpkg -scanpackages Well, I tried and failed. Looking at the man and info pages for dpkg I don't see any scan capability. What do I have to install to get this feature? Cheers, Robin Collins
Re: dpkg -scanpackages - how?
Robin Collins [EMAIL PROTECTED] wrote: In response to a question from me about how to make use of the .debs I'd accumulated in /var/cache/apt during a re-install several people helpfully suggested I did dpkg -scanpackages ^ Well, I tried and failed. Try dpkg-scanpackages without a space. Looking at the man and info pages for dpkg I don't see any scan capability. What do I have to install to get this feature? dpkg-dev -- Thomas Weinbrenner
dpkg-scanpackages uses older debs?
Hi, Doe anyone else have this problem with dpkg-scanpackages? If you have different versions of the same package, sometimes it uses the latest version, but usually it uses the earlier version [think incremental potato upgrades]. I used to have a sed regex so that I could move the earlier pacakage to a backup directory incase the upgrade broke. Now I am trying apt-move, but this problem with dpkg-scanpackages is confusing apt-move. Regards, Mark.
dpkg-scanpackages
hi, I have downloaded all the packages based on which I want to create the Packages file. Now I don't know how to create the override file for dpkg-scanpackages ... help? TIA, Mart Klanberg, [EMAIL PROTECTED] -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: dpkg-scanpackages
On Wed, 15 Oct 1997, Mart Klanberg wrote: hi, I have downloaded all the packages based on which I want to create the Packages file. Now I don't know how to create the override file for dpkg-scanpackages ... help? You will need to get the appropriate override file from the indices directory on any Debian mirror. For 1.3 you want override.bo.gz and for unstable override.hamm.gz. Unzip the appropriate file for the distribution in question and you should be off and running. Luck, Dwarf -- _-_-_-_-_-_- _-_-_-_-_-_-_- aka Dale Scheetz Phone: 1 (904) 656-9769 Flexible Software 11000 McCrackin Road e-mail: [EMAIL PROTECTED] Tallahassee, FL 32308 _-_-_-_-_-_- If you don't see what you want, just ask _-_-_-_-_-_-_- -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .