Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #908320

Bug#904065: initramfs-tools: stderr reports "rmdir: failed to remove '/var/tmp/mkinitramfs_XXXXXX/var/cache/ldconfig': No such file or directory"

From Sven Joachim <svenjoac@gmx.de>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#904065: initramfs-tools: stderr reports "rmdir: failed to remove '/var/tmp/mkinitramfs_XXXXXX/var/cache/ldconfig': No such file or directory"
Date 2018-07-19 11:40 +0200
Message-ID <wddzH-qQ-3@gated-at.bofh.it> (permalink)
References <wd8ql-5Ua-1@gated-at.bofh.it> <wd8ql-5Ua-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Control: severity -1 minor
Control: tags -1 + patch

On 2018-07-19 12:04 +0800, Boyuan Yang wrote:

> Package: initramfs-tools
> Severity: important
> Version: 0.131
>
> Dear initramfs-tools maintainers,
>
> I installed initramfs-tools 0.131 from http://incoming.debian.org/debian-buildd and got the following error messages:
>
> ===========================================================================
> 正在安装新版本配置文件 /etc/initramfs-tools/initramfs.conf ...
> 正在设置 initramfs-tools (0.131) ...
> update-initramfs: deferring update (trigger activated)
> 正在设置 firefox-l10n-zh-cn (61.0.1-1) ...
> 正在处理用于 initramfs-tools (0.131) 的触发器 ...
> update-initramfs: Generating /boot/initrd.img-4.17.0-1-amd64
> rmdir: 删除 '/var/tmp/mkinitramfs_wEihys/var/cache/ldconfig' 失败: 没有那个文件或目录
> ===========================================================================
>
> A manual invocation of update-initramfs got the following output:
>
> ===========================================================================
> % LC_ALL=C sudo update-initramfs -u 
> update-initramfs: Generating /boot/initrd.img-4.17.0-1-amd64
> rmdir: failed to remove '/var/tmp/mkinitramfs_G50d00/var/cache/ldconfig': No 
> such file or directory
> % echo $?
> 0
> ============================================================================
>
> I'm not sure if it is a critical error or not. However, this problem needs to 
> be solved anyway.

Failing to remove a directory because it did not exist in the first
place is not a big deal, so this error message is just cosmetic.  Below
is a patch that fixes it.

Back to linux.debian.bugs.dist | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Bug#904065: initramfs-tools: stderr reports "rmdir: failed to remove '/var/tmp/mkinitramfs_XXXXXX/var/cache/ldconfig': No such file or directory" Boyuan Yang <073plan@gmail.com> - 2018-07-19 06:10 +0200
  Bug#904065: initramfs-tools: stderr reports "rmdir: failed to remove '/var/tmp/mkinitramfs_XXXXXX/var/cache/ldconfig': No such file or directory" Sven Joachim <svenjoac@gmx.de> - 2018-07-19 11:40 +0200

csiph-web