Created
May 17, 2016 18:31
-
-
Save martinkirch/6dcb45cb5e6eccab9a0d4b7ae5aa553b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############### Presentations first: | |
# uname -r | |
4.4.0-1-armmp | |
# ll /etc/crypttab | |
ls: impossible d'accéder à /etc/crypttab: Aucun fichier ou dossier de ce type | |
# yunohost -v | |
moulinette: 2.2.1.1 | |
moulinette-yunohost: 2.2.3 | |
yunohost-admin: 2.2.1 | |
# for i in "linux-image-4*" flash-kernel u-boot-tools u-boot-sunxi; do dpkg -l | grep $i; done | |
ii linux-image-4.1.0-2-armmp 4.1.6-1 armhf Linux 4.1 for ARMv7 multiplatform compatible SoCs | |
ii linux-image-4.2.0-1-armmp 4.2.3-2 armhf Linux 4.2 for ARMv7 multiplatform compatible SoCs | |
ii linux-image-4.3.0-1-armmp 4.3.5-1 armhf Linux 4.3 for ARMv7 multiplatform compatible SoCs | |
ii linux-image-4.4.0-1-armmp 4.4.6-1 armhf Linux 4.4 for ARMv7 multiplatform compatible SoCs | |
ii linux-image-armmp 4.4+71 armhf Linux for ARMv7 multiplatform compatible SoCs (meta-package) | |
ii flash-kernel 3.60 armhf utility to make certain embedded devices bootable | |
ii u-boot-tools 2016.03+dfsg1-1 armhf companion tools for Das U-Boot bootloader | |
ii u-boot-sunxi:armhf 2016.03+dfsg1-1 armhf A boot loader for sunxi systems | |
# yunohost app install https://github.com/labriqueinternet/doctorcube_ynh --verbose | |
20:02:59 root@olinux:~ # yunohost app install https://github.com/labriqueinternet/doctorcube_ynh --verbose | |
801 INFO moulinette.actionsmap - processing action [15952.1]: yunohost.app.install | |
Téléchargement... | |
Extraction... | |
Terminé. | |
Exécution du script... | |
+ set -xe | |
+ sudo yunohost app setting doctorcube version -v 0.1 | |
+ sudo yunohost app fetchlist -n labriqueinternet -u https://labriqueinter.net/apps/labriqueinternet.json | |
converted 'https://labriqueinter.net/apps/labriqueinternet.json' (ANSI_X3.4-1968) -> 'https://labriqueinter.net/apps/labriqueinternet.json' (UTF-8) | |
--2016-05-17 20:04:05-- https://labriqueinter.net/apps/labriqueinternet.json | |
Resolving labriqueinter.net (labriqueinter.net)... 212.129.0.109 | |
Connecting to labriqueinter.net (labriqueinter.net)|212.129.0.109|:443... connected. | |
HTTP request sent, awaiting response... 200 OK | |
Length: 4073 (4.0K) [application/json] | |
Saving to: '/var/cache/yunohost/repo/labriqueinternet.json.tmp' | |
0K ... 100% 12.0M=0s | |
2016-05-17 20:04:06 (12.0 MB/s) - '/var/cache/yunohost/repo/labriqueinternet.json.tmp' saved [4073/4073] | |
Success! Apps list successfully fetched | |
++ uname -r | |
+ KERNEL_VERSION=4.4.0-1-armmp | |
+ for i in /etc/apt/sources.list.d/testing.list /etc/apt/sources.list.d/backport.list /etc/apt/preferences.d/kernel-testing /etc/apt/preferences.d/kernel-testing | |
+ '[' -e /etc/apt/sources.list.d/testing.list ']' | |
+ for i in /etc/apt/sources.list.d/testing.list /etc/apt/sources.list.d/backport.list /etc/apt/preferences.d/kernel-testing /etc/apt/preferences.d/kernel-testing | |
+ '[' -e /etc/apt/sources.list.d/backport.list ']' | |
+ for i in /etc/apt/sources.list.d/testing.list /etc/apt/sources.list.d/backport.list /etc/apt/preferences.d/kernel-testing /etc/apt/preferences.d/kernel-testing | |
+ '[' -e /etc/apt/preferences.d/kernel-testing ']' | |
+ for i in /etc/apt/sources.list.d/testing.list /etc/apt/sources.list.d/backport.list /etc/apt/preferences.d/kernel-testing /etc/apt/preferences.d/kernel-testing | |
+ '[' -e /etc/apt/preferences.d/kernel-testing ']' | |
+ echo 'linux-image-4.4.0-1-armmp linux-image-4.4.0-1-armmp/prerm/removing-running-kernel-4.4.0-1-armmp boolean false' | |
+ sudo debconf-set-selections | |
+ DEBIAN_FRONTEND=noninteractive | |
+ sudo apt-get remove -y --force-yes --purge 'linux-image-4*' flash-kernel u-boot-tools u-boot-sunxi | |
Reading package lists... | |
Building dependency tree... | |
Reading state information... | |
Package 'linux-image-2.6-rt' is not installed, so not removed | |
Package 'linux-image-2.6' is not installed, so not removed | |
Package 'linux-image-3.16.0-4-armmp' is not installed, so not removed | |
Package 'linux-image-3.16.0-4-armmp-lpae' is not installed, so not removed | |
Package 'linux-image-armmp' is not installed, so not removed | |
Package 'linux-image-armmp-lpae' is not installed, so not removed | |
The following packages were automatically installed and are no longer required: | |
devio irqbalance libuuid-perl linux-base | |
Use 'apt-get autoremove' to remove them. | |
The following packages will be REMOVED: | |
flash-kernel* linux-image-4.4.0-1-armmp* u-boot-sunxi* u-boot-tools* | |
0 upgraded, 0 newly installed, 4 to remove and 63 not upgraded. | |
After this operation, 140 MB disk space will be freed. | |
(Reading database ... 44690 files and directories currently installed.) (Reading database ... | |
Removing flash-kernel (3.60) ... | |
Purging configuration files for flash-kernel (3.60) ... | |
dpkg: warning: while removing flash-kernel, directory '/etc/flash-kernel/dtbs' not empty so not removed | |
Removing linux-image-4.4.0-1-armmp (4.4.6-1) ... | |
################################" The process was apparently hanging here, so I pressend Enter and indeed it started again | |
Ok, proceeding with removing running kernel image. | |
/etc/kernel/postrm.d/initramfs-tools: | |
update-initramfs: Deleting /boot/initrd.img-4.4.0-1-armmp | |
The link /vmlinuz is a damaged link | |
Removing symbolic link vmlinuz | |
You may need to re-run your boot loader | |
The link /initrd.img is a damaged link | |
Removing symbolic link initrd.img | |
You may need to re-run your boot loader | |
Purging configuration files for linux-image-4.4.0-1-armmp (4.4.6-1) ... | |
Removing u-boot-sunxi:armhf (2016.03+dfsg1-1) ... | |
Removing u-boot-tools (2016.03+dfsg1-1) ... | |
Processing triggers for man-db (2.7.0.2-5) ... | |
+ '[' -f /etc/crypttab ']' | |
+ sudo su root -c 'echo '\''LINUX_KERNEL_CMDLINE="console=ttyS1 hdmi.audio=EDID:0 disp.screen0_output_mode=EDID:1280x720p60 root=/dev/mmcblk0p1 rootwait sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_no_mali_mem_reserve sunxi_fb_mem_reserve=0 panic=10 loglevel=6 consoleblank=0"'\'' > /etc/default/flash-kernel' | |
+ sudo apt-get clean | |
+ sudo apt-get update | |
Ign http://ftp.fr.debian.org jessie InRelease | |
Hit http://ftp.fr.debian.org jessie Release.gpg | |
Get:1 http://security.debian.org jessie/updates InRelease [63.1 kB] | |
Hit http://ftp.fr.debian.org jessie Release | |
Get:2 http://repo.yunohost.org megusta InRelease [4314 B] | |
Hit http://ftp.fr.debian.org jessie/main armhf Packages | |
Get:3 http://security.debian.org jessie/updates/main armhf Packages [235 kB] | |
Hit http://ftp.fr.debian.org jessie/contrib armhf Packages | |
Hit http://ftp.fr.debian.org jessie/non-free armhf Packages | |
Hit http://ftp.fr.debian.org jessie/contrib Translation-en | |
Get:4 http://repo.yunohost.org megusta/main armhf Packages [7642 B] | |
Hit http://ftp.fr.debian.org jessie/main Translation-en | |
Hit http://ftp.fr.debian.org jessie/main Translation-fr | |
Hit http://ftp.fr.debian.org jessie/non-free Translation-en | |
Get:5 http://security.debian.org jessie/updates/contrib armhf Packages [1138 B] | |
Get:6 http://security.debian.org jessie/updates/non-free armhf Packages [14 B] | |
Get:7 http://security.debian.org jessie/updates/contrib Translation-en [1211 B] | |
Get:8 http://security.debian.org jessie/updates/main Translation-en [134 kB] | |
Ign http://repo.yunohost.org megusta/main Translation-en | |
Ign http://repo.yunohost.org megusta/main Translation-fr | |
Get:9 http://security.debian.org jessie/updates/non-free Translation-en [14 B] | |
Fetched 447 kB in 15s (29.0 kB/s) | |
Reading package lists... | |
+ DEBIAN_FRONTEND=noninteractive | |
+ sudo apt-get install -y --force-yes linux-image-armmp flash-kernel u-boot-sunxi u-boot-tools | |
Reading package lists... | |
Building dependency tree... | |
Reading state information... | |
The following extra packages will be installed: | |
linux-image-3.16.0-4-armmp | |
Suggested packages: | |
linux-doc-3.16 debian-kernel-handbook fdutils | |
The following NEW packages will be installed: | |
flash-kernel linux-image-3.16.0-4-armmp linux-image-armmp u-boot-sunxi | |
u-boot-tools | |
0 upgraded, 5 newly installed, 0 to remove and 64 not upgraded. | |
Need to get 25.0 MB of archives. | |
After this operation, 113 MB of additional disk space will be used. | |
Get:1 http://ftp.fr.debian.org/debian/ jessie/main linux-image-3.16.0-4-armmp armhf 3.16.7-ckt25-1 [24.7 MB] | |
Get:2 http://ftp.fr.debian.org/debian/ jessie/main flash-kernel armhf 3.35+deb8u3 [34.8 kB] | |
Get:3 http://ftp.fr.debian.org/debian/ jessie/main u-boot-sunxi armhf 2014.10+dfsg1-5 [194 kB] | |
Get:4 http://ftp.fr.debian.org/debian/ jessie/main u-boot-tools armhf 2014.10+dfsg1-5 [70.3 kB] | |
Get:5 http://ftp.fr.debian.org/debian/ jessie/main linux-image-armmp armhf 3.16+63 [5368 B] | |
dpkg-preconfigure: unable to re-open stdin: No such file or directory | |
Fetched 25.0 MB in 40s (626 kB/s) | |
Selecting previously unselected package linux-image-3.16.0-4-armmp. | |
(Reading database ... 41068 files and directories currently installed.) (Reading database ... | |
Preparing to unpack .../linux-image-3.16.0-4-armmp_3.16.7-ckt25-1_armhf.deb ... | |
Unpacking linux-image-3.16.0-4-armmp (3.16.7-ckt25-1) ... | |
Selecting previously unselected package flash-kernel. | |
Preparing to unpack .../flash-kernel_3.35+deb8u3_armhf.deb ... | |
Unpacking flash-kernel (3.35+deb8u3) ... | |
Selecting previously unselected package u-boot-sunxi:armhf. | |
Preparing to unpack .../u-boot-sunxi_2014.10+dfsg1-5_armhf.deb ... | |
Unpacking u-boot-sunxi:armhf (2014.10+dfsg1-5) ... | |
Selecting previously unselected package u-boot-tools. | |
Preparing to unpack .../u-boot-tools_2014.10+dfsg1-5_armhf.deb ... | |
Unpacking u-boot-tools (2014.10+dfsg1-5) ... | |
Selecting previously unselected package linux-image-armmp. | |
Preparing to unpack .../linux-image-armmp_3.16+63_armhf.deb ... | |
Unpacking linux-image-armmp (3.16+63) ... | |
Processing triggers for man-db (2.7.0.2-5) ... | |
Setting up linux-image-3.16.0-4-armmp (3.16.7-ckt25-1) ... | |
/etc/kernel/postinst.d/initramfs-tools: | |
update-initramfs: Generating /boot/initrd.img-3.16.0-4-armmp | |
Setting up flash-kernel (3.35+deb8u3) ... | |
################################ The process was apparently hanging here, so I pressend Enter and indeed it started again | |
Setting up u-boot-sunxi:armhf (2014.10+dfsg1-5) ... | |
Setting up u-boot-tools (2014.10+dfsg1-5) ... | |
Setting up linux-image-armmp (3.16+63) ... | |
+ update-initramfs -k all -u | |
install: line 31: update-initramfs: command not found | |
Erreur : Échec de l'installation | |
# yunohost app install https://github.com/labriqueinternet/doctorcube_ynh --verbose | |
## same thing :( | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment