Links related to tag ubuntu

Un bon coup de ménage pour supprimer des snap sur ubuntu et degager le system snap entier :P

Source Debugpoint

A tutorial on how to remove Snap from Ubuntu Linux and getting a snap-free system.

Snap packages developed by Canonical are beneficial for several use cases. It provides an easy and faster update of applications directly to the end-users. Not only that, it has several other benefits, such as it comes with all dependencies packaged and allows multiple installations of the same applications. Furthermore, it runs in a sandbox mode providing security and other benefits.

Among all these benefits, there are other debatable drawbacks of Snap tech. FOr example, almost every user who used Snap reported its slower performance, including its startup time compared to native deb or RPM packages. In addition, due to its design, the application installation size is huge and costs disk space because it packages all the dependencies.

Not only that, due to its sandbox nature, the Snap apps may not access several areas of your Linux desktop until managed with proper permission.

This guide explains how you can remove the snap from the Ubuntu system altogether.

These steps are tested in Ubuntu 22.04 LTS Jammy Jellyfish. However, it should work for all applicable Ubuntu versions.

Warning: These steps will remove Software and Firefox, the two critical applications in your Ubuntu system. Make sure you take backups of bookmarks and other Firefox settings before trying these steps.

Remove Snap Packages in Ubuntu Linux

1 - Open a terminal and view the list of Snap packages installed in your system using the below command. It shows the snap packages such as Firefox, Software store, themes and other core packages installed by default.

snap list

snap list

Snap list in UbuntuSnap list in Ubuntu

2 - Remove snap packages in the following order. Firstly remove Firefox. Secondly, snap-store and the other packages that you see in the above command output in your system.

sudo snap remove --purge firefox
sudo snap remove --purge snap-store
sudo snap remove --purge gnome-3-38-2004

sudo snap remove --purge gtk-common-themes
sudo snap remove --purge snapd-desktop-integration
sudo snap remove --purge bare
sudo snap remove --purge core20
sudo snap remove --purge snapd

3 - Finally, remove the snap daemon via apt command.

sudo apt remove --autoremove snapd

apt remove

remove snap and othersremove snap and others

That’s not all. Even if you removed the snaps using the above command, the sudo apt update command again brings back the snap if you don’t stop the apt trigger.

4 - So, to stop that, we need to create an apt preference file in /etc/apt/preferences.d/ and create a new preference file to stop snap. Create a new file called nosnap.pref in /etc/apt/preferences.d/

sudo gedit /etc/apt/preferences.d/nosnap.pref

5 - And add the following lines, then save the file.

Package: snapd
Pin: release a=*
Pin-Priority: -10

create a pref file

create a pref file

The apt preference is a potent tool if you know how to use it. For example, in the above statements, the Pin-Priority -10 means preventing a package from installation.

Unrelated to this tutorial, for example, if you want to give super high priority to all the packages from distribution code name=bullseye, then one may see these preferences. If you want to learn more, you can visit the apt man pages.

Package: *
Pin: release n=bullseye
Pin-Priority: 900

6 - Coming back to the topic, once you save and close the above file, run the below again from the terminal.

sudo apt update

7 - Finally, the steps are complete for getting rid of the snap from Ubuntu.

Installing Software and Firefox as deb files after removing Snap from Ubuntu

You removed Firefox and Sofware applications, so you need those for your work.

To install the apt version of the Gnome Software, you can use the following command. Make sure you use the –install-suggests. Otherwise, it will install the snap version again!

sudo apt install --install-suggests gnome-software

And to install firefox, use the official PPA via the below commands.

sudo add-apt-repository ppa:mozillateam/ppa
sudo apt update
sudo apt install -t 'o=LP-PPA-mozillateam' firefox

add the ppa

Add the PPA

install firefox deb

Install Firefox as deb file from PPA

Once you have installed the Firefox, enable the automatic update using the below commands. To learn more, visit this page.

echo 'Unattended-Upgrade::Allowed-Origins:: "LP-PPA-mozillateam:${distro_codename}";' | sudo tee /etc/apt/apt.conf.d/51unattended-upgrades-firefox

Last but not the least, create another preference file for Firefox to give super high priority to the above PPA while running apt. If you don’t do this, the apt update command again pulls back firefox snap and brings over its “snap friends” 😂😂😂.

sudo gedit /etc/apt/preferences.d/mozillateamppa

Finally, add these lines and save the file.

Package: firefox*
Pin: release o=LP-PPA-mozillateam
Pin-Priority: 501

That’s it.

Revert back to Snap in Ubuntu

If you change your mind, remove the preference file and install the applications again using the below set of commands.

sudo rm /etc/apt/preferences.d/nosnap.pref
sudo apt update && sudo apt upgrade
sudo snap install snap-store
sudo apt install firefox
Got a Second? Run This Tool to Help Improve GNOME! - omglinux

GNOME has launched a new campaign that it hopes will help to 'better understand' its users --- and anyone can take part.

To get involved, you need to install a new CLI tool called 'GNOME Info Collect'. This gathers (anonymous) data about how your GNOME system is set-up, and sends it to GNOME servers, where it can then be analysed.

"The goal of this tool is to help improve GNOME, by providing data t...

Discord sur Ubuntu flood le syslog

symptomes

  • Jul 9 11:11:14 home discord.desktop[14638]: [2022-07-09 11:11:14.200] [14662] (device_info_linux.cc:78): GetDeviceName
  • Jul 9 11:11:17 home discord.desktop[14638]: [2022-07-09 11:11:17.203] [14662] (device_info_linux.cc:45): NumberOfDevices
  • Jul 9 11:11:17 home discord.desktop[14638]: [2022-07-09 11:11:17.319] [14662] (device_info_linux.cc:45): NumberOfDevices
  • Jul 9 11:11:17 home discord.desktop[14638]: [2022-07-09 11:11:17.320] [14662] (device_info_linux.cc:78): GetDeviceName
  • Jul 9 11:11:20 home discord.desktop[14638]: [2022-07-09 11:11:20.322] [14662] (device_info_linux.cc:45): NumberOfDevices
  • Jul 9 11:11:20 home discord.desktop[14638]: [2022-07-09 11:11:20.439] [14662] (device_info_linux.cc:45): NumberOfDevices
  • Jul 9 11:11:20 home discord.desktop[14638]: [2022-07-09 11:11:20.440] [14662] (device_info_linux.cc:78): GetDeviceName
  • Jul 9 11:11:23 home discord.desktop[14638]: [2022-07-09 11:11:23.443] [14662] (device_info_linux.cc:45): NumberOfDevices
  • Jul 9 11:11:23 home discord.desktop[14638]: [2022-07-09 11:11:23.559] [14662] (device_info_linux.cc:45): NumberOfDevices
  • Jul 9 11:11:23 home discord.desktop[14638]: [2022-07-09 11:11:23.560] [14662] (device_info_linux.cc:78): GetDeviceName
  • Jul 9 11:11:26 home discord.desktop[14638]: [2022-07-09 11:11:26.563] [14662] (device_info_linux.cc:45): NumberOfDevices
  • Jul 9 11:11:26 home discord.desktop[14638]: [2022-07-09 11:11:26.679] [14662] (device_info_linux.cc:45): NumberOfDevices
  • Jul 9 11:11:26 home discord.desktop[14638]: [2022-07-09 11:11:26.680] [14662] (device_info_linux.cc:78): GetDeviceName

cause

le package discord.deb ou pire le snap pu !

solution

installer discord-canary.deb depuis https://discordapp.com/api/download/canary?platform=linux

ubuntu Pete tout , et alors?

Ubuntu 22.04 Kills Apps Too Frequently – Users Aren’t Impressed - omgubuntu

If you've found memory management in Ubuntu a little on the aggressive side since upgrading to 22.04 LTS know this: you are not alone.

A discussion on the Ubuntu mailing list highlights issues scores of users are experiencing. Out of the blue, with no indication anything is wrong, apps like Firefox, Chrome, and Visual Studio Code just die... Blink out of existence.

At fault? Ubuntu 22.04 LTS's intr...

GNOME Shell for Mobile is Shaping Up VERY Nicely - omgubuntu

Dream of using GNOME Shell on your smartphone? Well, the reality is much closer than you think!

Of course, if you're familiar with Linux phone development you will/should of heard of (and maybe even tried) Phosh by now. This is a mobile UI loosely associated with the GNOME project but spearheaded by Purism (with design by Tobias Bernard). It uses core GTK technologies and comes with a UI inspired...

Ubuntu 20.04 LTS rollback

Suite et fin de ma mésaventure avec l'upgrade de merde en 22.04.

Pour la faire courte j'ai réinstallé la 20.04 LTS, et comme je suis parano, j'avais des backups en veux-tu en voila, que j'ai pu reprendre pour restorer $HOME et zoo

En détails kékicépassé ?

Hangul

Apres mes déboires lors de l'upgrade en 22.04 et la découverte de la perte de du Hangul... j'ai remué ciel et terre pour trouver une solution, tant sur irc #ubuntu-kr (où on m'a dit "ouais ubuntu c'est de pire en pire depuis la 18.04, j'ai remis une gentoo sur le laptop") qu'auprès d'un des mainteneurs du packet ibus-hangul pour ubuntu (qui m'a joyeusement envoyé chier avec un "j'utilise ubuntu 20.04")

Ouais Land !

J'ai découvert que passer Wayland serait le saint graal et comme le driver de ma carte graphique NVIDIA datait de la 18.04 je me suis resolu à passer à la derniere version puisque le carte etait dans le lot des cartes supportées.

Grand mal m'en a pris, au reboot, comme attendu (oui comme attendu car c'etait un probleme très bien connu sur un forum de nvidia) le portable ne rebootait plus une fois la clé de cryptage fournie... \

NVIDIA

Au final j'ai rebooté en mode recovery, et fait un bon gros

shell apt remove nvidia-*

et là tranquille et content je reboot
et hop tout est de retour je souffle .... ou presque
je pars pour me remettre la version de la 18.04 du driver nvidia

shell apt remove nvidia-*-390

RESEAU

et là surprise, plus de reseau !

la goutte d'eau mon vieux !

USB RUFUS

"hey fiston passe moi ton portable que je me fasse un clef boutable ..."

et voilà j'ai dl une image iso de la version desktop et avec rufus ; coller ca sur une clé USB 8Go, changer l'ordre de bootage dans le bios du portable et c'était reparti, installation de base, et tout à la fin, j'ai pluggé un disque externe ssd 1To, restorer à la bonne date (pour eviter de flinguer mon $HOME avec des fichiers de conf en 22.04 :P)

Ubuntu 22.04 casse le support du Hangul en beauté sans rien dire

On ne m'y reprendra plus...
Mettre a jour une LTS par une autre LTS "trop tôt" , plus JA MAIS ou alors pire ... plus de UBUNTU.
Comment une upgrade plante carrement le support d'une langue asiatique sans sourciller ?

C'est possible

Tout est installé correctement mais le support du clavier a sauté et on se retrouve en qwerty, pas un mot en hangul n'est possible.

j'ai meme tente de remplacer ibus par fcitx5 comme on me l'a suggere sur une instance masto coréenne https://wiki.archlinux.org/title/Fcitx5#Integration
ou encore à partir de ce wiki https://kwonnam.pe.kr/wiki/linux/ubuntu/20.04

J'ai aussi tenté

Mais rien n'y a fait et pour tout remettre comme avant (que je dezingue tout) j'ai souffert le martyr...

Alors que je me plains sur mastodon de la façon dont ubuntu gere la situation,

on me suggere très intelligemment de passer à Fedora ...

Nan mais sans déconner on en est encore à faire des reponses comme ca ??

Ca fait avancer le pb ?

Breeffffffffffffffffffff

How to Install Firefox as a .Deb on Ubuntu 22.04 (Not a Snap) - omgubuntu

In this guide I detail how to install Mozilla Firefox as a .deb package on Ubuntu 22.04 LTS and not as a Snap app.

Ubuntu's latest version includes Firefox as a Snap app by default. This Snap package is the only version of Firefox included 'out of the box'. If you run apt install firefox on Ubuntu 22.04 it won't install a .deb version as before, but instead fetch a transitional package that insta...

Comment mettre à jour Ubuntu en version 22.04 LTS

Si comme moi vous jouez la prudence avec une LTS (la mienne depuis 18.04), voici un florilège d'articles pour nous permettre de franchir le pas ... ou pas avant juillet 2022 ;)

Comment mettre à niveau vers Ubuntu 22.04 LTS “Jammy Jellyfish” ?

Comment passer d'Ubuntu 20.04 LTS à la nouvelle 22.04

Canonical Ubuntu 22.04 LTS : tous les détails

Comment mettre à niveau vers Ubuntu 22.04 LTS “Jammy Jellyfish” ? - numetopia

Ubuntu 22.04 LTS "Jammy Jellyfish" est sortie le 21 avril 2022. Voici un guide pour vous aider à mettre à niveau votre version actuelle vers Ubuntu 22.04 LTS.

Prérequis pour mettre à niveau vers Ubuntu 22.04 LTS "Jammy Jellyfish"

  • Disposer d'un compte avec des droits Administrateur
  • Avoir une connexion internet
  • Avoir déjà Ubuntu 20.04 ou supérieure. Si vous avec Ubuntu 18.04 LTS, mettez d'abord à nivea...