Public bug reported:

Trying to make a dist-upgrade renders me troubles (log below!)

acpi can not create /sys/module/processor/parameters/max_cstate because 
/sys/module/processor/parameters is none existant (as shown below).
[EMAIL PROTECTED]:/sys/module/processor# ls -la
total 0
drwxr-xr-x   5 root root    0 2008-04-25 17:12 .
drwxr-xr-x 128 root root    0 2008-04-25 17:31 ..
drwxr-xr-x   2 root root    0 2008-04-25 17:31 holders
-r--r--r--   1 root root 4096 2008-04-25 17:31 initstate
drwxr-xr-x   2 root root    0 2008-04-25 17:31 notes
-r--r--r--   1 root root 4096 2008-04-25 17:31 refcnt
drwxr-xr-x   2 root root    0 2008-04-25 17:31 sections
-r--r--r--   1 root root 4096 2008-04-25 17:31 srcversion

and trying to fool the scripts by issueing mkdir renders "cannot create
directory `parameters': No such file or directory".

I've been running Hardy repos for a while so it's not a clean dist-upgrade from 
gutsy but more or less so. 
my base version is kubuntu but that was back in feisty or so, shouldn't matter 
for this.

========= ON SCREEN LOG =========
[EMAIL PROTECTED]:~$ sudo aptitude dist-upgrade
[sudo] password for brother: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information      
Initializing package states... Done
Building tag database... Done      
The following packages will be upgraded:
  acpid 
The following partially installed packages will be configured:
  kubuntu-desktop 
1 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/28.9kB of archives. After unpacking 0B will be used.
Do you want to continue? [Y/n/?] 
Writing extended state information... Done
(Reading database ... 235118 files and directories currently installed.)
Preparing to replace acpid 1.0.4-5ubuntu8 (using 
.../acpid_1.0.4-5ubuntu9_i386.deb) ...
 * Stopping ACPI services...                                                    
                                                             [ OK ] 
/etc/init.d/acpid: 100: cannot create 
/sys/module/processor/parameters/max_cstate: Directory nonexistent
invoke-rc.d: initscript acpid, action "stop" failed.
dpkg: warning - old pre-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
 * Stopping ACPI services...                                                    
                                                             [ OK ] 
/etc/init.d/acpid: 100: cannot create 
/sys/module/processor/parameters/max_cstate: Directory nonexistent
invoke-rc.d: initscript acpid, action "stop" failed.
dpkg: error processing /var/cache/apt/archives/acpid_1.0.4-5ubuntu9_i386.deb 
(--unpack):
 subprocess new pre-removal script returned error exit status 2
 * Loading ACPI modules...                                                      
                                                             [ OK ] 
 * Starting ACPI services...                                                    
                                                             [ OK ] 
/etc/init.d/acpid: 100: cannot create 
/sys/module/processor/parameters/max_cstate: Directory nonexistent
invoke-rc.d: initscript acpid, action "start" failed.
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 /var/cache/apt/archives/acpid_1.0.4-5ubuntu9_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
dpkg: error processing acpid (--configure):
 Package is in a very bad inconsistent state - you should
 reinstall it before attempting configuration.
dpkg: dependency problems prevent configuration of kubuntu-desktop:
 kubuntu-desktop depends on acpid; however:
  Package acpid is not configured yet.
dpkg: error processing kubuntu-desktop (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 acpid
 kubuntu-desktop
Reading package lists... Done             
Building dependency tree       
Reading state information... Done
Reading extended state information      
Initializing package states... Done
Building tag database... Done
========= ON SCREEN LOG =========

** Affects: acpid (Ubuntu)
     Importance: Undecided
         Status: New

** Changed in: acpid (Ubuntu)
Sourcepackagename: None => acpid

-- 
acpid fails to upgrade
https://bugs.launchpad.net/bugs/221981
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to