Bug#343701: apt-get: Unable to configure a package that failed to install, config.dat locked by frontend

2005-12-17 Thread Chris McCowage

Package: apt-get
Version: apt 0.6.42.1 for linux i386 compiled on Oct 23 2005 11:34:57
Severity: grave
Justification: renders package unusable

apt-get is broken, while attempting to install cupsys, libspl1 was scheduled
for installation but failed. Any further attempts fail as below.

Summary

/var/cache/debconf/config.dat is locked by a process frontend, if you
kill the
process it restarts and locks the file again, not cleared by a reboot.
Looks like a
recursive problem. Can't install because of a pending
install/reconfigure and
can't remove the install from the queue, Catch 22.

debconf: DbDriver config: /var/cache/debconf/config.dat is locked by
another process

nimbus:/home/cmc# lsof | grep config.dat
frontend  6163root4rW REG   8,20   57340 129042
/var/cache/debconf/config.dat

nimbus:/home/cmc# fuser -v /var/cache/debconf/config.dat

 USERPID ACCESS COMMAND
 /var/cache/debconf/config.dat
  root   6163 f  frontend

  nimbus:/home/cmc# ps aux | grep 6163
  root  6163  0.0  0.8  10792  8772 pts/0S+   15:03   0:00
/usr/bin/perl -w /usr/share/debconf/frontend ./show-menu 0 new
  root  6616  0.0  0.0   1924   600 pts/1R+   15:30   0:00 grep 6163

  nimbus:/home/cmc# ps aux | grep 6163
  root  6163  0.0  0.8  10792  8772 pts/0S+   15:03   0:00
/usr/bin/perl -w /usr/share/debconf/frontend ./show-menu 0 new
  root  6616  0.0  0.0   1924   600 pts/1R+   15:30   0:00 grep 6163
  nimbus:/home/cmc# kill 6163
  nimbus:/home/cmc# ps aux | grep 6163
  nimbus:/home/cmc# fuser -v /var/cache/debconf/config.dat
  USERPID ACCESS COMMAND
  /var/cache/debconf/config.dat
root   6753 f  frontend

Tried apt-get -f install
dpkg --configure -a (twice)

as per APT HOWTO

Tried to identify where frontend comes from, but to no avail.

nimbus:/home/cmc# apt-file search /usr/share/debconf/frontend
E: No config file found
: No such file or directory

I have given this a good shot, done my homework,  I am completely stuck.
Please help.

btw, installing etch beta 1 after SATA HDD problem with sarge, see
Bug#342359.

Regards,
Chris

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686-smp
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
[EMAIL PROTECTED]:~$



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



Bug#342359: installation-reports failure SATA HDD No common CD-ROM drive was detected

2005-12-07 Thread Chris McCowage
Package: installation-reports

Debian-installer-version: 07-Dec-2005 Sarge 3.1r0a jigdo CD iso
uname -a: 

No partitionable media
Linux Debian 2.4.27-2-386 #1 THU Jan 20 10:55:08 JST 2005 i686 UNKNOWN

No common CD-ROM drive was detected
Linux (none) 2.6.8-2-386 #1 Mon Jan 24 03:01:58 EST 2005 i686 UNKNOWN

Date: 07-Dec-2005 10:00 UTC
Method: Boot from CD

Machine: Dell Dimension 8400 
Processor: Pentium 550
Memory: 1 Gbyte
Root Device: EIDE/SATA
Root Size/partition table: 

n.b. fdisk output from Ubuntu test install after encountering problem

Disk /dev/sda: 160.0 GB, 1600 bytes
255 heads, 63 sectors/track, 19452 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot  Start End  Blocks   Id  System
/dev/sda1   1   6   48163+  de  Dell Utility
/dev/sda2   *   7   19093   153316327+   7  HPFS/NTFS
/dev/sda3   19094   19452 2883667+  db  CP/M /
CTOS / ...


Disk /dev/sdb: 80.0 GB, 800 bytes
255 heads, 63 sectors/track, 9726 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot  Start End  Blocks   Id  System
/dev/sdb1   12611209728267  HPFS/NTFS
/dev/sdb22612504319535040   83  Linux
/dev/sdb350445165  9799655  Extended
(Ubuntu /)
/dev/sdb550445165  979933+  82  Linux swap /
Solaris

Output of lspci and lspci -n:

n.b. from ubuntu 5.1 test instal
[EMAIL PROTECTED]:~$ sudo lspci
:00:00.0 Host bridge: Intel Corp. 925X Memory Controller Hub (rev
04)
:00:01.0 PCI bridge: Intel Corp. 925X PCI Express Root Port (rev 04)
:00:1c.0 PCI bridge: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family)
PCI Express Port 1 (rev 03)
:00:1c.1 PCI bridge: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family)
PCI Express Port 2 (rev 03)
:00:1d.0 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6
Family) USB UHCI #1 (rev 03)
:00:1d.1 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6
Family) USB UHCI #2 (rev 03)
:00:1d.2 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6
Family) USB UHCI #3 (rev 03)
:00:1d.3 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6
Family) USB UHCI #4 (rev 03)
:00:1d.7 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6
Family) USB2 EHCI Controller (rev 03)
:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev d3)
:00:1f.0 ISA bridge: Intel Corp. 82801FB/FR (ICH6/ICH6R) LPC
Interface Bridge (rev 03)
:00:1f.1 IDE interface: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6
Family) IDE Controller (rev 03)
:00:1f.2 0106: Intel Corp. 82801FR/FRW (ICH6R/ICH6RW) SATA
Controller (rev 03)
:00:1f.3 SMBus: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family)
SMBus Controller (rev 03)
:01:00.0 VGA compatible controller: ATI Technologies Inc: Unknown
device 5b60
:01:00.1 Display controller: ATI Technologies Inc: Unknown device
5b70
:02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751
Gigabit Ethernet PCI Express (rev 01)
:04:01.0 Modem: Intel Corp.: Unknown device 1080 (rev 04)
:04:02.0 Multimedia audio controller: Creative Labs SB Audigy LS

[EMAIL PROTECTED]:~$ sudo lspci -n
:00:00.0 0600: 8086:2584 (rev 04)
:00:01.0 0604: 8086:2585 (rev 04)
:00:1c.0 0604: 8086:2660 (rev 03)
:00:1c.1 0604: 8086:2662 (rev 03)
:00:1d.0 0c03: 8086:2658 (rev 03)
:00:1d.1 0c03: 8086:2659 (rev 03)
:00:1d.2 0c03: 8086:265a (rev 03)
:00:1d.3 0c03: 8086:265b (rev 03)
:00:1d.7 0c03: 8086:265c (rev 03)
:00:1e.0 0604: 8086:244e (rev d3)
:00:1f.0 0601: 8086:2640 (rev 03)
:00:1f.1 0101: 8086:266f (rev 03)
:00:1f.2 0106: 8086:2652 (rev 03)
:00:1f.3 0c05: 8086:266a (rev 03)
:01:00.0 0300: 1002:5b60
:01:00.1 0380: 1002:5b70
:02:00.0 0200: 14e4:1677 (rev 01)
:04:01.0 0703: 8086:1080 (rev 04)
:04:02.0 0401: 1102:0007

Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot worked:[O]
Configure network HW:   [O]
Config network: [O]
Detect CD:  [O]
Load installer modules: [O]
Detect hard drives: [E]
Partition hard drives:  [E]
Create file systems:[ ]
Mount partitions:   [ ]
Install base system:[ ]
Install boot loader:[ ]
Reboot: [ ]

Comments/Problems:

Seems to be a problem with SATA drives.

EITHER

Boot the default 2.4 kernel finds the CD-ROM but not the HDDs

no partitionable media

OR

Boot linux26 fails to find the CD-ROM

No common CD-ROM drive was detected

Catch 22

A colleague gave me a copy of a ubuntu DVD to see if it could handle the
SATA drives which it did successfully.

I had successfully done a test install on old machine with an IDE drive.
However on the DELL, installation proceeded normally until the error
message.

Are there any boot options that might help?



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]