Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File collision between termimage 1.0.0 and git-delta 0.0.17 #5037

Closed
logolept opened this issue Mar 15, 2020 · 1 comment
Closed

File collision between termimage 1.0.0 and git-delta 0.0.17 #5037

logolept opened this issue Mar 15, 2020 · 1 comment
Labels
bug report Something is not working properly. packaging Issue related to building packages, not affecting end users directly.

Comments

@logolept
Copy link

Problem description

termimage 1.0.0 and git-delta 0.0.17 both contain a file named "/data/data/com.termux/files/usr/.crates2.json".

Steps to reproduce

pkg install termimage
pkg install git-delta

Expected behavior

I expected dpkg to install the git-delta package.

Additional information

$ termux-info
Packages CPU architecture:
arm
Subscribed repositories:
# sources.list
deb https://termux.org/packages/ stable main
# science-repo (sources.list.d/science.list)
deb https://dl.bintray.com/grimler/science-packages-24 science stable
# x11-repo (sources.list.d/x11.list)
deb https://dl.bintray.com/xeffyr/x11-packages x11 main
# game-repo (sources.list.d/game.list)
deb https://dl.bintray.com/grimler/game-packages-24 games stable
# unstable-repo (sources.list.d/unstable.list)
deb https://dl.bintray.com/xeffyr/unstable-packages unstable main
Updatable packages:
All packages up to date
Android version:
9
Kernel build information:
Linux localhost 4.4.111-17420370 #1 SMP PREEMPT Mon Dec 2 16:15:48 KST 2019 armv8l Android
Device manufacturer:
samsung
Device model:
SM-T510
$ pkg install git-delta
Ign:2 https://dl.bintray.com/grimler/game-packages-24 games InRelease
Ign:3 https://dl.bintray.com/grimler/science-packages-24 science InRelease
Ign:4 https://dl.bintray.com/xeffyr/unstable-packages unstable InRelease
Ign:5 https://dl.bintray.com/xeffyr/x11-packages x11 InRelease
Ign:1 https://dl.bintray.com/termux/termux-packages-24 stable InRelease
Get:7 https://dl.bintray.com/grimler/game-packages-24 games Release [5344 B]
Hit:7 https://dl.bintray.com/grimler/game-packages-24 games Release
Get:8 https://dl.bintray.com/grimler/science-packages-24 science Release [5348 B]
Hit:8 https://dl.bintray.com/grimler/science-packages-24 science Release
Get:9 https://dl.bintray.com/xeffyr/unstable-packages unstable Release [6065 B]
Hit:9 https://dl.bintray.com/xeffyr/unstable-packages unstable Release
Get:10 https://dl.bintray.com/xeffyr/x11-packages x11 Release [6055 B]
Hit:10 https://dl.bintray.com/xeffyr/x11-packages x11 Release
Get:6 https://dl.bintray.com/termux/termux-packages-24 stable Release [6061 B]
Hit:6 https://dl.bintray.com/termux/termux-packages-24 stable Release
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  git-delta
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/1159 kB of archives.
After this operation, 2454 kB of additional disk space will be used.
(Reading database ... 132700 files and directories currently installed.)
Preparing to unpack .../git-delta_0.0.17_arm.deb ...
Unpacking git-delta (0.0.17) ...
dpkg: error processing archive /data/data/com.termux/files/usr/var/cache/apt/archives/git-delta_0.0.17_arm.deb (--unpack):
 trying to overwrite '/data/data/com.termux/files/usr/.crates2.json', which is also in package termimage 1.0.0
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /data/data/com.termux/files/usr/var/cache/apt/archives/git-delta_0.0.17_arm.deb
E: Sub-process /data/data/com.termux/files/usr/bin/dpkg returned an error code (1)
@ghost ghost added bug report Something is not working properly. packaging Issue related to building packages, not affecting end users directly. labels Mar 15, 2020
ghost pushed a commit that referenced this issue Mar 15, 2020
.crates2.json is generated by cargo during the crate installation.

See #5037.
ghost pushed a commit that referenced this issue Mar 15, 2020
@ghost
Copy link

ghost commented Mar 16, 2020

Fixed now.

@ghost ghost closed this as completed Mar 16, 2020
@ghost ghost locked and limited conversation to collaborators Oct 9, 2021
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug report Something is not working properly. packaging Issue related to building packages, not affecting end users directly.
Projects
None yet
Development

No branches or pull requests

2 participants
@logolept and others