IT/Software/Package Manager

From msgwiki
< IT‎ | Software
Jump to navigation Jump to search

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.

As of 22.04 we are moving towards the KDE native discover.

  • One obvious error is that it defaults to snaps
    • The program Evince(Document Viewer) is an example
      • The snap installs
      • BUT the print dialog does not give you the very options we like in Evince
      • Installing from Muon gives the full print Dialog.
  • Otherwise we are moving in this direction.
    • It has been 4 years since Muon was updated.
      • Which is mainly ok since it is just a front end for apt.

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.