Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't install on debian testing, mailspring : Depends: gir1.2-gnomekeyring-1.0 but it is not installable #998

Closed
duriantang opened this issue Jul 27, 2018 · 15 comments
Labels
linux migrated Migrated to Discourse

Comments

@duriantang
Copy link

$ sudo apt install ./mailspring-1.3.0-amd64.deb                     
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'mailspring' instead of './mailspring-1.3.0-amd64.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 mailspring : Depends: gir1.2-gnomekeyring-1.0 but it is not installable
E: Unable to correct problems, you have held broken packages.
$ neofetch                                                         
       _,met$$$$$gg.         
    ,g$$$$$$$$$$$$$$$P.       ----------------------- 
  ,g$$P"     """Y$$.".        OS: Debian GNU/Linux testing (buster) x86_64 
 ,$$P'              `$$$.     Host: Inspiron 7370 
',$$P       ,ggs.     `$$b:   Kernel: 4.17.0-1-amd64 
`d$$'     ,$P"'   .    $$$    Uptime: 52 mins 
 $$P      d$'     ,    $$P    Packages: 2733 (dpkg) 
 $$:      $$.   -    ,d$$'    Shell: zsh 5.5.1 
 $$;      Y$b._   _,d$P'      Resolution: 1920x1080 
 Y$$.    `.`"Y$$$$P"'         DE: GNOME 3.28.3 
 `$$b      "-.__              WM: GNOME Shell 
  `Y$$                        WM Theme: Adapta-Eta 
   `Y$$.                      Theme: Adapta-Eta [GTK2/3] 
     `$$b.                    Icons: Papirus [GTK2/3] 
       `Y$$b.                 Terminal: tilix 
          `"Y$b._             CPU: Intel i7-8550U (8) @ 4.000GHz 
              `"""            GPU: Intel UHD Graphics 620 
                              Memory: 3342MiB / 15784MiB 
@duriantang
Copy link
Author

gir1.2-gnomekeyring-1.0 removed from testing.

https://tracker.debian.org/pkg/libgnome-keyring

@bengotow
Copy link
Collaborator

bengotow commented Aug 2, 2018

Hey—were you able to find a workaround for this? Did they replace gir1.2-gnomekeyring-1.0 with something else?

@bengotow bengotow added the linux label Aug 2, 2018
@stefaca
Copy link

stefaca commented Sep 16, 2018

gir1.2-gnomekeyring-1.0 can be found in SID but please, do not make us to use SID packages :( Is there any chance that you can fix dependency issue?

@zeph
Copy link

zeph commented Feb 7, 2019

yeah, would love to get back using MailSpring

guys, you seem overwhelmed with tickets... make it a PRO pay software, and fix the bugs... we ("I", at least) love it... and I need Exchange, Calendar, GPG to work. You have the best indexing/search solution ever. Please, get money and hire some more workforce

$ neofetch 
   ..,,;;;::;,..                   [email protected] 
           `':ddd;:,.              -------------- 
                 `'dPPd:,.         OS: Devuan GNU/Linux beowulf/ceres x86_64 
                     `:b$$b`.      Host: MACH-WX9 M14 
                        'P$$$d`    Kernel: 4.19.0-1-amd64 
                         .$$$$$`   Uptime: 45 mins 
                         ;$$$$$P   Packages: 2916 (dpkg) 
                      .:P$$$$$$`   Shell: bash 4.4.23 
                  .,:b$$$$$$$;'    Resolution: 3000x2000, 1080x1920 
             .,:dP$$$$$$$$b:'      DE: Xfce 
      .,:;db$$$$$$$$$$Pd'`         WM: Xfwm4 
 ,db$$$$$$$$$$$$$$b:'`             WM Theme: Clearlooks-Phenix-DarkPurpy 
:$$$$$$$$$$$$b:'`                  Theme: Clearlooks [GTK2], Adwaita [GTK3] 
 `$$$$$bd:''`                      Icons: elementary-xfce-darker [GTK2], Adwaita [GTK3] 
   `'''`                           Terminal: xfce4-terminal 
                                   Terminal Font: Monospace 20 
                                   CPU: Intel i7-8550U (8) @ 4.000GHz 
                                   GPU: NVIDIA GeForce MX150 
                                   GPU: Intel UHD Graphics 620 
                                   Memory: 7643MiB / 15825MiB 
                                                       

@luqasz
Copy link

luqasz commented Mar 25, 2019

Debian buster is in freeze and will become stable release.

@stefaca
Copy link

stefaca commented May 15, 2019

Debian buster is in freeze and will become stable release.

Which is not going to solve problem.

@bengotow
Copy link
Collaborator

bengotow commented Jul 4, 2019

Hey folks—it looks like they deprecated gnome-keyring in favor of libsecret, and we actually already use libsecret. Libsecret just maps to your underlying keyring, and I think that Mailspring installs gnome-keyring to ensure that you have at least /some/ keyring installed on your system.

Could you try installing the dpkg manually and force-ignoring that dependency? The app may just work, and we need to update the package config to mark that the dependency is optional.

wget https://github.com/Foundry376/Mailspring/releases/download/1.6.3/mailspring-1.6.3-amd64.deb
sudo dpkg -i --ignore-depends=gir1.2-gnomekeyring-1.0 mailspring-1.6.3-amd64.deb

@geonnave
Copy link

geonnave commented Jul 6, 2019

@bengotow thanks, your solution worked on my Debian 10!

I also had to install the following packages that mailspring depends on:

sudo apt install libsecret-1-dev gvfs gvfs-bin gconf2

@geonnave
Copy link

geonnave commented Jul 7, 2019

Ooops, I just noticed, now debian complains about unmet dependencies:

$ sudo apt install httpie
Reading package lists... Done
Building dependency tree       
Reading state information... Done
httpie is already the newest version (0.9.8-2).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 mailspring : Depends: gir1.2-gnomekeyring-1.0 but it is not installable
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Any suggestions to ignore that too? (if I run apt --fix-broken install, mailspring gets removed 😞)

Edit - fixed

Fixed it by (1) unpacking the .deb, (2) deleting gir1.2-gnomekeyring-1.0 from the list of dependencies, and (3) repackaging the new .deb ¹.

¹ https://serverfault.com/questions/250224/how-do-i-get-apt-get-to-ignore-some-dependencies/383958#383958

@jimblue
Copy link

jimblue commented Jul 31, 2019

Please add Debian Buster support :)

@wop
Copy link

wop commented Sep 4, 2019

You can ignore the dependency this way:
dpkg --ignore-depends=gir1.2-gnomekeyring-1.0 -i mailspring-x.x.x-amd64.deb

That works for me in Debian Buster

@zeph
Copy link

zeph commented Oct 9, 2019 via email

@labohkip81
Copy link

This works for me.

@CodeMouse92 CodeMouse92 added the audit Auditing issue label Jan 12, 2021
@foundry376-bot
Copy link

This issue has been mentioned on Mailspring Community. There might be relevant details there:

https://community.getmailspring.com/t/cant-install-on-debian-testing-mailspring-depends-gir1-2-gnomekeyring-1-0-but-it-is-not-installable/527/1

@CodeMouse92
Copy link
Contributor

We are in the process of migrating issues to Discourse, which can better facilitate discussion and discovery, and so GitHub Issues can focus on issues that are confirmed and slated for resolution in the near term. Learn more about the changes here.

As part of this, we've migrated this issue to Discourse:

https://community.getmailspring.com/t/cant-install-on-debian-testing-mailspring-depends-gir1-2-gnomekeyring-1-0-but-it-is-not-installable/527

Please consider joining that community and continuing the discussion there! (It's marked resolved, as the above appears to be for an old version of Mailspring, and subsequently resolved.)

@duriantang @geonnave @wop: if you join and reply to the issue, the moderators can make an effort to reassign your posts to you, so you get the credit for them.

We're closing and locking the issue here as part of this migration. Rest assured, this doesn't mean the issue is being discarded or ignored.

We hope to see you on Discourse soon!

-The Mailspring Team

@Foundry376 Foundry376 locked and limited conversation to collaborators Feb 9, 2021
@CodeMouse92 CodeMouse92 added migrated Migrated to Discourse and removed audit Auditing issue labels Feb 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
linux migrated Migrated to Discourse
Projects
None yet
Development

No branches or pull requests