Fading Coder

One Final Commit for the Last Sprint

Strategies for Creating an Offline APT Repository on Ubuntu

Building a robust offline package repository is crucial for managing software installations in air-gapped environments or on servers with limited internet access. This approach ensures that all necessary dependencies are available locally, preventing installation failures and maintaining consistency...

Configuring Regional Package Mirrors for Ubuntu 20.04 Focal Fossa

Before switching to a regional mirror, verify your system's distribution codename to ensure repository compatibility: lsb_release -cs For Ubuntu 20.04 LTS, this returns focal. Repository configurations must reference this specific codename—substituting incorrect release names will cause dependency r...

Configuring Regional Mirror Sources for APT, NPM, pip, and Docker

APT (Ubuntu/Debian) Preserve the original software sources list: sudo cp /etc/apt/sources.list /etc/apt/sources.list.$(date +%Y%m%d) Modify the repository definitions: sudo nano /etc/apt/sources.list Substitute the default entries with mirror endpoints. Example configuration for Ubuntu 22.04 using A...

Fix dpkg warnings about missing files list for packages

When apt/dpkg reports messages like "files list file for package … missing; assuming package has no files currently installed", it usually means the package’s .list metadata under /var/lib/dpkg/info is gone. The safest fix is to reinstall the affected packages. Below is a small workflow an...