Current location - Quotes Website - Signature design - How to update Debian source code and import public key
How to update Debian source code and import public key
First, the configuration file location of Debian source code is:

/etc/apt/sources.list

You can view the configuration information of the source by opening the file with a text editor.

Here's how to configure the signal source:

It's simple. Just write the source address into/etc//etc /etc/apt/sources.list

You can use # to comment.

Recommended 163, Sohu and other sources.

Sources.list needs to be updated after writing. Use the following command:

Apt-get update

If you are reminded that you need to import a key:

gpg-key server & lt; Key server & gt-recv & lt; Public key signature > gpg-export-armor <; Public key signature > | sudo apt-key add-

These include:

& lt Key Server & gt, the key server, can be filled in keyserver.ubuntu.com, or other.

The public key signature will be explained in the update prompt.

The following forms can also be used:

Advanced key server & lt key server & gt- recv-keys < Public key signature >

After completing the above steps, the source code has been updated, so you can try to update the software library with the new source code:

Apt upgrade