Envy 0.9.7-0ubuntu11 complains about missing dependencies

Bug #141042 reported by James Cole
2
Affects Status Importance Assigned to Milestone
Envy
Fix Released
High
Alberto Milone

Bug Description

This latest version of Envy doesn’t seem to work for me on Ubuntu 7.04, It complains about build-essential, which is installed, but it doesn’t think it is.

intangible@ds54:~$ envy -t
Password:
ENVY: The following packages are not installed:
build-essential
ENVY: attempting to install the packages
Reading package lists… Done
Building dependency tree
Reading state information… Done
build-essential is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ENVY ERROR: The following packages cannot be installed:
build-essential
intangible@ds54:~$ sudo apt-get install build-essential
Reading package lists… Done
Building dependency tree
Reading state information… Done
build-essential is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
intangible@ds54:~$

I then ran this:
sudo dpkg --purge envy
sudo rm -r /usr/share/envy
And then reinstalled the new Envy, same problem...

--
I commented out the dependency check in interface.py just to see if that was the only problem, but it rears its head again during the install process when checking for these dependencies:
cpio
sharutils
libxtst-dev
libxinerama-dev

Those are installed as well…

Just to be sure, I ran “apt-get install --reinstall” for all the affected packages, but it seems to make no difference.

Attached is my output from dpkg --list

Revision history for this message
James Cole (intangi) wrote :

Output from dpkg --list

Revision history for this message
Alberto Milone (albertomilone) wrote :

what happens if you type:
sudo envy -g

Revision history for this message
James Cole (intangi) wrote :

It acts pretty much the same way, complains about the same dependencies... I can post screenshots if you want, but it acts pretty much the same way.

I notice that there appears to be quite a few lines commented out in main.py that deal with dependency checking, I haven't monkeyed with it any, but is this intentional?

Changed in envy:
assignee: nobody → albertomilone
importance: Undecided → High
status: New → In Progress
Revision history for this message
Alberto Milone (albertomilone) wrote :

I think I have found the problem.

Please open your /usr/share/envy/instun/classes.py

then get to line 101 which will look like the following:
if line.find('ii') != -1:

and make it look like the following line:
if line.find('ii') != -1 or line.find('ri') != -1:

then save the file and try Envy again.

Let me know how it goes.

Revision history for this message
James Cole (intangi) wrote :

Great, that seemed to work.

Thanks a lot!

Changed in envy:
status: In Progress → Fix Committed
Changed in envy:
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

Bug attachments

Remote bug watches

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