IT/Software/Package Manager: Difference between revisions

From msgwiki
< IT‎ | Software
Jump to navigation Jump to search
Access restrictions were established for this page. If you see this message, you have no access to this page.
(added repository change)
Line 37: Line 37:


<code>sudo apt-get update --allow-releaseinfo-change</code>
<code>sudo apt-get update --allow-releaseinfo-change</code>
== Change the Repository ==
To change the repository open the sources.list file in <code>/etc/apt/</code> and change the address of the current repository to the one you want to use. You can find a list of all official archive mirrors for Ubuntu at https://launchpad.net/ubuntu/+archivemirrors.

Revision as of 12:50, 18 October 2021

The package manager is the system that manage packages(programs or libraries)

Programs are the main files

Libraries are common programs that other programs use.

Command line package management


GUI package management.

The classic here is Synaptic Package manager. It has not been updated since 2015 so for general use try something else

  • That said there are times when Synaptic can do thing the others cannot.

In KDE we like the Muon Package Manager.

  • It seems pretty current.


Issues

There are a few common things that can go wrong.

Change in PPA Label

This can happen when the developer makes a change to the core files of the PPA

If you use apt-get you will not get the option to accept the change.

The gui will not do this for you.

Option 1:

sudo apt update

Accept the changes.

Option 2:

sudo apt-get update --allow-releaseinfo-change

Change the Repository

To change the repository open the sources.list file in /etc/apt/ and change the address of the current repository to the one you want to use. You can find a list of all official archive mirrors for Ubuntu at https://launchpad.net/ubuntu/+archivemirrors.