LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 03-21-2014, 08:43 PM   #1
nicbit
LQ Newbie
 
Registered: Mar 2014
Posts: 2

Rep: Reputation: Disabled
Question cannot use apt-get anymore


Today I received that god forsaken message "you have 350 mB left" from kali; in my infinite wisdom, I decided to run
Code:
sudo apt-get autoremove
to remove ~250 mB... Unfortunately I was using gnome... My compute decided it was high time to make my life hell, and uninstalled gnome and network-manager . I proceeded to spend the next several hours attempting to dig up a linux live cd. After it FINALLY loaded, I decided to chroot into my kali system and attempt to install gnome again. Unfortunately, when I booted up into Kali, it lacked wifi access but at least had the GUI. So, I started up the CD drive again and booted into ubuntu... Upon entering I chrooted into Kali again, but, when I attempted to install network-manager, I was presented by a daunting message... To understand why this message occurred you must know that earlier today, again in my most infinite of wisdom, decided, due to the EXTREME differences between Iceweasel and firefox such as ..., to uninstall iceweasel and install the ubuntu version of firefox (of course) in my debian system. This daunting error message complained about iceweasel and firefox contradicting each other, as one stated my system was Ubuntu, and the other stated it was Debian (which I thought were extremely related to each other). I, in due time (2 hrs) fixed this problem by uninstalling firefox using dpkg among other things... After this, I decided to, again my my most infinite wisdom, reinstall gnome. Unfortunately I have been presented with the same error over and over again. Below is the error message when I now run
Code:
sudo apt-get install gnome
:
Code:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
gnome is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 116 not upgraded.
5 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
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up gdm3 (3.4.1-8) ...
dpkg: error processing gdm3 (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up network-manager (0.9.4.0-10) ...
[....] Reloading system message bus config...Failed to open connection to "system" message bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
invoke-rc.d: initscript dbus, action "force-reload" failed.
insserv: warning: script 'S70netglub-master' missing LSB tags and overrides
insserv: script vboxdrv: service vboxdrv already provided!
insserv: warning: script 'netglub-master' missing LSB tags and overrides
insserv: Starting netglub-master depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting netglub-master depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting netglub-master depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting netglub-master depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting netglub-master depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting netglub-master depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting netglub-master depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting netglub-master depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting netglub-master depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting netglub-master depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting netglub-master depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting netglub-master depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting netglub-master depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting netglub-master depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting netglub-master depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting netglub-master depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting netglub-master depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting netglub-master depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting netglub-master depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting netglub-master depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting netglub-master depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting netglub-master depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting netglub-master depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting netglub-master depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting netglub-master depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting netglub-master depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting netglub-master depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting netglub-master depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting netglub-master depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting netglub-master depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting netglub-master depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting netglub-master depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting netglub-master depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting netglub-master depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting netglub-master depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting netglub-master depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting netglub-master depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting netglub-master depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting netglub-master depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting netglub-master depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting netglub-master depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting netglub-master depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting netglub-master depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting netglub-master depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting netglub-master depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting netglub-master depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting netglub-master depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Max recursions depth 99 reached
insserv: There is a loop at service rmnologin if started
insserv: There is a loop between service rmnologin and mountkernfs if started
insserv:  loop involving service mountkernfs at depth 1
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing network-manager (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of network-manager-gnome:
 network-manager-gnome depends on network-manager (>= 0.9.4); however:
  Package network-manager is not configured yet.

dpkg: error processing network-manager-gnome (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gnome-core:
 gnome-core depends on gdm3 (>= 3.4); however:
  Package gdm3 is not configured yet.

dpkg: error processing gnome-core (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gnome:
 gnome depends on gnome-core (= 1:3.4+7+deb7u1); however:
  Package gnome-core is not configured yet.
 gnome depends on network-manager-gnome (>= 0.9.4); however:
  Package network-manager-gnome is not configured yet.

dpkg: error processing gnome (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 gdm3
 network-manager
 network-manager-gnome
 gnome-core
 gnome
E: Sub-process /usr/bin/dpkg returned an error code (1)
Unfortunately, when I Google "netglub-master depends on rmnologin", no results came up.

thanks in advance!
TL;DR Version:
I keep on getting the following error when I attempt to use apt-get:
Code:
insserv: Starting netglub-master depends on rmnologin and therefore on system facility `$all' which can not be true!

Last edited by nicbit; 03-21-2014 at 08:46 PM.
 
Old 03-21-2014, 09:19 PM   #2
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,110
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Try as sudo or root terminal

Code:
apt-get clean
then

Code:
apt-get update
then

Code:
apt-get -f install
Because I have kinda sorta been through worse

Though if apt-get is broken because of a inserv warning.

It's been years since I dealt with that.

I probably use different script tools than you do in Kali.
You might be better off using the live cd to grab what you can keep and reinstall Kali.
It'll probably be less time consuming. I oughta know. I break stuff on a regular basis.
It is how I learn.
 
Old 03-21-2014, 09:23 PM   #3
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,110
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
PS

Ya wanna google

Quote:
Sub-process /usr/bin/dpkg returned an error code (1)
instead for Kali I guess. That is the real important error message.
 
Old 03-22-2014, 07:17 AM   #4
nicbit
LQ Newbie
 
Registered: Mar 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
Unfortently, I still keep on getting the same error
 
Old 03-22-2014, 08:15 AM   #5
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,110
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Not sure how desperate you are since you got no joy at Linuxforumsorg with the same post.

I know my 1st link is 4 pages long but I go into great detail on the last post on how I decided to risk all and install aptitude and wajig along side with apt-get and read the man pages on wajig before fixing my errors on installing. This while running Debian Sid repos though.

But, it is your call. All I know is mine still works without a re-install yet.
Maybe I'll take a stab at getting wallpaper.py to work instead of wallpaper.sh
in the control center with Daves suggestion.
 
Old 03-22-2014, 09:47 AM   #6
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
Why don't you just get a bigger drive so you don't get the "you have 350 mB left" messages any more and you won't have to use dangerous commands like "apt-get autoremove"? Hard drives are extremely cheap these days (less than $100 for 1TB) and you could have saved yourself a lot of time/aggravation.
 
  


Reply



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
NIC not installed anymore, KDE not installed anymore, LILO duplicate Volume ID error scottad Slackware 2 03-31-2012 12:13 AM
LXer: Make apt-get Installations and Upgrades 26x faster with apt-fast LXer Syndicated Linux News 1 10-25-2010 05:14 PM
apt pinning /etc/apt/apt.conf parent's_basement Debian 5 10-26-2008 05:50 PM
apt-get update errors since Debian released ( bad /etc/apt/sources.list ?) forgox Debian 10 06-13-2005 12:28 PM
Apt, Synaptic command line installation...I can't find the page anymore :( leonardh Linux - Software 3 02-03-2005 04:53 PM

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

All times are GMT -5. The time now is 05:33 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