Ubuntu This forum is for the discussion of Ubuntu 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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-19-2007, 09:03 PM
|
#1
|
LQ Newbie
Registered: Feb 2007
Posts: 6
Rep:
|
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:
k3d
Last edited by n8flieg; 02-19-2007 at 09:12 PM.
|
|
|
02-20-2007, 12:23 PM
|
#2
|
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:
|
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.
|
|
|
02-20-2007, 08:05 PM
|
#3
|
LQ Newbie
Registered: Feb 2007
Posts: 6
Original Poster
Rep:
|
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)
|
|
|
All times are GMT -5. The time now is 12:27 AM.
|
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
|
|