update-available

Lite Sources – Easily switch Linux Lite Repository Mirrors

It seems to happen time and time again; some users report issues when checking for new updates in Linux Lite. There is an array of events that could cause issues when checking for updates, including but not limited to routing issues, temporary networks breakages, congestion and so on. Irrespective, a little education and guidance could make a big difference when it comes to updating your Linux Lite OS. Here I share few things you can do to improve your experience and reduce the chances for failures, thus I give you a simple tool to switch Linux Lite Repository mirrors.

As explained in the Linux Lite Help Manual (Change your Software Updates Country Location section) , to ensure that you get updates and software downloaded as fast as possible, you should select servers from locations closer to you. That’s not only beneficial in terms of speed but it also helps tremendously in terms of connection reliability. What the manual doesn’t seem to explain clearly is how updates are fetched or where they come from.

  • Change your Software Updates Country Location
  • The option refers to the server(s) that will be used to receive Ubuntu based updates. As you may be aware, Linux Lite is based on Ubuntu.

  • Lite Software – Change Repository Location
  • The option refers to the server(s) that will be used to receive Linux Lite specific updates.

    Both options can be (and should be) manually configured after installing Linux Lite for optimal speed and reliability, which in turn can reduce the chances for updates failures. Let’s change them then!

    Change your Software Updates Country Location

    To Change your Software Updates Country Location, open Menu => All => Software & Updates
    software-and-updates

    From the Download from: drop down box, select Other. Then select your country and finally a server (preferably an Ubuntu server if listed) or another server if an Ubuntu server is not available in the list. If no Ubuntu mirror is listed, I recommend for you to use the Select Best Server button and a server will be selected for you after some automated tests.
    select-best-server

    Lite Software – Change Repository Location

    Buy Ralpy a coffee :)To change Lite Software Repository Location there wasn’t an easy GUI tool to do so until now. I have coded Lite Sources for that purpose. Lite Sources is expected to be released with Linux Lite 3.6 but until then, here is an early release for you all :)

    lite-sources-main

    Lite Sources allows users to switch to a different Linux Lite repository mirror with easy and makes it simple to check the repository mirrors status.

    repositories-check

    Linux Lite main repository server is hosted in US, which is good for users located in US but no so much for the rest. Lite Sources should help revert that trend. 😛

    To install Lite Sources, from Terminal:

    Add Unlockforus repository to if you haven’t done so yet:

    ~$ echo "deb https://unlockforus.com/repository/dists/xenial/ /" | sudo tee /etc/apt/sources.list.d/unlockforus-xenial.list
    # And add the PGP key:
    ~$ curl -s https://unlockforus.com/repository/keyFile | sudo apt-key add -
    

    Then install Lite Sources:

    ~$ sudo apt-get update && sudo apt-get install litesources-lite -y

    To launch Lite Sources, browse to Menu => All => Lite Sources and choose a server close to your location as your preferred Linux Lite repository mirror.

    Lite Sources

    If you wish to just check repository mirrors status, you can launch it from Terminal as follows:

    ~$ litesources-repos-check &
    repos-check-terminal
    repos-check-termnal2

    Cheers!

    Related Post

    Definitive fix for Linux Lite 3.x Menu Linux Lite's heavily customized Whisker menu wouldn't be such a problem if proper measures had been put in place during its development; or better sai...
    Fix System Settings Docky icon displayed as blueto... Docky, like Plank or Cairo Dock, is an advanced shortcut bar that sits at the edges of your screen. It provides easy access to some of the files, fold...
    PolicyKit high memory usage in Linux Mint 17.x ... Is it RAM and swap usage getting out of control in your Linux Mint box? The buggy-man may actually be policykit NOT, draining your system resources up...

    5 thoughts on “Lite Sources – Easily switch Linux Lite Repository Mirrors

    1. The following NEW packages will be installed:
      litesources-lite
      0 upgraded, 1 newly installed, 0 to remove and 114 not upgraded.
      Need to get 0 B/206 kB of archives.
      After this operation, 234 kB of additional disk space will be used.
      (Reading database … 169684 files and directories currently installed.)
      Preparing to unpack …/litesources-lite_1.0-0010_all.deb …
      Unpacking litesources-lite (1.0-0010) …
      dpkg: error processing archive /var/cache/apt/archives/litesources-lite_1.0-0010_all.deb (–unpack):
      trying to overwrite ‘/usr/local/sbin/repositories’, which is also in package lite-sources 2.0-0020-linuxlite
      dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
      Errors were encountered while processing:
      /var/cache/apt/archives/litesources-lite_1.0-0010_all.deb
      E: Sub-process /usr/bin/dpkg returned an error code (1)

    2. You already have the package lite-sources 2.0-0020-linuxlite installed. If you prefer to use this version you need to uninstall lite-sources 2.0-0020-linuxlite and then install litesources-lite_1.0-0010_all.deb.

      Cheers!

    Leave a Reply