Skip to content

"mv: cannot move '/tmp/tmp.CQUV8upcqo/.apt' to '/tmp/build_cfb537cb/.apt': File exists" when installing buildpack on Heroku #31

Open
@arahman4710

Description

@arahman4710
-----> Playwright app detected
-----> Installing System Dependencies
Cloning into '.'...
Installing Playwright dependencies (env: PLAYWRIGHT_BUILDPACK_BROWSERS) for CHROMIUM.
-----> Detected Aptfile or Stack changes, flushing cache
-----> Updating APT package index
       Get:1 http://archive.ubuntu.com/ubuntu jammy InRelease [270 kB]
       Get:2 http://apt.postgresql.org/pub/repos/apt jammy-pgdg InRelease [129 kB]
       Get:3 http://archive.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
       Get:4 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
       Get:5 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages [1,792 kB]
       Get:6 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages [17.5 MB]
       Get:7 http://archive.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1,226 kB]
       Get:8 http://archive.ubuntu.com/ubuntu jammy-security/main amd64 Packages [2,547 kB]
       Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1,517 kB]
       Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [2,852 kB]
       Get:11 http://apt.postgresql.org/pub/repos/apt jammy-pgdg/main amd64 Packages [580 kB]
       rm: cannot remove '/var/cache/apt/archives/partial/*.deb': Permission denied
       Fetched 28.6 MB in 1s (24.8 MB/s)
       Reading package lists...
       W: http://apt.postgresql.org/pub/repos/apt/dists/jammy-pgdg/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
-----> Fetching .debs for libvpx7
       Reading package lists...
       Building dependency tree...
       0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 7 not upgraded.
       Need to get 1,078 kB of archives.
       After this operation, 0 B of additional disk space will be used.
       Get:1 http://archive.ubuntu.com/ubuntu jammy-security/main amd64 libvpx7 amd64 1.11.0-2ubuntu2.3 [1,078 kB]
       Fetched 1,078 kB in 3s (425 kB/s)
       Download complete and in download only mode
-----> Installing libvpx7_1.11.0-2ubuntu2.3_amd64.deb
-----> Writing profile script
-----> Rewrite package-config files
mv: cannot move '/tmp/tmp.CQUV8upcqo/.apt' to '/tmp/build_cfb537cb/.apt': File exists
 !     Push rejected, failed to compile Playwright app.

Has anyone else run into this issue and know the fix?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions