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 29/08/2008, à 10:36

loke

[Résolu] Erreur script d'installation automatisé

Je suis parti d'un script de Laurent http://www.gesnel.fr/

#!/bin/bash
#
#######
#Script pour compléter l'installation d'Ubuntu 7.10 sur un poste du collège
#######
#
#Ajout des dépôts MEDIBUNTU et Wine

sudo cp /etc/apt/sources.list /etc/apt/sources_LDsave.list

echo "
#Dépôts Medibuntu et Wine
deb http://fr.packages.medibuntu.org/ gutsy free non-free
deb http://wine.budgetdedicated.com/apt gutsy main" >> /etc/apt/sources.list

wget -q http://fr.packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add -
wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -

## Recharger paquets après changement des dépôts
apt-get update

## Ajouter paquets nécessaires au collège
apt-get install numlockx msttcorefonts gstreamer0.10-plugins-bad gstreamer0.10-plugins-ugly w32codecs j2re1.4-mozilla-plugin flashplugin-nonfree mozilla-mplayer sun-java6-plugin vlc wine

## swf-player dépendance non satisfaite pour l'instant

## Reconstruire les fichiers de cache d’information de polices
fc-cache -f -v

## Recharger paquets
apt-get update

## Installer Acrobat 8 en français

cd /tmp
wget  http://ardownload.adobe.com/pub/adobe/reader/unix/8.x/8.1.2/fra/AdobeReader_fra-8.1.2-1.i386.deb
sudo dpkg -i AdobeReader_fra-8.1.2-1.i386.deb

## Réglages du Pavé numérique
 pour l'activer dès la fenêtre de connexion
sudo cp /etc/gdm/Init/Default /etc/gdm/Init/Default_LDsave

# Enlever exit 0 du fichier /etc/gdm/Init/Default
sed -e '/exit 0/d' /etc/gdm/Init/Default >> /etc/gdm/Init/Default

# ajout du code pour les réglages du pavé numérique et réécriture de exit 0
echo "
if [ -x /usr/bin/numlockx ]; then
 /usr/bin/numlockx on
fi

exit 0 " >> /etc/gdm/Init/Default

echo " ça y est, c'est fini !!!"
echo " Appuyez sur la touche Entrée pour quitter"
read a

exit

pour faire mon propre script d'installation automatisé

#!/bin/bash
#
#######
#Script pour compléter l'installation d'Ubuntu Hardy 8.04
#######
#chmod +x Ubuntu_Hardy_8_04_Instal.sh
#######
#
###Ajout des dépôts

#crée une sauvegarde
sudo cp /etc/apt/sources.list /etc/apt/sources_save.list

#suprimer le fichier
sudo rm /etc/apt/sources.list

#créer le fichier
sudo touch /etc/apt/sources.list

echo "# Le 19/07/2008 (Europe/Paris) via le site http://doc.ubuntu-fr.org/depots_hardy
#
# Pays : France
# Release : Hardy Heron Ubuntu 8.04
# Architecture : i386 (Processeurs 32-bits)
#

#########################################
###
# Mise à jour de sources.list
# sudo gedit /etc/apt/sources.list
#
# Mise à jour des depot après authentification des 'KEY GPG:'
# sudo apt-get update
###
#########################################

#########################################
### Depot Ubuntu

#section: Hardy 8.04
deb http://fr.archive.ubuntu.com/ubuntu/ hardy main restricted
deb http://fr.archive.ubuntu.com/ubuntu/ hardy universe multiverse

#section: Ubuntu Hardy Updates
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-updates universe multiverse

#section: Ubuntu Hardy Security
deb http://security.ubuntu.com/ubuntu hardy-security main restricted
deb http://security.ubuntu.com/ubuntu hardy-security universe multiverse

#section: Ubuntu Hardy Backports
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse


#########################################
### Depot Ubuntu Commercial

#section: Ubuntu Hardy 8.04
deb http://archive.canonical.com/ubuntu hardy partner

#section: Ubuntu Hardy Backports
deb http://archive.canonical.com/ubuntu hardy-backports partner

#section: Ubuntu Hardy Security
deb http://archive.canonical.com/ubuntu hardy-security partner

#section: Ubuntu Hardy Updates
#deb http://archive.canonical.com/ubuntu hardy-update partner


#########################################
### Depot Medibuntu
## KEY GPG: wget -q http://fr.packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add -

#section: Medibuntu packages for Ubuntu Hardy 8.04
deb http://fr.packages.medibuntu.org/ hardy free non-free

#section: Medibuntu testing packages for Ubuntu Hardy 8.04
#deb http://fr.packages.medibuntu.org/ hardy-staging free non-free


#########################################
### Depot Innotek Virtual Box
## KEY GPG: wget -q http://www.virtualbox.org/debian/innotek.asc -O- | sudo apt-key add -

#deb http://www.virtualbox.org/debian hardy non-free


#########################################
### Depot winehq
## KEY GPG: wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -

#section: Ubuntu Hardy 8.04
# voir http://www.winehq.org/site/download-deb
deb http://wine.budgetdedicated.com/apt hardy main


#########################################
### Depot NeoDivX

deb http://users.teledisnet.be/web/bco02209/ubuntu/ neodivxlazarus main bad


#########################################
### Ubuntu Tweak

#section: Ubuntu Hardy 8.04
deb http://ppa.launchpad.net/tualatrix/ubuntu hardy main


#########################################
### Depot MyFreeTV

#section: Ubuntu Gutsy 7.10 fonction sous Hardy 8.04
deb http://www.tvfreeplayer.com/linux/falcon gutsy all


#########################################
### Depot SCENARI (http://scenari-platform.org)
## KEY GPG: gpg --keyserver subkeys.pgp.net --recv 57137EFADFD726C0
## KEY GPG: gpg --export --armor 57137EFADFD726C0 | sudo apt-key add -

#section: Ubuntu Hardy 8.04
# voir http://scenari-platform.org/projects/scenari/fr/download/co/
deb http://scenari-platform.org/deb hardy main


#########################################
### Depot lprod (depot pour la video)

#section: Ubuntu Hardy 8.04
# voir http://fr.lprod.org/
deb http://lprod.org/deb/hardy/ ./


#########################################
### Depot Pytube

# voir http://www.bashterritory.com/pytube/
deb http://www.bashterritory.com/pytube/releases /


#########################################
### Depot Extreme Tux Racer

#section: Ubuntu Gutsy 7.10 fonction sous Hardy 8.04
# voir http://www.extremetuxracer.com/
deb http://ppa.launchpad.net/woodypl/ubuntu gutsy main" >> /etc/apt/sources.list

echo " ça y est, c'est fini !!!"
echo " Appuyez sur la touche Entrée pour quitter"
read a

exit

seulement voilà mon sources.list n'est pas édité

/…/…/….sh: line 146: /etc/apt/sources.list: Permission non accordée
ça y est, c’est fini !!!
Appuyez sur la touche Entrée pour quitter

je précise je suis un parfait débutant dans le domaine si quelqu'un voit mon erreur je suis preneur
Merci

Dernière modification par loke (Le 07/09/2008, à 20:03)

Hors ligne

#2 Le 29/08/2008, à 14:01

soupaloignon

Re : [Résolu] Erreur script d'installation automatisé

Essaye ca :

echo "ce que tu veux rajouter" | sudo tee -a /etc/apt/sources.list

De mémoire l'option -a rajoute le contenu de echo au fichier
Alors que sans le -a cela efface le fichier avant de mettre le contenu de echo
ou l'inverse, je ne sais plus wink. Fais un test avant

Ce qui fait que tu pourrais supprimer ce passage sur ton script

#suprimer le fichier
sudo rm /etc/apt/sources.list

#créer le fichier
sudo touch /etc/apt/sources.list

Dernière modification par soupaloignon (Le 29/08/2008, à 14:14)


==> Libérez les huitres du bassin d'Arcachon <==

Hors ligne

#3 Le 29/08/2008, à 20:35

loke

Re : [Résolu] Erreur script d'installation automatisé

Merci soupaloignon sa fonctionne ! J'ai donc complété mon script voilà se qu'il donne

#!/bin/bash
#
#######
#Script pour compléter l'installation d'Ubuntu Hardy 8.04
#######
#chmod +x Ubuntu_Hardy_8_04_Instalv2.sh
#######
#
###Ajout des dépôts

echo "Script pour compléter l'installation d'Ubuntu Hardy 8.04"

#crée une sauvegarde
sudo cp /etc/apt/sources.list /etc/apt/sources_save.list

echo "# Le 19/07/2008 (Europe/Paris) via le site http://doc.ubuntu-fr.org/depots_hardy
#
# Pays : France
# Release : Hardy Heron Ubuntu 8.04
# Architecture : i386 (Processeurs 32-bits)
#

#########################################
###
# Mise à jour de sources.list
# sudo gedit /etc/apt/sources.list
#
# Mise à jour des depot après authentification des 'KEY GPG:'
# sudo apt-get update
###
#########################################

#########################################
### Depot Ubuntu

#section: Hardy 8.04
deb http://fr.archive.ubuntu.com/ubuntu/ hardy main restricted
deb http://fr.archive.ubuntu.com/ubuntu/ hardy universe multiverse

#section: Ubuntu Hardy Updates
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-updates universe multiverse

#section: Ubuntu Hardy Security
deb http://security.ubuntu.com/ubuntu hardy-security main restricted
deb http://security.ubuntu.com/ubuntu hardy-security universe multiverse

#section: Ubuntu Hardy Backports
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse


#########################################
### Depot Ubuntu Commercial

#section: Ubuntu Hardy 8.04
deb http://archive.canonical.com/ubuntu hardy partner

#section: Ubuntu Hardy Backports
deb http://archive.canonical.com/ubuntu hardy-backports partner

#section: Ubuntu Hardy Security
deb http://archive.canonical.com/ubuntu hardy-security partner

#section: Ubuntu Hardy Updates
#deb http://archive.canonical.com/ubuntu hardy-update partner


#########################################
### Depot Medibuntu
## KEY GPG: wget -q http://fr.packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add -

#section: Medibuntu packages for Ubuntu Hardy 8.04
deb http://fr.packages.medibuntu.org/ hardy free non-free

#section: Medibuntu testing packages for Ubuntu Hardy 8.04
# deb http://fr.packages.medibuntu.org/ hardy-staging free non-free


#########################################
### Depot Innotek Virtual Box
## KEY GPG: wget -q http://www.virtualbox.org/debian/innotek.asc -O- | sudo apt-key add -

#deb http://www.virtualbox.org/debian hardy non-free


#########################################
### Depot winehq
## KEY GPG: wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -

#section: Ubuntu Hardy 8.04
# voir http://www.winehq.org/site/download-deb
deb http://wine.budgetdedicated.com/apt hardy main


#########################################
### Depot NeoDivX

deb http://users.teledisnet.be/web/bco02209/ubuntu/ neodivxlazarus main bad


#########################################
### Ubuntu Tweak

#section: Ubuntu Hardy 8.04
deb http://ppa.launchpad.net/tualatrix/ubuntu hardy main


#########################################
### Depot MyFreeTV

#section: Ubuntu Gutsy 7.10 fonction sous Hardy 8.04
deb http://www.tvfreeplayer.com/linux/falcon gutsy all


#########################################
### Depot SCENARI (http://scenari-platform.org)
## KEY GPG: gpg --keyserver subkeys.pgp.net --recv 57137EFADFD726C0
## KEY GPG: gpg --export --armor 57137EFADFD726C0 | sudo apt-key add -

#section: Ubuntu Hardy 8.04
# voir http://scenari-platform.org/projects/scenari/fr/download/co/
deb http://scenari-platform.org/deb hardy main


#########################################
### Depot lprod (depot pour la video)

#section: Ubuntu Hardy 8.04
# voir http://fr.lprod.org/
deb http://lprod.org/deb/hardy/ ./


#########################################
### Depot Pytube

# voir http://www.bashterritory.com/pytube/
deb http://www.bashterritory.com/pytube/releases /


#########################################
### Depot Extreme Tux Racer

#section: Ubuntu Gutsy 7.10 fonction sous Hardy 8.04
# voir http://www.extremetuxracer.com/
deb http://ppa.launchpad.net/woodypl/ubuntu gutsy main

#########################################
### Depot Arte+7recorder

#section: Ubuntu Gutsy 7.10 fonction sous Hardy 8.04
# voir http://forum.ubuntu-fr.org/viewtopic.php?id=229961
deb http://scriptsubuntu.free.fr/apt hardy universe" | sudo tee -a /etc/apt/sources.list

wget -q http://fr.packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add -
wget -q http://www.virtualbox.org/debian/innotek.asc -O- | sudo apt-key add -
wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -
gpg --keyserver subkeys.pgp.net --recv 57137EFADFD726C0
gpg --export --armor 57137EFADFD726C0 | sudo apt-key add -

## Recharger paquets après changement des dépôts
apt-get update

## Ajouter paquets nécessaires
apt-get install w32codecs realplay gstreamer0.10-plugins-ugly gstreamer0.10-ffmpeg gstreamer0.10-pitfdll libdvdcss2 totem-gstreamer libk3b-mp3 gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-bad msttcorefonts sun-java6-bin sun-java6-plugin vlc thunderbird thunderbird-locale-fr filezilla filezilla-locales geany d4x comix unrar rar p7zip p7zip-full grisbi sunbird sunbird-locale-fr wine pytube ubuntu-tweak xchat frozen-bubble compizconfig-settings-manager compiz-fusion-plugins-main compiz-fusion-plugins-extra gtk-shapr2 libglade2.0-cil libmono2.0-cil libgconf2.0-cil gnome-sharp2 mplayer gnome-subtitles libmono-i18n2.0-cil flashplugin-nonfree

## Reconstruire les fichiers de cache d’information de polices
fc-cache -f -v

## Recharger paquets
apt-get update


echo " ça y est, c'est fini !!!"
echo " Appuyez sur la touche Entrée pour quitter"
read a

exit

je ne sais pas si tout fonctionne quand pense-tu ?

Script pour compléter l'installation d'Ubuntu Hardy 8.04
[sudo] password for ...: 
# Le 19/07/2008 (Europe/Paris) via le site http://doc.ubuntu-fr.org/depots_hardy
#
# Pays : France
# Release : Hardy Heron Ubuntu 8.04
# Architecture : i386 (Processeurs 32-bits)
#

#########################################
###
# Mise à jour de sources.list
# sudo gedit /etc/apt/sources.list
#
# Mise à jour des depot après authentification des 'KEY GPG:'
# sudo apt-get update
###
#########################################

#########################################
### Depot Ubuntu

#section: Hardy 8.04
deb http://fr.archive.ubuntu.com/ubuntu/ hardy main restricted
deb http://fr.archive.ubuntu.com/ubuntu/ hardy universe multiverse

#section: Ubuntu Hardy Updates
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-updates universe multiverse

#section: Ubuntu Hardy Security
deb http://security.ubuntu.com/ubuntu hardy-security main restricted
deb http://security.ubuntu.com/ubuntu hardy-security universe multiverse

#section: Ubuntu Hardy Backports
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse


#########################################
### Depot Ubuntu Commercial

#section: Ubuntu Hardy 8.04
deb http://archive.canonical.com/ubuntu hardy partner

#section: Ubuntu Hardy Backports
deb http://archive.canonical.com/ubuntu hardy-backports partner

#section: Ubuntu Hardy Security
deb http://archive.canonical.com/ubuntu hardy-security partner

#section: Ubuntu Hardy Updates
#deb http://archive.canonical.com/ubuntu hardy-update partner


#########################################
### Depot Medibuntu
## KEY GPG: wget -q http://fr.packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add -

#section: Medibuntu packages for Ubuntu Hardy 8.04
deb http://fr.packages.medibuntu.org/ hardy free non-free

#section: Medibuntu testing packages for Ubuntu Hardy 8.04
# deb http://fr.packages.medibuntu.org/ hardy-staging free non-free


#########################################
### Depot Innotek Virtual Box
## KEY GPG: wget -q http://www.virtualbox.org/debian/innotek.asc -O- | sudo apt-key add -

#deb http://www.virtualbox.org/debian hardy non-free


#########################################
### Depot winehq
## KEY GPG: wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -

#section: Ubuntu Hardy 8.04
# voir http://www.winehq.org/site/download-deb
deb http://wine.budgetdedicated.com/apt hardy main


#########################################
### Depot NeoDivX

deb http://users.teledisnet.be/web/bco02209/ubuntu/ neodivxlazarus main bad


#########################################
### Ubuntu Tweak

#section: Ubuntu Hardy 8.04
deb http://ppa.launchpad.net/tualatrix/ubuntu hardy main


#########################################
### Depot MyFreeTV

#section: Ubuntu Gutsy 7.10 fonction sous Hardy 8.04
deb http://www.tvfreeplayer.com/linux/falcon gutsy all


#########################################
### Depot SCENARI (http://scenari-platform.org)
## KEY GPG: gpg --keyserver subkeys.pgp.net --recv 57137EFADFD726C0
## KEY GPG: gpg --export --armor 57137EFADFD726C0 | sudo apt-key add -

#section: Ubuntu Hardy 8.04
# voir http://scenari-platform.org/projects/scenari/fr/download/co/
deb http://scenari-platform.org/deb hardy main


#########################################
### Depot lprod (depot pour la video)

#section: Ubuntu Hardy 8.04
# voir http://fr.lprod.org/
deb http://lprod.org/deb/hardy/ ./


#########################################
### Depot Pytube

# voir http://www.bashterritory.com/pytube/
deb http://www.bashterritory.com/pytube/releases /


#########################################
### Depot Extreme Tux Racer

#section: Ubuntu Gutsy 7.10 fonction sous Hardy 8.04
# voir http://www.extremetuxracer.com/
deb http://ppa.launchpad.net/woodypl/ubuntu gutsy main

#########################################
### Depot Arte+7recorder

#section: Ubuntu Gutsy 7.10 fonction sous Hardy 8.04
# voir http://forum.ubuntu-fr.org/viewtopic.php?id=229961
deb http://scriptsubuntu.free.fr/apt hardy universe
OK
OK
OK
gpg: requête de la clé DFD726C0 du serveur hkp subkeys.pgp.net
gpg: clé DFD726C0: « scenari-platform.org <info@scenari-platform.org> » n'a pas changé
gpg: Quantité totale traitée: 1
gpg:              inchangée: 1
OK
E: Impossible d'ouvrir le fichier verrou /var/lib/apt/lists/lock - open (13 Permission non accordée)
E: Impossible de verrouiller le répertoire de liste
E: Impossible d'ouvrir le fichier verrou /var/lib/dpkg/lock - open (13 Permission non accordée)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
/usr/share/fonts: caching, new cache contents: 0 fonts, 3 dirs
/usr/share/fonts/X11: caching, new cache contents: 0 fonts, 6 dirs
/usr/share/fonts/X11/100dpi: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/X11/75dpi: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/X11/Type1: caching, new cache contents: 8 fonts, 0 dirs
/usr/share/fonts/X11/encodings: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/X11/encodings/large: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/X11/misc: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/X11/util: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/truetype: caching, new cache contents: 0 fonts, 13 dirs
/usr/share/fonts/truetype/arphic: caching, new cache contents: 4 fonts, 0 dirs
/usr/share/fonts/truetype/freefont: caching, new cache contents: 12 fonts, 0 dirs
/usr/share/fonts/truetype/kochi: caching, new cache contents: 4 fonts, 0 dirs
/usr/share/fonts/truetype/msttcorefonts: caching, new cache contents: 60 fonts, 0 dirs
/usr/share/fonts/truetype/openoffice: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/thai: caching, new cache contents: 35 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-arabeyes: caching, new cache contents: 39 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-bitstream-vera: caching, new cache contents: 10 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-dejavu: caching, new cache contents: 21 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-indic-fonts-core: caching, new cache contents: 11 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-lao: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-malayalam-fonts: caching, new cache contents: 2 fonts, 0 dirs
/usr/share/fonts/truetype/unfonts: caching, new cache contents: 4 fonts, 0 dirs
/usr/share/fonts/type1: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/type1/gsfonts: caching, new cache contents: 35 fonts, 0 dirs
/usr/share/X11/fonts: skipping, no such directory
/usr/local/share/fonts: caching, new cache contents: 0 fonts, 0 dirs
/home/.../.fonts: skipping, no such directory
/var/cache/fontconfig: not cleaning unwritable cache directory
/home/.../.fontconfig: cleaning cache directory
fc-cache: succeeded
E: Impossible d'ouvrir le fichier verrou /var/lib/apt/lists/lock - open (13 Permission non accordée)
E: Impossible de verrouiller le répertoire de liste
 ça y est, c'est fini !!!
 Appuyez sur la touche Entrée pour quitter

Hors ligne

#4 Le 29/08/2008, à 21:07

soupaloignon

Re : [Résolu] Erreur script d'installation automatisé

A priori cela devrait fonctionner, tu as testé ?

Par contre je crois qu'un "sudo" à cet endroit serait pas mal

## Ajouter paquets nécessaires
apt-get install w32codecs realplay gstreamer0.10-plugins-ugly gstreamer0.10-ffmpeg gstreamer0.10-pitfdll libdvdcss2 totem-gstreamer libk3b-mp3 gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-bad msttcorefonts sun-java6-bin sun-java6-plugin vlc thunderbird thunderbird-locale-fr filezilla filezilla-locales geany d4x comix unrar rar p7zip p7zip-full grisbi sunbird sunbird-locale-fr wine pytube ubuntu-tweak xchat frozen-bubble compizconfig-settings-manager compiz-fusion-plugins-main compiz-fusion-plugins-extra gtk-shapr2 libglade2.0-cil libmono2.0-cil libgconf2.0-cil gnome-sharp2 mplayer gnome-subtitles libmono-i18n2.0-cil flashplugin-nonfree

de même qu'un

-y --force-yes

à la fin (flashplugin-nonfree -y --force-yes).
Cela t'évitera de valider par yes en console.

Par contre je vois pas trop l'utilité de

## Recharger paquets
apt-get update

(celui qui est après la reconstruction du cache des polices)


==> Libérez les huitres du bassin d'Arcachon <==

Hors ligne

#5 Le 29/08/2008, à 22:11

loke

Re : [Résolu] Erreur script d'installation automatisé

après le modif du sources.list

gpg: requête de la clé DFD726C0 du serveur hkp subkeys.pgp.net
gpg: clé DFD726C0: « scenari-platform.org <info@scenari-platform.org> » n'a pas changé
gpg: Quantité totale traitée: 1
gpg:              inchangée: 1
OK
E: Impossible d'ouvrir le fichier verrou /var/lib/apt/lists/lock - open (13 Permission non accordée)
E: Impossible de verrouiller le répertoire de liste
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
w32codecs est déjà la plus récente version disponible.
E: Impossible de trouver le paquet realplay
/usr/share/fonts: caching, new cache contents: 0 fonts, 3 dirs
/usr/share/fonts/X11: caching, new cache contents: 0 fonts, 6 dirs
/usr/share/fonts/X11/100dpi: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/X11/75dpi: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/X11/Type1: caching, new cache contents: 8 fonts, 0 dirs
/usr/share/fonts/X11/encodings: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/X11/encodings/large: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/X11/misc: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/X11/util: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/truetype: caching, new cache contents: 0 fonts, 13 dirs
/usr/share/fonts/truetype/arphic: caching, new cache contents: 4 fonts, 0 dirs
/usr/share/fonts/truetype/freefont: caching, new cache contents: 12 fonts, 0 dirs
/usr/share/fonts/truetype/kochi: caching, new cache contents: 4 fonts, 0 dirs
/usr/share/fonts/truetype/msttcorefonts: caching, new cache contents: 60 fonts, 0 dirs
/usr/share/fonts/truetype/openoffice: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/thai: caching, new cache contents: 35 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-arabeyes: caching, new cache contents: 39 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-bitstream-vera: caching, new cache contents: 10 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-dejavu: caching, new cache contents: 21 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-indic-fonts-core: caching, new cache contents: 11 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-lao: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-malayalam-fonts: caching, new cache contents: 2 fonts, 0 dirs
/usr/share/fonts/truetype/unfonts: caching, new cache contents: 4 fonts, 0 dirs
/usr/share/fonts/type1: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/type1/gsfonts: caching, new cache contents: 35 fonts, 0 dirs
/usr/share/X11/fonts: skipping, no such directory
/usr/local/share/fonts: caching, new cache contents: 0 fonts, 0 dirs
/home/vlad/.fonts: skipping, no such directory
/var/cache/fontconfig: not cleaning unwritable cache directory
/home/vlad/.fontconfig: cleaning cache directory
fc-cache: succeeded
 ça y est, c'est fini !!!
 Appuyez sur la touche Entrée pour quitter

voila le résultat après application des modification dont tu ma fait par je voie des erreurs et je ne voie pas l'installe des paquets  après l'échec de realplay?:/

Hors ligne

#6 Le 29/08/2008, à 23:02

soupaloignon

Re : [Résolu] Erreur script d'installation automatisé

j'ai l'impression que cela vient d'un des paquets que tu installes, en plus il y a un truc bizarre, c'est

Impossible d'ouvrir le fichier verrou /var/lib/apt/lists/lock - open (13 Permission non accordée)

tu as bien mis le sudo et il n'y a pas une autre install en cours, genre synaptic ? (qui bloquerait une autre install)


==> Libérez les huitres du bassin d'Arcachon <==

Hors ligne

#7 Le 29/08/2008, à 23:11

soupaloignon

Re : [Résolu] Erreur script d'installation automatisé

Essaye le script ci-dessous. C'est le tien, mais j'ai viré plein de dépots, et il lance juste l'install d'un logiciel.
Ca permettra de voir à quel moment ça coince. Si le script fonctionne (ce que je pense) c'est que cela vient d'un des dépots enlevé, ou peut être d'une clé d'activation. Mais il suffira de le srajouter petit à petit dans le script, et tu trouveras l'erreur.
Veille bien a ce qu'il n'y ai pas synaptic de lancé en parallèle. Je viens de voir aussi qu'il n'y avait pas le sudo sur le apt-get update.

Modifie cela déjà dans ton script (sudo apt-get update) avant de tester celui-ci

#!/bin/bash
#
#######
#Script pour compléter l'installation d'Ubuntu Hardy 8.04
#######
#chmod +x Ubuntu_Hardy_8_04_Instalv2.sh
#######
#
###Ajout des dépôts

echo "Script pour compléter l'installation d'Ubuntu Hardy 8.04"

#crée une sauvegarde
sudo cp /etc/apt/sources.list /etc/apt/sources_save.list

echo "# Le 19/07/2008 (Europe/Paris) via le site http://doc.ubuntu-fr.org/depots_hardy
#
# Pays : France
# Release : Hardy Heron Ubuntu 8.04
# Architecture : i386 (Processeurs 32-bits)
#

#########################################
###
# Mise à jour de sources.list
# sudo gedit /etc/apt/sources.list
#
# Mise à jour des depot après authentification des 'KEY GPG:'
# sudo apt-get update
###
#########################################

#########################################
### Depot Ubuntu

#section: Hardy 8.04
deb http://fr.archive.ubuntu.com/ubuntu/ hardy main restricted
deb http://fr.archive.ubuntu.com/ubuntu/ hardy universe multiverse

#section: Ubuntu Hardy Updates
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-updates universe multiverse

#section: Ubuntu Hardy Security
deb http://security.ubuntu.com/ubuntu hardy-security main restricted
deb http://security.ubuntu.com/ubuntu hardy-security universe multiverse

#section: Ubuntu Hardy Backports
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse


#########################################
### Depot Ubuntu Commercial

#section: Ubuntu Hardy 8.04
deb http://archive.canonical.com/ubuntu hardy partner

#section: Ubuntu Hardy Backports
deb http://archive.canonical.com/ubuntu hardy-backports partner

#section: Ubuntu Hardy Security
deb http://archive.canonical.com/ubuntu hardy-security partner

#section: Ubuntu Hardy Updates
#deb http://archive.canonical.com/ubuntu hardy-update partner" | sudo tee -a /etc/apt/sources.list



## Recharger paquets après changement des dépôts
sudo apt-get update

## INSTALLER UN PAQUET DE TEST : PARTIMAGE (OUTIL DE SAUVEGARDE)
sudo apt-get install partimage




echo " ça y est, c'est fini !!!"
echo " Appuyez sur la touche Entrée pour quitter"
read a

exit

Dernière modification par soupaloignon (Le 29/08/2008, à 23:12)


==> Libérez les huitres du bassin d'Arcachon <==

Hors ligne

#8 Le 30/08/2008, à 10:02

loke

Re : [Résolu] Erreur script d'installation automatisé

Avec sudo

Script pour compléter l'installation d'Ubuntu Hardy 8.04
[sudo] password for ...: 
# Le 19/07/2008 (Europe/Paris) via le site http://doc.ubuntu-fr.org/depots_hardy
#
# En cas de soucis, vous pouvez contacter le créateur par email spiritreggae@free.fr
#
# Pays : France
# Release : Hardy Heron Ubuntu 8.04
# Architecture : i386 (Processeurs 32-bits)
#

#########################################
###
# Mise à jour de sources.list
# sudo gedit /etc/apt/sources.list
#
# Mise à jour des depot après authentification des 'KEY GPG:'
# sudo apt-get update
###
#########################################

#########################################
### Depot Ubuntu

#section: Hardy 8.04
deb http://fr.archive.ubuntu.com/ubuntu/ hardy main restricted
deb http://fr.archive.ubuntu.com/ubuntu/ hardy universe multiverse

#section: Ubuntu Hardy Updates
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-updates universe multiverse

#section: Ubuntu Hardy Security
deb http://security.ubuntu.com/ubuntu hardy-security main restricted
deb http://security.ubuntu.com/ubuntu hardy-security universe multiverse

#section: Ubuntu Hardy Backports
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse


#########################################
### Depot Ubuntu Commercial

#section: Ubuntu Hardy 8.04
deb http://archive.canonical.com/ubuntu hardy partner

#section: Ubuntu Hardy Backports
deb http://archive.canonical.com/ubuntu hardy-backports partner

#section: Ubuntu Hardy Security
deb http://archive.canonical.com/ubuntu hardy-security partner

#section: Ubuntu Hardy Updates
#deb http://archive.canonical.com/ubuntu hardy-update partner


#########################################
### Depot Medibuntu
## KEY GPG: wget -q http://fr.packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add -

#section: Medibuntu packages for Ubuntu Hardy 8.04
deb http://fr.packages.medibuntu.org/ hardy free non-free

#section: Medibuntu testing packages for Ubuntu Hardy 8.04
# deb http://fr.packages.medibuntu.org/ hardy-staging free non-free


#########################################
### Depot Innotek Virtual Box
## KEY GPG: wget -q http://www.virtualbox.org/debian/innotek.asc -O- | sudo apt-key add -

#deb http://www.virtualbox.org/debian hardy non-free


#########################################
### Depot winehq
## KEY GPG: wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -

#section: Ubuntu Hardy 8.04
# voir http://www.winehq.org/site/download-deb
deb http://wine.budgetdedicated.com/apt hardy main


#########################################
### Depot NeoDivX

deb http://users.teledisnet.be/web/bco02209/ubuntu/ neodivxlazarus main bad


#########################################
### Ubuntu Tweak

#section: Ubuntu Hardy 8.04
deb http://ppa.launchpad.net/tualatrix/ubuntu hardy main


#########################################
### Depot MyFreeTV

#section: Ubuntu Gutsy 7.10 fonction sous Hardy 8.04
deb http://www.tvfreeplayer.com/linux/falcon gutsy all


#########################################
### Depot SCENARI (http://scenari-platform.org)
## KEY GPG: gpg --keyserver subkeys.pgp.net --recv 57137EFADFD726C0
## KEY GPG: gpg --export --armor 57137EFADFD726C0 | sudo apt-key add -

#section: Ubuntu Hardy 8.04
# voir http://scenari-platform.org/projects/scenari/fr/download/co/
deb http://scenari-platform.org/deb hardy main


#########################################
### Depot lprod (depot pour la video)

#section: Ubuntu Hardy 8.04
# voir http://fr.lprod.org/
deb http://lprod.org/deb/hardy/ ./


#########################################
### Depot Pytube

# voir http://www.bashterritory.com/pytube/
deb http://www.bashterritory.com/pytube/releases /


#########################################
### Depot Extreme Tux Racer

#section: Ubuntu Gutsy 7.10 fonction sous Hardy 8.04
# voir http://www.extremetuxracer.com/
deb http://ppa.launchpad.net/woodypl/ubuntu gutsy main

#########################################
### Depot Arte+7recorder

#section: Ubuntu Gutsy 7.10 fonction sous Hardy 8.04
# voir http://forum.ubuntu-fr.org/viewtopic.php?id=229961
deb http://scriptsubuntu.free.fr/apt hardy universe
OK
OK
OK
gpg: requête de la clé DFD726C0 du serveur hkp subkeys.pgp.net
gpg: clé DFD726C0: « scenari-platform.org <info@scenari-platform.org> » n'a pas changé
gpg: Quantité totale traitée: 1
gpg:              inchangée: 1
OK
Atteint http://fr.archive.ubuntu.com hardy Release.gpg
Atteint http://fr.archive.ubuntu.com hardy/main Translation-fr                 
Atteint http://fr.archive.ubuntu.com hardy/restricted Translation-fr           
Atteint http://fr.archive.ubuntu.com hardy/universe Translation-fr             
Atteint http://fr.archive.ubuntu.com hardy/multiverse Translation-fr           
Atteint http://fr.archive.ubuntu.com hardy-updates Release.gpg                 
Ign http://fr.archive.ubuntu.com hardy-updates/main Translation-fr             
Ign http://fr.archive.ubuntu.com hardy-updates/restricted Translation-fr       
Ign http://fr.archive.ubuntu.com hardy-updates/universe Translation-fr         
Atteint http://fr.packages.medibuntu.org hardy Release.gpg                     
Atteint http://security.ubuntu.com hardy-security Release.gpg                  
Ign http://security.ubuntu.com hardy-security/main Translation-fr              
Ign http://security.ubuntu.com hardy-security/restricted Translation-fr        
Atteint http://archive.canonical.com hardy Release.gpg                         
Ign http://archive.canonical.com hardy/partner Translation-fr                  
Atteint http://archive.canonical.com hardy-backports Release.gpg               
Atteint http://scenari-platform.org hardy Release.gpg                          
Ign http://scenari-platform.org hardy/main Translation-fr                      
Ign http://lprod.org ./ Release.gpg                                            
Ign http://lprod.org ./ Translation-fr                                         
Ign http://scriptsubuntu.free.fr hardy Release.gpg                             
Ign http://ppa.launchpad.net hardy Release.gpg                                 
Ign http://ppa.launchpad.net hardy/main Translation-fr                         
Ign http://fr.archive.ubuntu.com hardy-updates/multiverse Translation-fr       
Atteint http://fr.archive.ubuntu.com hardy-backports Release.gpg               
Atteint http://wine.budgetdedicated.com hardy Release.gpg                      
Ign http://wine.budgetdedicated.com hardy/main Translation-fr                  
Ign http://www.tvfreeplayer.com gutsy Release.gpg                              
Ign http://fr.archive.ubuntu.com hardy-backports/main Translation-fr           
Ign http://fr.archive.ubuntu.com hardy-backports/restricted Translation-fr     
Ign http://fr.archive.ubuntu.com hardy-backports/universe Translation-fr       
Ign http://fr.archive.ubuntu.com hardy-backports/multiverse Translation-fr     
Atteint http://fr.archive.ubuntu.com hardy Release                             
Ign http://security.ubuntu.com hardy-security/universe Translation-fr          
Ign http://security.ubuntu.com hardy-security/multiverse Translation-fr        
Atteint http://security.ubuntu.com hardy-security Release                      
Ign http://archive.canonical.com hardy-backports/partner Translation-fr        
Atteint http://archive.canonical.com hardy-security Release.gpg                
Ign http://archive.canonical.com hardy-security/partner Translation-fr         
Atteint http://archive.canonical.com hardy Release                             
Ign http://users.teledisnet.be neodivxlazarus Release.gpg                      
Ign http://users.teledisnet.be neodivxlazarus/main Translation-fr              
Ign http://users.teledisnet.be neodivxlazarus/bad Translation-fr               
Ign http://www.tvfreeplayer.com gutsy/all Translation-fr                       
Atteint http://scenari-platform.org hardy Release                              
Ign http://ppa.launchpad.net gutsy Release.gpg                                 
Ign http://ppa.launchpad.net gutsy/main Translation-fr                         
Réception de : 1 http://ppa.launchpad.net hardy Release [27,6kB]               
Ign http://lprod.org ./ Release                                                
Atteint http://fr.archive.ubuntu.com hardy-updates Release                     
Atteint http://wine.budgetdedicated.com hardy Release                          
Atteint http://archive.canonical.com hardy-backports Release                   
Atteint http://archive.canonical.com hardy-security Release                    
Atteint http://fr.archive.ubuntu.com hardy-backports Release                   
Réception de : 2 http://ppa.launchpad.net gutsy Release [27,6kB]               
Atteint http://lprod.org ./ Packages                                           
Réception de : 3 http://users.teledisnet.be neodivxlazarus Release [2640B]     
Réception de : 4 http://www.tvfreeplayer.com gutsy Release [10,1kB]            
Atteint http://security.ubuntu.com hardy-security/main Packages                
Ign http://scenari-platform.org hardy/main Packages                            
Atteint http://archive.canonical.com hardy/partner Packages                    
Atteint http://fr.archive.ubuntu.com hardy/main Packages                       
Atteint http://fr.archive.ubuntu.com hardy/restricted Packages                 
Atteint http://fr.archive.ubuntu.com hardy/universe Packages                   
Atteint http://fr.archive.ubuntu.com hardy/multiverse Packages                 
Ign http://ppa.launchpad.net hardy/main Packages                               
Ign http://scriptsubuntu.free.fr hardy/universe Translation-fr                 
Ign http://users.teledisnet.be neodivxlazarus/main Packages                    
Atteint http://security.ubuntu.com hardy-security/restricted Packages          
Atteint http://security.ubuntu.com hardy-security/universe Packages            
Atteint http://security.ubuntu.com hardy-security/multiverse Packages          
Ign http://www.bashterritory.com  Release.gpg                                  
Ign http://www.bashterritory.com  Translation-fr                               
Atteint http://www.tvfreeplayer.com gutsy/all Packages                         
Atteint http://scenari-platform.org hardy/main Packages                        
Ign http://wine.budgetdedicated.com hardy/main Packages                        
Atteint http://archive.canonical.com hardy-backports/partner Packages          
Atteint http://fr.archive.ubuntu.com hardy-updates/main Packages               
Atteint http://fr.archive.ubuntu.com hardy-updates/restricted Packages         
Atteint http://fr.archive.ubuntu.com hardy-updates/universe Packages           
Atteint http://fr.archive.ubuntu.com hardy-updates/multiverse Packages         
Ign http://ppa.launchpad.net gutsy/main Packages                               
Ign http://users.teledisnet.be neodivxlazarus/bad Packages                     
Atteint http://wine.budgetdedicated.com hardy/main Packages                    
Atteint http://archive.canonical.com hardy-security/partner Packages           
Atteint http://fr.archive.ubuntu.com hardy-backports/main Packages             
Atteint http://fr.archive.ubuntu.com hardy-backports/restricted Packages       
Atteint http://fr.archive.ubuntu.com hardy-backports/universe Packages         
Atteint http://fr.archive.ubuntu.com hardy-backports/multiverse Packages       
Atteint http://ppa.launchpad.net hardy/main Packages                           
Atteint http://users.teledisnet.be neodivxlazarus/main Packages                
Atteint http://ppa.launchpad.net gutsy/main Packages                           
Ign http://www.bashterritory.com  Release                                      
Atteint http://users.teledisnet.be neodivxlazarus/bad Packages                 
Réception de : 5 http://scriptsubuntu.free.fr hardy Release [1492B]            
Ign http://scriptsubuntu.free.fr hardy/universe Packages                       
Ign http://www.bashterritory.com  Packages                             
Atteint http://scriptsubuntu.free.fr hardy/universe Packages           
Ign http://fr.packages.medibuntu.org hardy/free Translation-fr         
Atteint http://www.bashterritory.com  Packages                         
Ign http://fr.packages.medibuntu.org hardy/non-free Translation-fr     
Atteint http://fr.packages.medibuntu.org hardy Release
Atteint http://fr.packages.medibuntu.org hardy/free Packages
Atteint http://fr.packages.medibuntu.org hardy/non-free Packages
5o réceptionnés en 3s (2o/s)
Lecture des listes de paquets... Fait
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
w32codecs est déjà la plus récente version disponible.
E: Impossible de trouver le paquet realplay
/usr/share/fonts: caching, new cache contents: 0 fonts, 3 dirs
/usr/share/fonts/X11: caching, new cache contents: 0 fonts, 6 dirs
/usr/share/fonts/X11/100dpi: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/X11/75dpi: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/X11/Type1: caching, new cache contents: 8 fonts, 0 dirs
/usr/share/fonts/X11/encodings: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/X11/encodings/large: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/X11/misc: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/X11/util: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/truetype: caching, new cache contents: 0 fonts, 13 dirs
/usr/share/fonts/truetype/arphic: caching, new cache contents: 4 fonts, 0 dirs
/usr/share/fonts/truetype/freefont: caching, new cache contents: 12 fonts, 0 dirs
/usr/share/fonts/truetype/kochi: caching, new cache contents: 4 fonts, 0 dirs
/usr/share/fonts/truetype/msttcorefonts: caching, new cache contents: 60 fonts, 0 dirs
/usr/share/fonts/truetype/openoffice: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/thai: caching, new cache contents: 35 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-arabeyes: caching, new cache contents: 39 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-bitstream-vera: caching, new cache contents: 10 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-dejavu: caching, new cache contents: 21 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-indic-fonts-core: caching, new cache contents: 11 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-lao: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-malayalam-fonts: caching, new cache contents: 2 fonts, 0 dirs
/usr/share/fonts/truetype/unfonts: caching, new cache contents: 4 fonts, 0 dirs
/usr/share/fonts/type1: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/type1/gsfonts: caching, new cache contents: 35 fonts, 0 dirs
/usr/share/X11/fonts: skipping, no such directory
/usr/local/share/fonts: caching, new cache contents: 0 fonts, 0 dirs
/home/.../.fonts: skipping, no such directory
/var/cache/fontconfig: not cleaning unwritable cache directory
/home/.../.fontconfig: cleaning cache directory
fc-cache: succeeded
 ça y est, c'est fini !!!
 Appuyez sur la touche Entrée pour quitter

Il semblerai que les dépôts marche mais que le problème viendrai de l'installation des logicielles.
Sur ton scripts comme je n'avais jamais installer partimage sa semble parfaitement fonctionné je me demande si se n'est pas l'échec de "Impossible de trouver le paquet realplay" qui ne stop pas le test des autre paquet

Script pour compléter l'installation d'Ubuntu Hardy 8.04
# Le 19/07/2008 (Europe/Paris) via le site http://doc.ubuntu-fr.org/depots_hardy
#
# Pays : France
# Release : Hardy Heron Ubuntu 8.04
# Architecture : i386 (Processeurs 32-bits)
#

#########################################
###
# Mise à jour de sources.list
# sudo gedit /etc/apt/sources.list
#
# Mise à jour des depot après authentification des 'KEY GPG:'
# sudo apt-get update
###
#########################################

#########################################
### Depot Ubuntu

#section: Hardy 8.04
deb http://fr.archive.ubuntu.com/ubuntu/ hardy main restricted
deb http://fr.archive.ubuntu.com/ubuntu/ hardy universe multiverse

#section: Ubuntu Hardy Updates
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-updates universe multiverse

#section: Ubuntu Hardy Security
deb http://security.ubuntu.com/ubuntu hardy-security main restricted
deb http://security.ubuntu.com/ubuntu hardy-security universe multiverse

#section: Ubuntu Hardy Backports
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse


#########################################
### Depot Ubuntu Commercial

#section: Ubuntu Hardy 8.04
deb http://archive.canonical.com/ubuntu hardy partner

#section: Ubuntu Hardy Backports
deb http://archive.canonical.com/ubuntu hardy-backports partner

#section: Ubuntu Hardy Security
deb http://archive.canonical.com/ubuntu hardy-security partner

#section: Ubuntu Hardy Updates
#deb http://archive.canonical.com/ubuntu hardy-update partner
Atteint http://fr.archive.ubuntu.com hardy Release.gpg
Atteint http://fr.archive.ubuntu.com hardy/main Translation-fr                 
Atteint http://fr.archive.ubuntu.com hardy/restricted Translation-fr           
Atteint http://fr.archive.ubuntu.com hardy/universe Translation-fr             
Atteint http://fr.archive.ubuntu.com hardy/multiverse Translation-fr           
Atteint http://fr.archive.ubuntu.com hardy-updates Release.gpg                 
Ign http://fr.archive.ubuntu.com hardy-updates/main Translation-fr             
Ign http://fr.archive.ubuntu.com hardy-updates/restricted Translation-fr       
Ign http://fr.archive.ubuntu.com hardy-updates/universe Translation-fr         
Atteint http://fr.packages.medibuntu.org hardy Release.gpg                     
Atteint http://security.ubuntu.com hardy-security Release.gpg                  
Ign http://security.ubuntu.com hardy-security/main Translation-fr              
Ign http://security.ubuntu.com hardy-security/restricted Translation-fr        
Atteint http://archive.canonical.com hardy Release.gpg                         
Ign http://archive.canonical.com hardy/partner Translation-fr                  
Atteint http://archive.canonical.com hardy-backports Release.gpg               
Atteint http://scenari-platform.org hardy Release.gpg                          
Ign http://scenari-platform.org hardy/main Translation-fr                      
Ign http://scriptsubuntu.free.fr hardy Release.gpg                             
Ign http://lprod.org ./ Release.gpg                                            
Ign http://lprod.org ./ Translation-fr                                         
Ign http://ppa.launchpad.net hardy Release.gpg                                 
Ign http://ppa.launchpad.net hardy/main Translation-fr                         
Ign http://ppa.launchpad.net gutsy Release.gpg                                 
Ign http://fr.archive.ubuntu.com hardy-updates/multiverse Translation-fr       
Atteint http://fr.archive.ubuntu.com hardy-backports Release.gpg               
Atteint http://wine.budgetdedicated.com hardy Release.gpg                      
Ign http://wine.budgetdedicated.com hardy/main Translation-fr                  
Ign http://www.tvfreeplayer.com gutsy Release.gpg                              
Ign http://www.tvfreeplayer.com gutsy/all Translation-fr                       
Ign http://fr.archive.ubuntu.com hardy-backports/main Translation-fr           
Ign http://fr.archive.ubuntu.com hardy-backports/restricted Translation-fr     
Ign http://fr.archive.ubuntu.com hardy-backports/universe Translation-fr       
Ign http://fr.archive.ubuntu.com hardy-backports/multiverse Translation-fr     
Atteint http://fr.archive.ubuntu.com hardy Release                             
Ign http://security.ubuntu.com hardy-security/universe Translation-fr          
Ign http://security.ubuntu.com hardy-security/multiverse Translation-fr        
Atteint http://security.ubuntu.com hardy-security Release                      
Ign http://archive.canonical.com hardy-backports/partner Translation-fr        
Atteint http://archive.canonical.com hardy-security Release.gpg                
Ign http://archive.canonical.com hardy-security/partner Translation-fr         
Atteint http://archive.canonical.com hardy Release                             
Ign http://users.teledisnet.be neodivxlazarus Release.gpg                      
Ign http://users.teledisnet.be neodivxlazarus/main Translation-fr              
Ign http://users.teledisnet.be neodivxlazarus/bad Translation-fr               
Ign http://ppa.launchpad.net gutsy/main Translation-fr                         
Réception de : 1 http://ppa.launchpad.net hardy Release [27,6kB]               
Atteint http://scenari-platform.org hardy Release                              
Ign http://lprod.org ./ Release                                                
Atteint http://fr.archive.ubuntu.com hardy-updates Release                     
Atteint http://wine.budgetdedicated.com hardy Release                          
Réception de : 2 http://www.tvfreeplayer.com gutsy Release [10,1kB]            
Atteint http://archive.canonical.com hardy-backports Release                   
Atteint http://archive.canonical.com hardy-security Release                    
Atteint http://fr.archive.ubuntu.com hardy-backports Release                   
Réception de : 3 http://ppa.launchpad.net gutsy Release [27,6kB]               
Atteint http://lprod.org ./ Packages                                           
Réception de : 4 http://users.teledisnet.be neodivxlazarus Release [2640B]     
Atteint http://www.tvfreeplayer.com gutsy/all Packages                         
Atteint http://security.ubuntu.com hardy-security/main Packages                
Ign http://scenari-platform.org hardy/main Packages                            
Atteint http://fr.archive.ubuntu.com hardy/main Packages                       
Atteint http://fr.archive.ubuntu.com hardy/restricted Packages                 
Atteint http://archive.canonical.com hardy/partner Packages                    
Ign http://ppa.launchpad.net hardy/main Packages                               
Ign http://scriptsubuntu.free.fr hardy/universe Translation-fr                 
Ign http://users.teledisnet.be neodivxlazarus/main Packages                    
Atteint http://security.ubuntu.com hardy-security/restricted Packages          
Atteint http://security.ubuntu.com hardy-security/universe Packages            
Atteint http://security.ubuntu.com hardy-security/multiverse Packages          
Ign http://wine.budgetdedicated.com hardy/main Packages                        
Atteint http://scenari-platform.org hardy/main Packages                        
Atteint http://fr.archive.ubuntu.com hardy/universe Packages                   
Atteint http://fr.archive.ubuntu.com hardy/multiverse Packages                 
Atteint http://archive.canonical.com hardy-backports/partner Packages          
Ign http://ppa.launchpad.net gutsy/main Packages                               
Ign http://users.teledisnet.be neodivxlazarus/bad Packages                     
Atteint http://fr.archive.ubuntu.com hardy-updates/main Packages               
Atteint http://fr.archive.ubuntu.com hardy-updates/restricted Packages         
Atteint http://wine.budgetdedicated.com hardy/main Packages                    
Atteint http://fr.archive.ubuntu.com hardy-updates/universe Packages           
Atteint http://fr.archive.ubuntu.com hardy-updates/multiverse Packages         
Atteint http://archive.canonical.com hardy-security/partner Packages           
Atteint http://ppa.launchpad.net hardy/main Packages                           
Atteint http://users.teledisnet.be neodivxlazarus/main Packages                
Atteint http://fr.archive.ubuntu.com hardy-backports/main Packages             
Atteint http://fr.archive.ubuntu.com hardy-backports/restricted Packages       
Atteint http://fr.archive.ubuntu.com hardy-backports/universe Packages         
Atteint http://fr.archive.ubuntu.com hardy-backports/multiverse Packages       
Atteint http://ppa.launchpad.net gutsy/main Packages                           
Réception de : 5 http://scriptsubuntu.free.fr hardy Release [1492B]            
Atteint http://users.teledisnet.be neodivxlazarus/bad Packages                 
Ign http://www.bashterritory.com  Release.gpg                                  
Ign http://www.bashterritory.com  Translation-fr                               
Ign http://scriptsubuntu.free.fr hardy/universe Packages                       
Ign http://fr.packages.medibuntu.org hardy/free Translation-fr                 
Ign http://www.bashterritory.com  Release                                      
Atteint http://scriptsubuntu.free.fr hardy/universe Packages                   
Ign http://fr.packages.medibuntu.org hardy/non-free Translation-fr             
Ign http://www.bashterritory.com  Packages                             
Atteint http://www.bashterritory.com  Packages                         
Atteint http://fr.packages.medibuntu.org hardy Release
Atteint http://fr.packages.medibuntu.org hardy/free Packages
Atteint http://fr.packages.medibuntu.org hardy/non-free Packages
5o réceptionnés en 3s (2o/s)         
Lecture des listes de paquets... Fait
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Les NOUVEAUX paquets suivants seront installés :
  partimage
0 mis à jour, 1 nouvellement installés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de prendre 278ko dans les archives.
Après cette opération, 983ko d'espace disque supplémentaires seront utilisés.
Réception de : 1 http://fr.archive.ubuntu.com hardy/universe partimage 0.6.7-1 [278kB]
278ko réceptionnés en 1s (207ko/s)
Sélection du paquet partimage précédemment désélectionné.
(Lecture de la base de données... 133328 fichiers et répertoires déjà installés.)
Dépaquetage de partimage (à partir de .../partimage_0.6.7-1_i386.deb) ...
Paramétrage de partimage (0.6.7-1) ...
 ça y est, c'est fini !!!
 Appuyez sur la touche Entrée pour quitter

Hors ligne

#9 Le 30/08/2008, à 10:16

soupaloignon

Re : [Résolu] Erreur script d'installation automatisé

En tout cas la structure du script fonctionne, donc c'est déjà un point.
Il ne te reste plus qu'à remettre ce que tu veux installer petit à petit dans le script et tu verras bien où ça coince. En tout cas, déjà avec realplay, ça c'est clair.

Bonne continuation


==> Libérez les huitres du bassin d'Arcachon <==

Hors ligne

#10 Le 30/08/2008, à 11:06

Totor

Re : [Résolu] Erreur script d'installation automatisé

mouais, j'aurai eu une autre démarche que soupaloignon.
Je n'aurai pas changer ajouter tous les sudo à toutes les lignes tout simplement car c'est l'ensemble su script que tu dois lancer en sudo.

En effet, le script a une vocation administrative touchant à des informations de paramétrages système (paquets) et mult-user (modification du fichier /etc/gdm/Init/Default).

Par ailleurs, en terme de maintenance, c'est nettement mieux !


-- Lucid Lynx --

Hors ligne

#11 Le 30/08/2008, à 11:37

soupaloignon

Re : [Résolu] Erreur script d'installation automatisé

Genre une commande en début de script qui lancerait la suite avec les droit admin ? Ca serait quoi comme commande ?


==> Libérez les huitres du bassin d'Arcachon <==

Hors ligne

#12 Le 30/08/2008, à 13:20

loke

Re : [Résolu] Erreur script d'installation automatisé

Script pour compléter l'installation d'Ubuntu Hardy 8.04
# Le 19/07/2008 (Europe/Paris) via le site http://doc.ubuntu-fr.org/depots_hardy
#
# Pays : France
# Release : Hardy Heron Ubuntu 8.04
# Architecture : i386 (Processeurs 32-bits)
#

#########################################
###
# Mise à jour de sources.list
# sudo gedit /etc/apt/sources.list
#
# Mise à jour des depot après authentification des 'KEY GPG:'
# sudo apt-get update
###
#########################################

#########################################
### Depot Ubuntu

#section: Hardy 8.04
deb http://fr.archive.ubuntu.com/ubuntu/ hardy main restricted
deb http://fr.archive.ubuntu.com/ubuntu/ hardy universe multiverse

#section: Ubuntu Hardy Updates
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-updates universe multiverse

#section: Ubuntu Hardy Security
deb http://security.ubuntu.com/ubuntu hardy-security main restricted
deb http://security.ubuntu.com/ubuntu hardy-security universe multiverse

#section: Ubuntu Hardy Backports
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse


#########################################
### Depot Ubuntu Commercial

#section: Ubuntu Hardy 8.04
deb http://archive.canonical.com/ubuntu hardy partner

#section: Ubuntu Hardy Backports
deb http://archive.canonical.com/ubuntu hardy-backports partner

#section: Ubuntu Hardy Security
deb http://archive.canonical.com/ubuntu hardy-security partner

#section: Ubuntu Hardy Updates
#deb http://archive.canonical.com/ubuntu hardy-update partner


#########################################
### Depot Medibuntu
## KEY GPG: wget -q http://fr.packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add -

#section: Medibuntu packages for Ubuntu Hardy 8.04
deb http://fr.packages.medibuntu.org/ hardy free non-free

#section: Medibuntu testing packages for Ubuntu Hardy 8.04
# deb http://fr.packages.medibuntu.org/ hardy-staging free non-free


#########################################
### Depot Innotek Virtual Box
## KEY GPG: wget -q http://www.virtualbox.org/debian/innotek.asc -O- | sudo apt-key add -

#deb http://www.virtualbox.org/debian hardy non-free


#########################################
### Depot winehq
## KEY GPG: wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -

#section: Ubuntu Hardy 8.04
# voir http://www.winehq.org/site/download-deb
deb http://wine.budgetdedicated.com/apt hardy main


#########################################
### Depot NeoDivX

deb http://users.teledisnet.be/web/bco02209/ubuntu/ neodivxlazarus main bad


#########################################
### Ubuntu Tweak

#section: Ubuntu Hardy 8.04
deb http://ppa.launchpad.net/tualatrix/ubuntu hardy main


#########################################
### Depot MyFreeTV

#section: Ubuntu Gutsy 7.10 fonction sous Hardy 8.04
deb http://www.tvfreeplayer.com/linux/falcon gutsy all


#########################################
### Depot SCENARI (http://scenari-platform.org)
## KEY GPG: gpg --keyserver subkeys.pgp.net --recv 57137EFADFD726C0
## KEY GPG: gpg --export --armor 57137EFADFD726C0 | sudo apt-key add -

#section: Ubuntu Hardy 8.04
# voir http://scenari-platform.org/projects/scenari/fr/download/co/
deb http://scenari-platform.org/deb hardy main


#########################################
### Depot lprod (depot pour la video)

#section: Ubuntu Hardy 8.04
# voir http://fr.lprod.org/
deb http://lprod.org/deb/hardy/ ./


#########################################
### Depot Pytube

# voir http://www.bashterritory.com/pytube/
deb http://www.bashterritory.com/pytube/releases /


#########################################
### Depot Extreme Tux Racer

#section: Ubuntu Gutsy 7.10 fonction sous Hardy 8.04
# voir http://www.extremetuxracer.com/
deb http://ppa.launchpad.net/woodypl/ubuntu gutsy main

#########################################
### Depot Arte+7recorder

#section: Ubuntu Gutsy 7.10 fonction sous Hardy 8.04
# voir http://forum.ubuntu-fr.org/viewtopic.php?id=229961
deb http://scriptsubuntu.free.fr/apt hardy universe
OK
OK
OK
gpg: requête de la clé DFD726C0 du serveur hkp subkeys.pgp.net
gpg: clé DFD726C0: « scenari-platform.org <info@scenari-platform.org> » n'a pas changé
gpg: Quantité totale traitée: 1
gpg:              inchangée: 1
OK
Atteint http://fr.archive.ubuntu.com hardy Release.gpg
Atteint http://fr.archive.ubuntu.com hardy/main Translation-fr
Atteint http://fr.archive.ubuntu.com hardy/restricted Translation-fr
Atteint http://fr.archive.ubuntu.com hardy/universe Translation-fr
Atteint http://fr.archive.ubuntu.com hardy/multiverse Translation-fr
Atteint http://fr.archive.ubuntu.com hardy-updates Release.gpg
Ign http://fr.archive.ubuntu.com hardy-updates/main Translation-fr             
Ign http://fr.archive.ubuntu.com hardy-updates/restricted Translation-fr       
Ign http://fr.archive.ubuntu.com hardy-updates/universe Translation-fr         
Atteint http://security.ubuntu.com hardy-security Release.gpg                  
Ign http://security.ubuntu.com hardy-security/main Translation-fr              
Ign http://security.ubuntu.com hardy-security/restricted Translation-fr        
Atteint http://archive.canonical.com hardy Release.gpg                         
Ign http://archive.canonical.com hardy/partner Translation-fr                  
Atteint http://archive.canonical.com hardy-backports Release.gpg               
Atteint http://scenari-platform.org hardy Release.gpg                          
Ign http://scriptsubuntu.free.fr hardy Release.gpg                             
Ign http://scenari-platform.org hardy/main Translation-fr                      
Ign http://lprod.org ./ Release.gpg                                            
Ign http://lprod.org ./ Translation-fr                                         
Atteint http://fr.packages.medibuntu.org hardy Release.gpg                     
Ign http://fr.packages.medibuntu.org hardy/free Translation-fr                 
Ign http://fr.packages.medibuntu.org hardy/non-free Translation-fr             
Ign http://www.tvfreeplayer.com gutsy Release.gpg                              
Ign http://www.tvfreeplayer.com gutsy/all Translation-fr                       
Ign http://ppa.launchpad.net hardy Release.gpg                                 
Ign http://ppa.launchpad.net hardy/main Translation-fr                         
Ign http://ppa.launchpad.net gutsy Release.gpg                                 
Ign http://fr.archive.ubuntu.com hardy-updates/multiverse Translation-fr       
Atteint http://fr.archive.ubuntu.com hardy-backports Release.gpg               
Atteint http://wine.budgetdedicated.com hardy Release.gpg                      
Ign http://wine.budgetdedicated.com hardy/main Translation-fr                  
Ign http://users.teledisnet.be neodivxlazarus Release.gpg                      
Ign http://users.teledisnet.be neodivxlazarus/main Translation-fr              
Ign http://users.teledisnet.be neodivxlazarus/bad Translation-fr               
Ign http://fr.archive.ubuntu.com hardy-backports/main Translation-fr           
Ign http://fr.archive.ubuntu.com hardy-backports/restricted Translation-fr     
Ign http://fr.archive.ubuntu.com hardy-backports/universe Translation-fr       
Ign http://fr.archive.ubuntu.com hardy-backports/multiverse Translation-fr     
Ign http://security.ubuntu.com hardy-security/universe Translation-fr          
Ign http://security.ubuntu.com hardy-security/multiverse Translation-fr        
Atteint http://security.ubuntu.com hardy-security Release                      
Atteint http://fr.archive.ubuntu.com hardy Release                             
Ign http://archive.canonical.com hardy-backports/partner Translation-fr        
Atteint http://archive.canonical.com hardy-security Release.gpg                
Ign http://archive.canonical.com hardy-security/partner Translation-fr         
Atteint http://archive.canonical.com hardy Release                             
Atteint http://scenari-platform.org hardy Release                              
Atteint http://fr.packages.medibuntu.org hardy Release                         
Ign http://lprod.org ./ Release                                                
Ign http://ppa.launchpad.net gutsy/main Translation-fr                         
Réception de : 1 http://ppa.launchpad.net hardy Release [27,6kB]               
Réception de : 2 http://www.tvfreeplayer.com gutsy Release [10,1kB]            
Atteint http://wine.budgetdedicated.com hardy Release                          
Atteint http://fr.archive.ubuntu.com hardy-updates Release                     
Réception de : 3 http://users.teledisnet.be neodivxlazarus Release [2640B]     
Atteint http://archive.canonical.com hardy-backports Release                   
Atteint http://archive.canonical.com hardy-security Release                    
Atteint http://security.ubuntu.com hardy-security/main Packages                
Atteint http://fr.archive.ubuntu.com hardy-backports Release                   
Réception de : 4 http://ppa.launchpad.net gutsy Release [27,6kB]               
Atteint http://lprod.org ./ Packages                                           
Atteint http://www.tvfreeplayer.com gutsy/all Packages                         
Ign http://users.teledisnet.be neodivxlazarus/main Packages                    
Ign http://scenari-platform.org hardy/main Packages                            
Atteint http://archive.canonical.com hardy/partner Packages                    
Atteint http://fr.packages.medibuntu.org hardy/free Packages                   
Atteint http://security.ubuntu.com hardy-security/restricted Packages          
Atteint http://security.ubuntu.com hardy-security/universe Packages            
Atteint http://security.ubuntu.com hardy-security/multiverse Packages          
Atteint http://fr.archive.ubuntu.com hardy/main Packages                       
Atteint http://fr.archive.ubuntu.com hardy/restricted Packages                 
Ign http://ppa.launchpad.net hardy/main Packages                               
Ign http://scriptsubuntu.free.fr hardy/universe Translation-fr                 
Ign http://wine.budgetdedicated.com hardy/main Packages                        
Ign http://users.teledisnet.be neodivxlazarus/bad Packages                     
Atteint http://scenari-platform.org hardy/main Packages                        
Atteint http://fr.packages.medibuntu.org hardy/non-free Packages               
Atteint http://archive.canonical.com hardy-backports/partner Packages          
Atteint http://archive.canonical.com hardy-security/partner Packages           
Atteint http://fr.archive.ubuntu.com hardy/universe Packages                   
Atteint http://fr.archive.ubuntu.com hardy/multiverse Packages                 
Ign http://ppa.launchpad.net gutsy/main Packages                               
Atteint http://wine.budgetdedicated.com hardy/main Packages                    
Atteint http://users.teledisnet.be neodivxlazarus/main Packages                
Atteint http://fr.archive.ubuntu.com hardy-updates/main Packages               
Atteint http://fr.archive.ubuntu.com hardy-updates/restricted Packages         
Atteint http://fr.archive.ubuntu.com hardy-updates/universe Packages           
Atteint http://fr.archive.ubuntu.com hardy-updates/multiverse Packages         
Atteint http://ppa.launchpad.net hardy/main Packages                           
Ign http://www.bashterritory.com  Release.gpg                                  
Ign http://www.bashterritory.com  Translation-fr                               
Atteint http://users.teledisnet.be neodivxlazarus/bad Packages                 
Atteint http://fr.archive.ubuntu.com hardy-backports/main Packages             
Atteint http://fr.archive.ubuntu.com hardy-backports/restricted Packages       
Atteint http://fr.archive.ubuntu.com hardy-backports/universe Packages         
Atteint http://fr.archive.ubuntu.com hardy-backports/multiverse Packages       
Atteint http://ppa.launchpad.net gutsy/main Packages                           
Réception de : 5 http://scriptsubuntu.free.fr hardy Release [1492B]            
Ign http://www.bashterritory.com  Release                              
Ign http://scriptsubuntu.free.fr hardy/universe Packages
Ign http://www.bashterritory.com  Packages
Atteint http://scriptsubuntu.free.fr hardy/universe Packages
Atteint http://www.bashterritory.com  Packages          
5o réceptionnés en 1s (4o/s)         
Lecture des listes de paquets... Fait
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
w32codecs est déjà la plus récente version disponible.
gstreamer0.10-plugins-ugly est déjà la plus récente version disponible.
gstreamer0.10-ffmpeg est déjà la plus récente version disponible.
gstreamer0.10-pitfdll est déjà la plus récente version disponible.
libdvdcss2 est déjà la plus récente version disponible.
totem-gstreamer est déjà la plus récente version disponible.
gstreamer0.10-plugins-bad-multiverse est déjà la plus récente version disponible.
gstreamer0.10-plugins-bad est déjà la plus récente version disponible.
msttcorefonts est déjà la plus récente version disponible.
sun-java6-bin est déjà la plus récente version disponible.
sun-java6-plugin est déjà la plus récente version disponible.
vlc est déjà la plus récente version disponible.
thunderbird est déjà la plus récente version disponible.
thunderbird-locale-fr est déjà la plus récente version disponible.
filezilla est déjà la plus récente version disponible.
filezilla-locales est déjà la plus récente version disponible.
geany est déjà la plus récente version disponible.
d4x est déjà la plus récente version disponible.
comix est déjà la plus récente version disponible.
unrar est déjà la plus récente version disponible.
rar est déjà la plus récente version disponible.
p7zip est déjà la plus récente version disponible.
p7zip-full est déjà la plus récente version disponible.
grisbi est déjà la plus récente version disponible.
sunbird est déjà la plus récente version disponible.
sunbird-locale-fr est déjà la plus récente version disponible.
wine est déjà la plus récente version disponible.
pytube est déjà la plus récente version disponible.
ubuntu-tweak est déjà la plus récente version disponible.
xchat est déjà la plus récente version disponible.
frozen-bubble est déjà la plus récente version disponible.
compizconfig-settings-manager est déjà la plus récente version disponible.
compiz-fusion-plugins-main est déjà la plus récente version disponible.
compiz-fusion-plugins-extra est déjà la plus récente version disponible.
libglade2.0-cil est déjà la plus récente version disponible.
libmono2.0-cil est déjà la plus récente version disponible.
libgconf2.0-cil est déjà la plus récente version disponible.
gnome-sharp2 est déjà la plus récente version disponible.
gnome-subtitles est déjà la plus récente version disponible.
libmono-i18n2.0-cil est déjà la plus récente version disponible.
flashplugin-nonfree est déjà la plus récente version disponible.
Certains paquets ne peuvent être installés. Ceci peut signifier
que vous avez demandé l'impossible, ou bien, si vous utilisez
la distribution unstable, que certains paquets n'ont pas encore
été créés ou ne sont pas sortis d'Incoming.
L'information suivante devrait vous aider à résoudre la situation : 

Les paquets suivants contiennent des dépendances non satisfaites :
  mplayer: Dépend: libdirectfb-0.9-25 mais il n'est pas installable
E: Paquets défectueux
/usr/share/fonts: caching, new cache contents: 0 fonts, 3 dirs
/usr/share/fonts/X11: caching, new cache contents: 0 fonts, 6 dirs
/usr/share/fonts/X11/100dpi: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/X11/75dpi: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/X11/Type1: caching, new cache contents: 8 fonts, 0 dirs
/usr/share/fonts/X11/encodings: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/X11/encodings/large: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/X11/misc: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/X11/util: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/truetype: caching, new cache contents: 0 fonts, 13 dirs
/usr/share/fonts/truetype/arphic: caching, new cache contents: 4 fonts, 0 dirs
/usr/share/fonts/truetype/freefont: caching, new cache contents: 12 fonts, 0 dirs
/usr/share/fonts/truetype/kochi: caching, new cache contents: 4 fonts, 0 dirs
/usr/share/fonts/truetype/msttcorefonts: caching, new cache contents: 60 fonts, 0 dirs
/usr/share/fonts/truetype/openoffice: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/thai: caching, new cache contents: 35 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-arabeyes: caching, new cache contents: 39 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-bitstream-vera: caching, new cache contents: 10 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-dejavu: caching, new cache contents: 21 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-indic-fonts-core: caching, new cache contents: 11 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-lao: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-malayalam-fonts: caching, new cache contents: 2 fonts, 0 dirs
/usr/share/fonts/truetype/unfonts: caching, new cache contents: 4 fonts, 0 dirs
/usr/share/fonts/type1: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/type1/gsfonts: caching, new cache contents: 35 fonts, 0 dirs
/usr/share/X11/fonts: skipping, no such directory
/usr/local/share/fonts: caching, new cache contents: 0 fonts, 0 dirs
/home/.../.fonts: skipping, no such directory
/var/cache/fontconfig: not cleaning unwritable cache directory
/home/.../.fontconfig: cleaning cache directory
fc-cache: succeeded
 ça y est, c'est fini !!!
 Appuyez sur la touche Entrée pour quitter

voila se que sa donne en suppriment les paquets qui pose problème dommage que leurs suppressions sois obligatoire...
il serait préférable que l'installation des autres paquets continue malgré les erreurs...:rolleyes:

Edit: mon fichier Sources.list est remplie de doublon... il ne doit pas se vidée avant de se re-remplir ?!

Dernière modification par loke (Le 30/08/2008, à 16:52)

Hors ligne

#13 Le 30/08/2008, à 18:41

Totor

Re : [Résolu] Erreur script d'installation automatisé

soupaloignon a écrit :

Genre une commande en début de script qui lancerait la suite avec les droit admin ? Ca serait quoi comme commande ?

nop !
Admettons que le script d'installation s'appelle install.sh, alors, en ligne de commande faire :

sudo install.sh


-- Lucid Lynx --

Hors ligne

#14 Le 01/09/2008, à 10:43

loke

Re : [Résolu] Erreur script d'installation automatisé

il faut effectivement mieux l'exécuté directement en super utilisateur sudo Ubuntu_Hardy_8_04_Instalv2.sh wink

Pour se qui de mon problème actuelle se n'est pas dans l'exécution du script s'est la suppression du contenu sources.list pour le remplir par mon echo "" et accessoirement permettre l'installation de mes programmes même si l'un de ses programme n'est plus accessible. roll

Hors ligne

#15 Le 07/09/2008, à 20:02

loke

Re : [Résolu] Erreur script d'installation automatisé

Désolé pour le retard de réaction sur se sujet...

donc voici la dernière version de se script fini le problème de doublon sur mon sources.list seul problème existant encore, s'est l'arrêt du script si un des programmes et indisponible...  hmm

sudo Ubuntu_Hardy_8_04_Instalv2.sh

#!/bin/bash
#
#######
#Script pour compléter l'installation d'Ubuntu Hardy 8.04
#######
#chmod +x Ubuntu_Hardy_8_04_Instalv2.sh
#######
#
###Ajout des dépôts

echo "Script pour compléter l'installation d'Ubuntu Hardy 8.04"

#crée une sauvegarde
cp /etc/apt/sources.list /etc/apt/sources_save.list

echo "# Le 19/07/2008 (Europe/Paris) via le site http://doc.ubuntu-fr.org/depots_hardy
#
# Pays : France
# Release : Hardy Heron Ubuntu 8.04
# Architecture : i386 (Processeurs 32-bits)
#

#########################################
###
# Mise à jour de sources.list
# sudo gedit /etc/apt/sources.list
#
# Mise à jour des depot après authentification des 'KEY GPG:'
# sudo apt-get update
###
#########################################

#########################################
### Depot Ubuntu

#section: Hardy 8.04
deb http://fr.archive.ubuntu.com/ubuntu/ hardy main restricted
deb http://fr.archive.ubuntu.com/ubuntu/ hardy universe multiverse

#section: Ubuntu Hardy Updates
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-updates universe multiverse

#section: Ubuntu Hardy Security
deb http://security.ubuntu.com/ubuntu hardy-security main restricted
deb http://security.ubuntu.com/ubuntu hardy-security universe multiverse

#section: Ubuntu Hardy Backports
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse


#########################################
### Depot Ubuntu Commercial

#section: Ubuntu Hardy 8.04
deb http://archive.canonical.com/ubuntu hardy partner

#section: Ubuntu Hardy Backports
deb http://archive.canonical.com/ubuntu hardy-backports partner

#section: Ubuntu Hardy Security
deb http://archive.canonical.com/ubuntu hardy-security partner

#section: Ubuntu Hardy Updates
#deb http://archive.canonical.com/ubuntu hardy-update partner


#########################################
### Depot Medibuntu
## KEY GPG: wget -q http://fr.packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add -

#section: Medibuntu packages for Ubuntu Hardy 8.04
deb http://fr.packages.medibuntu.org/ hardy free non-free

#section: Medibuntu testing packages for Ubuntu Hardy 8.04
# deb http://fr.packages.medibuntu.org/ hardy-staging free non-free


#########################################
### Depot Innotek Virtual Box
## KEY GPG: wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | sudo apt-key add -

#section: Ubuntu Hardy 8.04
# voir http://www.virtualbox.org/wiki/Downloads
deb http://download.virtualbox.org/virtualbox/debian hardy non-free


#########################################
### Depot winehq
## KEY GPG: wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -

#section: Ubuntu Hardy 8.04
# voir http://www.winehq.org/site/download-deb
deb http://wine.budgetdedicated.com/apt hardy main


#########################################
### Depot NeoDivX

deb http://users.teledisnet.be/web/bco02209/ubuntu/ neodivxlazarus main bad


#########################################
### Ubuntu Tweak

#section: Ubuntu Hardy 8.04
deb http://ppa.launchpad.net/tualatrix/ubuntu hardy main


#########################################
### Depot MyFreeTV

#section: Ubuntu Gutsy 7.10 fonction sous Hardy 8.04
deb http://www.tvfreeplayer.com/linux/falcon gutsy all


#########################################
### Depot SCENARI (http://scenari-platform.org)
## KEY GPG: gpg --keyserver subkeys.pgp.net --recv 57137EFADFD726C0
## KEY GPG: gpg --export --armor 57137EFADFD726C0 | sudo apt-key add -

#section: Ubuntu Hardy 8.04
# voir http://scenari-platform.org/projects/scenari/fr/download/co/
deb http://scenari-platform.org/deb hardy main


#########################################
### Depot lprod (depot pour la video)

#section: Ubuntu Hardy 8.04
# voir http://fr.lprod.org/
deb http://lprod.org/deb/hardy/ ./


#########################################
### Depot Pytube

# voir http://www.bashterritory.com/pytube/
# deb http://www.bashterritory.com/pytube/releases/ /


#########################################
### Depot Extreme Tux Racer

#section: Ubuntu Gutsy 7.10 fonction sous Hardy 8.04
# voir http://www.extremetuxracer.com/
deb http://ppa.launchpad.net/woodypl/ubuntu gutsy main


#########################################
### Depot Arte+7recorder

#section: Ubuntu Gutsy 7.10 fonction sous Hardy 8.04
# voir http://forum.ubuntu-fr.org/viewtopic.php?id=229961
deb http://scriptsubuntu.free.fr/apt hardy universe" | sudo tee /etc/apt/sources.list

wget -q http://fr.packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add -
wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | sudo apt-key add -
wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -
gpg --keyserver subkeys.pgp.net --recv 57137EFADFD726C0
gpg --export --armor 57137EFADFD726C0 | sudo apt-key add -

## Recharger paquets après changement des dépôts
apt-get update

## Ajouter paquets nécessaires
apt-get install w32codecs gstreamer0.10-plugins-ugly gstreamer0.10-ffmpeg gstreamer0.10-pitfdll libdvdcss2 totem-gstreamer  gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-bad msttcorefonts sun-java6-bin sun-java6-plugin vlc thunderbird thunderbird-locale-fr filezilla filezilla-locales geany d4x comix unrar rar p7zip p7zip-full grisbi sunbird sunbird-locale-fr wine pytube ubuntu-tweak xchat frozen-bubble compizconfig-settings-manager compiz-fusion-plugins-main compiz-fusion-plugins-extra  libglade2.0-cil libmono2.0-cil libgconf2.0-cil gnome-sharp2 mplayer gnome-subtitles libmono-i18n2.0-cil libgtk2-perl gettext gprename flashplugin-nonfree -y --force-yes

## suppresion paquets
apt-get remove evolution -y --force-yes

## Reconstruire les fichiers de cache d’information de polices
fc-cache -f -v

echo " ça y est, c'est fini !!!"
echo " Appuyez sur la touche Entrée pour quitter"
read a

exit

Hors ligne