Close Menu
    DevStackTipsDevStackTips
    • Home
    • News & Updates
      1. Tech & Work
      2. View All

      Top 10 Use Cases of Vibe Coding in Large-Scale Node.js Applications

      September 3, 2025

      Cloudsmith launches ML Model Registry to provide a single source of truth for AI models and datasets

      September 3, 2025

      Kong Acquires OpenMeter to Unlock AI and API Monetization for the Agentic Era

      September 3, 2025

      Microsoft Graph CLI to be retired

      September 2, 2025

      ‘Cronos: The New Dawn’ was by far my favorite experience at Gamescom 2025 — Bloober might have cooked an Xbox / PC horror masterpiece

      September 4, 2025

      ASUS built a desktop gaming PC around a mobile CPU — it’s an interesting, if flawed, idea

      September 4, 2025

      Hollow Knight: Silksong arrives on Xbox Game Pass this week — and Xbox’s September 1–7 lineup also packs in the horror. Here’s every new game.

      September 4, 2025

      The Xbox remaster that brought Gears to PlayStation just passed a huge milestone — “ending the console war” and proving the series still has serious pulling power

      September 4, 2025
    • Development
      1. Algorithms & Data Structures
      2. Artificial Intelligence
      3. Back-End Development
      4. Databases
      5. Front-End Development
      6. Libraries & Frameworks
      7. Machine Learning
      8. Security
      9. Software Engineering
      10. Tools & IDEs
      11. Web Design
      12. Web Development
      13. Web Security
      14. Programming Languages
        • PHP
        • JavaScript
      Featured

      Magento (Adobe Commerce) or Optimizely Configured Commerce: Which One to Choose

      September 4, 2025
      Recent

      Magento (Adobe Commerce) or Optimizely Configured Commerce: Which One to Choose

      September 4, 2025

      Updates from N|Solid Runtime: The Best Open-Source Node.js RT Just Got Better

      September 3, 2025

      Scale Your Business with AI-Powered Solutions Built for Singapore’s Digital Economy

      September 3, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      ‘Cronos: The New Dawn’ was by far my favorite experience at Gamescom 2025 — Bloober might have cooked an Xbox / PC horror masterpiece

      September 4, 2025
      Recent

      ‘Cronos: The New Dawn’ was by far my favorite experience at Gamescom 2025 — Bloober might have cooked an Xbox / PC horror masterpiece

      September 4, 2025

      ASUS built a desktop gaming PC around a mobile CPU — it’s an interesting, if flawed, idea

      September 4, 2025

      Hollow Knight: Silksong arrives on Xbox Game Pass this week — and Xbox’s September 1–7 lineup also packs in the horror. Here’s every new game.

      September 4, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Operating Systems»Linux»The Curious Case of AUR Updates Fetching 30 GB of Data for Electron

    The Curious Case of AUR Updates Fetching 30 GB of Data for Electron

    July 14, 2025

    The Curious Case of AUR Updates Fetching 30 GB of Data for Electron

    I am using CachyOS on my primary system these days and pretty content with its performance.

    Since it is based on Arch Linux, I am using a few software installed from the Arch User Repository (AUR) with Yay AUR Helper.

    While updating, it showed me a few packages that required upgrades.

    The Curious Case of AUR Updates Fetching 30 GB of Data for Electron

    I did not pay attention as there was nothing alarming and pressed the usual enter keys one after another.

    Only when it reached a certain stage that I realized that it was taking a lot longer to install these updates. I paid close attention at this stage and noticed an issue.

    It was trying to download GBs of data for Electron.

    The Curious Case of AUR Updates Fetching 30 GB of Data for Electron
    More than 25GB of updates? That’s not usual
    ✅
    Since it was fetching electron version 32, getting the binary from AUR itself easily fixed the issue:

    yay -S electron32-bin

    But there is more to it that I would like to discuss.

    What’s going on here?

    In simpler terms, Elecron is a JavScript framework that builds a graphical interface of an application on top of the Chromium web browser. From VS Code to Discord, tons of popular applications are built on Electron.

    When you run these applications, you are basically running a web browser underneath, and not everyone likes that. But it is easier to package an application, and the interface looks modern, and that’s why it is popular.

    Anyways, it is the functioning of AUR that complicates the issue here. It tries to build all the dependencies of a package.

    It seems like at some point in the past, I just pressed enter keys without paying attention and somehow the AUR system thought that it needed to download a specific version of electron as a dependency.

    The next problematic thing is that since it tries to build the package from source, it tries to get the entire source code of the Chromium project, which is in GBs.

    What should you do in such case?

    🚧
    I am using electron32 in the example here. Your electron version might be different and thus, you MUST change the commands in the examples here to reflect the correct electron version.

    First check what goes on with the troubled electron version. Where was it installed from and which packages require it?

    pacman -Qi electron32

    It gave me two interesting details. Electron32 came from the ‘Extra’ (cachyos-extra) repository and it was not required by any packages, not even as an optional dependency.

    The Curious Case of AUR Updates Fetching 30 GB of Data for Electron

    This was interesting and gave me the idea that perhaps it was of no use getting electron’s other version using AUR. So, what I did was to exclude electron from the AUR update.

    The Curious Case of AUR Updates Fetching 30 GB of Data for Electron
    I entered 4 here to exclude electron from the update

    And as I had guessed, rest of the three packages were updated without any issues. I wonder why AUR wanted to get it in the first place.

    But your case might not be as smooth as mine and you may actually need to get the electron version it needs. But downloading 30GB of update is surely not the way forward.

    Instead of getting the entire source code and then building the binaries from it, you can directly install the binary itself.

    So, if it was complaining about elctron32 in my case, I would get the binary in this manner:

    yay -S electron32-bin

    And as you can see in the image below, it only needed a package of around 100 MB.

    The Curious Case of AUR Updates Fetching 30 GB of Data for Electron

    I did this for demonstration purpose and since I had an existing electron version from another source, it showed me a potential conflict and asked me to remove the existing electron version.

    The Curious Case of AUR Updates Fetching 30 GB of Data for Electron

    Once that was done, it installed the electron32-bin package successfully.

    Summary

    When you are in a situation where AUR is downloading GBs of electron/chromium source code, you should do this:

    • See if you can exclude electron from the AUR update and the rest goes fine.
    • Otherwise, install the binary of the required electron version instead of getting the source code.

    Hope this helps some of you awesome readers 😸

    Source: Read More

    Facebook Twitter Reddit Email Copy Link
    Previous ArticlePlasma Bigscreen, KDE’s TV Interface, is Back on the Air
    Next Article iPhone alarm not going off? 6 potential fixes to this annoying issue

    Related Posts

    News & Updates

    ‘Cronos: The New Dawn’ was by far my favorite experience at Gamescom 2025 — Bloober might have cooked an Xbox / PC horror masterpiece

    September 4, 2025
    News & Updates

    ASUS built a desktop gaming PC around a mobile CPU — it’s an interesting, if flawed, idea

    September 4, 2025
    Leave A Reply Cancel Reply

    For security, use of Google's reCAPTCHA service is required which is subject to the Google Privacy Policy and Terms of Use.

    Continue Reading

    People are using ChatGPT to write their text messages – here’s how you can tell

    News & Updates

    CVE-2025-48207 – TYPO3 Reint Download Manager Insecure Direct Object Reference (IDOR)

    Common Vulnerabilities and Exposures (CVEs)

    CVE-2025-5765 – Code-projects Laundry System Cross Site Scripting Vulnerability

    Common Vulnerabilities and Exposures (CVEs)

    GPT-4o Is Back From the Dead — The “Best Friend” of Many ChatGPT Users Now Comes at a Price

    News & Updates

    Highlights

    CVE-2025-49216 – Trend Micro Endpoint Encryption Authentication Bypass

    June 17, 2025

    CVE ID : CVE-2025-49216

    Published : June 17, 2025, 9:15 p.m. | 1 hour, 16 minutes ago

    Description : An authentication bypass vulnerability in the Trend Micro Endpoint Encryption PolicyServer could allow an attacker to access key methods as an admin user and modify product configurations on affected installations.

    Severity: 9.8 | CRITICAL

    Visit the link for more details, such as CVSS details, affected products, timeline, and more…

    AI Tools Fuel Brazilian Phishing Scam While Efimer Trojan Steals Crypto from 5,000 Victims

    August 8, 2025

    Is Microsoft killing physical Xbox games? Between The Outer Worlds 2 and Gears of War: Reloaded, I’m worried

    June 17, 2025

    CVE-2022-45117 – Apache Struts Remote Code Execution Vulnerability

    May 28, 2025
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.