Bug 1220598 - virtiofsd: File from package already exists as a directory in system
Summary: virtiofsd: File from package already exists as a directory in system
Status: RESOLVED DUPLICATE of bug 1220592
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-29 07:22 UTC by Felix Niederwanger
Modified: 2024-03-02 04:51 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Niederwanger 2024-02-29 07:22:07 UTC
When updating to Tumbleweed snapshot 20240227 I get the following error message:

> error: unpacking of archive failed on file /usr/libexec/virtiofsd;65e02c7e: cpio: File from package already exists as a directory in system
> error: virtiofsd-1.10.1-3.1.x86_64: install failed
> error: virtiofsd-1.10.1-2.1.x86_64: erase skipped
> ( 43/104) Installing: virtiofsd-1.10.1-3.1.x86_64

Indeed, the directory /usr/libexec/virtiofsd exists and contains a virtiofsd binary:

> phoenix@racetrack-7290:/usr/libexec/virtiofsd> ls /usr/libexec/virtiofsd
> virtiofsd
> phoenix@racetrack-7290:/usr/libexec/virtiofsd> stat /usr/libexec/virtiofsd/virtiofsd
>   File: /usr/libexec/virtiofsd/virtiofsd
>   Size: 2788952         Blocks: 5448       IO Block: 4096   regular file
> Device: 0,35    Inode: 761792      Links: 1
> Access: (0755/-rwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
> Context: system_u:object_r:bin_t:s0
> Access: 2024-02-23 17:33:31.000000000 +0100
> Modify: 2024-02-23 17:33:31.000000000 +0100
> Change: 2024-02-27 08:11:27.270584421 +0100
>  Birth: 2024-02-27 08:11:27.250584470 +0100

I've not done (knowingly) any changes to this directory/files.
Comment 1 Felix Niederwanger 2024-02-29 08:04:06 UTC
A possible workaround is to remove and re-install the package:

> # zypper rm virtiofsd
> # zypper in virtiofsd

This was posted on the Factory mailing list.
Comment 2 David Disseldorp 2024-02-29 08:33:45 UTC
Looks like a dup. I expect quite a few people are hitting this

*** This bug has been marked as a duplicate of bug 1220592 ***