Fopen sur apt-get install

Bonsoir tout le monde,

J’ai une cubian compilé et installé sur un cubieboard2. Ca fonctionne bien, sauf un ou deux truc à la marge, mais surtout quand je fait une installation de paquet, j’ai ceci:

root@master:/home/cubie#  apt-get install python-dev mercurial sqlite3 python-virtualenv
Reading package lists... Done
Building dependency tree       
Reading state information... Done
mercurial is already the newest version.
python-dev is already the newest version.
python-virtualenv is already the newest version.
Suggested packages:
  sqlite3-doc
The following NEW packages will be installed:
  sqlite3
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 116 kB of archives.
After this operation, 171 kB of additional disk space will be used.
Do you want to continue [Y/n]? 
Get:1 http://ftp.debian.org/debian/ wheezy/main sqlite3 armhf 3.7.13-1+deb7u1 [116 kB]
Fetched 116 kB in 4s (28.3 kB/s)  
Selecting previously unselected package sqlite3.
(Reading database ... 59353 files and directories currently installed.)
Unpacking sqlite3 (from .../sqlite3_3.7.13-1+deb7u1_armhf.deb) ...
Processing triggers for man-db ...
fopen: Permission denied                                                <------------------ cette erreur là!
Setting up sqlite3 (3.7.13-1+deb7u1) ...
root@master:/home/cubie# apt-get install manpages-fr

comme montré ci dessus, à chaque installation ou mise à jour, j’ai ce “fopen…” à chaque fois après man-db, mais je n’ai aucun soucis avec les man!
Est-ce que je peux corriger cela facilement, ou est-ce un problème de carte mémoire verrouillée?

root@master:/home/cubie# mount
/dev/root on / type ext4 (rw,relatime,data=ordered)
devtmpfs on /dev type devtmpfs (rw,relatime,size=388892k,nr_inodes=97223,mode=755)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=97464k,mode=755)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=3570640k)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /tmp type tmpfs (rw,relatime)
/dev/sda2 on /home type ext4 (rw,relatime,data=ordered)
/dev/sda3 on /var type ext4 (rw,relatime,data=ordered)

mon répertoire racine n’est pourtant pas en “ro” , mais il est sur la microsd quand même.

J’avoue être perdu, la.

Une âme charitable pour m’aider, s’il vous plaît?

Salut,

Quels sont les droits unix sur le répertoire [mono]/var/cache/man[/mono] ?

[quote=“BelZéButh”]Salut,

Quels sont les droits unix sur le répertoire [mono]/var/cache/man[/mono] ?

Voila:

root@master:/home/cubie# ls -la /var/cache/man
total 716
drwxr-sr-x 36 root root   4096 Aug  3 17:14 .
drwxr-xr-x 16 root root   4096 Dec  2 09:47 ..
-rw-r--r--  1 root root    190 Oct  8  2013 CACHEDIR.TAG
drwxr-sr-x  2 root root   4096 Oct  8  2013 cat1
drwxr-sr-x  2 root root   4096 Oct  8  2013 cat2
drwxr-sr-x  2 root root   4096 Oct  8  2013 cat3
drwxr-sr-x  2 root root   4096 Oct  8  2013 cat4
drwxr-sr-x  2 root root   4096 Oct  8  2013 cat5
drwxr-sr-x  2 root root   4096 Oct  8  2013 cat6
drwxr-sr-x  2 root root   4096 Oct  8  2013 cat7
drwxr-sr-x  2 root root   4096 Oct  8  2013 cat8
drwxr-sr-x  5 root root   4096 Aug  3 17:14 cs
drwxr-sr-x  5 root root   4096 Aug  3 17:14 da
drwxr-sr-x  5 root root   4096 Aug  3 17:14 de
drwxr-sr-x  5 root root   4096 Aug  3 17:14 es
drwxr-sr-x  4 root root   4096 Aug  3 17:14 fi
drwxr-sr-x  5 root root   4096 Aug  3 17:14 fr
drwxr-sr-x  4 root root   4096 Aug  3 17:14 fr.ISO8859-1
drwxr-sr-x  4 root root   4096 Aug  3 17:14 fr.UTF-8
drwxr-sr-x  3 root root   4096 Aug  3 17:14 gl
drwxr-sr-x  5 root root   4096 Aug  3 17:14 hu
drwxr-sr-x  5 root root   4096 Aug  3 17:14 id
-rw-r--r--  1 root root 577998 Aug  3 17:14 index.db
drwxr-sr-x  5 root root   4096 Aug  3 17:14 it
drwxr-sr-x  5 root root   4096 Aug  3 17:14 ja
drwxr-sr-x  5 root root   4096 Aug  3 17:14 ko
drwxr-sr-x  5 root root   4096 Aug  3 17:14 nl
drwxr-sr-x  5 root root   4096 Aug  3 17:14 pl
drwxr-sr-x  5 root root   4096 Aug  3 17:14 pt
drwxr-sr-x  5 root root   4096 Aug  3 17:14 pt_BR
drwxr-sr-x  5 root root   4096 Aug  3 17:14 ru
drwxr-sr-x  4 root root   4096 Aug  3 17:14 sl
drwxr-sr-x  3 root root   4096 Aug  3 17:14 sr
drwxr-sr-x  5 root root   4096 Aug  3 17:14 sv
drwxr-sr-x  5 root root   4096 Aug  3 17:14 tr
drwxr-sr-x  3 root root   4096 Aug  3 17:14 vi
drwxr-sr-x  5 root root   4096 Aug  3 17:14 zh_CN
drwxr-sr-x  5 root root   4096 Aug  3 17:14 zh_TW

C’est bien ce que je pensais.
As-tu eu recours à une restauration, via [mono]rsync[/mono] dernièrement ?

Corriges le tires.

[quote=“BelZéButh”]C’est bien ce que je pensais.
As-tu eu recours à une restauration, via [mono]rsync[/mono] dernièrement ?

Corriges le tires.

Merci pour la solution, effectivement, avec man et root comme user et groupe, ça marche tout de suite mieux!
Je n’ai pas eu recours à un rsync, non, j’ai créé l’image du systeme avec
https://github.com/igorpecovnik/Cubietruck-Debian
Le script fait un chroot avec qemu-arm-static dans /usr/bin/
Je ne connaissais pas, mais c’est efficace!
Par contre je pense qu’il y a quelques problèmes dans l’installation, car par exemple, il installe vim, mais ne fait pas le lien dans /etc/alternatives, j’ai été obligé de faire un “apt-get install --reinstall vim vim-common”. Ceci explique peut être certains droits non positionnés comme il faut à droite ou à gauche?

En tout cas, merci de l’aide.