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.
No edit summary
Line 1: Line 1:
== The package manager is the system that manage packages(programs or libraries) ==
==The package manager is the system that manage packages(programs or libraries)==
Programs are the main files
Programs are the main files


Libraries are common programs that other programs use.  
Libraries are common programs that other programs use.  


=== Command line package management ===
===Command line package management===
<br />
<br />


=== GUI 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
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.
*That said there are times when Synaptic can do thing the others cannot.


In KDE we like the Muon Package Manager.
In KDE we like the Muon Package Manager.


* It seems pretty current.  
*It seems pretty current.


<br />
<br />


== Issues ==
==Issues==
There are a few common things that can go wrong.  
There are a few common things that can go wrong.  


=== Change in PPA Label ===
===Change in PPA Label===
This can happen when the developer makes a change to the core files of the PPA
This can happen when the developer makes a change to the core files of the PPA


Line 38: Line 38:
<code>sudo apt-get update --allow-releaseinfo-change</code>
<code>sudo apt-get update --allow-releaseinfo-change</code>


== Change the Repository ==
=== Broken Password for config ===
for some reason you can no longer change software sources directly.
 
With [https://askubuntu.com/questions/1404500/software-sources-not-accessible-from-discover this fix] you can do so in discover. The bug is in progress.  Fixed in 22.10 but not 22.04 yet
<br />
==Change the Repository==
To change the repository open the <code>sources.list</code> 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.
To change the repository open the <code>sources.list</code> 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 07:39, 16 August 2022

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

Broken Password for config

for some reason you can no longer change software sources directly.

With this fix you can do so in discover. The bug is in progress. Fixed in 22.10 but not 22.04 yet

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.