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
 
(3 intermediate revisions by one other user not shown)
Line 16: Line 16:
*It seems pretty current.
*It seems pretty current.


<br />
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.<br />


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


=== Broken Password for config ===
===Broken Password for config===
for some reason you can no longer change software sources directly.  
for some reason you can no longer change software sources directly.  


====Discover====
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
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
====Muon====
To fix the issue with Muon, create the file <code>/etc/sudoers.d/kdesu</code> and write the following line into it:
<code> Defaults!/usr/lib/*/libexec/kf5/kdesu_stub !use_pty </code>
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.
<br />
<br />
==Change the Repository==
==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.

Latest revision as of 14:58, 7 September 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.

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.