IT/Software/Package Manager

From msgwiki
< IT‎ | Software
Revision as of 10:57, 22 August 2022 by Qiynor (talk | contribs) (→‎Muon)
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.

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.

Discover

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

Muon

To fix the issue with Muon, create the file /etc/sudoers.d/kdesu and write the following line into it:

Defaults!/usr/lib/*/libexec/kf5/kdesu_stub !use_pty

sources: https://www.kubuntuforums.net/forum/currently-supported-releases/kubuntu-22-04-jammy-jellyfish/desktop-environment-support/663217-muon-software-sources-not-working-after-upgrade which references to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1011624 for the solution


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.