LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Error message with OpenVPN and with update/upgrade (https://www.linuxquestions.org/questions/linux-newbie-8/error-message-with-openvpn-and-with-update-upgrade-4175563746/)

NickMaggio 01-12-2016 03:09 PM

Error message with OpenVPN and with update/upgrade
 
Hi, I am getting an error message with OpenVPN and when I try to update/upgrade (both using sudo and as root). Here is the error message from installing OpenVPN:

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.19.0-43-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-extra-3.19.0-43-generic (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-generic-lts-vivid:
linux-image-generic-lts-vivid depends on linux-image-extra-3.19.0-43-generic; however:
Package linux-image-extra-3.19.0-43-generic is not configured yet.

dpkg: error processing package linux-image-generic-lts-vivid (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic-lts-vivid:No apport report written because the error message indicates its a followup error from a previous failure.

linux-generic-lts-vivid depends on linux-image-generic-lts-vivid (= 3.19.0.43.28); however:
Package linux-image-generic-lts-vivid is not configured yet.

dpkg: error processing package linux-generic-lts-vivid (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
E: Sub-process /usr/bin/dpkg returned an error code (1)


So there it is, I do have a cell phone charger hooked up to my computer, but I chose "charge only" not storage on the phone when hooking up. I will also post what I get when I update/upgrade (I have always had to do that as root due to a lock on /usr/bin/ I believe (I think that is where the lock is). I will try update && upgrade and post that message as well and have disconnected the charger although I think it has nothing to do with it.

NickMaggio 01-12-2016 03:17 PM

Ok, here is trying to apt-get update && apt-get upgrade as root:

update-initramfs: Generating /boot/initrd.img-3.19.0-43-generic

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.19.0-43-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-extra-3.19.0-43-generic (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-generic-lts-vivid:
linux-image-generic-lts-vivid depends on linux-image-extra-3.19.0-43-generic; however:
Package linux-image-extra-3.19.0-43-generic is not configured yet.

dpkg: error processing package linux-image-generic-lts-vivid (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic-lts-vivid:
linux-generic-lts-vivid depends on linux-image-generic-lts-vivid (= 3.19.0.43.28); however:
Package linux-image-generic-lts-vivid is not configured yet.

dpkg: error processing package linux-generic-lts-vivid (--configure):
dependency problems - leaving unconfigured
Setting up libgcc1:i386 (1:4.9.3-0ubuntu4) ...
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
Setting up libgcc1:amd64 (1:4.9.3-0ubuntu4) ...
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
E: Sub-process /usr/bin/dpkg returned an error code (1)


If anyone can help me figure this out it would be greatly appreciated. Also everything except my mouse was disconnected on that last one.

Thank you in advance for your time,
Nick Maggio

NickMaggio 01-12-2016 03:18 PM

Or should this be in a different forum? I am pretty new to *nix and figured it may be an easy fix but maybe it should be elsewhere?

NickMaggio 01-12-2016 03:23 PM

Also, I'm using Xubuntu if I didn't state that. Sorry

I can get the lock to appear from the VPN but it still lists my IP when I go to sites like "whatismyip.com" etc.

NickMaggio 01-12-2016 04:11 PM

Ok, so I've asked this on a few forums. I got that I don't have enough space in boot. I checked using dpkg -l linux-* here is the output:

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
+++-==============-============-============-=================================
ii linux-firmware 1.127.19 all Firmware for Linux kernel drivers
iU linux-generic- 3.19.0.43.28 amd64 Complete Generic Linux kernel and
un linux-headers <none> <none> (no description available)
un linux-headers- <none> <none> (no description available)
un linux-headers- <none> <none> (no description available)
ii linux-headers- 3.19.0-31.36 all Header files related to Linux ker *
ii linux-headers- 3.19.0-31.36 amd64 Linux kernel headers for version *
ii linux-headers- 3.19.0-33.38 all Header files related to Linux ker *
ii linux-headers- 3.19.0-33.38 amd64 Linux kernel headers for version *
ii linux-headers- 3.19.0-39.44 all Header files related to Linux ker *
ii linux-headers- 3.19.0-39.44 amd64 Linux kernel headers for version *
ii linux-headers- 3.19.0-42.48 all Header files related to Linux ker *
ii linux-headers- 3.19.0-42.48 amd64 Linux kernel headers for version *
ii linux-headers- 3.19.0-43.49 all Header files related to Linux ker
ii linux-headers- 3.19.0-43.49 amd64 Linux kernel headers for version
ii linux-headers- 3.19.0.43.28 amd64 Generic Linux kernel headers
un linux-image <none> <none> (no description available)
un linux-image-3. <none> <none> (no description available)
rc linux-image-3. 3.19.0-25.26 amd64 Linux kernel image for version 3. *
ii linux-image-3. 3.19.0-31.36 amd64 Linux kernel image for version 3. *
ii linux-image-3. 3.19.0-33.38 amd64 Linux kernel image for version 3. *
ii linux-image-3. 3.19.0-39.44 amd64 Linux kernel image for version 3. *
ii linux-image-3. 3.19.0-42.48 amd64 Linux kernel image for version 3. *
ii linux-image-3. 3.19.0-43.49 amd64 Linux kernel image for version 3.
rc linux-image-ex 3.19.0-25.26 amd64 Linux kernel extra modules for ve *
ii linux-image-ex 3.19.0-31.36 amd64 Linux kernel extra modules for ve *
ii linux-image-ex 3.19.0-33.38 amd64 Linux kernel extra modules for ve *
ii linux-image-ex 3.19.0-39.44 amd64 Linux kernel extra modules for ve *
ii linux-image-ex 3.19.0-42.48 amd64 Linux kernel extra modules for ve *
iF linux-image-ex 3.19.0-43.49 amd64 Linux kernel extra modules for ve
iU linux-image-ge 3.19.0.43.28 amd64 Generic Linux kernel image
un linux-initramf <none> <none> (no description available)
un linux-initramf <none> <none> (no description available)
un linux-kernel-h <none> <none> (no description available)
un linux-kernel-l <none> <none> (no description available)
ii linux-libc-dev 3.13.0-74.11 amd64 Linux Kernel Headers for developm
un linux-lts-vivi <none> <none> (no description available)
un linux-restrict <none> <none> (no description available)
ii linux-sound-ba 1.0.25+dfsg- all base package for ALSA and OSS sou

so then I used uname -r to see what I'm using:
3.19.0-43-generic

Does that mean I get rid of everything that is not 3.19.0-43? And how?

I'm going to star the things I think I can get rid of. Not sure about a few of the others but there might be a couple more?

NickMaggio 01-12-2016 04:38 PM

Ok, so I cleaned up boot using a link found on another thread here >dpkg -l linux-* | awk '/^ii/{ print $2}' | grep -v -e `uname -r | cut -f1,2 -d"-"` | grep -e [0-9] | grep -E "(image|headers)" | xargs sudo apt-get -y purge

After making a list of what was being used and doing a dry run. OpenVPN now says it is installed with no dependencies and the only thing I get when I update/upgrade is that there is a duplicate of some chrome files.

VPN still give home location. Tried using Sudo OpenVPN --config config.ovpn and it says OpenVPN is not a command (the VPN people said to try the command as opposed to connecting through the openvpn connection I set up on my menu).

We'll see if I fixed boot right when I try to boot up again (going to make sure everything is backed up). Page used for help:

http://tuxtweaks.com/2010/10/remove-...h-one-command/


All times are GMT -5. The time now is 01:56 PM.