[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

apt problems



I hope I'm not being rude in posting here, but I have a problem with apt
on my RedHat 9 box. When I apt-get update or try to upgrade,my system
gets as far as ;

Fetched 1500kB in 27s (55.4kB/s)
Reading Package Lists... 66%

and then hangs. This came on out of nowhere though possibly when I
upgraded my kernel with up2date[ Redhat's app].

ps -aux from a new terminal [ as the original terminal is hung], gives
me; root      2986 86.0 12.8 130872 115580 pts/0 R    06:46   7:44
apt-get update


# less /proc/2986/fd/ gives me;

total 0
dr-x------    2 root     root            0 Jul  8 06:57 ./
dr-xr-xr-x    3 root     root            0 Jul  8 06:57 ../
lrwx------    1 root     root           64 Jul  8 06:57 0 -> /dev/pts/0
lrwx------    1 root     root           64 Jul  8 06:57 1 -> /dev/pts/0
lrwx------    1 root     root           64 Jul  8 06:57 2 -> /dev/pts/0
l-wx------    1 root     root           64 Jul  8 06:57 3 -> /dev/null
lrwx------    1 root     root           64 Jul  8 06:57 4 ->
/var/state/apt/lists/lock
lrwx------    1 root     root           64 Jul  8 06:57 5 ->
/var/lib/rpm/Packages
lrwx------    1 root     root           64 Jul  8 06:57 6 ->
/var/cache/apt/pkgcache.bin


# cat /proc/2986/status
Name:   apt-get
State:  R (running)
Tgid:   2986
Pid:    2986
PPid:   1221
TracerPid:      0
Uid:    0       0       0       0
Gid:    0       0       0       0
FDSize: 256
Groups: 0 1 2 3 4 6 10
VmSize:   130872 kB
VmLck:         0 kB
VmRSS:    115580 kB
VmData:   109700 kB
VmStk:        80 kB
VmExe:       108 kB
VmLib:      4744 kB
SigPnd: 0000000000000000
SigBlk: 0000000100000000
SigIgn: 8000000000000000
SigCgt: 000000008800500f
CapInh: 0000000000000000
CapPrm: 00000000fffffeff
CapEff: 00000000fffffeff

Can someone help me? When I try apt-get update from the new terminal I
get;

# apt-get update
E: Could not get lock /var/state/apt/lists/lock - open (11 Resource
temporarily unavailable)
E: Unable to lock the list directory

Thanks, Dirk








Reply to: