sources.list file

Lista
Photograph of David Ballew in Unsplash

Deepin has a sources.list. It contains a list of repositories to install or upgrade (both those provided for Deepin Store as the third parties). It is there that speed is an important factor for your computer is updated as quickly as possible factor.

Here we show you how to edit a file named "sources.list" via terminal or graphic. The list of mirrors find the respective page.

Note that we use the branch lion packages designed to use the operating system. Before 15.10 was used panda .

Procedure

From the terminal
Source.list desde la terminal

  1. Entra en la sources.list, tienes dos comandos de la terminal:
    • sudo apt edit-sources
  2. Find the line that starts with deb and numeral prefixed not to interfere
    • Example: #deb[by-hash=force] http://..........
  3. Beneath it adds the following line:
    • Example: deb [by-hash=force] http://mirrors.kernel.org/deepin/ panda main contrib non-free
  4. Save changes with the keyboard shortcut: 'Ctrl + O' (nano)
  5. Confirm with the Enter key
  6. Salt editor with this keyboard shortcut: Control + x
  7. Check if you can upgrade with sudo apt update

Nota: Nano es un editor ligero de texto que se integra correctamente en la terminal

From the file manager

Lista de fuentes para actualizar Deepin

  1. Abre el gestor con permisos de administrador
  2. Login to /etc/apt/sources.list and edit
  3. Find the line that starts with deb and numeral prefixed not to interfere
    • Example: #deb[by-hash=force] http://..........
  4. Beneath it adds the following line:
    • Example: deb [by-hash=force] http://mirrors.kernel.org/deepin/ panda main contrib non-free
  5. Save the file and close the editor and manager
  6. See if you can upgrade from the Control Center

Note: You can not edit the file without administrator permissions.

Desde Synaptic

Si quieres editar de forma segura. Este método sería útil para no manipular de más.

  • Abre Synaptic, disponible en Deepin Store.
  • Dirígete a Configuración > Repositorios
  • Verás un listado de repositorios.
  • Puedes añadir o quitar a tu voluntad.
  • Si se marca un repositorio, se activará. De lo contrario, no podrás usar paquetes de ese repositorio.

Extra: Via Propiedades de software

  1. Install the update manager GNOME;
    • In the terminal it is: sudo apt install software-properties-gtk - Not available in Deepin Store
  2. Access "Software & Update";
    • Se integra también en Synaptic.
  3. Go to "Download from";
  4. Select the server or, on the other tab it includes an extra.

Note: You can uninstall it with sudo apt remove software-properties-gtk

Lectura adicional

Tags:

Would you recommend this article?

Previous

host file

Following

Deepin audit