Unable to install initramfs-tools
Hi,
Followed the procedure at https:/
-Eero
hilkka@susihukka:~$ sudo fuser -vvv /var/lib/dpkg/lock
[sudo] password for hilkka:
/var/lib/dpkg/lock: root 2158 F.... synaptic
hilkka@susihukka:~$ cat /etc/lsb-release
DISTRIB_
DISTRIB_RELEASE=1
DISTRIB_
DISTRIB_
hilkka@susihukka:~$ uname -a
Linux susihukka 3.1.0-1-686-pae #1 SMP Sun Dec 11 20:40:16 UTC 2011 i686 GNU/Linux
hilkka@susihukka:~$ sudo rm /var/lib/
hilkka@susihukka:~$ sudo cp -arf /var/lib/dpkg /var/lib/
hilkka@susihukka:~$
hilkka@susihukka:~$ sudo cp /var/lib/
hilkka@susihukka:~$ sudo cp /var/lib/
hilkka@susihukka:~$ sudo rm -rf /var/lib/
hilkka@susihukka:~$ sudo rm -rf /var/lib/apt/lists
hilkka@susihukka:~$ sudo rm /var/cache/
hilkka@susihukka:~$ sudo mkdir /var/lib/apt/lists
hilkka@susihukka:~$ sudo mkdir /var/lib/
hilkka@susihukka:~$ LANG=C;sudo apt-get clean
hilkka@susihukka:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
hilkka@susihukka:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up initramfs-tools (0.99) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.
cp: cannot stat `/lib/libacl*': No such file or directory
E: /usr/share/
update-initramfs: failed for /boot/initrd.
dpkg: error processing initramfs-tools (--configure):
subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
hilkka@susihukka:~$ LANG=C;sudo apt-get update -o APT::Cache-
Get:1 http://
Ign http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Get:8 http://
Get:9 http://
Ign http://
Get:10 http://
Ign http://
Ign http://
Ign http://
Fetched 8043 kB in 16s (476 kB/s)
Reading package lists... Done
hilkka@susihukka:~$ sudo dpkg --clear-avail
hilkka@susihukka:~$ sudo dpkg --configure -a
Setting up initramfs-tools (0.99) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.
cp: cannot stat `/lib/libacl*': No such file or directory
E: /usr/share/
update-initramfs: failed for /boot/initrd.
dpkg: error processing initramfs-tools (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
initramfs-tools
hilkka@susihukka:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 35 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up initramfs-tools (0.99) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.
cp: cannot stat `/lib/libacl*': No such file or directory
E: /usr/share/
update-initramfs: failed for /boot/initrd.
dpkg: error processing initramfs-tools (--configure):
subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
hilkka@susihukka:~$ LANG=C;sudo apt-get --fix-missing install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 35 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up initramfs-tools (0.99) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.
cp: cannot stat `/lib/libacl*': No such file or directory
E: /usr/share/
update-initramfs: failed for /boot/initrd.
dpkg: error processing initramfs-tools (--configure):
subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
hilkka@susihukka:~$ LANG=C;sudo apt-get update -o APT::Cache-
Hit http://
Get:1 http://
Ign http://
Get:2 http://
Get:3 http://
Ign http://
Hit http://
Ign http://
Get:4 http://
Get:5 http://
Ign http://
Ign http://
Get:6 http://
Get:7 http://
Get:8 http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Fetched 53.0 kB in 5s (9480 B/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
mint-
The following packages have been kept back:
mint-flashplugin xserver-xorg xserver-xorg-core
xserver-
xserver-
xserver-
xserver-
xserver-
xserver-
xserver-
xserver-
xserver-
xserver-
xserver-
xserver-
xserver-
xserver-
xserver-
xserver-
0 upgraded, 1 newly installed, 0 to remove and 35 not upgraded.
1 not fully installed or removed.
Need to get 6430 kB of archives.
After this operation, 17.0 MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://
Fetched 6430 kB in 11s (541 kB/s)
Selecting previously unselected package mint-flashplugi
(Reading database ... 139465 files and directories currently installed.)
Unpacking mint-flashplugin-11 (from .../mint-
Setting up initramfs-tools (0.99) ...
update-initramfs: deferring update (trigger activated)
Setting up mint-flashplugin-11 (11.0.d1.98) ...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.
cp: cannot stat `/lib/libacl*': No such file or directory
E: /usr/share/
update-initramfs: failed for /boot/initrd.
dpkg: error processing initramfs-tools (--configure):
subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu apt Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Eero Hytönen
- Solved:
- Last query:
- Last reply: