Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 13/07/2006, à 10:03

fourbissime

générer une liste de paquets

Bonjour

En ce moment je n'ai pas le net chez moi, ce qui pose problème pour installer de nouveaux programmes. Sur mon ordi, j'ai réussi à contourner le problème - l'utilitaire de gestion des paquets de mon installation gentoo me permet de générer une liste avec les adresses http/ftp de tout ce qu'il y a à télécharger. Il ne me reste alors plus qu'à copier la liste dans un fichier, mettre ca dans une clé USB, et lancer le téléchargement au boulot en utilisant une commande du genre "wget -i maliste".

Ma douce faisant tourner son ordi avec ubuntu, je me demande si il existe une technique similaire avec apt-get. Je viens d'essayer les options suivantes :

apt-get install -ds

- mais le résultat n'est pas probant.

Des suggestions ?

Hors ligne

#2 Le 13/07/2006, à 10:18

Black_pignouf

Re : générer une liste de paquets

Avec apt-get peut-être, mais je ne sais pas comment hmm
Par contre Synaptic le fait les doigts dans le nez (dans Fichier/Générer script)

Exemple du script obtenu avec xubuntu-desktop:

#!/bin/sh
wget http://archive.ubuntu.com/ubuntu/pool/main/a/aiksaurus/libaiksaurus-1.2-data_1.2.1+dev-0.12-1.1_all.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/a/aiksaurus/libaiksaurus-1.2-0c2a_1.2.1+dev-0.12-1.1_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/a/aiksaurus/libaiksaurusgtk-1.2-0c2a_1.2.1+dev-0.12-1.1_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/g/goffice/libgoffice-gtk-1-2_0.2.1-3ubuntu5_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/g/gdome2/libgdome2-0_0.8.1-1_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/g/gmetadom/libgdome2-cpp-smart0c2a_0.2.3-5_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/g/gtkmathview/libgtkmathview0c2a_0.7.5-2_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/o/ots/libots0_0.4.2+cvs.2004.02.20-1.1_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/libw/libwpd/libwpd-stream8c2a_0.8.4-2_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/a/abiword/abiword-plugins_2.4.4-0ubuntu5_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/a/anthy/libanthy0_6724-1_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/a/anthy/anthy_6724-1_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/a/arj/arj_3.10.22-2_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/g/gnumeric/gnumeric-gtk_1.6.3-0ubuntu4_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/g/gqview/gqview_2.0.1-1ubuntu1_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/x/xfce4-icon-theme/xfce4-icon-theme_4.3.0svn+r19908-0ubuntu1_all.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/g/gtk-xfce-engine/gtk2-engines-xfce_2.3.0cvs20050306-2_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/i/im-switch/im-switch_1.3_all.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/liba/libapt-pkg-perl/libapt-pkg-perl_0.1.18ubuntu1_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/b/beecrypt/libbeecrypt6_4.1.2-4_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/libc/libchewing/libchewing-data_0.2.7-1_all.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/libc/libchewing/libchewing2_0.2.7-1_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/libx/libxfce4util/libxfce4util4_4.3.90.2svn+r21550-0ubuntu1_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/libx/libxfce4mcs/libxfce4mcs-client3_4.3.90.1svn+r21132-0ubuntu2_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/libx/libxfce4mcs/libxfce4mcs-manager3_4.3.90.1svn+r21132-0ubuntu2_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/libx/libxfcegui4/libxfcegui4-4_4.3.90.2svn+r21598-0ubuntu2_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/e/exo/libexo-0.3-0_0.3.1.6svn+r21611-0ubuntu1_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/r/rpm/librpm4_4.4.1-5ubuntu2_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/t/thunar/libthunar-vfs-1_0.3.0+r21789-0ubuntu2_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/m/mousepad/mousepad_0.2.2-2ubuntu5_i386.deb
wget http://security.ubuntu.com/ubuntu/pool/main/m/mozilla-thunderbird/mozilla-thunderbird_1.5.0.4-0ubuntu6.06.1_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/x/xfce4-panel/xfce4-panel_4.3.90.1svn+r21633-0ubuntu2_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/o/orage/orage_4.3.90.1svn+r21712-0ubuntu1_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/r/rpm/rpm_4.4.1-5ubuntu2_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/s/scim-anthy/scim-anthy_0.8.0-1ubuntu2_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/s/scim-chewing/scim-chewing_0.2.1-2ubuntu4_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/s/scim-hangul/scim-hangul_0.2.1-1ubuntu2_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/s/scim-pinyin/scim-pinyin_0.5.91-0ubuntu3_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/t/thunar/thunar_0.3.0+r21789-0ubuntu2_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/t/thunar-media-tags-plugin/thunar-media-tags-plugin_0.1.0-0ubuntu3_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/x/xarchiver/xarchiver_0.3.3-0ubuntu1_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/x/xfburn/xfburn_0.0.3svn+r21611-0ubuntu2_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/x/xfce4-appfinder/xfce4-appfinder_4.3.90.1svn+r21281-0ubuntu3_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/x/xfce4-battery-plugin/xfce4-battery-plugin_0.4.0-0ubuntu4_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/x/xfce4-clipman-plugin/xfce4-clipman-plugin_0.6.1-0ubuntu4_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/x/xfce4-cpugraph-plugin/xfce4-cpugraph-plugin_0.3.0-0ubuntu4_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/x/xfce4-fsguard-plugin/xfce4-fsguard-plugin_0.3.0-0ubuntu5_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/x/xfce4-mailwatch-plugin/xfce4-mailwatch-plugin_1.0.0-0ubuntu4_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/x/xfce-mcs-manager/xfce4-mcs-manager_4.3.90.1svn+r21604-0ubuntu2_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/x/xfce-mcs-plugins/xfce4-mcs-plugins_4.3.90.1svn+r21633-0ubuntu1_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/x/xfce4-mixer/xfce4-mixer-alsa_4.3.90.1svn+r21697-0ubuntu2_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/x/xfce4-mixer/xfce4-mixer_4.3.90.1svn+r21697-0ubuntu2_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/x/xfce4-mount-plugin/xfce4-mount-plugin_0.4.5-0ubuntu6_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/x/xfce4-netload-plugin/xfce4-netload-plugin_0.4.0-0ubuntu5_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/x/xfce4-quicklauncher-plugin/xfce4-quicklauncher-plugin_1.9.1+r1149-0ubuntu5_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/x/xfce4-screenshooter-plugin/xfce4-screenshooter-plugin_1.0.0-0ubuntu6_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/x/xfce4-session/xfce4-session_4.3.90.1svn+r21697-0ubuntu1_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/x/xfce4-systemload-plugin/xfce4-systemload-plugin_0.4.0-0ubuntu5_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/x/xfce4-taskmanager/xfce4-taskmanager_0.3.1-0ubuntu6_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/x/xfce4-terminal/xfce4-terminal_0.2.5+r21674-0ubuntu2_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/x/xfce4-utils/xfce4-utils_4.3.90.1svn+r21673-0ubuntu2_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/x/xfce4-verve-plugin/xfce4-verve-plugin_0.2.0-0ubuntu3_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/x/xfce4-weather-plugin/xfce4-weather-plugin_0.5.0-0ubuntu6_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/x/xfce4-xkb-plugin/xfce4-xkb-plugin_0.4.1-0ubuntu5_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/x/xfdesktop4/xfdesktop4_4.3.90.1svn+r21874-0ubuntu2_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/x/xfmedia/xfmedia_0.9.1-2ubuntu11_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/x/xfprint4/xfprint4_4.3.90svn+r21633-0ubuntu1_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/x/xfwm4/xfwm4_4.3.90.1svn+r21712-0ubuntu1_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/x/xfwm4-themes/xfwm4-themes_4.3.90.1svn+r21146-0ubuntu2_all.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/x/xli/xli_1.17.0-21_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/x/xscreensaver/xscreensaver_4.23-4ubuntu8_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/x/xubuntu-artwork/xubuntu-artwork-usplash_0.8_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/x/xubuntu-default-settings/xubuntu-default-settings_0.18_all.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/x/xubuntu-docs/xubuntu-docs_6.05.5_all.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/x/xubuntu-meta/xubuntu-desktop_1.32_i386.deb

cool

Hors ligne

#3 Le 13/07/2006, à 10:23

fourbissime

Re : générer une liste de paquets

big_smile

merci beaucoup ! j'en connais une qui va être contente ... smile

Hors ligne

#4 Le 15/07/2006, à 21:43

gene69

Re : générer une liste de paquets

cherche dpkg --get-selections  / dpkg --set-selections  couplé avec apt-get dselect-upgrade.


Quand le berger est lâche, le loup chie de la laine.
A (draft) guide to UFO Alien-Invasion

Hors ligne