#1 Le 22/06/2007, à 10:08
- tize
Problème avec adept et apt-get [Résolu]
Bonjour,
comme le sujet l'indique j'ai un petit problème : il y a quelque temps j'ai essayé d'installer java(sun) avec apt.
Je ne sais pas ce qu'il s'est passé pendant l'installation, toujours est-il que Apt à planté et depuis, lorsque je lance Adept ou Apt j'ai le message suivant :
Un autre processus utilise la base de données du système de paquets (probablement une autre application Adept, apt-get ou aptitude). Veuillez fermer cet autre programme avant d'utiliser celui-ci.
Le problème c'est que je ne vois pas du tout quel pourrait être le processus en question...?
Voici ce que j'ai avec la commande ps -A :
PID TTY TIME CMD
1 ? 00:00:01 init
2 ? 00:00:00 migration/0
3 ? 00:00:00 ksoftirqd/0
4 ? 00:00:00 watchdog/0
5 ? 00:00:00 migration/1
6 ? 00:00:00 ksoftirqd/1
7 ? 00:00:00 watchdog/1
8 ? 00:00:00 events/0
9 ? 00:00:00 events/1
10 ? 00:00:00 khelper
11 ? 00:00:00 kthread
35 ? 00:00:00 kblockd/0
36 ? 00:00:00 kblockd/1
37 ? 00:00:00 kacpid
38 ? 00:00:00 kacpi_notify
161 ? 00:00:00 kseriod
191 ? 00:00:00 pdflush
192 ? 00:00:00 pdflush
193 ? 00:00:00 kswapd0
194 ? 00:00:00 aio/0
195 ? 00:00:00 aio/1
823 ? 00:00:00 kirqd
2063 ? 00:00:00 ata/0
2064 ? 00:00:00 ata/1
2128 ? 00:00:00 ata_aux
2129 ? 00:00:00 ksuspend_usbd
2130 ? 00:00:00 khubd
2139 ? 00:00:00 khpsbpkt
2215 ? 00:00:00 knodemgrd_0
2225 ? 00:00:00 scsi_eh_0
2226 ? 00:00:00 scsi_eh_1
2381 ? 00:00:00 kjournald
2580 ? 00:00:00 udevd
3627 ? 00:00:00 saa7133[0]
3646 ? 00:00:00 kpsmoused
3807 ? 00:00:00 scsi_eh_2
3808 ? 00:00:00 usb-storage
3847 ? 00:00:00 hda_codec
4619 tty4 00:00:00 getty
4620 tty5 00:00:00 getty
4624 tty2 00:00:00 getty
4625 tty3 00:00:00 getty
4626 tty1 00:00:00 getty
4628 tty6 00:00:00 getty
4890 ? 00:00:00 acpid
5001 ? 00:00:00 syslogd
5056 ? 00:00:00 dd
5058 ? 00:00:00 klogd
5079 ? 00:00:00 dbus-daemon
5095 ? 00:00:00 hald
5096 ? 00:00:00 hald-runner
5102 ? 00:00:00 hald-addon-keyb
5103 ? 00:00:00 hald-addon-keyb
5104 ? 00:00:00 hald-addon-keyb
5105 ? 00:00:00 hald-addon-keyb
5107 ? 00:00:00 hald-addon-cpuf
5108 ? 00:00:00 hald-addon-acpi
5114 ? 00:00:00 hald-addon-stor
5123 ? 00:00:00 hald-addon-stor
5125 ? 00:00:00 hald-addon-stor
5127 ? 00:00:00 hald-addon-stor
5129 ? 00:00:00 hald-addon-stor
5142 ? 00:00:00 dhcdbd
5157 ? 00:00:00 NetworkManager
5175 ? 00:00:00 avahi-daemon
5176 ? 00:00:00 avahi-daemon
5190 ? 00:00:00 NetworkManagerD
5254 ? 00:00:00 hpiod
5271 ? 00:00:00 python
5342 ? 00:00:00 kondemand/0
5343 ? 00:00:00 kondemand/1
5388 ? 00:00:00 hcid
5409 ? 00:00:00 krfcommd
5443 ? 00:00:00 atd
5457 ? 00:00:00 cron
5478 ? 00:00:00 dhclient
5517 ? 00:00:00 kdm
5536 tty7 00:00:30 Xorg
5556 ? 00:00:00 kdm
5611 ? 00:00:00 x-session-manag
5650 ? 00:00:00 ssh-agent
5653 ? 00:00:00 dbus-launch
5654 ? 00:00:00 dbus-daemon
5687 ? 00:00:00 start_kdeinit
5688 ? 00:00:00 kdeinit
5691 ? 00:00:00 dcopserver
5694 ? 00:00:00 klauncher
5696 ? 00:00:00 kded
5701 ? 00:00:00 kwrapper
5703 ? 00:00:00 ksmserver
5704 ? 00:00:00 kwin
5706 ? 00:00:01 kdesktop
5708 ? 00:00:01 kicker
5710 ? 00:00:00 kio_file
5715 ? 00:00:00 kio_uiserver
5727 ? 00:00:00 kaccess
5731 ? 00:00:04 artsd
5734 ? 00:00:00 katapult
5737 ? 00:00:00 kmix
5739 ? 00:00:00 konqueror
5741 ? 00:00:00 konqueror
5748 ? 00:00:00 knotify
5749 ? 00:00:00 konqueror
5752 ? 00:00:00 konqueror
5754 ? 00:00:00 aspell
5755 ? 00:00:00 kbluetoothd
5765 ? 00:00:00 knetworkmanager
5767 ? 00:00:00 klipper
5769 ? 00:00:00 passkey-agent
5783 ? 00:00:00 kdesud
5824 ? 00:00:03 artsd
5946 ? 00:00:00 konsole
5947 pts/1 00:00:00 bash
5964 ? 00:00:12 firefox-bin
5973 ? 00:00:00 gconfd-2
6070 ? 00:00:00 cupsd
6325 ? 00:00:00 kdesu
6328 pts/3 00:00:00 kdesu_stub
6331 pts/4 00:00:00 sudo
6380 pts/1 00:00:00 ps
Je suis ouvert à toute suggestion...
Merci
Dernière modification par tize (Le 22/06/2007, à 11:15)
En espérant ne pas avoir dit trop de bêtises...
Cordialement Tize
Hors ligne
#2 Le 22/06/2007, à 10:20
- krocket
Re : Problème avec adept et apt-get [Résolu]
fait plutot un ps -eaux
De plusieurs programmes ou systèmes d'exploitation en occurrence, le plus performant n'est jamais retenu comme standard !
Bobby sort de là !
Hors ligne
#3 Le 22/06/2007, à 10:29
- tize
Re : Problème avec adept et apt-get [Résolu]
Voilà ce que j'obtiens avec ps -eaux:
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 2912 1848 ? Ss 09:45 0:01 /sbin/init
root 2 0.0 0.0 0 0 ? S 09:45 0:00 [migration/0]
root 3 0.0 0.0 0 0 ? SN 09:45 0:00 [ksoftirqd/0]
root 4 0.0 0.0 0 0 ? S 09:45 0:00 [watchdog/0]
root 5 0.0 0.0 0 0 ? S 09:45 0:00 [migration/1]
root 6 0.0 0.0 0 0 ? SN 09:45 0:00 [ksoftirqd/1]
root 7 0.0 0.0 0 0 ? S 09:45 0:00 [watchdog/1]
root 8 0.0 0.0 0 0 ? S< 09:45 0:00 [events/0]
root 9 0.0 0.0 0 0 ? S< 09:45 0:00 [events/1]
root 10 0.0 0.0 0 0 ? S< 09:45 0:00 [khelper]
root 11 0.0 0.0 0 0 ? S< 09:45 0:00 [kthread]
root 35 0.0 0.0 0 0 ? S< 09:45 0:00 [kblockd/0]
root 36 0.0 0.0 0 0 ? S< 09:45 0:00 [kblockd/1]
root 37 0.0 0.0 0 0 ? S< 09:45 0:00 [kacpid]
root 38 0.0 0.0 0 0 ? S< 09:45 0:00 [kacpi_notify]
root 161 0.0 0.0 0 0 ? S< 09:45 0:00 [kseriod]
root 191 0.0 0.0 0 0 ? S 09:45 0:00 [pdflush]
root 192 0.0 0.0 0 0 ? S 09:45 0:00 [pdflush]
root 193 0.0 0.0 0 0 ? S< 09:45 0:00 [kswapd0]
root 194 0.0 0.0 0 0 ? S< 09:45 0:00 [aio/0]
root 195 0.0 0.0 0 0 ? S< 09:45 0:00 [aio/1]
root 823 0.0 0.0 0 0 ? S 09:45 0:00 [kirqd]
root 2063 0.0 0.0 0 0 ? S< 09:45 0:00 [ata/0]
root 2064 0.0 0.0 0 0 ? S< 09:45 0:00 [ata/1]
root 2128 0.0 0.0 0 0 ? S< 09:45 0:00 [ata_aux]
root 2129 0.0 0.0 0 0 ? S< 09:45 0:00 [ksuspend_usbd]
root 2130 0.0 0.0 0 0 ? S< 09:45 0:00 [khubd]
root 2139 0.0 0.0 0 0 ? S< 09:45 0:00 [khpsbpkt]
root 2215 0.0 0.0 0 0 ? S< 09:45 0:00 [knodemgrd_0]
root 2225 0.0 0.0 0 0 ? S< 09:45 0:00 [scsi_eh_0]
root 2226 0.0 0.0 0 0 ? S< 09:45 0:00 [scsi_eh_1]
root 2381 0.0 0.0 0 0 ? S< 09:45 0:00 [kjournald]
root 2580 0.0 0.0 2924 1272 ? S<s 09:45 0:00 /sbin/udevd --daemon
root 3627 0.0 0.0 0 0 ? S 09:45 0:00 [saa7133[0]]
root 3646 0.0 0.0 0 0 ? S< 09:45 0:00 [kpsmoused]
root 3807 0.0 0.0 0 0 ? S< 09:45 0:00 [scsi_eh_2]
root 3808 0.0 0.0 0 0 ? S< 09:45 0:00 [usb-storage]
root 3847 0.0 0.0 0 0 ? S< 09:45 0:00 [hda_codec]
root 4619 0.0 0.0 1652 512 tty4 Ss+ 09:46 0:00 /sbin/getty 38400 tty4
root 4620 0.0 0.0 1652 512 tty5 Ss+ 09:46 0:00 /sbin/getty 38400 tty5
root 4624 0.0 0.0 1648 504 tty2 Ss+ 09:46 0:00 /sbin/getty 38400 tty2
root 4625 0.0 0.0 1648 508 tty3 Ss+ 09:46 0:00 /sbin/getty 38400 tty3
root 4626 0.0 0.0 1652 508 tty1 Ss+ 09:46 0:00 /sbin/getty 38400 tty1
root 4628 0.0 0.0 1648 504 tty6 Ss+ 09:46 0:00 /sbin/getty 38400 tty6
root 4890 0.0 0.0 2260 1176 ? Ss 09:46 0:00 /usr/sbin/acpid -c /etc/acpi/events -s var/run/acpid.socket
root 5001 0.0 0.0 1704 664 ? Ss 09:46 0:00 /sbin/syslogd
root 5056 0.0 0.0 1792 524 ? Ss 09:46 0:00 /bin/dd bs 1 if /proc/kmsg of /var/run/klogd/kmsg
klog 5058 0.0 0.0 2556 1376 ? Ss 09:46 0:00 /sbin/klogd -P /var/run/klogd/kmsg
104 5079 0.0 0.0 2844 1076 ? Ss 09:46 0:00 /usr/bin/dbus-daemon --system
107 5095 0.0 0.1 5484 3880 ? Ss 09:46 0:00 /usr/sbin/hald
root 5096 0.0 0.0 2876 1040 ? S 09:46 0:00 hald-runner
107 5102 0.0 0.0 2104 900 ? S 09:46 0:00 hald-addon-keyboard: listening on /dev/input/event1
107 5103 0.0 0.0 2108 896 ? S 09:46 0:00 hald-addon-keyboard: listening on /dev/input/event4
107 5104 0.0 0.0 2108 900 ? S 09:46 0:00 hald-addon-keyboard: listening on /dev/input/event5
107 5105 0.0 0.0 2108 900 ? S 09:46 0:00 hald-addon-keyboard: listening on /dev/input/event6
root 5107 0.0 0.0 2936 1076 ? S 09:46 0:00 /usr/lib/hal/hald-addon-cpufreq
107 5108 0.0 0.0 2108 888 ? S 09:46 0:00 hald-addon-acpi: listening on acpid socket /var/run/acpid.socket
107 5114 0.0 0.0 3044 1184 ? S 09:46 0:00 hald-addon-storage: polling /dev/hdc (every 2 sec)
107 5123 0.0 0.0 3040 1176 ? S 09:46 0:00 hald-addon-storage: polling /dev/sdb (every 2 sec)
107 5125 0.0 0.0 3044 1180 ? S 09:46 0:00 hald-addon-storage: polling /dev/sdc (every 2 sec)
107 5127 0.0 0.0 3044 1180 ? S 09:46 0:00 hald-addon-storage: polling /dev/sdd (every 2 sec)
107 5129 0.0 0.0 3040 1176 ? S 09:46 0:00 hald-addon-storage: polling /dev/sde (every 2 sec)
root 5142 0.0 0.0 1940 844 ? Ss 09:46 0:00 /usr/sbin/dhcdbd --system
root 5157 0.0 0.0 12328 1968 ? Ssl 09:46 0:00 /usr/sbin/NetworkManager --pid-file /var/run/NetworkManager/NetworkManager.pi
avahi 5175 0.0 0.0 2668 1392 ? Ss 09:46 0:00 avahi-daemon: registering [jose.local]
avahi 5176 0.0 0.0 2668 464 ? Ss 09:46 0:00 avahi-daemon: chroot helper
root 5190 0.0 0.0 3056 1264 ? Ss 09:46 0:00 /usr/sbin/NetworkManagerDispatcher --pid-file /var/run/NetworkManager/Network
root 5254 0.0 0.0 6416 836 ? Ss 09:46 0:00 /usr/sbin/hpiod
hplip 5271 0.0 0.2 9984 4892 ? S 09:46 0:00 python /usr/sbin/hpssd
root 5342 0.0 0.0 0 0 ? S< 09:46 0:00 [kondemand/0]
root 5343 0.0 0.0 0 0 ? S< 09:46 0:00 [kondemand/1]
root 5388 0.0 0.0 2692 1032 ? Ss 09:46 0:00 /usr/sbin/hcid -x -s
root 5409 0.0 0.0 0 0 ? S< 09:46 0:00 [krfcommd]
daemon 5443 0.0 0.0 1912 424 ? Ss 09:46 0:00 /usr/sbin/atd
root 5457 0.0 0.0 2280 900 ? Ss 09:46 0:00 /usr/sbin/cron
dhcp 5478 0.0 0.0 2456 1216 ? S 09:46 0:00 /sbin/dhclient -1 -lf /var/lib/dhcp3/dhclient.eth0.leases -pf /var/run/dhclie
root 5517 0.0 0.0 3156 616 ? Ss 09:46 0:00 /usr/bin/kdm
root 5536 2.1 0.7 20848 15808 tty7 Ss+ 09:46 0:51 /usr/bin/X -br -nolisten tcp :0 vt7 -auth /var/run/xauth/A:0-p53ieJ
root 5556 0.0 0.0 4164 1460 ? S 09:46 0:00 -:0
gregorio 5611 0.0 0.0 1712 528 ? Ss 09:46 0:00 /bin/sh /usr/bin/x-session-manager DM_CONTROL=/var/run/xdmctl SHELL=/bin/bash
gregorio 5650 0.0 0.0 4252 532 ? Ss 09:46 0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session x-session-manager
gregorio 5653 0.0 0.0 2660 632 ? S 09:46 0:00 /usr/bin/dbus-launch --exit-with-session x-session-manager DM_CONTROL=/var/ru
gregorio 5654 0.0 0.0 2716 516 ? Ss 09:46 0:00 /usr/bin/dbus-daemon --fork --print-pid 4 --print-address 6 --session DM_CONT
root 5687 0.0 0.0 1496 140 ? S 09:46 0:00 start_kdeinit --new-startup +kcminit_startup
gregorio 5688 0.0 0.2 25844 4476 ? Ss 09:46 0:00 kdeinit Running...
gregorio 5691 0.0 0.1 25784 3152 ? S 09:46 0:00 dcopserver [kdeinit] --nosid
gregorio 5694 0.0 0.3 27592 6664 ? S 09:46 0:00 klauncher [kdeinit] --new-startup
gregorio 5696 0.0 0.6 32720 13580 ? S 09:46 0:00 kded [kdeinit] --new-startup
gregorio 5701 0.0 0.0 1636 360 ? S 09:46 0:00 kwrapper ksmserver KDE_FULL_SESSION=true GS_LIB=/home/gregorio/.fonts DM_CONT
gregorio 5703 0.0 0.4 27464 8512 ? S 09:46 0:00 ksmserver [kdeinit]
gregorio 5704 0.0 0.5 30732 12276 ? S 09:46 0:00 kwin [kdeinit] -session 106a6f7365000117994029800000059660000_1182429230_8026
gregorio 5706 0.0 0.6 31036 13228 ? S 09:46 0:01 kdesktop [kdeinit]
gregorio 5708 0.0 0.8 35972 18380 ? S 09:46 0:02 kicker [kdeinit]
gregorio 5710 0.0 0.3 27368 6348 ? S 09:46 0:00 kio_file [kdeinit] file /tmp/ksocket-gregorio/klauncherwOvDta.slave-socket /t
gregorio 5715 0.0 0.6 30740 12584 ? S 09:46 0:00 kio_uiserver [kdeinit]
gregorio 5727 0.0 0.3 27192 7848 ? S 09:46 0:00 kaccess [kdeinit]
gregorio 5731 0.1 0.3 21136 6620 ? S 09:46 0:04 /usr/bin/artsd -F 10 -S 4096 -s 60 -m artsmessage -c drkonqi -l 3 -f KDE_FULL
gregorio 5734 0.0 0.7 30104 16568 ? S 09:46 0:00 katapult -session 10d9d39668000112680660600000081280032_1182429230_789441 KDE
gregorio 5737 0.0 0.6 31772 12920 ? S 09:46 0:00 kmix [kdeinit] -session 106a6f7365000118009171400000099490021_1182429230_7896
gregorio 5739 0.0 0.5 28980 10536 ? S 09:46 0:00 konqueror [kdeinit] -session 106a6f7365000118045499300000057170008_1182429230
gregorio 5741 0.0 0.5 28980 10536 ? S 09:46 0:00 konqueror [kdeinit] -session 106a6f7365000118053678900000057670008_1182429230
gregorio 5748 0.0 0.5 34816 10792 ? S 09:46 0:00 knotify [kdeinit]
gregorio 5749 0.0 0.9 38944 19052 ? S 09:46 0:00 konqueror [kdeinit] --preload
gregorio 5752 0.0 0.9 38944 19052 ? S 09:46 0:00 konqueror [kdeinit] --preload
gregorio 5754 0.0 0.1 22324 2252 ? S 09:46 0:00 aspell -a -S -C KDE_FULL_SESSION=true GS_LIB=/home/gregorio/.fonts DM_CONTROL
gregorio 5755 0.0 0.5 29464 11752 ? S 09:46 0:00 kbluetoothd --dontforceshow KDE_FULL_SESSION=true GS_LIB=/home/gregorio/.font
gregorio 5765 0.0 0.5 31524 10852 ? S 09:46 0:00 knetworkmanager [kdeinit]
gregorio 5767 0.0 0.4 28360 9672 ? S 09:46 0:00 klipper [kdeinit]
gregorio 5769 0.0 0.0 1836 624 ? S 09:46 0:00 /usr/bin/passkey-agent --default /usr/lib/kdebluetooth/kbluepin KDE_FULL_SESS
gregorio 5783 0.0 0.1 17492 2108 ? S 09:47 0:00 /usr/bin/kdesud
root 5824 0.1 0.3 21144 6712 ? S 09:47 0:03 /usr/bin/artsd -F 10 -S 4096 -s 60 -m artsmessage -l 3 -f
gregorio 5964 1.6 3.4 175188 71676 ? Sl 09:52 0:32 /usr/lib/firefox/firefox-bin KDE_MULTIHEAD=false SSH_AGENT_PID=5650 DM_CONTRO
gregorio 5973 0.0 0.1 5280 2656 ? S 09:52 0:00 /usr/lib/libgconf2-4/gconfd-2 12 KDE_MULTIHEAD=false SSH_AGENT_PID=5650 DM_CO
cupsys 6070 0.0 0.0 4664 1840 ? SNs 10:00 0:00 /usr/sbin/cupsd
gregorio 6325 0.0 0.5 26428 11952 ? S 10:01 0:00 kdesu -u root -c adept_installer KDE_FULL_SESSION=true GS_LIB=/home/gregorio
root 6328 0.0 0.0 1520 324 pts/3 Ss+ 10:01 0:00 /usr/bin/kdesu_stub -
root 6331 0.0 0.0 2636 1024 pts/4 Ss+ 10:01 0:00 /usr/bin/sudo -u root /usr/bin/kdesu_stub -
gregorio 6408 2.6 0.7 34524 15720 ? R 10:25 0:00 konsole [kdeinit]
gregorio 6409 1.5 0.1 5616 3120 pts/1 Ss 10:25 0:00 /bin/bash KDE_FULL_SESSION=true GS_LIB=/home/gregorio/.fonts DM_CONTROL=/var/
gregorio 6426 0.0 0.0 2560 992 pts/1 R+ 10:25 0:00 ps -eaux KDE_MULTIHEAD=false SSH_AGENT_PID=5650 DM_CONTROL=/var/run/xdmctl TE
En espérant ne pas avoir dit trop de bêtises...
Cordialement Tize
Hors ligne
#4 Le 22/06/2007, à 10:52
- papadon
Re : Problème avec adept et apt-get [Résolu]
Bonjour,
essaye un
sudo dpkg --configure -a
dans un terminal pour débloquer la base de données
Hors ligne
#5 Le 22/06/2007, à 11:13
- tize
Re : Problème avec adept et apt-get [Résolu]
Bonjour et merci beaucoup Papadon cette commande à débloqué les applications, encore merci
Je vais quand même me renseigner pour savoir ce que signifie cette commande.
Dernière modification par tize (Le 22/06/2007, à 11:15)
En espérant ne pas avoir dit trop de bêtises...
Cordialement Tize
Hors ligne
#6 Le 27/06/2007, à 15:19
- Nils
Re : Problème avec adept et apt-get [Résolu]
Salut,
ça marche nikel ! J'avais le même problème que toi !
Merci bien !
Nils
Hors ligne