initramfs-tools ... update-initramfs: Generating /boot/initrd.img-3.14-kali1-amd64 mktemp: failed to create directory via template `/var/tmp/mki

Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.14-kali1-amd64
mktemp: failed to create directory via template `/var/tmp/mkinitramfs_XXXXXX‘: No such file or directory
update-initramfs: failed for /boot/initrd.img-3.14-kali1-amd64 with 1.
dpkg: error processing initramfs-tools (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:

slove:

在网上百度了一下都没有解决问题

直接cd到 var 发现没有tmp文件夹

cd /

cd var

mkdir tmp

sudo dpkg --configure -a

时间: 2024-11-05 13:34:14

initramfs-tools ... update-initramfs: Generating /boot/initrd.img-3.14-kali1-amd64 mktemp: failed to create directory via template `/var/tmp/mki的相关文章

Upgrading an ASP.NET MVC 2 Project to ASP.NET MVC 3 Tools Update

ASP.NET MVC 3 can be installed side by side with ASP.NET MVC 2 on the same computer, which gives you flexibility in choosing when to upgrade an ASP.NET MVC 2 application to ASP.NET MVC 3. To manually upgrade an existing ASP.NET MVC 2 application to v

maven打包 invalid entry size Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:1.5.14.RELEASE:repackage (default) on project

打包失败,但是不知是具体是什么引起得,使用mvn -e clean package,定位到报错得代码 在定位到代码,打上断点,使用maven 打包debug模式 找到dubbo.properties,发现有三行空 删除dubbo.properties,问题解决 原文地址:https://www.cnblogs.com/nunuAction/p/12144479.html

docker(二):CentOS安装docker

前置条件 1. CentOS 7:要求系统为64位.系统内核版本为 3.10 以上 使用如下命令,查看机器配置 lsb_release -a uname -a 2. 关闭防火墙 systemctl stop firewalld systemctl disable firewalld 配置yum源(可做) 配置centos7的yum源(阿里云) # 1.进入centos的yum目录 cd /etc/yum.repos.d/ # 2.备份原来的repo文件 mv CentOs-Base.repo C

安装vmware tools失败解决方法

失败提示: reating a new initrd boot image for the kernel. update-initramfs: Generating /boot/initrd.img-3.11.0-12-generic vmware-tools-thinprint initctl: Job failed to start Unable to start services for VMware Tools Execution aborted. 解决方法一: 后来参照了这个网页 ht

Ubuntu14 中安装 VMware10 Tools工具<2>

网上说已经针对上一篇提到的无法显示共享目录的问题做了补丁,补丁地址是https://github.com/rasa/vmware-tools-patches,我没有成功,还是出现"hgfs 不是目录"错误 使用df命令可以看到/mnt/hgfs已经成功挂载,且vmhgfs服务正常(使用lsmod | grep vm命令) 下载VMware10.0.2,安装后迫不及待的打开虚拟机进行vmtools的安装,成功的完成了之前需要打补丁才能通过的部分,但是在启动服务的时候报错 Creating

Unable to start services for VMware Tools

vmware安装扩展工具报错的问题 vmware安装扩展工具报错Creating a new initrd boot image for the kernel.update-initramfs: Generating /boot/initrd.img-2.6.38-8-genericinitctl: Job failed to start www.2cto.com Unable to start services for VMware Tools 解决方法: sudo apt-get insta

docker 安装(ubuntu)

更新apt库安装包索引 sudo apt-get update 由于访问docker库需要使用https,需要安装https的依赖包 $sudo apt-get install apt-transport-https ca-certificates curl gunpg-agent software-properties-common 添加docker的官方GPG公钥: $ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sud

Ubuntu16在VMWare中使用共享文件夹

安装 VMWare-tools 后共享文件夹一直无法使用,在网上折腾了好多方法,最后发现成功了. 多安装几次 VMWare-tools 吧,正确的时候如下: [email protected]:~/Desktop$ cd vmware-tools-distrib/ [email protected]:~/Desktop/vmware-tools-distrib$ ls bin caf doc etc FILES INSTALL installer lib vgauth vmware-instal

---Under Ubuntu 14.04

Thinprint provides driver-free printing. Do you wish to enable this feature? [yes] Disabling timer-based audio scheduling in pulseaudio. Detected X server version 1.15.1 Distribution provided drivers for Xorg X server are used. Skipping X configurati