View Full Version : Did anything get installed?
Aurora
June 7th, 2006, 02:47 PM
I ran the install code, a bunch of things happened, but I don't see anything new on the system. It tried to import gtk unsuccessfully--"no module named gtk". If Easy Ubuntu is installed, where is it and how do I run it? Here is the log from the terminal, in case anyone knows how to interpret it:
pad@iTux:~$ wget http://robotgeek.org/eu/easyubuntu-3.0.tar.gz
--11:24:23-- http://robotgeek.org/eu/easyubuntu-3.0.tar.gz
=> `easyubuntu-3.0.tar.gz'
Resolving robotgeek.org... 69.56.131.114
Connecting to robotgeek.org|69.56.131.114|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 104,158 (102K) [application/x-tar]
100%[====================================>] 104,158 165.90K/s
11:24:25 (165.82 KB/s) - `easyubuntu-3.0.tar.gz' saved [104158/104158]
pad@iTux:~$ tar -zxf easyubuntu-3.0.tar.gz
pad@iTux:~$ cd easyubuntu
pad@iTux:~/easyubuntu$ sudo python easyubuntu.py
Password:
Traceback (most recent call last):
File "easyubuntu.py", line 35, in ?
import gtkfrontend
File "/home/pad/easyubuntu/gtkfrontend.py", line 25, in ?
from gtkprocess import gtkLogger
File "/home/pad/easyubuntu/gtkprocess.py", line 31, in ?
import gtk
ImportError: No module named gtk
pad@iTux:~/easyubuntu$
THis is an iMac G3 333MHz running Xubuntu Breezy. I have not been able to install media players that will stream audio or video, or play most video formats. I was hoping Easy Ubuntu would help me do that.
Thanks for your help,
Paul in Seattle
UbuntuJohan
June 7th, 2006, 03:36 PM
Hi Paul,
No there wasn't anything installed esyubuntu is looking for GTK to be able to launch a GUI.
However I don't think GTK is included in Xubuntu it's only inlcuded in the normal ubuntu and and kubuntu.
Cheers
//Johan
robotgeek
June 7th, 2006, 05:06 PM
I have only tested EasyUbuntu on Xubuntu Dapper, not on Breezy. You should be able to get EasyUbuntu working by installing
sudo apt-get install python-gtk2 python-glade2
Aurora
June 8th, 2006, 01:51 AM
I have only tested EasyUbuntu on Xubuntu Dapper, not on Breezy. You should be able to get EasyUbuntu working by installing
sudo apt-get install python-gtk2 python-glade2
I'm grateful for your help here. I think I jumped the gun; it would have made more sense to fix my problem with apt before starting any of this. I just got so excited at the thought of finally getting some media working after so many hours of frustration that I couldn't wait to try it.
When I try to install something with apt-get (or Synaptic), I get this strange error from this file apt keeps trying to remove but fails, and nothing gets installed. Which forum do you think I should take that to, or would you like to take a crack at it? I will save the terminal output from when I tried to install GTK in case you'd like to see it.
--Paul
robotgeek
June 8th, 2006, 08:57 AM
When I try to install something with apt-get (or Synaptic), I get this strange error from this file apt keeps trying to remove but fails, and nothing gets installed. Which forum do you think I should take that to, or would you like to take a crack at it? I will save the terminal output from when I tried to install GTK in case you'd like to see it.
--Paul
Sure, paste it in here.
Aurora
June 9th, 2006, 02:28 AM
Thanks for your willingness to help sort this out.
I will paste two items. First, a short transcript from a previous aborted installation, then the full session from attempting to install GTK and EasyUbuntu.. That way you can skip the long one if the short one has enough information.
1)
E: /var/cache/apt/archives/lilypond-data_2.6.3-9~breezy1_all.deb: subprocess new post-removal script returned error exit status 1
2)
pad@iTux:~$ sudo apt-get install python-gtk2 python-glade2
Password:
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
python2.4-cairo python2.4-glade2 python2.4-gtk2 python2.4-numeric
Suggested packages:
python-numeric-tutorial
The following NEW packages will be installed:
python-glade2 python-gtk2 python2.4-cairo python2.4-glade2 python2.4-gtk2
python2.4-numeric
0 upgraded, 6 newly installed, 0 to remove and 28 not upgraded.
1 not fully installed or removed.
Need to get 0B/5656kB of archives.
After unpacking 3568kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
(Reading database ... 52969 files and directories currently installed.)
Preparing to replace lilypond-data 2.6.3-9~breezy1 (using .../lilypond-data_2.6.3-9~breezy1_all.deb) ...
Unpacking replacement lilypond-data ...
/var/lib/dpkg/info/lilypond-data.postrm: line 23: /usr/bin/kpsewhich: No such file or directory
dpkg: warning - old post-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/postrm: line 23: /usr/bin/kpsewhich: No such file or directory
dpkg: error processing /var/cache/apt/archives/lilypond-data_2.6.3-9~breezy1_all.deb (--unpack):
subprocess new post-removal script returned error exit status 1
/var/lib/dpkg/tmp.ci/postrm: line 23: /usr/bin/kpsewhich: No such file or directory
dpkg: error while cleaning up:
subprocess post-removal script returned error exit status 1
Selecting previously deselected package python2.4-numeric.
Unpacking python2.4-numeric (from .../python2.4-numeric_23.8-4_powerpc.deb) ...
Selecting previously deselected package python2.4-cairo.
Unpacking python2.4-cairo (from .../python2.4-cairo_1.0.0-1ubuntu1_powerpc.deb) ...
Selecting previously deselected package python2.4-gtk2.
Unpacking python2.4-gtk2 (from .../python2.4-gtk2_2.8.1-0ubuntu2_powerpc.deb) ...
Selecting previously deselected package python2.4-glade2.
Unpacking python2.4-glade2 (from .../python2.4-glade2_2.8.1-0ubuntu2_powerpc.deb) ...
Selecting previously deselected package python-glade2.
Unpacking python-glade2 (from .../python-glade2_2.8.1-0ubuntu2_all.deb) ...
Selecting previously deselected package python-gtk2.
Unpacking python-gtk2 (from .../python-gtk2_2.8.1-0ubuntu2_all.deb) ...
Errors were encountered while processing:
/var/cache/apt/archives/lilypond-data_2.6.3-9~breezy1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
pad@iTux:~$ wget http://robotgeek.org/eu/easyubuntu-3.01.tar.gz
--22:35:15-- http://robotgeek.org/eu/easyubuntu-3.01.tar.gz
=> `easyubuntu-3.01.tar.gz'
Resolving robotgeek.org... 69.56.131.114
Connecting to robotgeek.org|69.56.131.114|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 111,169 (109K) [application/x-tar]
100%[====================================>] 111,169 213.92K/s
22:35:16 (213.11 KB/s) - `easyubuntu-3.01.tar.gz' saved [111169/111169]
pad@iTux:~$ tar -zxf easyubuntu-3.01.tar.gz
pad@iTux:~$ cd easyubuntu
pad@iTux:~/easyubuntu$ sudo python easyubuntu.py
Traceback (most recent call last):
File "easyubuntu.py", line 35, in ?
import gtkfrontend
File "/home/pad/easyubuntu/gtkfrontend.py", line 25, in ?
from gtkprocess import gtkLogger
File "/home/pad/easyubuntu/gtkprocess.py", line 32, in ?
import pygtk
ImportError: No module named pygtk
pad@iTux:~/easyubuntu$
robotgeek
June 9th, 2006, 07:39 AM
try
sudo apt-get install -f
Aurora
June 9th, 2006, 01:21 PM
I deleted /var/cache/apt/archives/lilypond.... manually from the command line before looking at your post and running sudo apt-get install -f:
pad@iTux:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 28 not upgraded.
7 not fully installed or removed.
Need to get 4736kB of archives.
After unpacking 0B of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com breezy-backports/universe lilypond-data 2.6.3-9~breezy1 [4736kB]
Fetched 4736kB in 12s (369kB/s)
Preconfiguring packages ...
(Reading database ... 53095 files and directories currently installed.)
Preparing to replace lilypond-data 2.6.3-9~breezy1 (using .../lilypond-data_2.6.3-9~breezy1_all.deb) ...
Unpacking replacement lilypond-data ...
/var/lib/dpkg/info/lilypond-data.postrm: line 23: /usr/bin/kpsewhich: No such file or directory
dpkg: warning - old post-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/postrm: line 23: /usr/bin/kpsewhich: No such file or directory
dpkg: error processing /var/cache/apt/archives/lilypond-data_2.6.3-9~breezy1_all.deb (--unpack):
subprocess new post-removal script returned error exit status 1
/var/lib/dpkg/tmp.ci/postrm: line 23: /usr/bin/kpsewhich: No such file or directory
dpkg: error while cleaning up:
subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/lilypond-data_2.6.3-9~breezy1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
robotgeek
June 9th, 2006, 03:45 PM
Hmm, try uninstalling the lilypond package, it seems to be causing trouble
Aurora
June 9th, 2006, 05:02 PM
Hmm, try uninstalling the lilypond package, it seems to be causing trouble
Yes, I uninstalled it weeks ago, but this one file could not be removed cleanly, and has been preventing apt from working properly ever since. I went into the terminal and manually deleted this file this morning, but when I ran apt-get instal -f, something called for it to be installed again. Notice where it says GET:HTTP://....and names the package? Also notice it says there are 7 incomplete installations and removals?
When I run Synaptic and search for 'lilypond', this file is marked for removal. If I unmark it, I still get that post removal exit error 1 thing.
The Lilypond package never even launched properly, so I uninstalled it literally minutes after I installed it, and it seems to have thoroughly mucked up my package manager.
Aurora
June 10th, 2006, 09:32 PM
This bug has several fixes. Apparently installing tetex-bin would fix it, but the bug itself prevents anything from being installed--Catch-22. There is code to patch it at
http://librarian.launchpad.net/1183040/01-lilypond-2.6.3-9_post-pre.patch
but I don't know what to do with the code as I'm not a programmer.
I may choose to nuke my drive and re-install Breezy if I can't find another way. I welcome any less drastic suggestions.
--Paul in Seattle
ubu_dynamite
June 11th, 2006, 07:26 AM
Removing lilypond-data needs kpsewhich installed or at least a file whit that name.
sudo pico /usr/bin/kpsewhich <--save the blank file
sudo chmod 777 /usr/bin/kpsewhich
sudo apt-get remove lilypond-data
sudo rm /usr/bin/kpsewhich
Workt for me.
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.