Unable to install change detection (issue installing msedge) #643

Closed
opened 2025-11-20 04:51:33 -05:00 by saavagebueno · 6 comments
Owner

Originally created by @kipusoep on GitHub (Mar 4, 2025).

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

Change Detection

📂 What was the exact command used to execute the script?

bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/changedetection.sh)"

📝 Provide a clear and concise description of the issue.

I am getting an error while it tries to install msedge, tried it 3 times:

+ install -o root -g root -m 644 /tmp/microsoft.gpg /etc/apt/trusted.gpg.d/
+ sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/edge stable main" > /etc/apt/sources.list.d/microsoft-edge-stable.list'
+ rm /tmp/microsoft.gpg
+ apt-get update
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://security.debian.org bookworm-security InRelease                                                                                                                                        
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease                                                                                                                                       
Hit:4 https://dl.google.com/linux/chrome/deb stable InRelease                                                                                                                                       
Hit:5 https://deb.nodesource.com/node_22.x nodistro InRelease                                                                                                                 
Hit:6 https://packages.microsoft.com/repos/edge stable InRelease
Reading package lists... Done
+ apt-get install -y microsoft-edge-stable
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  microsoft-edge-stable
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/170 MB of archives.
After this operation, 602 MB of additional disk space will be used.
(Reading database ... 50135 files and directories currently installed.)
Preparing to unpack .../microsoft-edge-stable_133.0.3065.92-1_amd64.deb ...
Unpacking microsoft-edge-stable (133.0.3065.92-1) ...
dpkg-deb: error: <decompress> subprocess was killed by signal (Killed)
dpkg: error processing archive /var/cache/apt/archives/microsoft-edge-stable_133.0.3065.92-1_amd64.deb (--unpack):
 cannot copy extracted data for './opt/microsoft/msedge/msedge' to '/opt/microsoft/msedge/msedge.dpkg-new': unexpected end of file or stream

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

🔄 Steps to reproduce the issue.

Install the script

Paste the full error output (if available).

+ install -o root -g root -m 644 /tmp/microsoft.gpg /etc/apt/trusted.gpg.d/
+ sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/edge stable main" > /etc/apt/sources.list.d/microsoft-edge-stable.list'
+ rm /tmp/microsoft.gpg
+ apt-get update
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://security.debian.org bookworm-security InRelease                                                                                                                                        
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease                                                                                                                                       
Hit:4 https://dl.google.com/linux/chrome/deb stable InRelease                                                                                                                                       
Hit:5 https://deb.nodesource.com/node_22.x nodistro InRelease                                                                                                                 
Hit:6 https://packages.microsoft.com/repos/edge stable InRelease
Reading package lists... Done
+ apt-get install -y microsoft-edge-stable
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  microsoft-edge-stable
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/170 MB of archives.
After this operation, 602 MB of additional disk space will be used.
(Reading database ... 50135 files and directories currently installed.)
Preparing to unpack .../microsoft-edge-stable_133.0.3065.92-1_amd64.deb ...
Unpacking microsoft-edge-stable (133.0.3065.92-1) ...
dpkg-deb: error: <decompress> subprocess was killed by signal (Killed)
dpkg: error processing archive /var/cache/apt/archives/microsoft-edge-stable_133.0.3065.92-1_amd64.deb (--unpack):
 cannot copy extracted data for './opt/microsoft/msedge/msedge' to '/opt/microsoft/msedge/msedge.dpkg-new': unexpected end of file or stream

🖼️ Additional context (optional).

No response

Originally created by @kipusoep on GitHub (Mar 4, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Change Detection ### 📂 What was the exact command used to execute the script? bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/changedetection.sh)" ### 📝 Provide a clear and concise description of the issue. I am getting an error while it tries to install msedge, tried it 3 times: ``` + install -o root -g root -m 644 /tmp/microsoft.gpg /etc/apt/trusted.gpg.d/ + sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/edge stable main" > /etc/apt/sources.list.d/microsoft-edge-stable.list' + rm /tmp/microsoft.gpg + apt-get update Hit:1 http://deb.debian.org/debian bookworm InRelease Hit:2 http://security.debian.org bookworm-security InRelease Hit:3 http://deb.debian.org/debian bookworm-updates InRelease Hit:4 https://dl.google.com/linux/chrome/deb stable InRelease Hit:5 https://deb.nodesource.com/node_22.x nodistro InRelease Hit:6 https://packages.microsoft.com/repos/edge stable InRelease Reading package lists... Done + apt-get install -y microsoft-edge-stable Reading package lists... Done Building dependency tree... Done Reading state information... Done The following NEW packages will be installed: microsoft-edge-stable 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/170 MB of archives. After this operation, 602 MB of additional disk space will be used. (Reading database ... 50135 files and directories currently installed.) Preparing to unpack .../microsoft-edge-stable_133.0.3065.92-1_amd64.deb ... Unpacking microsoft-edge-stable (133.0.3065.92-1) ... dpkg-deb: error: <decompress> subprocess was killed by signal (Killed) dpkg: error processing archive /var/cache/apt/archives/microsoft-edge-stable_133.0.3065.92-1_amd64.deb (--unpack): cannot copy extracted data for './opt/microsoft/msedge/msedge' to '/opt/microsoft/msedge/msedge.dpkg-new': unexpected end of file or stream ``` ### ⚙️ What settings are you using? - [x] Default Settings - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 🔄 Steps to reproduce the issue. Install the script ### ❌ Paste the full error output (if available). ``` + install -o root -g root -m 644 /tmp/microsoft.gpg /etc/apt/trusted.gpg.d/ + sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/edge stable main" > /etc/apt/sources.list.d/microsoft-edge-stable.list' + rm /tmp/microsoft.gpg + apt-get update Hit:1 http://deb.debian.org/debian bookworm InRelease Hit:2 http://security.debian.org bookworm-security InRelease Hit:3 http://deb.debian.org/debian bookworm-updates InRelease Hit:4 https://dl.google.com/linux/chrome/deb stable InRelease Hit:5 https://deb.nodesource.com/node_22.x nodistro InRelease Hit:6 https://packages.microsoft.com/repos/edge stable InRelease Reading package lists... Done + apt-get install -y microsoft-edge-stable Reading package lists... Done Building dependency tree... Done Reading state information... Done The following NEW packages will be installed: microsoft-edge-stable 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/170 MB of archives. After this operation, 602 MB of additional disk space will be used. (Reading database ... 50135 files and directories currently installed.) Preparing to unpack .../microsoft-edge-stable_133.0.3065.92-1_amd64.deb ... Unpacking microsoft-edge-stable (133.0.3065.92-1) ... dpkg-deb: error: <decompress> subprocess was killed by signal (Killed) dpkg: error processing archive /var/cache/apt/archives/microsoft-edge-stable_133.0.3065.92-1_amd64.deb (--unpack): cannot copy extracted data for './opt/microsoft/msedge/msedge' to '/opt/microsoft/msedge/msedge.dpkg-new': unexpected end of file or stream ``` ### 🖼️ Additional context (optional). _No response_
saavagebueno added the bug label 2025-11-20 04:51:33 -05:00
Author
Owner

@MickLesk commented on GitHub (Mar 4, 2025):

Image

working absolutly smooth. Are you sure, thats not an dns or network issue?

by the way, you get an OOM - Out of Memory)

@MickLesk commented on GitHub (Mar 4, 2025): ![Image](https://github.com/user-attachments/assets/64b9ad71-b9a4-402c-ae2b-83893b8f714b) working absolutly smooth. Are you sure, thats not an dns or network issue? by the way, you get an OOM - Out of Memory)
Author
Owner

@kipusoep commented on GitHub (Mar 4, 2025):

@MickLesk thanks for your reply!
I am not sure if it's a network issue, but it is the first LXC for me (out of 5 others) that is having issues.

Where do you spot a OoM error?

@kipusoep commented on GitHub (Mar 4, 2025): @MickLesk thanks for your reply! I am not sure if it's a network issue, but it is the first LXC for me (out of 5 others) that is having issues. Where do you spot a OoM error?
Author
Owner

@MickLesk commented on GitHub (Mar 4, 2025):

because the kernel canceled the action.

can you try advanced with more cpu, ram and hdd?

@MickLesk commented on GitHub (Mar 4, 2025): because the kernel canceled the action. can you try advanced with more cpu, ram and hdd?
Author
Owner

@kipusoep commented on GitHub (Mar 4, 2025):

It seems to work (4vcpu, 4GB RAM), I think the 1GB RAM is the culprit, because I noticed in Proxmox summary that the RAM usage was spiking to 1GB at the time of unpacking MSEdge.
Maybe change the default to 2GB?

@kipusoep commented on GitHub (Mar 4, 2025): It seems to work (4vcpu, 4GB RAM), I think the 1GB RAM is the culprit, because I noticed in Proxmox summary that the RAM usage was spiking to 1GB at the time of unpacking MSEdge. Maybe change the default to 2GB?
Author
Owner

@MickLesk commented on GitHub (Mar 4, 2025):

done with next pr

@MickLesk commented on GitHub (Mar 4, 2025): done with next pr
Author
Owner

@kipusoep commented on GitHub (Mar 4, 2025):

Nice! I created a new container with 2vcpu, 2GB RAM and 16GB HDD, works fine now :-)

@kipusoep commented on GitHub (Mar 4, 2025): Nice! I created a new container with 2vcpu, 2GB RAM and 16GB HDD, works fine now :-)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#643