provider files conflict with empathy plugins

Bug #1290596 reported by Cody Garver
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Switchboard Online Accounts Plug
Fix Released
High
Corentin Noël

Bug Description

I suggest appending "-pantheon" to the filenames, otherwise we get this error:

dpkg: error processing archive /var/cache/apt/archives/account-plugin-facebook_0.11+14.04.20131126.2-0ubuntu1_all.deb (--unpack):
 trying to overwrite '/usr/share/accounts/providers/facebook.provider', which is also in package pantheon-online-accounts-plugin-facebook 0.2.0+r30+pkg17~ubuntu14.04.1

dpkg: error processing archive /var/cache/apt/archives/account-plugin-google_0.11+14.04.20131126.2-0ubuntu1_all.deb (--unpack):
 trying to overwrite '/usr/share/accounts/providers/google.provider', which is also in package pantheon-online-accounts-plugin-google 0.2.0+r30+pkg17~ubuntu14.04.1

dpkg: error processing archive /var/cache/apt/archives/account-plugin-yahoo_3.8.6-0ubuntu5_i386.deb (--unpack):
 trying to overwrite '/usr/share/accounts/providers/yahoo.provider', which is also in package pantheon-online-accounts-plugin-yahoo 0.2.0+r30+pkg17~ubuntu14.04.1

Errors were encountered while processing:
 /var/cache/apt/archives/account-plugin-facebook_0.11+14.04.20131126.2-0ubuntu1_all.deb
 /var/cache/apt/archives/account-plugin-google_0.11+14.04.20131126.2-0ubuntu1_all.deb
 /var/cache/apt/archives/account-plugin-yahoo_3.8.6-0ubuntu5_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Cody Garver (codygarver)
affects: gsignond → switchboard-plug-onlineaccounts
Changed in switchboard-plug-onlineaccounts:
importance: Undecided → High
Cody Garver (codygarver)
Changed in elementaryos:
importance: Undecided → High
milestone: none → isis-beta1
Changed in switchboard-plug-onlineaccounts:
status: New → Confirmed
Revision history for this message
Corentin Noël (tintou) wrote :

I've added conflicts with each account-plugin-* because otherwise two providers will be shown in the plug…

Changed in switchboard-plug-onlineaccounts:
status: Confirmed → Fix Committed
Changed in elementaryos:
status: New → Invalid
no longer affects: elementaryos
Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) wrote :

"I've added conflicts with each account-plugin-* because otherwise two providers will be shown in the plug…" - this made evolution-data-server-online-accounts uninstallable for our account-plugin-* implementations!

If our plugins are compatible with the Ubuntu plugins API-wise, you should add "Provides: account-plugin-FOOBAR" to each pantheon-account-plugin-FOOBAR package. Otherwise should patch the evolution-data-server-online-accounts package dependenies.

Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) wrote :

After a chat with tintou it seems we'll have to create evolution-data-server-pantheon-online-accounts package.
Uh, I'll go add evolution-data-server-online-accounts to imports list.

Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) wrote :

Actually, no, we should make libsignon-glib able to interact with gsignond in addition to signond, or just patch it to use gsignond always if we can't support both.

I can't understand why evolution-data-server-pantheon-online-accounts package is getting removed, though.

Changed in switchboard-plug-onlineaccounts:
milestone: none → 0.2
Changed in switchboard-plug-onlineaccounts:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.