amarok doesn't depend on libqt4-sql-sqlite

Bug #430105 reported by roland
16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
amarok (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: amarok

Amarok can't import music when using a sqlite database when libqt4-sql-sqlite isn't installed.

Steps to reproduce:
sudo apt-get install amarok

Start amarok, and try to import a directory with music.

Revision history for this message
Christian Mangold (neversfelde) wrote :

I cannot reproduce this. Would you please give a more detailed description of what you are doing, when the error occurs?

Revision history for this message
Artur Rona (ari-tczew) wrote :

Give more information what version are you using and distro version. Karmic?

Package: amarok
Architecture: any
Depends: amarok-common (= ${source:Version}), amarok-utils (= ${binary:Version}), phonon-backend-xine | phonon-backend,
 ${shlibs:Depends}, ${misc:Depends},
 libqtscript4-core, libqtscript4-gui, libqtscript4-network, libqtscript4-xml, libqtscript4-sql, libqtscript4-uitools
Recommends: kdemultimedia-kio-plugins (>= 4:4.2.0)
Suggests: libqt4-sql-sqlite, libqt4-sql-mysql, libqt4-sql-psql

As you see libqt4-sql-sqlite is in suggests. Are you sure that libqt4-sql-sqlite should be in depends?

Changed in amarok (Ubuntu):
status: New → Incomplete
Revision history for this message
Myriam Schweingruber (myriam) wrote :

Upstream here: Amarok 2.x doesn't use SQLite, but an embedded MySQL client. From amarok 2.2 on it will be possible to use an external MySQL database.
As for other database solutions like SQLite or PostgreSQL, this is not planned, as that would involve a lot more people to maintain that within the Amarok project, and we simply don't have that manpower.

Closing as WONTFIX

Changed in amarok (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Lydia Pintscher (lydia-pintscher) wrote :

What the reporter is probably trying to do is import statistics from 1.4 which needs this. Without the package importing will fail.

Revision history for this message
roland (roland-micite) wrote :

@#2: I am suggesting libqt4-sql-sqlite should be in depends.

What I want is to be able to use amarok after a simple
apt-get install amarok on jaunty.

What happens:
I wanted to use amarok so I just did:
$ sudo apt-get install amarok
$ amarok

I got a screen where I could choose what directories to import.
It was automatically selected to use a sqlite database, and it
couldn't import any songs.

After a:
$ apt-get install libqt4-sql-sqlite
it worked.

In retrospect, I have used amarok on 8.10 before. I just copied my 8.10 ~/Music
to my new install. So a old sqlite db could have been in there.

Either way, it didn't work out of the box as I expected so moving libqt4-sql-sqlite to
the depends would help a lot.

Revision history for this message
Harald Sitter (apachelogger) wrote :

Well, at the very most it could be Recommends, but for sure not Depends. The thing is, libqt4-sql-sqlite is only necessary to enable upgrades from Amarok 1 to Amarok 2, so it does not affect new installations at all and theoretically a user could remove the package once upgraded, thus it should not be Depends.
So I would move the sqlite support lib to Recommends (leave the others at suggests since they were only options in Amarok 1).

Here comes the BUT. We cant fix this in 9.04. Additional packages will not be installed in a regular update (policy thing), so it would require user invention, which is not too nice for an update.
Resolving this for 9.10+ should be a fair bet though.

Changed in amarok (Ubuntu):
status: Invalid → Confirmed
importance: Undecided → Medium
status: Confirmed → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package amarok - 2:2.1.90-0ubuntu1

---------------
amarok (2:2.1.90-0ubuntu1) karmic; urgency=low

  * New upstream release candidate
  * Move libqt4-sql-sqlite from Suggests to Recommends (LP: #430105)
  * Remove 'override_dh_strip: true' from debian/rules (LP: #433325)
  * Update amarok.install and amarok-common.install
  * Bump version of build-deps, libtag1-dev to 1.6 and libtag-extras-dev
    to 1.0.1, new versions are required now

 -- Christian Mangold <email address hidden> Tue, 22 Sep 2009 00:10:44 +0200

Changed in amarok (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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