[SOLVED] How can I Purge expired gnome-pomodoro

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
ovrflo
Level 1
Level 1
Posts: 14
Joined: Sat Feb 25, 2017 3:12 pm

[SOLVED] How can I Purge expired gnome-pomodoro

Post by ovrflo » Tue Apr 09, 2019 6:05 pm

Almost 2 years aga, I managed to install gnome-pomodoro after great difficulty _ I had to use a PPA to get it to work.
Now the key is expired on the PPA, and it is constantly causing errors with the automatic update.
It appears that the author hasn't updated the key:

Code: Select all

$ apt-key list
pub   2048R/C18AFDEC 2014-01-28 [expired: 2018-07-08]
uid                  home:kamilprusko OBS Project <home:kamilprusko@build.opensuse.org>

$ apt-key adv --keyserver keys.gnupg.net --recv-keys C18AFDEC
Executing: /tmp/tmp.Pz7XdLI5bQ/gpg.1.sh --keyserver
keys.gnupg.net
--recv-keys
C18AFDEC
gpg: requesting key C18AFDEC from hkp server keys.gnupg.net
gpg: key C18AFDEC: "home:kamilprusko OBS Project <home:kamilprusko@build.opensuse.org>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
Now I can't update the package and ppa-purge doesn't work either. (I want to keep the system clean by removing unused packages if possible without breaking anything).

Can someone please advise me as to the best way to deal with this.

Here is my failed attempts at purging the package:

Code: Select all

$ ls /etc/apt
apt.conf.d      auth.conf.d  preferences.d  sources.list  
sources.list.d  trusted.gpg  trusted.gpg~  trusted.gpg.d

$ ls /etc/apt/sources.list.d/
gnome-pomodoro.list  ... [Irrelevant packages deleted]

$ cat /etc/apt/sources.list.d/gnome-pomodoro.list
deb http://download.opensuse.org/repositories/home:/kamilprusko/xUbuntu_16.04/ /


$ sudo ppa-purge http://download.opensuse.org/repositories/home:/kamilprusko/xUbuntu_16.04/
Updating packages lists
W: GPG error: http://download.opensuse.org/repositories/home:/kamilprusko/xUbuntu_16.04  Release: The following signatures were invalid: KEYEXPIRED 1531018396
W: The repository 'http://download.opensuse.org/repositories/home:/kamilprusko/xUbuntu_16.04  Release' is not signed.
PPA to be removed:
http://download.opensuse.org/repositories/home:/kamilprusko/xUbuntu_16.04 ppa
Warning:  Could not find package list for PPA:
http://download.opensuse.org/repositories/home:/kamilprusko/xUbuntu_16.04 ppa

$ sudo ppa-purge gnome-pomodoro.list
Updating packages lists
W: GPG error: http://download.opensuse.org/repositories/home:/kamilprusko/xUbuntu_16.04  Release: The following signatures were invalid: KEYEXPIRED 1531018396
W: The repository 'http://download.opensuse.org/repositories/home:/kamilprusko/xUbuntu_16.04  Release' is not signed.
PPA to be removed: gnome-pomodoro.list ppa
Warning:  Could not find package list for PPA: gnome-pomodoro.list ppa
Last edited by ovrflo on Thu Apr 11, 2019 11:44 pm, edited 1 time in total.

User avatar
kevin987
Level 4
Level 4
Posts: 346
Joined: Fri Dec 11, 2015 12:35 pm

Re: How can I Purge expired gnome-pomodoro

Post by kevin987 » Tue Apr 09, 2019 6:36 pm

You should be able to remove in the Update Manager, Software sources, PPAs section.
Linux Mint 19.1 (Cinnamon)
LMDE 3 (Cinnamon)
GeckoLinux 150 (Cinnamon)

ovrflo
Level 1
Level 1
Posts: 14
Joined: Sat Feb 25, 2017 3:12 pm

Re: How can I Purge expired gnome-pomodoro

Post by ovrflo » Wed Apr 10, 2019 2:32 pm

Thanks for the reply - just one point needs some clarification.

When I have software sources/PPAs open, does the remove button just remove the highlighted entry, or does it remove ALL the entries that have the Enabled column checked? So removing 2 PPAs would be 2 separate operations?

Since I've never done this before, I don't want to remove everything!

I suld have mentioned Linux Mint v18.3 just in case something has changed between versions.

Is there a way to list which packages the PPA installed, I think I should uninstall them before deleting the PPA shouldn't I?

User avatar
Larry78723
Level 6
Level 6
Posts: 1181
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: How can I Purge expired gnome-pomodoro

Post by Larry78723 » Wed Apr 10, 2019 4:42 pm

ovrflo, with software sources/PPAs open, just highlight the ppa you want to delete and click remove. Then execute the following command in a terminal window

Code: Select all

sudo apt purge gnome-pomodoro
That should remove anything installed by that ppa.
Image

ovrflo
Level 1
Level 1
Posts: 14
Joined: Sat Feb 25, 2017 3:12 pm

Re: How can I Purge expired gnome-pomodoro

Post by ovrflo » Wed Apr 10, 2019 10:28 pm

Thanks Larry78723.... a couple of follow up questions:
Should I purge the package and then remove the PPA, or do it the other way around?
Does removing the PPA remove the info required for the purge?

User avatar
smurphos
Level 12
Level 12
Posts: 4116
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher
Contact:

Re: How can I Purge expired gnome-pomodoro

Post by smurphos » Wed Apr 10, 2019 11:39 pm

@ovrflo - The way I'd do this as a general method is remove the repository/PPA using Software Sources, then in Software Sources review any content in Maintenance > Downgrade Foreign Packages with a view to downgrading any present to their standard repo versions, followed by Maintenance > Remove Foreign Packages to remove anything that isn't in the regular repos at all.

Basically removing the repo/PPA will orphan any packages installed from that repo/PPA which will then identify them as 'foreign'

In this case looking at http://download.opensuse.org/repositori ... .04/amd64/ gnome-pomodoro is the only package offered by this repo (technically it's not a PPA is a third party repo) so Larry's command should be all that's needed either before or after removing the repo in any case.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.

ovrflo
Level 1
Level 1
Posts: 14
Joined: Sat Feb 25, 2017 3:12 pm

Re: How can I Purge expired gnome-pomodoro

Post by ovrflo » Thu Apr 11, 2019 11:43 pm

Thanks everyone, and especially smurphos for the really complete answer!

Post Reply

Return to “Newbie Questions”