Bug 32593 - Get-Telegram: in the pkg Description, the uninstall instructions are inaccurate
Summary: Get-Telegram: in the pkg Description, the uninstall instructions are inaccurate
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: All Linux
Priority: Low minor
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA9-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2023-12-04 17:53 CET by aguador
Modified: 2025-02-22 20:09 CET (History)
4 users (show)

See Also:
Source RPM: get-telegram-1.7.7-3.mga9.src.rpm
CVE:
Status comment:


Attachments
Changes from the spec in cauldron (749 bytes, patch)
2023-12-06 03:17 CET, katnatek
Details | Diff

Description aguador 2023-12-04 17:53:42 CET
Description from the installer regarding deinstallation:

'You can do this manually by removing "~/.TelegramDesktop/application" directory.'

Having just deleted the application, I can say, first, "~/.TelegramDesktop" had no subdirectories on my machine. It contained only Telegram and an Updater program.

Second, AFAIK this would be the same for all desktops, but the launcher in "~/.local/share/applications" also needs to be removed (manually?).

These are super minor, not even a "loss of function", just a clarification in the description.
Comment 1 Lewis Smith 2023-12-04 20:56:21 CET
Understanding that because Telegram does its own installation (we provide only a package to enable installing it: get-telegram), you have to uninstall the application manually.
So as you say, this is just a matter of the exactitude of uninstall text:
- it should say "remove '~/.TelegramDesktop/' directory
- and its desktop launcher in '~/.local/share/applications'

Where does this text come from?
If from our 'get-telegram' (which you say), then it is us.
If from Telegram itself ("from the installer regarding deinstallation"), this is an upstream matter to post there. Is the installer mentioned here of 'get-telegram' or of Telegram itself?

CC: (none) => lewyssmith
Priority: Normal => Low
Summary: Get-Telegram script description inaccurate => Get-Telegram uninstall description inaccurate

Comment 2 aguador 2023-12-05 00:13:20 CET
That is from the graphical installer. Here is the full description:

get-telegram - Download and Install Telegram Desktop​                                                                                                                         
Aviso:  Este es un paquete oficial soportado por Mageia

This is a downloader script for Telegram Desktop.

This package does not contain any program files. By installing this package you'll get the option to download and install Telegram from desktop.telegram.org. Removing this package won't uninstall Telegram from your system. You can do this manually by removing "~/.TelegramDesktop/application" directory.
Comment 3 Lewis Smith 2023-12-05 21:10:02 CET
Thanks, that clarifies the affair; the last paragraph of the package Description you cite above. Nothing to do with the application itself.

The corrections noted in comment 1 should suffice.

Assigning globally, this pkg is rarely updated.

CC: lewyssmith => (none)
Summary: Get-Telegram uninstall description inaccurate => Get-Telegram: in the pkg Description, the uninstall instructions are inaccurate
Assignee: bugsquad => pkg-bugs

katnatek 2023-12-06 02:45:28 CET

Assignee: pkg-bugs => j.alberto.vc
Keywords: (none) => Junior_job
CC: (none) => ngompa13

katnatek 2023-12-06 02:46:29 CET

Whiteboard: (none) => MGA9TOO

Comment 4 katnatek 2023-12-06 03:11:49 CET
(In reply to aguador from comment #0)
> Description from the installer regarding deinstallation:
> 
> 'You can do this manually by removing "~/.TelegramDesktop/application"
> directory.'
> 
> Having just deleted the application, I can say, first, "~/.TelegramDesktop"
> had no subdirectories on my machine. It contained only Telegram and an
> Updater program.
> 
> Second, AFAIK this would be the same for all desktops, but the launcher in
> "~/.local/share/applications" also needs to be removed (manually?).
> 
> These are super minor, not even a "loss of function", just a clarification
> in the description.

It is weird, what desktop do you use? I test this on lxqt and the folder ~/.TelegramDesktop/application is there, the script used to download telegram creates the folder

BTW I feel the recommendation of Lewis Smith in comment#1 and the bug is valid because unless you reinstall get-telegam you will have an empty folder and a menu item that does nothing
katnatek 2023-12-06 03:15:26 CET

CC: (none) => pkg-bugs

Comment 5 katnatek 2023-12-06 03:17:07 CET
Created attachment 14199 [details]
Changes from the spec in cauldron

Improves the instructions to uninstall telegram
Comment 6 aguador 2023-12-06 10:19:37 CET
 
> It is weird, what desktop do you use? I test this on lxqt and the folder
> ~/.TelegramDesktop/application is there, the script used to download
> telegram creates the folder
> 
> BTW I feel the recommendation of Lewis Smith in comment#1 and the bug is
> valid because unless you reinstall get-telegam you will have an empty folder
> and a menu item that does nothing

This is on Enlightenment. The installation was from 2020, so Telegram updates may have overwritten the ~/.TelegramDesktop folder.

In any event, your change is perfect. Thanks.
Comment 7 aguador 2024-02-04 11:25:59 CET
Should have closed this before...

Resolution: (none) => FIXED
Status: NEW => RESOLVED

Comment 8 katnatek 2024-02-04 19:45:27 CET
(In reply to aguador from comment #7)
> Should have closed this before...

I don't know in cauldron but this is still valid in mageia 9

urpmq -pi get-telegram
Name        : get-telegram
Version     : 1.7.7
Release     : 3.mga9
Group       : Networking/Instant messaging
Size        : 18345                        Architecture: noarch
Source RPM  : get-telegram-1.7.7-3.mga9.src.rpm
URL         : https://desktop.telegram.org
Summary     : Download and Install Telegram Desktop
Description :
This is a downloader script for Telegram Desktop.

This package does not contain any program files. By installing this
package you'll get the option to download and install Telegram from
desktop.telegram.org.
Removing this package won't uninstall Telegram from your system. You
can do this manually by removing "~/.TelegramDesktop/application"
directory.

Resolution: FIXED => (none)
Status: RESOLVED => REOPENED

katnatek 2024-02-04 19:47:31 CET

Assignee: j.alberto.vc => pkg-bugs

Comment 9 katnatek 2024-02-04 19:48:12 CET
Assign to all packager to see if somebody want to make the change
Comment 10 papoteur 2025-02-21 18:39:31 CET
Submitting:
RPMS and SRPMS:
get-telegram-1.7.7-3.1.mga9

CC: (none) => yvesbrungard

papoteur 2025-02-21 18:40:06 CET

Assignee: pkg-bugs => qa-bugs

Comment 11 katnatek 2025-02-21 18:49:22 CET
urpmq -pi qa-testing/x86_64/get-telegram-1.7.7-3.1.mga9.noarch.rpm 
Name        : get-telegram
Version     : 1.7.7
Release     : 3.1.mga9
Group       : Networking/Instant messaging
Size        : 18345                        Architecture: noarch
Source RPM  : get-telegram-1.7.7-3.1.mga9.src.rpm   Build Host: localhost
Packager    : papoteur <papoteur>
URL         : https://desktop.telegram.org
Summary     : Download and Install Telegram Desktop
Description :
This is a downloader script for Telegram Desktop.

This package does not contain any program files. By installing this
package you'll get the option to download and install Telegram from
desktop.telegram.org.
Removing this package won't uninstall Telegram from your system. You
can do this manually by removing "~/.TelegramDesktop" directory
and its desktop launcher in '~/.local/share/applications'.

LC_ALL=C urpmi get-telegram 


installing get-telegram-1.7.7-3.1.mga9.noarch.rpm from //home/katnatek/qa-testing/x86_64
Preparing...                     ##################################################################################################
      1/1: get-telegram          ##################################################################################################

Run get-telegram as user makes his magic, I consider this enough but feel free
to provide more test

CC: (none) => andrewsfarm
Keywords: Junior_job => (none)
Whiteboard: MGA9TOO => MGA9-64-OK

katnatek 2025-02-21 18:49:33 CET

CC: pkg-bugs => (none)

katnatek 2025-02-21 18:57:58 CET

Keywords: (none) => advisory

Comment 12 Thomas Andrews 2025-02-21 22:34:31 CET
Validating.

CC: (none) => sysadmin-bugs
Keywords: (none) => validated_update

Comment 13 katnatek 2025-02-21 23:32:27 CET
Cauldron is fixed

Version: Cauldron => 9

Comment 14 Mageia Robot 2025-02-22 20:09:42 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2025-0017.html

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.