LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 02-19-2007, 09:03 PM   #1
n8flieg
LQ Newbie
 
Registered: Feb 2007
Posts: 6

Rep: Reputation: 0
forced removal of a package


I did something I knew better than, trusted adept to handle more than 10 packages at once (was grabbing GIMP, K3D, Inkscape etc.) Now K3D is locked into an eternal dependency loop if you will. If I install/uninstall/update ANY package on the system (kubuntu) it pops up with an error with the k3d package. Tried uninstalling, reinstalling and purging.

I cant find the physical program on my system so I'm assuming something has locked itself in adept like a broken toggle stuck in the on position. Is there any way I can forcefully remove an app and flip that install switch in an attempt to make it as if it never existed? Something like remove /appdir then edit the adept database to show that it is not installed? It doesn't show any dependencies trying to be uninstalled with k3d, just that one package so editing that database to show not installed shouldn't have a dep problem.

EDIT: forgot to mention that I can't copy the text that shows the error during ... adepting?... the log file shows a bunch of attempts and half-configuring k3d before stopping. also all packages succeed in installing and updating even with the k3d error.

EDIT2: Hah, was able to grab part of the error before it died again. I tried installing k3dsurf to grab error

Selecting previously deselected package k3dsurf.
(Reading database ... 203154 files and directories currently installed.)
Unpacking k3dsurf (from .../k3dsurf_0.5.4-1_i386.deb) ...
Setting up k3d (0.5.12.0-1ubuntu2) ...
Traceback (most recent call last):
File "/usr/bin/pycentral", line 1348, in ?
main()
File "/usr/bin/pycentral", line 1342, in main
rv = action.run(global_options)
File "/usr/bin/pycentral", line 865, in run
pkg.read_version_info()
File "/usr/bin/pycentral", line 535, in read_version_info
raise PyCentralError, "package has no field Python-Version"
__main__.PyCentralError: package has no field Python-Version
dpkg: error processing k3d (--configure):
subprocess post-installation script returned error exit status 1
Setting up k3dsurf (0.5.4-1) ...

Errors were encountered while processing:
k
3d

Last edited by n8flieg; 02-19-2007 at 09:12 PM.
 
Old 02-20-2007, 12:23 PM   #2
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
Just curious, but try it through the terminal using the aptitude. I keep hearing about how aptitude handles packages better than apt-get.

Last edited by Micro420; 02-20-2007 at 12:25 PM.
 
Old 02-20-2007, 08:05 PM   #3
n8flieg
LQ Newbie
 
Registered: Feb 2007
Posts: 6

Original Poster
Rep: Reputation: 0
aptitude doesn't like it either.

tried aptitude, got this for trying to install k3d
:~$ sudo aptitude install k3d
Password:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Building tag database... Done
The following packages are unused and will be REMOVED:
beryl-plugins-data beryl-settings-bindings libberyldecoration0
libberylsettings0

0 packages upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 4192kB will be freed.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
(Reading database ... 202385 files and directories currently installed.)
Removing beryl-plugins-data ...
Removing beryl-settings-bindings ...
Removing libberyldecoration0 ...
Removing libberylsettings0 ...
Setting up k3d (0.5.12.0-1ubuntu2) ...
Traceback (most recent call last):
File "/usr/bin/pycentral", line 1348, in ?
main()
File "/usr/bin/pycentral", line 1342, in main
rv = action.run(global_options)
File "/usr/bin/pycentral", line 865, in run
pkg.read_version_info()
File "/usr/bin/pycentral", line 535, in read_version_info
raise PyCentralError, "package has no field Python-Version"
__main__.PyCentralError: package has no field Python-Version
dpkg: error processing k3d (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
k3d
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
:~$


excluding removing the beryl stuff again, uninstalling and reinstalling yields the same results. and after trying the -f option and it screaming the pycentral error 3 times I think its safe to say theres something wrong with pycentral, however I can't seem to locate anything to do with pycentral in adept (easier to search that than aptitude)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
need guidence on indivisual package removal and download accelerator corelover Fedora 14 03-08-2005 11:46 AM
Diskset package removal PDock Slackware 0 08-10-2004 09:02 AM
help! forced to compile opengl on M$ - HOW TO? adhara Programming 1 07-27-2004 07:43 AM
Forced to go back to windows :-( imurderer Mandriva 18 10-30-2003 10:08 AM
check forced ? jamaso Linux - General 4 04-09-2002 07:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 12:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration