gdesklets requires python2.5 without package dependency

Bug #350562 reported by Alon Levy
114
This bug affects 14 people
Affects Status Importance Assigned to Milestone
gdesklets (Ubuntu)
Fix Released
Undecided
Michael Terry
Jaunty
Fix Released
High
Unassigned

Bug Description

Binary package hint: gdesklets

After installing gdesklets on a fresh 9.04 beta install, it doesn't run.
Trying to run it from a console (for stdout), I get a "bad interpreter python2.5" message
The easy solution is to install python2.5 minimal.

The real fix is to make gdesklets depend on 2.6 (which is installed by default) or on 2.5, since right now it is broken - adding gdesklets results in a non running gdesklets (because it relies on a missing python2.5 binary)

Reproduce:
install ubuntu 9.04 beta
apt-get install gdesklets (I actually did this from the add/remove Applications menu)

Workaround:
apt-get install python2.5

Revision history for this message
Andy Ruddock (andy-ruddock) wrote :

Confirm this bug.
Dependencies state :
python (<2.7)
python (>=2.6)

First line in /usr/bin/gdesklets :
#!/usr/bin/python2.5

I tried creating a symlink to python2.6 as python2.5, but gdesklets didn't run. Installing python2.5 fixed it.

Michael Terry (mterry)
Changed in gdesklets (Ubuntu):
assignee: nobody → Michael Terry (mterry)
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gdesklets - 0.36.1-2ubuntu1

---------------
gdesklets (0.36.1-2ubuntu1) karmic; urgency=low

  * Merge from debian unstable (LP: #375461)
  * Dropped previous efforts to make the package use python2.5. It didn't
    get the depencencies right, causing LP: #350562
  * debian/patch/10_python2.6.patch:
    - Fix exception when running under python2.6. LP: #344079

gdesklets (0.36.1-2) unstable; urgency=low

  * Upload to unstable. Drop check-dist.mk.

gdesklets (0.36.1-1) experimental; urgency=low

  [ Deng Xiyue ]
  * New upstream release. (Closes: #506194)
    - debian/patches/10_manpage_fix.diff:
      debian/patches/40_dont_update_mime.diff:
      debian/patches/20_gdesklets-05-shift-f10.diff:
      debian/patches/70_relibtoolize.diff:
      Dropped, applied or fixed upstream or no longer necessary.
  * Adjust debian/watch and GNOME_DOWLOAD_URL to new location.
  * Upload to experimental due to Lenny freeze. Add check-dist.mk.
  * Update Standard-Version to 3.8.0.

  [ Loic Minier ]
  * Don't unregister the schema during first configuration.

 -- Michael Terry <email address hidden> Tue, 12 May 2009 13:47:58 -0400

Changed in gdesklets (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Savvas Radevic (medigeek) wrote : Re: [Bug 344079] Re: cannot run gdesklets with python2.6

Ah wait, bug #350562 - perhaps Michael Terry can send it to
jaunty-backports (or even jaunty-updates)? :)

2009/6/27 cerebro84 <email address hidden>:
> Karmic? No backport scheduled?
>
> --
> cannot run gdesklets with python2.6
> https://bugs.launchpad.net/bugs/344079
> You received this bug notification because you are a direct subscriber
> of the bug.
>

2009/6/27 Savvas Radevic <email address hidden>:
>> Karmic? No backport scheduled?
>
> What for? Doesn't the package in jaunty work?
>

Revision history for this message
Ravil (sh0ckfile) wrote :

And what for 9.04 users? Will package be backported?

Revision history for this message
bhuvi (bhuvanesh) wrote :

as the bug is still not fixed in ubuntu 9.04 please reopen the bug for ubuntu 9.04.

Revision history for this message
Wesley Schwengle (wesleys) wrote :

Added debdiff for correct dependency on python 2.5

Revision history for this message
Wesley Schwengle (wesleys) wrote :

SRU, could you have a look at this please? If you need extra information or anything else, feel free to contact me.

Thanks!

Iain Lane (laney)
Changed in gdesklets (Ubuntu Jaunty):
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Michael Terry (mterry)
assignee: Michael Terry (mterry) → nobody
Revision history for this message
Wesley Schwengle (wesleys) wrote :

I had some time yesterday so I build the package on my PPA: https://launchpad.net/~wesleys/+archive/ppa

If people want to test this, then add my ppa to your sources.list and see how it works for you (you might want to remove the python2.5 package to see that the behaviour is really correct ;)).

Revision history for this message
Wesley Schwengle (wesleys) wrote :

deb http://ppa.launchpad.net/wesleys/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/wesleys/ppa/ubuntu jaunty main

$ apt-cache policy gdesklets
gdesklets:
  Installed: 0.36-5ubuntu1
  Candidate: 0.36-5ubuntu1
  Version table:
     0.36.1-2ubuntu1 0
        500 http://nl.archive.ubuntu.com karmic/universe Packages
     0.36-5ubuntu2 0
        500 http://ppa.launchpad.net jaunty/main Packages
 *** 0.36-5ubuntu1 0
        995 http://nl.archive.ubuntu.com jaunty/universe Packages
        100 /var/lib/dpkg/status

$ gdesklets
zsh: /usr/bin/gdesklets: bad interpreter: /usr/bin/python2.5: no such file or directory

$ sudo aptitude install gdesklets=0.36-5ubuntu2
[sudo] password for wesleys:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following NEW packages will be installed:
  python2.5{a} python2.5-minimal{a}
The following packages will be upgraded:
  gdesklets
1 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.

$ gdesklets
Starting gdesklets-daemon...
Connected to daemon in 165 microseconds.

tags: added: verification-needed
Martin Pitt (pitti)
tags: removed: verification-needed
Revision history for this message
Ilya Barygin (randomaction) wrote :

Wesley, please update your debdiff according to https://wiki.ubuntu.com/StableReleaseUpdates :
 - version should be 0.36-5ubuntu1
 - target jaunty-proposed, not jaunty
 - your debdiff modifies uploaders list, which I think it should not do
- #384550 is a duplicate of this bug - I marked it as such and it shouldn't be mentioned in changelog

Also, please update the bug report description according to the procedure from that page. Re-subscribe u-u-s when necessary.

Changed in gdesklets (Ubuntu Jaunty):
status: Confirmed → Incomplete
Revision history for this message
Benjamin Drung (bdrung) wrote :

The version string should be 0.36-5ubuntu1.1 (not 0.36-5ubuntu2) for the debdiff.

Changed in gdesklets (Ubuntu Jaunty):
assignee: nobody → Wesley Schwengle (wesleys)
status: Incomplete → In Progress
Revision history for this message
Wesley Schwengle (wesleys) wrote :

@Ilya

 - version should be 0.36-5ubuntu1.1
 - target jaunty-proposed, not jaunty
 - #384550 is a duplicate of this bug - I marked it as such and it shouldn't be mentioned in changelog

Done.

 - your debdiff modifies uploaders list, which I think it should not do

It reflects the uploaders list in Karmic:
http://packages.ubuntu.com/karmic/gdesklets
http://packages.ubuntu.com/jaunty/gdesklets

I did not change this. When I build the package with pbuilder I see the following:

rm -f debian/stamp-makefile-build
rm -f debian/stamp-autotools-files
test -d . && cd . && \
          rm -f intltool-extract intltool-merge intltool-update po/.intltool-merge-cache; \
          if test -d doc; then find doc -name '*.omf.out' -exec rm -f \{\} \; ; fi; \
          if test -d help; then find help -name '*.omf.out' -exec rm -f \{\} \; ; fi
sed "s/@GNOME_TEAM@/Debian GNOME Maintainers <email address hidden>, Deng Xiyue <email address hidden>, Sebastian Dröge <email address hidden>/" \
                debian/control.in > debian/control
 dpkg-source -b gdesklets-0.36
dpkg-source: info: using source format `1.0'
dpkg-source: info: building gdesklets using existing gdesklets_0.36.orig.tar.gz
dpkg-source: info: building gdesklets in gdesklets_0.36-5ubuntu1.1.diff.gz

I've added this to the changelog.

I'm uploading the changes to my PPA to see how it builds and once that is OK and tested, I will subscribe the universe sponsors again.

The new debdiff is attached for those who want to review it.

Revision history for this message
Wesley Schwengle (wesleys) wrote :
Revision history for this message
John Dong (jdong) wrote :

ACK from ubuntu-sru. Proceed with upload!

Changed in gdesklets (Ubuntu Jaunty):
assignee: Wesley Schwengle (wesleys) → Ilya Barygin (randomaction)
Revision history for this message
Ilya Barygin (randomaction) wrote :

Uploaded to jaunty-proposed.

Wesley, thank you for your contribution. The change to uploaders list must be due to differing versions of gnome-pkg-tools. It's not intentional (nor significant), so I left it out of the changelog.

Benjamin, thank for correcting me :)

Changed in gdesklets (Ubuntu Jaunty):
assignee: Ilya Barygin (randomaction) → nobody
status: In Progress → Confirmed
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted gdesklets into jaunty-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in gdesklets (Ubuntu Jaunty):
status: Confirmed → Fix Committed
tags: added: verification-needed
Revision history for this message
Wesley Schwengle (wesleys) wrote :

Hi all,

I've enabled-proposed and tested the package, works for me :)

$ apt-cache policy gdesklets
gdesklets:
  Installed: 0.36-5ubuntu1
  Candidate: 0.36-5ubuntu1.1
  Package pin: 0.36-5ubuntu1.1
  Version table:
     0.36-5ubuntu1.1 995
        500 http://archive.ubuntu.com jaunty-proposed/universe Packages
       -100 http://ppa.launchpad.net jaunty/main Packages
 *** 0.36-5ubuntu1 995
        500 http://nl.archive.ubuntu.com jaunty/universe Packages
        100 /var/lib/dpkg/status

$ gdesklets
zsh: /usr/bin/gdesklets: bad interpreter: /usr/bin/python2.5: no such file or directory

$ sudo aptitude install gdesklets=0.36-5ubuntu1.1
[sudo] password for wesleys:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following NEW packages will be installed:
  python2.5{a} python2.5-minimal{a}
The following packages will be upgraded:
  gdesklets
1 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.

$ gdesklets
Starting gdesklets-daemon...
Connected to daemon in 164 microseconds.

Martin Pitt (pitti)
tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gdesklets - 0.36-5ubuntu1.1

---------------
gdesklets (0.36-5ubuntu1.1) jaunty-proposed; urgency=low

  * python depends are not correct: 2.5 is now forced (LP: #350562)
 -- Wesley Schwengle <email address hidden> Sat, 16 Jan 2010 02:07:09 +0100

Changed in gdesklets (Ubuntu Jaunty):
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.