Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

HELP Wheezy to Jessie update wont boot USE CAP_NET_ADMIN

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
User avatar
robbo007
Posts: 95
Joined: 2009-05-18 11:24

HELP Wheezy to Jessie update wont boot USE CAP_NET_ADMIN

#1 Post by robbo007 »

Hello all,

I've done a standard upgrade from Wheezy to Jessie and my system wont boot. I get the error:

Loading kernel module for network device with CAP_SYS_MODULE (depreciated) Use CAP_NET_ADMIN and Alias netdev-bond0

and then it hangs on "Failed to start login service"

I did the following for the upgrade. Checked all packages where not on hold
changed sources to Jessie
apt-get update
apt-get upgrade
apt-get dist-upgrade
rebooted

Any ideas? Is it my NIC team thats causing the boot problem? How can I resolve this.

thanks,
Rob

User avatar
robbo007
Posts: 95
Joined: 2009-05-18 11:24

Re: HELP Wheezy to Jessie update wont boot USE CAP_NET_ADMIN

#2 Post by robbo007 »

Looks like I've got loads of packages that require configuring. Looking at the last screen before I rebooted I noticed dpkg returned an error code.

I can get into recovery mode and I get network access but because resolvconf is not installed correctly I can resolve DNS. Whats best approach to force dpkg to continue?


User avatar
robbo007
Posts: 95
Joined: 2009-05-18 11:24

Re: HELP Wheezy to Jessie update wont boot USE CAP_NET_ADMIN

#4 Post by robbo007 »

Thanks,

managed to get the rest of the packages installed and rebooted system is up.

I can't seem to get libapache2 configured. I've tried forcing and it errors out. From my logs I see proftp and apache fail to start.

root@sosaria:/home/rcraig# dpkg --audit
The following packages are only half configured, probably due to problems
configuring them the first time. The configuration should be retried using
dpkg --configure <package> or the configure menu option in dselect:
libapache2-mod-php5.6 server-side, HTML-embedded scripting language (Apache 2

root@sosaria:/home/rcraig# apt-get -f install libapache2-mod-php5.6
Reading package lists... Done
Building dependency tree
Reading state information... Done
libapache2-mod-php5.6 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 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 libapache2-mod-php5.6 (5.6.31-1+0~20170711121957.3+jessie~1.gbp94bb71) ...
/var/lib/dpkg/info/libapache2-mod-php5.6.postinst: 291: [: !=: unexpected operator
apache2_switch_mpm prefork: No action required
dpkg: error processing package libapache2-mod-php5.6 (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
libapache2-mod-php5.6
E: Sub-process /usr/bin/dpkg returned an error code (1)

User avatar
robbo007
Posts: 95
Joined: 2009-05-18 11:24

Re: HELP Wheezy to Jessie update wont boot USE CAP_NET_ADMIN

#5 Post by robbo007 »

Seem to have got it back online. What a mission.

Thanks,
Rob

Post Reply