Debian This forum is for the discussion of Debian Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
04-16-2009, 03:12 AM
|
#1
|
|
LQ Newbie
Registered: Apr 2009
Location: Russia
Distribution: debian squeeze
Posts: 9
Rep:
|
python-elementtree package problem..
i'm using debian testing, today i updated the packages .. at the end of the updating update-manager returns a error for the first time i have ever seen
anyway, now the python-elementtree package gives errors..
like ;
PHP Code:
debian:/home/sylar# apt-get autoremove Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 3 not fully installed or removed. After this operation, 0B of additional disk space will be used. Setting up python-elementtree (1.2.6-13) ... Usage: update-python-modules [-v] [-c] package_directory [...] update-python-modules [-v] [-c] package.dirs [...] update-python-modules [-v] [-a|-f|-p]
update-python-modules: error: /usr/share/python-support/python-elementtree.public is not a directory dpkg: error processing python-elementtree (--configure): subprocess post-installation script returned error exit status 2 dpkg: dependency problems prevent configuration of epiphany-extensions: epiphany-extensions depends on python-elementtree; however: Package python-elementtree is not configured yet. dpkg: error processing epiphany-extensions (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of gnome: gnome depends on epiphany-extensions; however: Package epiphany-extensions is not configured yet. dpkg: error processing gnome (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: python-elementtree epiphany-extensions gnome E: Sub-process /usr/bin/dpkg returned an error code (1)
how can i fix it
Last edited by sylar; 04-16-2009 at 12:47 PM.
|
|
|
|
04-17-2009, 05:22 AM
|
#2
|
|
LQ Newbie
Registered: Dec 2005
Posts: 14
Rep:
|
I've got the same problem. And it isn't only python-elementtree. It says 3 not fully installed or removed and then
Errors were encountered while processing:
python-elementtree
epiphany-extensions
gnome
it started with elementtree though
|
|
|
|
04-17-2009, 05:57 AM
|
#3
|
|
Member
Registered: Oct 2006
Location: New York
Distribution: Debian
Posts: 655
Rep:
|
If you read the package description for "python-elementtree" it says:
Quote:
ElementTree is included in Python 2.5, so there is no need
to install this package if you are using Python 2.5.
|
... so I would think that means that if you have "python2.5" that you shouldn't worry about "python-elementtree". Of course I don't use python, so I don't know if this is true. BTW, I had the same problem updating.
|
|
|
|
04-17-2009, 06:57 AM
|
#4
|
|
LQ Newbie
Registered: Dec 2005
Posts: 14
Rep:
|
I'm personally more worried about apt-get and dpkg than elementree. apt-get install -f doesn't help. apt-get autoremove doesn't work for me either. It seems like the elementree package is stuck somehow and can't be properly installed nor removed.
Any ideas how to remove this broken package?
|
|
|
|
04-17-2009, 07:21 AM
|
#5
|
|
Senior Member
Registered: Dec 2008
Location: Gorizia, Italy
Distribution: Debian Testing Amd64
Posts: 3,256
Rep: 
|
I solved this problem by removing the FILE called python-elementtree.public in /usr/share/python-support/ and creating a folder with the same name. I then installed the package with no problem at it hasn't complained since.
Cheers,
jdk
Last edited by jdkaye; 04-17-2009 at 07:23 AM.
|
|
|
|
04-17-2009, 07:40 AM
|
#6
|
|
Member
Registered: Oct 2006
Location: New York
Distribution: Debian
Posts: 655
Rep:
|
Quote:
Originally Posted by jdkaye
I solved this problem by removing the FILE called python-elementtree.public in /usr/share/python-support/ and creating a folder with the same name. I then installed the package with no problem at it hasn't complained since.
|
I did this, and it seemed to work, then I thought to myself "should I copy the original python-elementtree.public back to /usr/share/python-support/ and erase the empty folder?" (because I had saved it, and it wasn't empty) but I don't know... is that a good idea? Should I just leave it with the empty folder?
|
|
|
|
04-17-2009, 07:43 AM
|
#7
|
|
LQ Newbie
Registered: Dec 2005
Posts: 14
Rep:
|
cheers mate! worked perfectly!
|
|
|
|
04-18-2009, 01:05 AM
|
#8
|
|
Senior Member
Registered: Dec 2008
Location: Gorizia, Italy
Distribution: Debian Testing Amd64
Posts: 3,256
Rep: 
|
Quote:
Originally Posted by radiodee1
I did this, and it seemed to work, then I thought to myself "should I copy the original python-elementtree.public back to /usr/share/python-support/ and erase the empty folder?" (because I had saved it, and it wasn't empty) but I don't know... is that a good idea? Should I just leave it with the empty folder?
|
It seems to be it's just a simple script error in the package. Someone wrote
Code:
mk python-elementtree.public
when they should have written
Code:
mkdir python-elementtree.public
A simple mistake that could happen to any of us and easy enough to fix. I wouldn't worry about it unless python starts acting strangely.
Njekto wrote:
Quote:
|
cheers mate! worked perfectly!
|
My pleasure, Njekto. Glad to have been of service. 
Cheers,
jdk
|
|
|
|
04-18-2009, 10:13 AM
|
#9
|
|
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,476
|
Please see this bug report and the elementtree PTS page. If you wait one more day and do an upgrade, this should be fixed.
|
|
|
|
04-19-2009, 02:24 AM
|
#10
|
|
Senior Member
Registered: Dec 2008
Location: Gorizia, Italy
Distribution: Debian Testing Amd64
Posts: 3,256
Rep: 
|
Just to let everyone know that the upgrade for python-elementtree (1.2.6-14) came through Debian Testing this morning and installed itself over (my manually fixed) python-elementtree (1.2.6-13) with no problems. Use the ftp.de.debian.org mirror in my sources.list.
And who said Debian bug fixes were slow? 
Cheers,
jdk
Last edited by jdkaye; 04-19-2009 at 02:25 AM.
|
|
|
|
04-19-2009, 08:38 AM
|
#11
|
|
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,476
|
Yeah, this one only gestated for two days in Sid because it was rated grave.
|
|
|
|
04-19-2009, 05:51 PM
|
#12
|
|
LQ Newbie
Registered: Apr 2009
Location: Russia
Distribution: debian squeeze
Posts: 9
Original Poster
Rep:
|
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=524303
the bug fixed. only need to apt-get upgrade for repair it.
thanks for the answers
Last edited by sylar; 04-22-2009 at 06:35 AM.
|
|
|
|
04-21-2009, 10:43 AM
|
#13
|
|
LQ Newbie
Registered: Apr 2009
Posts: 15
Rep:
|
I installed 1.2.6-14 before it reached testing with the following command:
aptitude -t unstable install python-elementtree
I also set the following in /etc/apt/preferences: Package: *
Pin: release a=testing
Pin-Priority: 650
Package: *
Pin: release a=unstable
Pin-Priority: 600
Now that this version is in testing, I would like to remain with the testing version and not get the latest and greatest unstable version.
ie. When unstable has 1.2.6-15 and testing has 1.2.6-14 and I perform an "aptitude safe-upgrade" will 1.2.6-15 be installed on my system, or will it stay on 1.2.6-14? If it will be upgraded, how can I prevent it?
|
|
|
|
04-21-2009, 12:41 PM
|
#14
|
|
Member
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798
Rep: 
|
Quote:
Originally Posted by squiz
I installed 1.2.6-14 before it reached testing with the following command:
aptitude -t unstable install python-elementtree
I also set the following in /etc/apt/preferences: Package: *
Pin: release a=testing
Pin-Priority: 650
Package: *
Pin: release a=unstable
Pin-Priority: 600
Now that this version is in testing, I would like to remain with the testing version and not get the latest and greatest unstable version.
ie. When unstable has 1.2.6-15 and testing has 1.2.6-14 and I perform an "aptitude safe-upgrade" will 1.2.6-15 be installed on my system, or will it stay on 1.2.6-14? If it will be upgraded, how can I prevent it?
|
i don`t know for sure, but just searched for such a problem (-> for vbox-modules) and found this, which worked for me:
Code:
echo packagename hold | dpkg --set-selections
while it might be <packagename hold> or <"packagename hold">
apt-get upgrade -s should give you now the output that the package is getting hold.
if you wanna upgrade the holded package sometimes later you need an
Code:
apt-get --ignore-hold packagename
as said: this is not an advice to follow, but just a hint where to search for a possible solution.
greetings
Last edited by j1alu; 04-21-2009 at 05:27 PM.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:23 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|