Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[portage] Emerge tout cassé!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
manouche
n00b
n00b


Joined: 31 Aug 2003
Posts: 51

PostPosted: Sun Jan 23, 2005 3:56 pm    Post subject: [portage] Emerge tout cassé! Reply with quote

Bonjour,

Emerge s'arrête au moment de faire le "Global Update" pour des questions de droits apparemment:




Quote:

Performing Global Updates: /usr/portage/profiles/updates/4Q-2004
(Could take a couple minutes if you have a lot of binary packages.)
.='update pass' *='binary update' @='/var/db move'
s='/var/db SLOT move' S='binary SLOT move'
........................................................................................................................................................................................................................................................%Traceback (most recent call last):
File "/usr/bin/emerge", line 14, in ?
import portage
File "/usr/lib/portage/pym/portage.py", line 6343, in ?
do_upgrade(mykey)
File "/usr/lib/portage/pym/portage.py", line 6264, in do_upgrade
db["/"]["bintree"].move_ent(mysplit)

File "/usr/lib/portage/pym/portage.py", line 4879, in move_ent
mytbz2.recompose(mytmpdir, cleanup=1)
File "/usr/lib/portage/pym/xpak.py", line 255, in recompose
myfile.truncate()
IOError: [Errno 13] Permission denied


Je suis bien sûr sous root quand je lance la commande.

une idée?

merci d'avance.
Back to top
View user's profile Send private message
zdra
Veteran
Veteran


Joined: 30 Nov 2003
Posts: 1693
Location: Bruxelles, Belgique

PostPosted: Sun Jan 23, 2005 4:05 pm    Post subject: Reply with quote

ta (tes) partitions sont bien monté en read/write ? (pas en readonly). Fais un "mount" pour voire tt tes montages ;)
Back to top
View user's profile Send private message
manouche
n00b
n00b


Joined: 31 Aug 2003
Posts: 51

PostPosted: Sun Jan 23, 2005 4:09 pm    Post subject: Reply with quote

je pense que c'est bon:

Quote:

bash-2.05b# mount
/dev/hda4 on / type ext3 (rw,noatime)
none on /dev type devfs (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw)
/dev/hda5 on /home type ext3 (rw,noatime)
none on /proc/bus/usb type usbdevfs (rw,0)
//192.168.0.1/portage on /mnt/distportage type smbfs (0)
//192.168.0.1/home on /mnt/homedistant type smbfs (0)
Back to top
View user's profile Send private message
kernelsensei
Bodhisattva
Bodhisattva


Joined: 22 Feb 2004
Posts: 5619
Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)

PostPosted: Sun Jan 23, 2005 4:09 pm    Post subject: Reply with quote

mount n'est pas toujours fiable pour voir si t'es en read-only ou pas, cat il se base sur /etc/mtab qui, dans le cas ou /etc passe en read-only, ne sera pas mis a jour !

c'est pourquoi je fais un lien de /proc/mounts vers /etc/mtab
_________________
$ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join'
Back to top
View user's profile Send private message
manouche
n00b
n00b


Joined: 31 Aug 2003
Posts: 51

PostPosted: Sun Jan 23, 2005 4:12 pm    Post subject: Reply with quote

Quote:

bash-2.05b# cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / ext3 rw,noatime 0 0
none /dev devfs rw 0 0
none /proc proc rw 0 0
none /sys sysfs rw 0 0
none /dev/pts devpts rw 0 0
/dev/hda5 /home ext3 rw,noatime 0 0
none /proc/bus/usb usbdevfs rw 0 0
//192.168.0.1/portage /mnt/distportage smbfs rw,nosuid,nodev,file_mode=0755,dir_mode=0755 0 0
//192.168.0.1/home /mnt/homedistant smbfs rw,nosuid,nodev,file_mode=0755,dir_mode=0755 0 0


idem :(
Back to top
View user's profile Send private message
kernelsensei
Bodhisattva
Bodhisattva


Joined: 22 Feb 2004
Posts: 5619
Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)

PostPosted: Sun Jan 23, 2005 4:17 pm    Post subject: Reply with quote

t'as encore de la place sur le disque ?
_________________
$ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join'
Back to top
View user's profile Send private message
manouche
n00b
n00b


Joined: 31 Aug 2003
Posts: 51

PostPosted: Sun Jan 23, 2005 4:21 pm    Post subject: Reply with quote

Quote:

bash-2.05b# df -h
Sys. de fich. Tail. Occ. Disp. %Occ. Monté sur
/dev/hda4 14G 3,2G 10G 24% /
/dev/hda5 14G 11G 2,4G 82% /home
//192.168.0.1/portage
66G 8,1G 58G 13% /mnt/distportage
//192.168.0.1/home 5,1G 2,9G 2,2G 57% /mnt/homedistant


Oui, encore pas mal de place....
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum