Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Failed to create temporary cache! [Risolto]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
canduc17
l33t
l33t


Joined: 11 Oct 2005
Posts: 795
Location: Ferrara, Italy

PostPosted: Tue Apr 15, 2008 7:39 pm    Post subject: Failed to create temporary cache! [Risolto] Reply with quote

Dopo aver tirato su una gentoo col minimal installation cd 2007.0 per amd64, ho fatto un bel
Code:
emerge -vuND world && emerge --depclean && revdep-rebuild
ed ho aggiornato tutto il sistema.
Dopo ho dato
Code:
etc-update
ed ho aggiornato una 30 di file (solo di 4 o 5 ho conservato le "vecchie" versioni).

Riavvio e PEM!...questo l'errore al boot:
Code:
...
 * Caching service dependencies ...
sh: /bin/mktemp: No such file or directory
 * Failed to create temporary cache!
bash: /var/lib/init.d/depcache: No such file or directory
sh: /bin/mktemp: No such file or directory
 * Failed to create temporary cache!
gawk: /lib/rcscripts/awk/gendepends.awk:506: fatale: espressione nella re-direzione'>>' ha per valore la stringa nulla
 * Failde to cache servece dependencies [!!]
...
 * Error running '/sbin/depscan.sh'!
 * Please correct any problems above.

(none) login:

Come ci divertiamo questa volta?
_________________
A cow enters a supermarket, does an handstand and dies. (Public toilet graffito)


Last edited by canduc17 on Tue Apr 15, 2008 8:09 pm; edited 1 time in total
Back to top
View user's profile Send private message
Atzeni
n00b
n00b


Joined: 11 Jan 2007
Posts: 43

PostPosted: Tue Apr 15, 2008 7:47 pm    Post subject: Reply with quote

Mi pare che ti manchi mktemp
E da poco hanno inglobato mktemp nelle coreutils (https://forums.gentoo.org/viewtopic-t-688256.html)

Comunque suggerirei l'uso di dispatch-conf al posto di etc-update (qua le info del caso http://gentoo-wiki.com/TIP_dispatch-conf)
Back to top
View user's profile Send private message
canduc17
l33t
l33t


Joined: 11 Oct 2005
Posts: 795
Location: Ferrara, Italy

PostPosted: Tue Apr 15, 2008 7:51 pm    Post subject: Reply with quote

Ok.
Qua sembra che abbiano risolto riemergendo baselayout...
Come faccio, devo usare il livecd e fare un chroot?
_________________
A cow enters a supermarket, does an handstand and dies. (Public toilet graffito)
Back to top
View user's profile Send private message
Atzeni
n00b
n00b


Joined: 11 Jan 2007
Posts: 43

PostPosted: Tue Apr 15, 2008 7:58 pm    Post subject: Reply with quote

In quel thread si legge

Code:
As to the error messages, for mktemp, just emerge mktemp. That should fix the problem and get depscan going finally.


Ma come ti ho riportato prima mktemp è ora incluso nelle nuove coreutils. Quindi forse ti basta aggiornare quelle :)
Back to top
View user's profile Send private message
canduc17
l33t
l33t


Joined: 11 Oct 2005
Posts: 795
Location: Ferrara, Italy

PostPosted: Tue Apr 15, 2008 8:08 pm    Post subject: Reply with quote

Ottimo! Ho risolto avviando da livecd e dando:
Code:
mount /dev/sda2 /mnt/gentoo
chroot /mnt/gentoo /bin/bash
env-update && source /etc/profile
export PS1="(chroot) $PS1
emerge -v coreutils
exit
reboot
Grazie mille!
_________________
A cow enters a supermarket, does an handstand and dies. (Public toilet graffito)
Back to top
View user's profile Send private message
Ic3M4n
Advocate
Advocate


Joined: 02 Nov 2004
Posts: 3489
Location: Bergamo.

PostPosted: Tue Apr 15, 2008 11:14 pm    Post subject: Reply with quote

rimuovi dal file di world le coreutils adesso, sono in system. :wink: per installare il pacchetto avresti dovuto utilizzare
Code:
emerge -1 coreutils
Back to top
View user's profile Send private message
canduc17
l33t
l33t


Joined: 11 Oct 2005
Posts: 795
Location: Ferrara, Italy

PostPosted: Wed Apr 16, 2008 7:43 am    Post subject: Reply with quote

In /var/lib/portage/world non c'è nessuna voce riguardo le coreutils.
_________________
A cow enters a supermarket, does an handstand and dies. (Public toilet graffito)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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