Re: message d'erreur sur dpkg

2002-06-20 Par sujet Igor Genibel
On Wed, Jun 19, 2002 at 11:48:14PM +0200, Igor Genibel wrote:

rectificatif:

 exemple:
 shell 1
 # cd /mon-rep
 # cd /mon/rep

 
 shell 2
 # rm -rf /mon-rep
 # rm -rf /mon
 
 shell 1
 # apt-get install tutu
 shell-init: could not get current directory: getcwd: cannot access
 parent directories: Aucun fichier ou répertoire de ce type
 etc etc

-- 
Igor Genibel 
http://www.alcove.com/   [EMAIL PROTECTED]
http://www.tuxfamily.org/[EMAIL PROTECTED]
http://people.debian.org/~igenibel  [EMAIL PROTECTED]
GPG: 1024D/9D735B4F: 4F61 8D8F 05AC 8D2C 5F92  9B99 C44B 0266 9D73 5B4F


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



message d'erreur sur dpkg

2002-06-19 Par sujet Patrice Karatchentzeff
Salut,

Je n'ai jamais ce message : il vient après une installation avec dpkg
ou apt... Quelqu'un a une idée de ce qui se trame ?

shell-init: could not get current directory: getcwd: cannot access parent 
directories: Aucun fichier ou répertoire de ce type
100% [Scanning packages]shell-init: could not get current directory: getcwd: 
cannot access parent directories: Aucun fichier ou répertoire de ce type

C'est quoi surtout ce shell-init ?

Merci

PK

-- 
  |\  _,,,---,,_   Patrice KARATCHENTZEFF
ZZZzz /,`.-'`'-.  ;-;;,_   mailto:[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'  http://p.karatchentzeff.free.fr
'---''(_/--'  `-'\_)   


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: message d'erreur sur dpkg

2002-06-19 Par sujet Tony Schonfeld
On Wed, Jun 19, 2002 at 09:41:09PM +0200, Patrice Karatchentzeff wrote:
 Salut,
 
 Je n'ai jamais ce message : il vient après une installation avec dpkg
 ou apt... Quelqu'un a une idée de ce qui se trame ?
 
 shell-init: could not get current directory: getcwd: cannot access parent 
 directories: Aucun fichier ou répertoire de ce type
 100% [Scanning packages]shell-init: could not get current directory: getcwd: 
 cannot access parent directories: Aucun fichier ou répertoire de ce type
 
 C'est quoi surtout ce shell-init ?

Je dirai que dpkg ou apt n'arrive tout simplement pas a acceder
a la source.

Tony

 
 Merci
 
 PK
 
 -- 
   |\  _,,,---,,_   Patrice KARATCHENTZEFF
 ZZZzz /,`.-'`'-.  ;-;;,_   mailto:[EMAIL PROTECTED]
  |,4-  ) )-,_. ,\ (  `'-'  http://p.karatchentzeff.free.fr
 '---''(_/--'  `-'\_)   
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 

-- 
 Tony Schonfeld  * F5GIT * Phone: +33 675 236 530
Email: [EMAIL PROTECTED] - WWW: http://www.schonfeld.eu.org


 
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: message d'erreur sur dpkg

2002-06-19 Par sujet Patrice Karatchentzeff
Tony Schonfeld écrivait :
  On Wed, Jun 19, 2002 at 09:41:09PM +0200, Patrice Karatchentzeff wrote:
   Salut,
   
   Je n'ai jamais ce message : il vient après une installation avec dpkg
   ou apt... Quelqu'un a une idée de ce qui se trame ?
   
   shell-init: could not get current directory: getcwd: cannot
  access parent directories: Aucun fichier ou répertoire de ce type
   100% [Scanning packages]shell-init: could not get current
  directory: getcwd: cannot access parent directories: Aucun fichier
  ou répertoire de ce type
   
   C'est quoi surtout ce shell-init ?
  
  Je dirai que dpkg ou apt n'arrive tout simplement pas a acceder
  a la source.

Non, il y arrive très bien ;

J'ai oublié le contexte : j'avais tenté vainement de rétroporté la
smala sgml  co de Woody sur ma Patate. J'ai tout viré depuis et j'ai
alors obtenu ce message d'erreur.

PK

-- 
  |\  _,,,---,,_   Patrice KARATCHENTZEFF
ZZZzz /,`.-'`'-.  ;-;;,_   mailto:[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'  http://p.karatchentzeff.free.fr
'---''(_/--'  `-'\_)   


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: message d'erreur sur dpkg

2002-06-19 Par sujet Hervé
Le Wed, Jun 19, 2002 at 10:04:19PM +0200, Patrice Karatchentzeff écrivait:
 Tony Schonfeld écrivait :
   On Wed, Jun 19, 2002 at 09:41:09PM +0200, Patrice Karatchentzeff wrote:
Salut,

Je n'ai jamais ce message : il vient après une installation avec dpkg
ou apt... Quelqu'un a une idée de ce qui se trame ?

shell-init: could not get current directory: getcwd: cannot
   access parent directories: Aucun fichier ou répertoire de ce type
100% [Scanning packages]shell-init: could not get current
   directory: getcwd: cannot access parent directories: Aucun fichier
   ou répertoire de ce type

C'est quoi surtout ce shell-init ?
   
   Je dirai que dpkg ou apt n'arrive tout simplement pas a acceder
   a la source.
 
 Non, il y arrive très bien ;
 
 J'ai oublié le contexte : j'avais tenté vainement de rétroporté la
 smala sgml  co de Woody sur ma Patate. J'ai tout viré depuis et j'ai
 alors obtenu ce message d'erreur.
 

Il n'a pas un problème de fichiers encore ouverts qui empêchent de
réellement supprimer ou déplacer un répertoire ? Pour autant le noyau
déclarerait ces répertoires inexistants au nouveaux venus, non ?

--
Hervé

 PK
 
 -- 
   |\  _,,,---,,_   Patrice KARATCHENTZEFF
 ZZZzz /,`.-'`'-.  ;-;;,_   mailto:[EMAIL PROTECTED]
  |,4-  ) )-,_. ,\ (  `'-'  http://p.karatchentzeff.free.fr
 '---''(_/--'  `-'\_)   
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: message d'erreur sur dpkg

2002-06-19 Par sujet Patrice Karatchentzeff
Hervé écrivait :

[...]

  Il n'a pas un problème de fichiers encore ouverts qui empêchent de
  réellement supprimer ou déplacer un répertoire ? Pour autant le noyau
  déclarerait ces répertoires inexistants au nouveaux venus, non ?

/a priori/, non. La machine venait de rebooter qui plus est...

PK

-- 
  |\  _,,,---,,_   Patrice KARATCHENTZEFF
ZZZzz /,`.-'`'-.  ;-;;,_   mailto:[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'  http://p.karatchentzeff.free.fr
'---''(_/--'  `-'\_)   


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: message d'erreur sur dpkg

2002-06-19 Par sujet Alain Tesio
On Wed, 19 Jun 2002 22:06:32 +0200
Hervé [EMAIL PROTECTED] wrote:

 Je n'ai jamais ce message : il vient après une installation avec dpkg
 ou apt... Quelqu'un a une idée de ce qui se trame ?
 
 shell-init: could not get current directory: getcwd: cannot
access parent directories: Aucun fichier ou répertoire de ce type
 100% [Scanning packages]shell-init: could not get current
directory: getcwd: cannot access parent directories: Aucun fichier
ou répertoire de ce type

Je suis pas certain que ca aide, voici comment avoir le message d'erreur 
simplement :

22:40:01 alain ~ $cd /tmp
22:40:03 alain /tmp $mkdir toto
22:40:06 alain /tmp $cd toto
22:40:07 alain /tmp/toto $rmdir /tmp/toto
22:40:11 alain /tmp/toto $bash
shell-init: could not get current directory: getcwd: cannot access parent 
directories: No such file or directory

Essaies de lancer la commande avec strace -f, peut-être qu'il y a un process qui
supprime le répertoire courant avant de lancer un shell, il scie la branche sur
laquelle il est assi.

C'est probablement un bug dans le fichier postint du package que tu peux trouver
dans /var/lib/dpkg/info

Alain


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: message d'erreur sur dpkg

2002-06-19 Par sujet Igor Genibel
On Wed, Jun 19, 2002 at 09:41:09PM +0200, Patrice Karatchentzeff wrote:
 Salut,
 
 Je n'ai jamais ce message : il vient après une installation avec dpkg
 ou apt... Quelqu'un a une idée de ce qui se trame ?
 
 shell-init: could not get current directory: getcwd: cannot access parent 
 directories: Aucun fichier ou répertoire de ce type
 100% [Scanning packages]shell-init: could not get current directory: getcwd: 
 cannot access parent directories: Aucun fichier ou répertoire de ce type
 
 C'est quoi surtout ce shell-init ?

Tout simplement tu exécutes dpkg dans un répertoire qui n'existe plus !

exemple:
shell 1
# cd /mon-rep

shell 2
# rm -rf /mon-rep

shell 1
# apt-get install tutu
shell-init: could not get current directory: getcwd: cannot access
parent directories: Aucun fichier ou répertoire de ce type
etc etc

Ton shell 1 est bien dans un répertoire non existant.

-- 
Igor Genibel 
http://www.alcove.com/   [EMAIL PROTECTED]
http://www.tuxfamily.org/[EMAIL PROTECTED]
http://people.debian.org/~igenibel  [EMAIL PROTECTED]
GPG: 1024D/9D735B4F: 4F61 8D8F 05AC 8D2C 5F92  9B99 C44B 0266 9D73 5B4F


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]