#1 Le 30/10/2007, à 22:45
- Arphus
Erreur avec apt-listchange
Bonjour quand je fais
apt-get install
ou
apt-get <install ou upgrade>
Il m'affiche cela:
/bin/sh: /usr/bin/apt-listchanges: No such file or directory
Preconfiguring packages ...
dpkg: parse error, in file `/var/lib/dpkg/status' near line 326 package `libt1-5':
duplicate value for user-defined field `Original-Maintainer'
E: Sub-process /usr/bin/dpkg returned an error code (2)
pour tout les commandes sur apt-get il m'envoie le message.
merci
Hors ligne
#2 Le 30/10/2007, à 22:47
- Sir Na Kraïou
Re : Erreur avec apt-listchange
Salut,
essaye de taper ces deux commandes :
sudo dselect update
sudo apt-get update
Descendant de Charlemagne et de LUCA.
Bleu, en l'hommage d'un truc bleu. :'(
C'est pas du bleu.
C'est pas le lac de Genève, c'est le Lac Léman.
Hors ligne
#3 Le 30/10/2007, à 23:00
- Arphus
Re : Erreur avec apt-listchange
sudo dselect update ne fonctionne pas
:~# sudo dselect update
sudo: dselect: command not found
mais
sudo apt-get update fonctionne
Hors ligne
#4 Le 30/10/2007, à 23:03
- Arphus
Re : Erreur avec apt-listchange
dsl pour le double post ,mais j'ai maintenant cela quand je fais
root@monserveur:~# sudo apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
courier-authlib-userdb: Depends: courier-authlib but it is not installed
Depends: courier-authlib (>= 0.58) but it is not installed
courier-base: Depends: courier-authlib but it is not installed
E: Unmet dependencies. Try using -f.
Dernière modification par Arphus (Le 30/10/2007, à 23:03)
Hors ligne
#5 Le 30/10/2007, à 23:04
- Sir Na Kraïou
Re : Erreur avec apt-listchange
Tiens, t'es en root ? O_o
sinon, essaye de faire :
apt-get -f install
Descendant de Charlemagne et de LUCA.
Bleu, en l'hommage d'un truc bleu. :'(
C'est pas du bleu.
C'est pas le lac de Genève, c'est le Lac Léman.
Hors ligne
#6 Le 30/10/2007, à 23:12
- Arphus
Re : Erreur avec apt-listchange
voici le message que ça me donne
root@monserveur:~# apt-get -f install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
courier-authdaemon courier-authlib
The following NEW packages will be installed:
courier-authlib
The following packages will be upgraded:
courier-authdaemon
1 upgraded, 1 newly installed, 0 to remove and 10 not upgraded.
303 not fully installed or removed.
Need to get 0B/83.9kB of archives.
After unpacking 164kB of additional disk space will be used.
Do you want to continue [Y/n]? y
dpkg: error processing courier-authdaemon (--remove):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_S_construct NULL not valid
Aborted
Dernière modification par Arphus (Le 30/10/2007, à 23:13)
Hors ligne
#7 Le 30/10/2007, à 23:30
- Arphus
Re : Erreur avec apt-listchange
Ya personne qui a une solution:(
Hors ligne
#8 Le 31/10/2007, à 01:22
- mcfly.587
Re : Erreur avec apt-listchange
On dirait que ton packet courier-authdaemon pose problème maintenant ...
apt-get remove courier-authdaemon
et ensuite pour réparer le reste si il y a encore qqch de casser :
apt-get install -f
Hors ligne
#9 Le 31/10/2007, à 03:03
- Arphus
Re : Erreur avec apt-listchange
Cela revient à la case départ:
root@monserveur:~#apt-get remove courier-authdaemon
Reading package lists... Done
Building dependency tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
courier-authlib-userdb: Depends: courier-authlib but it is not going to be installed
Depends: courier-authlib (>= 0.58) but it is not going to be installed
courier-base: Depends: courier-authlib but it is not going to be installed
Depends: courier-authdaemon but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@monserveur:~# apt-get install -f
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
courier-authdaemon courier-authlib
The following NEW packages will be installed:
courier-authlib
The following packages will be upgraded:
courier-authdaemon
1 upgraded, 1 newly installed, 0 to remove and 10 not upgraded.
303 not fully installed or removed.
Need to get 0B/83.9kB of archives.
After unpacking 164kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
dpkg: error processing courier-authdaemon (--remove):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_S_construct NULL not valid
Aborted
Pas simple à règler
Dernière modification par Arphus (Le 31/10/2007, à 03:05)
Hors ligne
#10 Le 31/10/2007, à 10:10
- Sir Na Kraïou
Re : Erreur avec apt-listchange
Salut,
essaye de supprimer de force le paquet qui bloque :
sudo dpkg -P --force-all courier-authdaemon
Descendant de Charlemagne et de LUCA.
Bleu, en l'hommage d'un truc bleu. :'(
C'est pas du bleu.
C'est pas le lac de Genève, c'est le Lac Léman.
Hors ligne
#11 Le 31/10/2007, à 17:26
- Arphus
Re : Erreur avec apt-listchange
D'accord, je vais essayer cela.
Hors ligne
#12 Le 02/11/2007, à 02:33
- Arphus
Re : Erreur avec apt-listchange
Mauvaise nouvelle encore une erreur du même type:
root@monserveur:~# sudo dpkg -P --force-all courier-authdaemon
dpkg - warning, overriding problem because --force enabled:
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
(Reading database ... 40554 files and directories currently installed.)
Removing courier-authdaemon ...
* Stopping Courier authdaemon... /usr/lib/courier/authlib/authdaemond: line 31: /usr/sbin/courierlogger: No such file or directory
/usr/lib/courier/authlib/authdaemond: line 31: exec: /usr/sbin/courierlogger: cannot execute: No such file or directory
[fail]
invoke-rc.d: initscript courier-authdaemon, action "stop" failed.
dpkg: error processing courier-authdaemon (--purge):
subprocess pre-removal script returned error exit status 1
* Starting Courier authdaemon... /usr/lib/courier/authlib/authdaemond: line 31: /usr/sbin/courierlogger: No such file or directory
/usr/lib/courier/authlib/authdaemond: line 31: exec: /usr/sbin/courierlogger: cannot execute: No such file or directory
[fail]
invoke-rc.d: initscript courier-authdaemon, action "start" failed.
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
courier-authdaemon
Dernière modification par Arphus (Le 02/11/2007, à 02:49)
Hors ligne
#13 Le 02/11/2007, à 02:44
- foustala
Re : Erreur avec apt-listchange
salut,
tu peux,
télécharger ici la version qui va bien http://packages.ubuntu.com/cgi-bin/sear … elease=all
forcer la réinstallation avec
dpkg --force-all -i emplacement_du_paquet.deb
Avant de réessayer le dpkg -P
Dernière modification par foustala (Le 02/11/2007, à 02:44)
Hors ligne
#14 Le 02/11/2007, à 02:57
- Arphus
Re : Erreur avec apt-listchange
c'est quoi la commande pour afficher l'architecture que jutilise
amd64, i386
Dernière modification par Arphus (Le 02/11/2007, à 02:59)
Hors ligne
#15 Le 02/11/2007, à 03:10
- foustala
Re : Erreur avec apt-listchange
tu peux l'avoir direct si
aptitude download courier-authdaemon
veut bien marcher
Hors ligne
#16 Le 02/11/2007, à 03:19
- Arphus
Re : Erreur avec apt-listchange
voilà ce que j'ai fait....il y a encore des erreurs
root@monserveur:~# aptitude download courier-authdaemon
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
Get:1 http://gulus.usherbrooke.ca edgy/universe courier-authdaemon 0.58-4ubuntu1 [6876B]
Fetched 6876B in 0s (0B/s)
root@monserveur:~# sudo dpkg -P --force-all courier-authdaemon
dpkg - warning, overriding problem because --force enabled:
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
(Reading database ... 40554 files and directories currently installed.)
Removing courier-authdaemon ...
* Stopping Courier authdaemon... /usr/lib/courier/authlib/authdaemond: line 31: /usr/sbin/courierlogger: No such file or directory
/usr/lib/courier/authlib/authdaemond: line 31: exec: /usr/sbin/courierlogger: cannot execute: No such file or directory
[fail]
invoke-rc.d: initscript courier-authdaemon, action "stop" failed.
dpkg: error processing courier-authdaemon (--purge):
subprocess pre-removal script returned error exit status 1
* Starting Courier authdaemon... /usr/lib/courier/authlib/authdaemond: line 31: /usr/sbin/courierlogger: No such file or directory
/usr/lib/courier/authlib/authdaemond: line 31: exec: /usr/sbin/courierlogger: cannot execute: No such file or directory
[fail]
invoke-rc.d: initscript courier-authdaemon, action "start" failed.
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
courier-authdaemon
Hors ligne
#17 Le 02/11/2007, à 03:27
- foustala
Re : Erreur avec apt-listchange
Tu n'as pas fait le dpkg -i pour forcer la réinstallation, avant de purger avec le dpkg -P.
dpkg --force-all -i `ls courier*`
Dernière modification par foustala (Le 02/11/2007, à 03:29)
Hors ligne
#18 Le 02/11/2007, à 03:41
- Arphus
Re : Erreur avec apt-listchange
Alors j'ai fais cela mais encore des messages d'erreurs:
root@monserveur:~# dpkg --force-all -i `ls courier*`
(Reading database ... 40554 files and directories currently installed.)
Preparing to replace courier-authdaemon 0.47-13ubuntu5.1 (using courier-authdaemon_0.58-4ubuntu1_i386.deb) ...
* Stopping Courier authdaemon... /usr/lib/courier/authlib/authdaemond: line 31: /usr/sbin/courierlogger: No such file or directory
/usr/lib/courier/authlib/authdaemond: line 31: exec: /usr/sbin/courierlogger: cannot execute: No such file or directory
[fail]
invoke-rc.d: initscript courier-authdaemon, action "stop" failed.
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
* Stopping Courier authdaemon... /usr/lib/courier/authlib/authdaemond: line 31: /usr/sbin/courierlogger: No such file or directory
/usr/lib/courier/authlib/authdaemond: line 31: exec: /usr/sbin/courierlogger: cannot execute: No such file or directory
[fail]
invoke-rc.d: initscript courier-authdaemon, action "stop" failed.
dpkg: error processing courier-authdaemon_0.58-4ubuntu1_i386.deb (--install):
subprocess new pre-removal script returned error exit status 1
* Starting Courier authdaemon... /usr/lib/courier/authlib/authdaemond: line 31: /usr/sbin/courierlogger: No such file or directory
/usr/lib/courier/authlib/authdaemond: line 31: exec: /usr/sbin/courierlogger: cannot execute: No such file or directory
[fail]
invoke-rc.d: initscript courier-authdaemon, action "start" failed.
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
courier-authdaemon_0.58-4ubuntu1_i386.deb
root@monserveur:~# dpkg --force-all -P `ls courier*`
dpkg: you must specify packages by their own names, not by quoting the names of the files they come in
Type dpkg --help for help about installing and deinstalling packages [*];
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
Type dpkg --license for copyright license and lack of warranty (GNU GPL) [*].
Options marked [*] produce a lot of output - pipe it through `less' or `more' !
Dernière modification par Arphus (Le 02/11/2007, à 03:42)
Hors ligne
#19 Le 02/11/2007, à 03:56
- foustala
Re : Erreur avec apt-listchange
Bon je ne vois plus qu'une solution, c'est d'y aller complètement a la main avec ce que tu trouveras dans
/var/lib/dpkg/info/courier-authdaemon*
Hors ligne
#20 Le 02/11/2007, à 04:21
- Arphus
Re : Erreur avec apt-listchange
J,ai fais un backup au cas ou... des fichiers.
mais le problème persiste encore si je veux installer un autre packet.
root@garaf:~# apt-get -f install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
courier-authdaemon courier-authlib
The following NEW packages will be installed:
courier-authlib
The following packages will be upgraded:
courier-authdaemon
1 upgraded, 1 newly installed, 0 to remove and 10 not upgraded.
303 not fully installed or removed.
Need to get 0B/83.9kB of archives.
After unpacking 164kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
dpkg: error processing courier-authdaemon (--remove):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_S_construct NULL not valid
Aborted
root@garaf:~# Errors were encountered while processing:
courier-authdaemon
Dernière modification par Arphus (Le 02/11/2007, à 04:26)
Hors ligne
#21 Le 02/11/2007, à 05:24
- zHyb
Re : Erreur avec apt-listchange
vi /etc/rc2.d/S20courier-authdaemon
and find "stop)" line and
just comment the line before "log_end_msg 0" .
then
dpkg -P courier-authdaemon.
try:-)
Dernière modification par zHyb (Le 02/11/2007, à 05:25)
Hors ligne
#22 Le 07/11/2007, à 12:23
- foustala
Re : Erreur avec apt-listchange
@Arphus : As tu essaye la methode de zHyb?
Hors ligne
#23 Le 13/11/2007, à 23:53
- Arphus
Re : Erreur avec apt-listchange
oui je l'ai faite et ça fonctionne, mais là j'au un autre problème du même type
après une mise à jour avec atp-get il y a un message qui s'affiche après la commande
mknod: `/lib/udev/devices/ppp': Operation not permitted
dpkg: error processing udev (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of pcmciautils:
pcmciautils depends on udev; however:
Package udev is not configured yet.
dpkg: error processing pcmciautils (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ubuntu-minimal:
ubuntu-minimal depends on pcmciautils; however:
Package pcmciautils is not configured yet.
ubuntu-minimal depends on udev; however:
Package udev is not configured yet.
dpkg: error processing ubuntu-minimal (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
udev
pcmciautils
ubuntu-minimal
E: Sub-process /usr/bin/dpkg returned an error code (1)
Est ce que je dois faire la même manipulation que zHyb ???
Hors ligne
#24 Le 15/11/2007, à 05:42
- Arphus
Re : Erreur avec apt-listchange
Up !
Hors ligne
#25 Le 16/11/2007, à 00:24
- Arphus
Re : Erreur avec apt-listchange
oui je l'ai faite et ça fonctionne, mais là j'au un autre problème du même type
après une mise à jour avec atp-get il y a un message qui s'affiche après la commande
mknod: `/lib/udev/devices/ppp': Operation not permitted dpkg: error processing udev (--configure): subprocess post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of pcmciautils: pcmciautils depends on udev; however: Package udev is not configured yet. dpkg: error processing pcmciautils (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of ubuntu-minimal: ubuntu-minimal depends on pcmciautils; however: Package pcmciautils is not configured yet. ubuntu-minimal depends on udev; however: Package udev is not configured yet. dpkg: error processing ubuntu-minimal (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: udev pcmciautils ubuntu-minimal E: Sub-process /usr/bin/dpkg returned an error code (1)
Est ce que je dois faire la même manipulation que zHyb ???
Hors ligne