Forum › Forums › Official Releases › antiX-21/22 “Grup Yorum” › [Solved] dpkg error installing iso-snapshot-antix
- This topic has 3 replies, 2 voices, and was last updated May 2-11:52 pm by techore.
-
AuthorPosts
-
May 1, 2023 at 11:24 pm #105798Member
techore
Looking for guidance on trouble shooting and resolving
dpkg: error processing archive /var/cache/apt/archives/iso-snapshot-antix_0.5.1_amd64.deb (–unpack):
trying to overwrite ‘/usr/share/pixmaps/iso-snapshot.png’, which is also in package iso-snapshot-cli 23.04.12.apt install iso-snapshot-antix Reading package lists... Done Building dependency tree... Done The following NEW packages will be installed: iso-snapshot-antix 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded Need to get 0 B/298 kB of archives After this operation, 1,021 kB of additional disk space will be used. (Reading database ... 72785 files and directories currently installed.) Preparing to unpack .../iso-snapshot-antix_0.5.1_amd64.deb ... Unpacking iso-snapshot-antix (0.5.1) .. dpkg: error processing archive /var/cache/apt/archives/iso-snapshot-antix_0.5.1_amd64.deb (--unpack): trying to overwrite '/usr/share/pixmaps/iso-snapshot.png', which is also in package iso-snapshot-cli 23.04.12 E: Sub-process /usr/bin/dpkg returned error code (1)Thank you.
May 2, 2023 at 12:07 am #105803MemberRobin
::Obviously both packages try to install the very same icon file, which is not possible.
As a workaround, try entering the following command before installing the second conflicting package:
dpkg-divert --package iso-snapshot-antix --divert /usr/share/pixmaps/iso-snapshot1.png --rename /usr/share/pixmaps/iso-snapshot.pngThen the installation should work fine, one of the icons will be renamed on installation, so the installer won’t complain and fail any longer.
Windows is like a submarine. Open a window and serious problems will start.
May 2, 2023 at 12:13 am #105805Member
techore
::Neat! Not used dpkg-divert. I’ll do that for as a short-term solution instead of my initial plan to just delete the file.
Why does a cli need an icon? I don’t recall having the issue in the past. Odd. Was there a change in either package?
My first assumption was it was an oversight, but I didn’t want to assume thus the post, really,
May 2, 2023 at 11:52 pm #105867Member
techore
::Thank you, @anticapitalista for ee5b83d986a10ca1c49e9da3838af8bee65d56c9!
You are stealthy. 🙂
—
@masinick, can you update OP to [SOLVED]? (I miss PMs)
-
AuthorPosts
- You must be logged in to reply to this topic.