LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-23-2014, 09:16 AM   #1
mpyusko
Member
 
Registered: Oct 2003
Location: Rochester, NY, USA
Distribution: Salckware ver 10.1 - 14.1, Debian too.
Posts: 432
Blog Entries: 1

Rep: Reputation: 41
Question initscripts fails upgrading debian packages


apt-get update; apt-get upgrade marks 27 packages, but it fails when it tries to configure initscripts. apt-get install -f does not work nor does dpkg --configure initscripts. I also try running insserv alone and even that fails. The error message I keep seeing is...
Code:
Setting up initscripts (2.88dsf-55.3) ...
insserv: FATAL: service rpcbind is missed in the runlevels 2 3 4 5 to use service nfs-common
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package initscripts (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 initscripts
Thoughts? Lamentations?
 
Old 09-23-2014, 08:00 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,145

Rep: Reputation: 1496Reputation: 1496Reputation: 1496Reputation: 1496Reputation: 1496Reputation: 1496Reputation: 1496Reputation: 1496Reputation: 1496Reputation: 1496
Hi,

that version of initscripts is in experimental. Can you provide more information about your setup, including what version of innserv you have?

Evo2.
 
Old 09-25-2014, 07:55 AM   #3
mpyusko
Member
 
Registered: Oct 2003
Location: Rochester, NY, USA
Distribution: Salckware ver 10.1 - 14.1, Debian too.
Posts: 432

Original Poster
Blog Entries: 1

Rep: Reputation: 41
Quote:
Originally Posted by evo2 View Post
Hi,

that version of initscripts is in experimental. Can you provide more information about your setup, including what version of innserv you have?

Evo2.

ya know, there is no -v/V option to tell you the version with insserv? Someone of their dev team must've been napping that day. 1.16.0-5 from what I can tell it says it's experimental, but I should be using the testing repository. The only experimental I want to use is for the nvidia drivers.
 
Old 10-07-2014, 03:07 PM   #4
mpyusko
Member
 
Registered: Oct 2003
Location: Rochester, NY, USA
Distribution: Salckware ver 10.1 - 14.1, Debian too.
Posts: 432

Original Poster
Blog Entries: 1

Rep: Reputation: 41
I am still having this issue. Initscripts and insserv fail to complete installation and configuration. I tried reinstalling them but they still error out. Now other pacakges are having issues and need certian components upgraded, but I can't upgrade them with initscripts broken. Neither fixing broken via Synaptic, nor "apt-get -f install" rectifies the problem.

Thoughts?
 
Old 10-07-2014, 08:35 PM   #5
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,145

Rep: Reputation: 1496Reputation: 1496Reputation: 1496Reputation: 1496Reputation: 1496Reputation: 1496Reputation: 1496Reputation: 1496Reputation: 1496Reputation: 1496
Hi,
Quote:
Originally Posted by mpyusko View Post
I am still having this issue. Initscripts and insserv fail to complete installation and configuration. I tried reinstalling them but they still error out. Now other pacakges are having issues and need certian components upgraded, but I can't upgrade them with initscripts broken. Neither fixing broken via Synaptic, nor "apt-get -f install" rectifies the problem.

Thoughts?
We need more information. Please post the output of:
Code:
apt-get -f install
apt-cache policy initscripts inserv
dpkg -l initscripts inserv
cat /etc/apt/sources.list
cat /etc/apt/sources.list.d/*
Evo2.
 
Old 10-08-2014, 02:47 PM   #6
mpyusko
Member
 
Registered: Oct 2003
Location: Rochester, NY, USA
Distribution: Salckware ver 10.1 - 14.1, Debian too.
Posts: 432

Original Poster
Blog Entries: 1

Rep: Reputation: 41
Code:
root@hal9000:/etc/init.d# apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  linux-image-3.13-1-amd64
Use 'apt-get autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 883 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up initscripts (2.88dsf-55.3) ...
insserv: FATAL: service rpcbind is missed in the runlevels 2 3 4 5 to use service nfs-common
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package initscripts (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 initscripts
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@hal9000:/etc/init.d#
Code:
root@hal9000:/etc/init.d# apt-cache policy initscripts insserv
initscripts:
  Installed: 2.88dsf-55.3
  Candidate: 2.88dsf-55.3
  Version table:
 *** 2.88dsf-55.3 0
        100 /var/lib/dpkg/status
     2.88dsf-53.4 0
        500 ftp://debian.mirrors.tds.net/pub/linux/ftp.debian.org/debian/ testing/main amd64 Packages
insserv:
  Installed: 1.16.0-5
  Candidate: 1.16.0-5
  Version table:
 *** 1.16.0-5 0
        100 /var/lib/dpkg/status
     1.14.0-5 0
        500 ftp://debian.mirrors.tds.net/pub/linux/ftp.debian.org/debian/ testing/main amd64 Packages
root@hal9000:/etc/init.d#
Code:
root@hal9000:/etc/init.d# dpkg -l initscripts insserv
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                   Version          Architecture     Description
+++-======================-================-================-=================================================
pF  initscripts            2.88dsf-55.3     amd64            scripts for initializing and shutting down the sy
ii  insserv                1.16.0-5         amd64            boot sequence organizer using LSB init.d script d
root@hal9000:/etc/init.d#
Code:
root@hal9000:/etc/init.d# cat /etc/apt/sources.list
# deb ftp://mirror.rit.edu/debian/ testing main non-free contrib 
# deb-src ftp://mirror.rit.edu/debian/ testing contrib non-free main 

# deb http://security.debian.org/ testing/updates non-free contrib main 
# deb-src http://security.debian.org/ testing/updates non-free contrib main 

# deb ftp://mirror.rit.edu/debian/ testing-updates main contrib non-free 
# deb-src ftp://mirror.rit.edu/debian/ testing-updates main contrib non-free 

# deb ftp://mirror.rit.edu/debian/ experimental main non-free contrib 
# deb-src ftp://mirror.rit.edu/debian/ experimental main non-free contrib 

# deb ftp://ftp.deb-multimedia.org/ testing main non-free 

deb ftp://debian.mirrors.tds.net/pub/linux/ftp.debian.org/debian/ testing contrib non-free main 
deb-src ftp://debian.mirrors.tds.net/pub/linux/ftp.debian.org/debian/ testing main non-free contrib 

deb http://security.debian.org/ testing/updates non-free contrib main 
deb-src http://security.debian.org/ testing/updates non-free contrib main 

deb ftp://debian.mirrors.tds.net/pub/linux/ftp.debian.org/debian/ testing-updates non-free contrib main 
deb-src ftp://debian.mirrors.tds.net/pub/linux/ftp.debian.org/debian/ testing-updates non-free contrib main 

# deb ftp://debian.mirrors.tds.net/pub/linux/ftp.debian.org/debian/ experimental main non-free contrib  
# deb-src ftp://debian.mirrors.tds.net/pub/linux/ftp.debian.org/debian/ experimental main non-free contrib  

deb ftp://ftp.deb-multimedia.org/ testing main non-free 

# deb ftp://mirror.rit.edu/debian/ sid contrib non-free main 
# deb-src ftp://mirror.rit.edu/debian/ sid contrib non-free main 

root@hal9000:/etc/init.d#
Code:
root@hal9000:/etc/init.d# cat /etc/apt/sources.list.d/*
deb [arch=amd64,i386] http://repo.steampowered.com/steam/ precise steam 
deb-src [arch=amd64,i386] http://repo.steampowered.com/steam/ precise steam 
root@hal9000:/etc/init.d#
 
Old 10-08-2014, 07:54 PM   #7
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,145

Rep: Reputation: 1496Reputation: 1496Reputation: 1496Reputation: 1496Reputation: 1496Reputation: 1496Reputation: 1496Reputation: 1496Reputation: 1496Reputation: 1496
Hi,

it looks like you may be able to get this to work by removing or reinstalling rpcbind. Are you actually running an nfs server? If not try purging rcpbind and nfs-common. Eg
Code:
dpkg purge rcpbind nfs-common
After that you should seriously consider getting rid of any packages from experimental that are on your system.

Evo2.
 
2 members found this post helpful.
Old 10-08-2014, 07:57 PM   #8
mpyusko
Member
 
Registered: Oct 2003
Location: Rochester, NY, USA
Distribution: Salckware ver 10.1 - 14.1, Debian too.
Posts: 432

Original Poster
Blog Entries: 1

Rep: Reputation: 41
The only Experimental package I want on my system is the NVIDIA driver. Everything else should just be testing.
 
Old 10-11-2014, 04:37 PM   #9
mpyusko
Member
 
Registered: Oct 2003
Location: Rochester, NY, USA
Distribution: Salckware ver 10.1 - 14.1, Debian too.
Posts: 432

Original Poster
Blog Entries: 1

Rep: Reputation: 41
Quote:
Originally Posted by evo2 View Post
Hi,

it looks like you may be able to get this to work by removing or reinstalling rpcbind. Are you actually running an nfs server? If not try purging rcpbind and nfs-common. Eg
Code:
dpkg purge rcpbind nfs-common
After that you should seriously consider getting rid of any packages from experimental that are on your system.

Evo2.
Well you gave me a significant clue, but this is what I wound up doing to fix it....
Code:
# dpkg --purge task-file-server nfs-kernel-server rpcbind nfs-common
# dpkg -i task-file-server nfs-kernel-server rpcbind nfs-common
# apt-get -f install
# apt-get update;apt-get upgrade
# reboot
Thanks for your help!
 
Old 10-12-2014, 12:53 AM   #10
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Did you get all 833 packages updated?
 
Old 10-12-2014, 11:02 AM   #11
mpyusko
Member
 
Registered: Oct 2003
Location: Rochester, NY, USA
Distribution: Salckware ver 10.1 - 14.1, Debian too.
Posts: 432

Original Poster
Blog Entries: 1

Rep: Reputation: 41
Quote:
Originally Posted by EDDY1 View Post
Did you get all 833 packages updated?
Yes!
 
Old 10-17-2020, 09:33 AM   #12
jcschauer
LQ Newbie
 
Registered: Oct 2020
Posts: 1

Rep: Reputation: Disabled
Thanks,
Code:
dpkg --purge rcpbind nfs-common
worked great!

Quote:
Originally Posted by evo2 View Post
Hi,

it looks like you may be able to get this to work by removing or reinstalling rpcbind. Are you actually running an nfs server? If not try purging rcpbind and nfs-common. Eg
Code:
dpkg purge rcpbind nfs-common
After that you should seriously consider getting rid of any packages from experimental that are on your system.

Evo2.
 
  


Reply

Tags
apt-get, insserv, rpcbind


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
[SOLVED] No sound in Debian after upgrading packages wolverene13 Linux - Desktop 2 02-24-2011 07:38 PM
[SOLVED] Debian upgrade fails 4 packages udev, can only boot into safemode wikapuki Linux - Newbie 6 09-03-2010 12:11 PM
Upgrade FC4 - FC5 using yum, fails with initscripts dependency rendle Fedora 2 04-05-2006 09:32 AM
Conflict between Debian initscripts and ipw2200 TheOneKEA Debian 2 01-24-2006 07:39 AM
upgrading packages paulr1984 Linux - Software 6 03-23-2005 03:42 PM

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

All times are GMT -5. The time now is 11:02 PM.

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