Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Can't remove a package...
New Posts  All Forums:Forum Nav:

Can't remove a package...

post #1 of 10
Thread Starter 
Hello OCN.
I'm trying to remove xinetd but errors occur when I attempt to run apt-get remove.
Code:
jgp@wildcat:~$ sudo apt-get remove xinetd
[sudo] password for jgp: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  xinetd
0 upgraded, 0 newly installed, 1 to remove and 838 not upgraded.
1 not fully installed or removed.
After this operation, 397 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 84920 files and directories currently installed.)
Removing xinetd ...
invoke-rc.d: unknown initscript, /etc/init.d/xinetd not found.
dpkg: error processing xinetd (--remove):
 subprocess installed pre-removal script returned error exit status 100
configured to not write apport reports
                                      invoke-rc.d: unknown initscript, /etc/init.d/xinetd not found.
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 100
Errors were encountered while processing:
 xinetd
E: Sub-process /usr/bin/dpkg returned an error code (1)

Also, I can not install the package either...
Code:
jgp@wildcat:~$ sudo apt-get install xinetd
Reading package lists... Done
Building dependency tree       
Reading state information... Done
xinetd is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 838 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up xinetd (1:2.3.14-7ubuntu4) ...
invoke-rc.d: unknown initscript, /etc/init.d/xinetd not found.
dpkg: error processing xinetd (--configure):
 subprocess installed post-installation script returned error exit status 100
configured to not write apport reports
                                      Errors were encountered while processing:
 xinetd
E: Sub-process /usr/bin/dpkg returned an error code (1)
For reference I am running CrunchBang 10.
How can I completely remove xinetd from my system, without using apt-get remove?
Steam Engine
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x2 555BE 3.8-4.3 MSI 790FX-GD70 BFG GTX260 maXcore G.Skill Ripjaws CL7 1333 4GB 
Hard DriveOptical DriveOSMonitor
640GB WD Caviar Black Samsung SATA Windows 7 x64 Ultimate AOC 22" 1920*1080 + Dell 15" LCD 
KeyboardPowerCaseMouse
ABS M1 700W GameXstream OCZ CM Storm Scout (stock) Razer Deathadder 3.5G 
Mouse Pad
Steelseries QcK 
  hide details  
Reply
Steam Engine
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x2 555BE 3.8-4.3 MSI 790FX-GD70 BFG GTX260 maXcore G.Skill Ripjaws CL7 1333 4GB 
Hard DriveOptical DriveOSMonitor
640GB WD Caviar Black Samsung SATA Windows 7 x64 Ultimate AOC 22" 1920*1080 + Dell 15" LCD 
KeyboardPowerCaseMouse
ABS M1 700W GameXstream OCZ CM Storm Scout (stock) Razer Deathadder 3.5G 
Mouse Pad
Steelseries QcK 
  hide details  
Reply
post #2 of 10
You don't. There's no need to remove it.
post #3 of 10
I may be wrong but i think xinetd is a importent internet package. You shouldnt remove it.
    
CPUMotherboardGraphicsRAM
AMD Phenom II X4 B55 Biostar A880GZ  AMD Radeon HD 4250 iGPU 8GB (2x4GB) Patriot Sector 5 DDR3 
Hard DriveHard DriveHard DriveOptical Drive
Seagate Barracuda 1TB (ST1000DM003) Western Digital Caviar SE 250GB Seagate External 1TB LG DVD Burner 
OSOSOSPower
Debian GNU/Linux 6.0.6 'Squeeze' 64-bit Arch Linux 64-bit FreeBSD 9.0 64-bit LPS Ultra 550 watt 
Case
Thermaltake V4  
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
AMD Phenom II X4 B55 Biostar A880GZ  AMD Radeon HD 4250 iGPU 8GB (2x4GB) Patriot Sector 5 DDR3 
Hard DriveHard DriveHard DriveOptical Drive
Seagate Barracuda 1TB (ST1000DM003) Western Digital Caviar SE 250GB Seagate External 1TB LG DVD Burner 
OSOSOSPower
Debian GNU/Linux 6.0.6 'Squeeze' 64-bit Arch Linux 64-bit FreeBSD 9.0 64-bit LPS Ultra 550 watt 
Case
Thermaltake V4  
  hide details  
Reply
post #4 of 10
Thread Starter 
Then, in that case, how can I repair the installation, since there is an apparent issue with it. Thanks.
Steam Engine
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x2 555BE 3.8-4.3 MSI 790FX-GD70 BFG GTX260 maXcore G.Skill Ripjaws CL7 1333 4GB 
Hard DriveOptical DriveOSMonitor
640GB WD Caviar Black Samsung SATA Windows 7 x64 Ultimate AOC 22" 1920*1080 + Dell 15" LCD 
KeyboardPowerCaseMouse
ABS M1 700W GameXstream OCZ CM Storm Scout (stock) Razer Deathadder 3.5G 
Mouse Pad
Steelseries QcK 
  hide details  
Reply
Steam Engine
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x2 555BE 3.8-4.3 MSI 790FX-GD70 BFG GTX260 maXcore G.Skill Ripjaws CL7 1333 4GB 
Hard DriveOptical DriveOSMonitor
640GB WD Caviar Black Samsung SATA Windows 7 x64 Ultimate AOC 22" 1920*1080 + Dell 15" LCD 
KeyboardPowerCaseMouse
ABS M1 700W GameXstream OCZ CM Storm Scout (stock) Razer Deathadder 3.5G 
Mouse Pad
Steelseries QcK 
  hide details  
Reply
post #5 of 10
sudo apt-get install -f

Unless you botched it beyond repair, I've had that happen a few times (even recent) but were due to my own fault. I did upgrade where I should have done dist-upgrade, it didn't turn out in my favor. =( Oh well, it wasn't really important.
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x4 B45 3.6GHz M3A770DE HD 7950 (1100/1450) 8G Muskin DDR3 1600@8CLS 
Hard DriveOptical DriveOSMonitor
160G WD LiteOn DVD-RW DL Linux (Fedora)-Win7 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x4 B45 3.6GHz M3A770DE HD 7950 (1100/1450) 8G Muskin DDR3 1600@8CLS 
Hard DriveOptical DriveOSMonitor
160G WD LiteOn DVD-RW DL Linux (Fedora)-Win7 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
post #6 of 10
Similar thing here. got lazy with my dist-upgrade, didnt check broken packages before reboot and bricked my mint 12 install. Oh well, now I run a triple boot of debian gnu/linux squeeze, freebsd 9, and debian gnu/hurd sid.

@op- install -f should work. If not try and run sudo apt-get -purge remove [package] then reinstall
    
CPUMotherboardGraphicsRAM
AMD Phenom II X4 B55 Biostar A880GZ  AMD Radeon HD 4250 iGPU 8GB (2x4GB) Patriot Sector 5 DDR3 
Hard DriveHard DriveHard DriveOptical Drive
Seagate Barracuda 1TB (ST1000DM003) Western Digital Caviar SE 250GB Seagate External 1TB LG DVD Burner 
OSOSOSPower
Debian GNU/Linux 6.0.6 'Squeeze' 64-bit Arch Linux 64-bit FreeBSD 9.0 64-bit LPS Ultra 550 watt 
Case
Thermaltake V4  
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
AMD Phenom II X4 B55 Biostar A880GZ  AMD Radeon HD 4250 iGPU 8GB (2x4GB) Patriot Sector 5 DDR3 
Hard DriveHard DriveHard DriveOptical Drive
Seagate Barracuda 1TB (ST1000DM003) Western Digital Caviar SE 250GB Seagate External 1TB LG DVD Burner 
OSOSOSPower
Debian GNU/Linux 6.0.6 'Squeeze' 64-bit Arch Linux 64-bit FreeBSD 9.0 64-bit LPS Ultra 550 watt 
Case
Thermaltake V4  
  hide details  
Reply
post #7 of 10
Quote:
Originally Posted by jrl1357 View Post

Similar thing here. got lazy with my dist-upgrade, didnt check broken packages before reboot and bricked my mint 12 install. Oh well, now I run a triple boot of debian gnu/linux squeeze, freebsd 9, and debian gnu/hurd sid.
@op- install -f should work. If not try and run sudo apt-get -purge remove [package] then reinstall

How is hurd working? I've read it's still a bit unfinished, as in not many desktop uses? Things going quick? Also, good to see you moved to pure Debian! I'm a fan of testing/unstable instead of using the release names.
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x4 B45 3.6GHz M3A770DE HD 7950 (1100/1450) 8G Muskin DDR3 1600@8CLS 
Hard DriveOptical DriveOSMonitor
160G WD LiteOn DVD-RW DL Linux (Fedora)-Win7 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x4 B45 3.6GHz M3A770DE HD 7950 (1100/1450) 8G Muskin DDR3 1600@8CLS 
Hard DriveOptical DriveOSMonitor
160G WD LiteOn DVD-RW DL Linux (Fedora)-Win7 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
post #8 of 10
Currently the hurd is sid only. Its stable enough for everyday use (thou it takes a day or two to work the kinks out after an update) about 2/3rds of packages have been ported. The biggest problem is that theres no sata support (ide only) and theres a 512mb ram max (i think it may have been moved up to 1gb but I havn't updated in a little bit) so i'm using an old pci card to give me ide and a can use 1/16th of my ram frown.gif but hey, work in progress. I just use it to help work out the bugs
    
CPUMotherboardGraphicsRAM
AMD Phenom II X4 B55 Biostar A880GZ  AMD Radeon HD 4250 iGPU 8GB (2x4GB) Patriot Sector 5 DDR3 
Hard DriveHard DriveHard DriveOptical Drive
Seagate Barracuda 1TB (ST1000DM003) Western Digital Caviar SE 250GB Seagate External 1TB LG DVD Burner 
OSOSOSPower
Debian GNU/Linux 6.0.6 'Squeeze' 64-bit Arch Linux 64-bit FreeBSD 9.0 64-bit LPS Ultra 550 watt 
Case
Thermaltake V4  
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
AMD Phenom II X4 B55 Biostar A880GZ  AMD Radeon HD 4250 iGPU 8GB (2x4GB) Patriot Sector 5 DDR3 
Hard DriveHard DriveHard DriveOptical Drive
Seagate Barracuda 1TB (ST1000DM003) Western Digital Caviar SE 250GB Seagate External 1TB LG DVD Burner 
OSOSOSPower
Debian GNU/Linux 6.0.6 'Squeeze' 64-bit Arch Linux 64-bit FreeBSD 9.0 64-bit LPS Ultra 550 watt 
Case
Thermaltake V4  
  hide details  
Reply
post #9 of 10
Quote:
Originally Posted by jrl1357 View Post

I may be wrong but i think xinetd is a importent internet package. You shouldnt remove it.

not internet - just networking in general.

Basically xinetd is a daemon that acts as a wrapper for a number of networking servers. It's a way of keeping less busy services (eg FTP) grouped to (IIRC) keep the footprint down and just generally keep configurations tidier.

Personally I hate xinetd.
post #10 of 10
Thread Starter 
Yeah, I reinstalled CrunchBang and it works fine. Thanks for the help.
Steam Engine
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x2 555BE 3.8-4.3 MSI 790FX-GD70 BFG GTX260 maXcore G.Skill Ripjaws CL7 1333 4GB 
Hard DriveOptical DriveOSMonitor
640GB WD Caviar Black Samsung SATA Windows 7 x64 Ultimate AOC 22" 1920*1080 + Dell 15" LCD 
KeyboardPowerCaseMouse
ABS M1 700W GameXstream OCZ CM Storm Scout (stock) Razer Deathadder 3.5G 
Mouse Pad
Steelseries QcK 
  hide details  
Reply
Steam Engine
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x2 555BE 3.8-4.3 MSI 790FX-GD70 BFG GTX260 maXcore G.Skill Ripjaws CL7 1333 4GB 
Hard DriveOptical DriveOSMonitor
640GB WD Caviar Black Samsung SATA Windows 7 x64 Ultimate AOC 22" 1920*1080 + Dell 15" LCD 
KeyboardPowerCaseMouse
ABS M1 700W GameXstream OCZ CM Storm Scout (stock) Razer Deathadder 3.5G 
Mouse Pad
Steelseries QcK 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Can't remove a package...