elementary / tasks

Synced tasks and reminders on elementary OS
https://elementary.io
GNU General Public License v3.0
84 stars 22 forks source link

Flatpaked 6.1.0 was not installed #318

Closed meisenzahl closed 2 years ago

meisenzahl commented 2 years ago

What Happened?

I just ran a manual apt dist-upgrade and got the following error message:

Setting up io.elementary.tasks (6.1.0+r1137+pkg11~ubuntu6.1) ...
error: io.elementary.tasks/*unspecified*/stable not installed

Tasks is still installed as a native program and not as a flatpak:

$ flatpak run io.elementary.tasks
error: app/io.elementary.tasks/x86_64/master not installed

Steps to Reproduce

  1. Run apt update
  2. Run apt dist-upgrade
  3. You should get a similiar error message as mentioned above

I can reproduce this on another device.

If you already updated you can reproduce this behavior with:

apt install --reinstall io.elementary.tasks

Expected Behavior

Tasks 6.1.0 should be installed as Flatpak.

OS Version

6.x (Odin)

Software Version

Latest release (I have run all updates)

Log Output

No response

Hardware Info

No response

meisenzahl commented 2 years ago

I have also updated Tasks in a virtual machine via AppCenter. The Flatpak variant was not installed there either.

danirabbit commented 2 years ago

Yeah we switched to the deb package a while back because of EDS stuff. There's a postinst script that's supposed to remove the flatpak package, but since it's already not installed it's failing. Removed the script

danirabbit commented 2 years ago

Hey @meisenzahl just to confirm, was the package installation actually failing or are you just reporting the log output?

meisenzahl commented 2 years ago

The package installation exited with code 0, but Tasks was not installed as a Flatpak.

danirabbit commented 2 years ago

@meisenzahl ah okay, that sounds like it was working as intended. The postinst script is meant to remove the Tasks flatpak

meisenzahl commented 2 years ago

😅 Sorry for the confusion