Bonjour,
J'ai modifié une iso avec CUBIC en installant un paquet d'applications:
root@cubic:~# cat /var/log/apt/history.log | grep " install "
Commandline: apt-get install -y --no-install-recommends gnupg software-properties-common
Commandline: apt-get install -y linux-system76 ubuntu-minimal ubuntu-standard pop-desktop
Commandline: apt-get install -y --no-install-recommends firefox-locale-ar fonts-noto-core fonts-noto-ui-core hunspell-ar language-pack-ar language-pack-gnome-ar libreoffice-l10n-ar mythes-ar poppler-data firefox-locale-de gnome-getting-started-docs-de gnome-user-docs-de hunspell-de-at-frami hunspell-de-ch-frami hunspell-de-de-frami hyphen-de language-pack-de language-pack-gnome-de libreoffice-help-de libreoffice-l10n-de mythes-de mythes-de-ch poppler-data wngerman wogerman wswiss firefox-locale-en hunspell-en-au hunspell-en-ca hunspell-en-gb hunspell-en-us hunspell-en-za hyphen-en-ca hyphen-en-gb hyphen-en-us language-pack-en language-pack-gnome-en libreoffice-help-en-gb libreoffice-help-en-us libreoffice-l10n-en-gb libreoffice-l10n-en-za mythes-en-au mythes-en-us poppler-data wamerican wbritish firefox-locale-es gnome-getting-started-docs-es gnome-user-docs-es hunspell-es hyphen-es language-pack-es language-pack-gnome-es libreoffice-help-es libreoffice-l10n-es mythes-es poppler-data wspanish firefox-locale-fr gnome-getting-started-docs-fr gnome-user-docs-fr hunspell-fr hyphen-fr language-pack-fr language-pack-gnome-fr libreoffice-help-fr libreoffice-l10n-fr mythes-fr poppler-data wfrench firefox-locale-it gnome-getting-started-docs-it gnome-user-docs-it hunspell-it hyphen-it language-pack-gnome-it language-pack-it libreoffice-help-it libreoffice-l10n-it mythes-it poppler-data witalian firefox-locale-ja fonts-noto-cjk fonts-noto-cjk-extra gnome-getting-started-docs-ja gnome-user-docs-ja ibus-mozc language-pack-gnome-ja language-pack-ja libreoffice-help-ja libreoffice-l10n-ja mozc-utils-gui poppler-data firefox-locale-pt gnome-getting-started-docs-pt gnome-user-docs-pt hunspell-pt-br hunspell-pt-pt hyphen-pt-br hyphen-pt-pt language-pack-gnome-pt language-pack-pt libreoffice-help-pt libreoffice-help-pt-br libreoffice-l10n-pt libreoffice-l10n-pt-br mythes-pt-pt poppler-data wbrazilian wportuguese firefox-locale-ru gnome-getting-started-docs-ru gnome-user-docs-ru hunspell-ru hyphen-ru language-pack-gnome-ru language-pack-ru libreoffice-help-ru libreoffice-l10n-ru mythes-ru poppler-data firefox-locale-zh-hans gnome-getting-started-docs-zh-hk gnome-getting-started-docs-zh-tw gnome-user-docs-zh-hans language-pack-gnome-zh-hans language-pack-zh-hans libreoffice-help-zh-cn libreoffice-help-zh-tw libreoffice-l10n-zh-cn libreoffice-l10n-zh-tw poppler-data firefox-locale-zh-hans fonts-arphic-ukai fonts-arphic-uming fonts-noto-cjk fonts-noto-cjk-extra gnome-user-docs-zh-hans ibus-libpinyin ibus-table-wubi language-pack-gnome-zh-hans language-pack-zh-hans libreoffice-help-zh-cn libreoffice-l10n-zh-cn poppler-data firefox-locale-zh-hant fonts-arphic-ukai fonts-arphic-uming fonts-noto-cjk fonts-noto-cjk-extra gnome-getting-started-docs-zh-tw ibus-chewing ibus-table-cangjie3 ibus-table-cangjie5 ibus-table-quick-classic language-pack-gnome-zh-hant language-pack-zh-hant libreoffice-help-zh-tw libreoffice-l10n-zh-tw poppler-data
Commandline: apt-get install -y system76-acpi-dkms system76-dkms system76-io-dkms amd-ppt-bin nvidia-driver-460
Commandline: apt-get install -y casper distinst expect gparted pop-installer pop-installer-casper pop-shop-casper
Commandline: apt install neofetch
Commandline: apt install libreoffice-texmaths
Commandline: apt install -y texlive texlive-font-utils texlive-pstricks-doc texlive-base texlive-formats-extra texlive-lang-german texlive-metapost texlive-publishers texlive-bibtex-extra texlive-latex-base texlive-metapost-doc texlive-publishers-doc texlive-binaries texlive-latex-base-doc texlive-science texlive-extra-utils texlive-latex-extra texlive-science-doc texlive-fonts-extra texlive-latex-extra-doc texlive-pictures texlive-xetex texlive-fonts-extra-doc texlive-latex-recommended texlive-pictures-doc texlive-fonts-recommended texlive-humanities texlive-lang-english texlive-latex-recommended-doc texlive-fonts-recommended-doc texlive-humanities-doc texlive-luatex texlive-pstricks perl-tk
Commandline: apt install auto-multiple-choice
Commandline: apt install gimagereader
Commandline: apt install gdebi
Commandline: apt install wine
Commandline: apt install --install-recommends winehq-devel cabextract
Commandline: apt install snapd
Commandline: apt install ./discord-0.0.12.deb
Commandline: apt install -y ttf-mscorefonts-installer
Commandline: apt install -y obs-studio
Commandline: apt install gimp
Commandline: apt install gimp-help-fr
Commandline: apt install -y gimp-plugin-registry
Commandline: apt install -y texlive-lang-french
Commandline: apt install -y cuneiform
Commandline: apt install -y tesseract-ocr
Commandline: apt install -y tesseract-ocr-fra
Commandline: apt install -y ./google-chrome-stable_current_amd64.deb ./pdfsam_4.2.2-1_amd64.deb ./pyromaths-qt_18.9.3-1_all.deb ./pyromaths_18.9.2-1_all.deb ./scratux_1.4.1_amd64.deb
Commandline: apt install -y python3-scipy
Commandline: apt install -y python3-jupyter*
Commandline: apt install -y qelectrotech
Commandline: apt install -y python3-spyder
Commandline: apt install audacity
Commandline: apt install inkscape
Commandline: apt install stellarium
Commandline: apt install screenkey
Commandline: apt install algobox
Commandline: apt install latexdraw
Commandline: apt install qtikz
Commandline: apt install avogadro
Commandline: apt install guvcview
Commandline: apt install pyacidobasic
Commandline: apt install guake
Commandline: apt install python3-sympy
Commandline: apt install vim
Commandline: apt install vim-autopep8
Commandline: apt install vim-youcompleteme
Commandline: apt install gnome-2048
Commandline: apt install gnome-mahjongg
Commandline: apt install gnome-chess
Commandline: apt install gnugo
Commandline: apt install qgo
Commandline: apt install gnuchess
Commandline: apt install lincity-ng
Commandline: apt install wesnoth
Commandline: apt install hedgewars
Commandline: apt install openproject
Commandline: apt install minetest
Commandline: apt install teeworlds
Commandline: apt install python3-networkx
Commandline: apt install lmms
Commandline: apt install sweethome3d
Commandline: apt install dia
Commandline: apt install scribus
Commandline: apt install vokoscreen-ng
Commandline: apt install r-recommended
Commandline: apt install openscad
Commandline: apt install gelemental
Commandline: apt install gnome-tweak-tool
Malheureusement, pour le moment le système modifié avec cette iso ne veut pas booter.
Est-il possible de créer facilement un script d'install à partir de l'historique de apt?
En gros peut-on faire un:
apt -y install maliste_applications.txt
On trouve
presque la même question à partir d'une liste "propre", le problème étant alors de nettoyer le fichier /var/log/apt/history.log
merci