LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-28-2017, 02:01 AM   #1
jacko777
LQ Newbie
 
Registered: Nov 2016
Location: Victoria Australia
Distribution: Linux Ubuntu 16.04.1
Posts: 23

Rep: Reputation: Disabled
errors with runit


Hello again,
I was trying to do something.... Please do not ask me what is was as I have been down many roads trying to overcome errors that I have forgotten what it was. One thing I do remember, was trying to sort out "GRUB" every time I start Linux (UBUNTU XENIAL XEROX ? 16.04 64bit) I must remember to sit at the console and move the cursor up to the particular thing I want to boot to. If I forget it sits on the third line and boots mem test. The problem I have found revolves around both "RUNIT" and "DPKG".
The errors are listed below...

rod@rod:~$ sudo apt-get install grub-customizer
Reading package lists... Done
Building dependency tree
Reading state information... Done
grub-customizer is already the newest version (5.0.6-0ubuntu1~ppa1x).
0 to upgrade, 0 to newly install, 0 to remove and 83 not to upgrade.
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 runit (2.1.2-3ubuntu1) ...
start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
dpkg: error processing package runit (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
runit
E: Sub-process /usr/bin/dpkg returned an error code (1)

I have fiddled with these problems for some time, without success, would someone enlighten me with a solution to these problems please.
 
Old 09-28-2017, 05:58 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 13,400
Blog Entries: 9

Rep: Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655Reputation: 3655
you need to edit /etc/default/grub.
try this:

Code:
sudo gedit /etc/default/grub
# edit the line containing GRUB_DEFAULT=saved to GRUB_DEFAULT=0
# this is the first entry in the menu. if you want it to always boot to the second entry, use GRUB_DEFAULT=1 etc.
sudo update-grub
you don't need grub-customizer for that.

BUT...
it seems that something else is amiss on your system.
isn't runit an alternative, minimal init system? did you install it? why?

Quote:
Originally Posted by jacko777 View Post
UBUNTU XENIAL XEROX
i love it!
 
1 members found this post helpful.
Old 09-28-2017, 07:23 AM   #3
jacko777
LQ Newbie
 
Registered: Nov 2016
Location: Victoria Australia
Distribution: Linux Ubuntu 16.04.1
Posts: 23

Original Poster
Rep: Reputation: Disabled
Talking you fixed that

Hello ondoho, yes I did install it, or tried to but that was a failure too. I cannot remember why I installed it but it would have been because I was advised to install it when I was trying to follow other directions from "Google".
If you have any other suggestions for my problems I would love to hear from you again.

Sorry I didn't mention this in the first paragraph, but thank you for the fix for my boot problem. It certainly did the trick.
Could you tell me how I mark your answer as being the correct one please.

Kind regards, and thanks again.
Rod
 
  


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
[SOLVED] S6 or Runit, not systemd san2ban Slackware 33 12-16-2017 07:29 PM
[SOLVED] Editing the wiki for runit san2ban Dragora GNU/Linux-Libre 1 09-07-2016 03:35 PM
runit on SuSE 10.1 tzbishop SUSE / openSUSE 2 10-09-2006 12:26 PM
runit problems deroB Linux - Software 3 01-17-2006 03:40 PM
xdm with runit? behmjose Linux From Scratch 0 05-22-2004 04:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:11 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration