[GH-ISSUE #4014] Installation problem: trying to overwrite '/etc/firejail/0ad.profile' #2505

Closed
opened 2026-05-05 09:11:19 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @igor2x on GitHub (Feb 26, 2021).
Original GitHub issue: https://github.com/netblue30/firejail/issues/4014

I get error when installing firejail deb package.

Bug and expected behavior

  • Problem: Firejail installation returns error
  • Expecting behavior: successful installation of Firejail

Reproduce

  1. Downloaded latest Firejail version on Ubuntu 20.04
  2. Executing: sudo dpkg -i firejail_0.9.64.4_1_amd64.deb
    and the following output appears:
Reading database ... 212822 files and directories currently installed.)
Preparing to unpack firejail_0.9.64.4_1_amd64.deb ...
Unpacking firejail (0.9.64.4-1) over (0.9.62-3) ...
dpkg: error processing archive firejail_0.9.64.4_1_amd64.deb (--install):
 trying to overwrite '/etc/firejail/0ad.profile', which is also in package firejail-profiles 0.9.62-3
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 firejail_0.9.64.4_1_amd64.deb

Environment

  • Linux distribution:
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description: Ubuntu 20.04.2 LTS
    Release: 20.04
    Codename: focal

  • Firejail version
    (see above deb file)

Originally created by @igor2x on GitHub (Feb 26, 2021). Original GitHub issue: https://github.com/netblue30/firejail/issues/4014 I get error when installing firejail deb package. **Bug and expected behavior** - Problem: Firejail installation returns error - Expecting behavior: successful installation of Firejail **Reproduce** 1. Downloaded latest Firejail version on Ubuntu 20.04 2. Executing: `sudo dpkg -i firejail_0.9.64.4_1_amd64.deb` and the following output appears: ``` Reading database ... 212822 files and directories currently installed.) Preparing to unpack firejail_0.9.64.4_1_amd64.deb ... Unpacking firejail (0.9.64.4-1) over (0.9.62-3) ... dpkg: error processing archive firejail_0.9.64.4_1_amd64.deb (--install): trying to overwrite '/etc/firejail/0ad.profile', which is also in package firejail-profiles 0.9.62-3 dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) Errors were encountered while processing: firejail_0.9.64.4_1_amd64.deb ``` **Environment** - Linux distribution: No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.2 LTS Release: 20.04 Codename: focal - Firejail version (see above deb file)
Author
Owner

@rusty-snake commented on GitHub (Feb 26, 2021):

Looks like you have a firejail installation from the ubuntu packages (what shows apt list --installed | grep firejail). You need to uninstall this first (sudo apt remove --autoremove --purge firejail firejail-profiles).

<!-- gh-comment-id:786682189 --> @rusty-snake commented on GitHub (Feb 26, 2021): Looks like you have a firejail installation from the ubuntu packages (what shows `apt list --installed | grep firejail`). You need to uninstall this first (`sudo apt remove --autoremove --purge firejail firejail-profiles`).
Author
Owner

@igor2x commented on GitHub (Feb 26, 2021):

I executed your "apt list" command:

firejail-profiles/focal,focal,now 0.9.62-3 all [installed,automatic]
firejail/focal,now 0.9.62-3 amd64 [installed]

Then I have executed your "apt remove" command and installed firejail as described in my first post.

Command firejail --version outputs: firejail version 0.9.64.4
Problem solved. Thanks for help.

<!-- gh-comment-id:786779014 --> @igor2x commented on GitHub (Feb 26, 2021): I executed your "apt list" command: ``` firejail-profiles/focal,focal,now 0.9.62-3 all [installed,automatic] firejail/focal,now 0.9.62-3 amd64 [installed] ``` Then I have executed your "apt remove" command and installed firejail as described in my first post. Command `firejail --version` outputs: `firejail version 0.9.64.4` Problem solved. Thanks for help.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#2505
No description provided.