SOLVED error after boot

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
PartsAbuser
Level 2
Level 2
Posts: 96
Joined: Tue Jan 01, 2019 6:38 am

SOLVED error after boot

Post by PartsAbuser »

Hi all,
I started getting this message: "the volume boot has only 0 bytes disk space remaining" after updating to Mint 19.3.
I did a search, and found a post that seemed relevant, but it's old-ish, and I'm unsure as to whether anything significant has changed in the coding. Further, there seemed to be some confusion as to the proper method of handling the problem (at least that was my take, based on some of the replies).
In any case, I'm hoping someone can walk me through fixing this.

Not sure if this helps or not but...

Code: Select all

pancho@Pancho:~$ inxi -Fxz
System:
  Host: Pancho Kernel: 5.3.0-61-generic x86_64 bits: 64 compiler: gcc 
  v: 7.5.0 Desktop: Cinnamon 4.4.8 Distro: Linux Mint 19.3 Tricia 
  base: Ubuntu 18.04 bionic 
Machine:
  Type: Desktop System: Gigabyte product: AB350-Gaming 3 v: N/A 
  serial: <filter> 
  Mobo: Gigabyte model: AB350-Gaming 3-CF v: x.x serial: <filter> 
  UEFI: American Megatrends v: F21 date: 02/08/2018 
CPU:
  Topology: Quad Core model: AMD Ryzen 3 2200G with Radeon Vega Graphics 
  bits: 64 type: MCP arch: Zen L2 cache: 2048 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 27948 
  Speed: 1544 MHz min/max: 1600/3500 MHz Core speeds (MHz): 1: 1778 2: 1407 
  3: 1502 4: 1392 
Graphics:
  Device-1: AMD Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] 
  vendor: Gigabyte driver: amdgpu v: kernel bus ID: 07:00.0 
  Display: x11 server: X.Org 1.19.6 driver: amdgpu,ati 
  unloaded: fbdev,modesetting,radeon,vesa tty: N/A 
  OpenGL: renderer: AMD RAVEN (DRM 3.33.0 5.3.0-61-generic LLVM 9.0.0) 
  v: 4.5 Mesa 19.2.8 direct render: Yes 
Audio:
  Device-1: AMD driver: snd_hda_intel v: kernel bus ID: 07:00.1 
  Device-2: AMD vendor: Gigabyte driver: snd_hda_intel v: kernel 
  bus ID: 07:00.6 
  Sound Server: ALSA v: k5.3.0-61-generic 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Gigabyte driver: r8169 v: kernel port: f000 bus ID: 03:00.0 
  IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:
  Local Storage: total: 931.52 GiB used: 357.43 GiB (38.4%) 
  ID-1: /dev/nvme0n1 vendor: Crucial model: CT500P1SSD8 size: 465.76 GiB 
  ID-2: /dev/sda vendor: Seagate model: ST500DM002-1BD142 size: 465.76 GiB 
Partition:
  ID-1: / size: 441.53 GiB used: 356.76 GiB (80.8%) fs: ext4 dev: /dev/dm-1 
  ID-2: /boot size: 704.5 MiB used: 678.1 MiB (96.3%) fs: ext4 
  dev: /dev/nvme0n1p2 
  ID-3: swap-1 size: 14.95 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/dm-2 
Sensors:
  System Temperatures: cpu: 35.5 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 227 Uptime: 32m Memory: 14.66 GiB used: 1.67 GiB (11.4%) 
  Init: systemd runlevel: 5 Compilers: gcc: 7.5.0 Shell: bash v: 4.4.20 
  inxi: 3.0.32 
Thanks,
Vince
Last edited by PartsAbuser on Fri Jul 17, 2020 6:21 am, edited 1 time in total.
sleeper12
Level 11
Level 11
Posts: 3611
Joined: Thu May 25, 2017 3:22 pm

Re: error after boot

Post by sleeper12 »

Can you free up some disk space by removing old kernels or old Timeshift snapshots?
PartsAbuser
Level 2
Level 2
Posts: 96
Joined: Tue Jan 01, 2019 6:38 am

Re: error after boot

Post by PartsAbuser »

Sleeper,
Freeing up disk space seems like the thing to do. The problem is, I'm not sure how to do it. I figured someone on here with more experience could maybe walk me through it. As far as timeshift snapshots, I got rid of all but two.
Thanks,
Vince
sleeper12
Level 11
Level 11
Posts: 3611
Joined: Thu May 25, 2017 3:22 pm

Re: error after boot

Post by sleeper12 »

You can remove old unneeded kernels in Update Manager, View, Linux kernels. You'll want to keep the current one & the previous one as a backup. Any others installed can be safely removed. You can also run this command to free up more space:

Code: Select all

 sudo apt autoremove 
PartsAbuser
Level 2
Level 2
Posts: 96
Joined: Tue Jan 01, 2019 6:38 am

Re: error after boot

Post by PartsAbuser »

Sleeper,
I tried to remove the unused kernals but an error, as in:
IMG_0733-1.jpg
IMG_0733-1.jpg (36.6 KiB) Viewed 463 times
I then tried to run the "apt --fix-broken install" but it opened up a can of worms I'm not qualified to handle, without help, that is.
Here is the output from the autoremove command:

Code: Select all

pancho@Pancho:~$ sudo apt autoremove
[sudo] password for pancho:           
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 linux-image-generic : Depends: linux-image-4.15.0-109-generic but it is not installed
 linux-modules-extra-4.15.0-109-generic : Depends: linux-image-4.15.0-109-generic but it is not installed or
                                                   linux-image-unsigned-4.15.0-109-generic but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Thanks,
Vince
sleeper12
Level 11
Level 11
Posts: 3611
Joined: Thu May 25, 2017 3:22 pm

Re: error after boot

Post by sleeper12 »

Can you remove any other old kernel just to free up some space? Try just one at a time.
PartsAbuser
Level 2
Level 2
Posts: 96
Joined: Tue Jan 01, 2019 6:38 am

Re: error after boot

Post by PartsAbuser »

Sleeper,
Trying any one kernal, I get an error message that says I have 2 broken packages. It says to use the "Broken" filter to locate them. Not sure where this filter is or how to use it, but with guidance, I'm game.
Thanks,
Vince
sleeper12
Level 11
Level 11
Posts: 3611
Joined: Thu May 25, 2017 3:22 pm

Re: error after boot

Post by sleeper12 »

Try Synaptic (Package Manager), Edit tab, Fix Broken Packages.
PartsAbuser
Level 2
Level 2
Posts: 96
Joined: Tue Jan 01, 2019 6:38 am

Re: error after boot

Post by PartsAbuser »

Sleeper,
Not sure if I did this correctly but, below is a screen image of what happened when I tried to fix one particular kernal. In effect, I was forced to close without saving.
I find it troubling that the error is complaining that there is no space left on the drive. Worse, I'm not sure how to tell exactly how much space there is left on the drive. Contrast this with windblows, where I could simply bring up the properties for the drive and, well, you know... Anyway, how does one go about answering that question?
Thanks for your patience,
Vince
Attachments
IMG_0735.jpg
IMG_0735.jpg (38.71 KiB) Viewed 406 times
asinoro
Level 5
Level 5
Posts: 886
Joined: Mon Feb 12, 2018 11:43 am

Re: error after boot

Post by asinoro »

Close synaptic and run:

Code: Select all

sudo apt install -f ; apt update
PartsAbuser
Level 2
Level 2
Posts: 96
Joined: Tue Jan 01, 2019 6:38 am

Re: error after boot

Post by PartsAbuser »

Asinoro,
Good morning. Closed synaptic and ran suggested code. Here is the result:
Note that there are errors.

Code: Select all

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  gir1.2-mate-desktop gir1.2-mate-panel icoutils libllvm7 libwxgtk3.0-gtk3-0v5
  python-wxgtk3.0 python-wxversion
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  linux-image-4.15.0-109-generic
Suggested packages:
  fdutils linux-doc-4.15.0 | linux-source-4.15.0 linux-tools
The following NEW packages will be installed:
  linux-image-4.15.0-109-generic
0 upgraded, 1 newly installed, 0 to remove and 44 not upgraded.
3 not fully installed or removed.
Need to get 0 B/8,008 kB of archives.
After this operation, 8,411 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 602275 files and directories currently installed.)
Preparing to unpack .../linux-image-4.15.0-109-generic_4.15.0-109.110_amd64.deb ...
Unpacking linux-image-4.15.0-109-generic (4.15.0-109.110) ...
dpkg: error processing archive /var/cache/apt/archives/linux-image-4.15.0-109-generic_4.15.0-109.110_amd64.deb (--unpack):
 cannot copy extracted data for './boot/vmlinuz-4.15.0-109-generic' to '/boot/vmlinuz-4.15.0-109-generic.dpkg-new': failed to write (No space left on device)
No apport report written because the error message indicates a disk full error
                                                                              dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/linux-image-4.15.0-109-generic_4.15.0-109.110_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Ign:1 http://packages.linuxmint.com tricia InRelease
Hit:2 http://packages.linuxmint.com tricia Release                             
Hit:3 http://archive.ubuntu.com/ubuntu bionic InRelease                        
Get:4 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]    
Hit:6 http://ppa.launchpad.net/noobslab/apps/ubuntu bionic InRelease           
Get:7 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]      
Hit:8 http://archive.canonical.com/ubuntu bionic InRelease                     
Hit:9 http://ppa.launchpad.net/plushuang-tw/uget-stable/ubuntu bionic InRelease
Get:10 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Get:11 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [46.1 kB]
Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1,010 kB]
Get:13 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [49.2 kB]
Get:14 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 DEP-11 Metadata [2,464 B]
Get:15 http://archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [714 kB]
Get:16 http://archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [341 kB]
Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [295 kB]
Get:18 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [76.7 kB]
Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/restricted Translation-en [17.1 kB]
Get:20 http://archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [1,024 kB]
Get:21 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1,091 kB]
Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [279 kB]
Get:23 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2,468 B]
Get:24 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [7,736 B]
Get:25 http://archive.ubuntu.com/ubuntu bionic-backports/universe i386 Packages [7,724 B]
Get:26 http://archive.ubuntu.com/ubuntu bionic-backports/universe Translation-en [4,588 B]
Get:27 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [9,288 B]
Fetched 5,229 kB in 2s (2,674 kB/s)                                         
Reading package lists... Done
Building dependency tree       
Reading state information... Done
66 packages can be upgraded. Run 'apt list --upgradable' to see them.
And here is the result of 'apt list --upgradable':

Code: Select all

firefox/tricia 78.0.1+linuxmint1+tricia amd64 [upgradable from: 77.0.1+linuxmint1+tricia]
firefox-locale-en/tricia 78.0.1+linuxmint1+tricia amd64 [upgradable from: 77.0.1+linuxmint1+tricia]
glib-networking/bionic-updates,bionic-security 2.56.0-1ubuntu0.1 amd64 [upgradable from: 2.56.0-1]
glib-networking-common/bionic-updates,bionic-updates,bionic-security,bionic-security 2.56.0-1ubuntu0.1 all [upgradable from: 2.56.0-1]
glib-networking-services/bionic-updates,bionic-security 2.56.0-1ubuntu0.1 amd64 [upgradable from: 2.56.0-1]
libc-bin/bionic-updates,bionic-security 2.27-3ubuntu1.2 amd64 [upgradable from: 2.27-3ubuntu1]
libc6/bionic-updates,bionic-security 2.27-3ubuntu1.2 amd64 [upgradable from: 2.27-3ubuntu1]
libc6-dbg/bionic-updates,bionic-security 2.27-3ubuntu1.2 amd64 [upgradable from: 2.27-3ubuntu1]
libc6-i386/bionic-updates,bionic-security 2.27-3ubuntu1.2 amd64 [upgradable from: 2.27-3ubuntu1]
libegl-mesa0/bionic-updates 20.0.8-0ubuntu1~18.04.1 amd64 [upgradable from: 19.2.8-0ubuntu0~18.04.3]
libegl1-mesa/bionic-updates 20.0.8-0ubuntu1~18.04.1 amd64 [upgradable from: 19.2.8-0ubuntu0~18.04.3]
libgbm1/bionic-updates 20.0.8-0ubuntu1~18.04.1 amd64 [upgradable from: 19.2.8-0ubuntu0~18.04.3]
libgl1-mesa-dri/bionic-updates 20.0.8-0ubuntu1~18.04.1 i386 [upgradable from: 19.2.8-0ubuntu0~18.04.3]
libgl1-mesa-glx/bionic-updates 20.0.8-0ubuntu1~18.04.1 i386 [upgradable from: 19.2.8-0ubuntu0~18.04.3]
libglapi-mesa/bionic-updates 20.0.8-0ubuntu1~18.04.1 i386 [upgradable from: 19.2.8-0ubuntu0~18.04.3]
libgles2-mesa/bionic-updates 20.0.8-0ubuntu1~18.04.1 amd64 [upgradable from: 19.2.8-0ubuntu0~18.04.3]
libglx-mesa0/bionic-updates 20.0.8-0ubuntu1~18.04.1 amd64 [upgradable from: 19.2.8-0ubuntu0~18.04.3]
libgnutls30/bionic-updates 3.5.18-1ubuntu1.4 amd64 [upgradable from: 3.5.18-1ubuntu1.3]
libnss3/bionic-updates,bionic-security 2:3.35-2ubuntu2.9 amd64 [upgradable from: 2:3.35-2ubuntu2.8]
libopenexr22/bionic-updates,bionic-security 2.2.0-11.1ubuntu1.3 amd64 [upgradable from: 2.2.0-11.1ubuntu1.2]
libosmesa6/bionic-updates 20.0.8-0ubuntu1~18.04.1 amd64 [upgradable from: 19.2.8-0ubuntu0~18.04.3]
libpulse-mainloop-glib0/bionic-updates 1:11.1-1ubuntu7.9 amd64 [upgradable from: 1:11.1-1ubuntu7.8]
libpulse0/bionic-updates 1:11.1-1ubuntu7.9 amd64 [upgradable from: 1:11.1-1ubuntu7.8]
libpulsedsp/bionic-updates 1:11.1-1ubuntu7.9 amd64 [upgradable from: 1:11.1-1ubuntu7.8]
libseccomp2/bionic-updates,bionic-security 2.4.3-1ubuntu3.18.04.2 amd64 [upgradable from: 2.4.1-0ubuntu0.18.04.2]
libsmbclient/bionic-updates,bionic-security 2:4.7.6+dfsg~ubuntu-0ubuntu2.17 amd64 [upgradable from: 2:4.7.6+dfsg~ubuntu-0ubuntu2.16]
libwayland-egl1-mesa/bionic-updates 20.0.8-0ubuntu1~18.04.1 amd64 [upgradable from: 19.2.8-0ubuntu0~18.04.3]
libwbclient0/bionic-updates,bionic-security 2:4.7.6+dfsg~ubuntu-0ubuntu2.17 amd64 [upgradable from: 2:4.7.6+dfsg~ubuntu-0ubuntu2.16]
libxatracker2/bionic-updates 20.0.8-0ubuntu1~18.04.1 amd64 [upgradable from: 19.2.8-0ubuntu0~18.04.3]
libxau6/bionic-updates 1:1.0.8-1ubuntu1 amd64 [upgradable from: 1:1.0.8-1]
linux-base/bionic-updates,bionic-updates,bionic-security,bionic-security 4.5ubuntu1.2 all [upgradable from: 4.5ubuntu1.1]
linux-firmware/bionic-updates,bionic-updates 1.173.19 all [upgradable from: 1.173.18]
linux-generic/bionic-updates 4.15.0.111.99 amd64 [upgradable from: 4.15.0.109.97]
linux-generic-hwe-18.04/bionic-updates,bionic-security 5.3.0.62.115 amd64 [upgradable from: 5.3.0.61.114]
linux-headers-generic/bionic-updates 4.15.0.111.99 amd64 [upgradable from: 4.15.0.109.97]
linux-headers-generic-hwe-18.04/bionic-updates,bionic-security 5.3.0.62.115 amd64 [upgradable from: 5.3.0.61.114]
linux-image-generic/bionic-updates 4.15.0.111.99 amd64 [upgradable from: 4.15.0.109.97]
linux-image-generic-hwe-18.04/bionic-updates,bionic-security 5.3.0.62.115 amd64 [upgradable from: 5.3.0.61.114]
linux-libc-dev/bionic-updates 4.15.0-111.112 amd64 [upgradable from: 4.15.0-108.109]
locales/bionic-updates,bionic-updates,bionic-security,bionic-security 2.27-3ubuntu1.2 all [upgradable from: 2.27-3ubuntu1]
mintreport/tricia,tricia 1.2.1 all [upgradable from: 1.1.6]
multiarch-support/bionic-updates,bionic-security 2.27-3ubuntu1.2 amd64 [upgradable from: 2.27-3ubuntu1]
pulseaudio/bionic-updates 1:11.1-1ubuntu7.9 amd64 [upgradable from: 1:11.1-1ubuntu7.8]
pulseaudio-module-bluetooth/bionic-updates 1:11.1-1ubuntu7.9 amd64 [upgradable from: 1:11.1-1ubuntu7.8]
pulseaudio-utils/bionic-updates 1:11.1-1ubuntu7.9 amd64 [upgradable from: 1:11.1-1ubuntu7.8]
python-samba/bionic-updates,bionic-security 2:4.7.6+dfsg~ubuntu-0ubuntu2.17 amd64 [upgradable from: 2:4.7.6+dfsg~ubuntu-0ubuntu2.16]
python3-httplib2/bionic-updates,bionic-updates,bionic-security,bionic-security 0.9.2+dfsg-1ubuntu0.2 all [upgradable from: 0.9.2+dfsg-1ubuntu0.1]
samba-common/bionic-updates,bionic-updates,bionic-security,bionic-security 2:4.7.6+dfsg~ubuntu-0ubuntu2.17 all [upgradable from: 2:4.7.6+dfsg~ubuntu-0ubuntu2.16]
samba-common-bin/bionic-updates,bionic-security 2:4.7.6+dfsg~ubuntu-0ubuntu2.17 amd64 [upgradable from: 2:4.7.6+dfsg~ubuntu-0ubuntu2.16]
samba-libs/bionic-updates,bionic-security 2:4.7.6+dfsg~ubuntu-0ubuntu2.17 amd64 [upgradable from: 2:4.7.6+dfsg~ubuntu-0ubuntu2.16]
thunderbird/bionic-updates,bionic-security 1:68.10.0+build1-0ubuntu0.18.04.1 amd64 [upgradable from: 1:68.8.0+build2-0ubuntu0.18.04.2]
thunderbird-gnome-support/bionic-updates,bionic-security 1:68.10.0+build1-0ubuntu0.18.04.1 amd64 [upgradable from: 1:68.8.0+build2-0ubuntu0.18.04.2]
thunderbird-locale-en/bionic-updates,bionic-security 1:68.10.0+build1-0ubuntu0.18.04.1 amd64 [upgradable from: 1:68.8.0+build2-0ubuntu0.18.04.2]
thunderbird-locale-en-us/bionic-updates,bionic-updates,bionic-security,bionic-security 1:68.10.0+build1-0ubuntu0.18.04.1 all [upgradable from: 1:68.8.0+build2-0ubuntu0.18.04.2]
Thank you,
Vince
asinoro
Level 5
Level 5
Posts: 886
Joined: Mon Feb 12, 2018 11:43 am

Re: error after boot

Post by asinoro »

What it gives again the command:

Code: Select all

sudo apt install -f 
sleeper12
Level 11
Level 11
Posts: 3611
Joined: Thu May 25, 2017 3:22 pm

Re: error after boot

Post by sleeper12 »

PartsAbuser wrote:
Mon Jul 13, 2020 5:37 am

I find it troubling that the error is complaining that there is no space left on the drive. Worse, I'm not sure how to tell exactly how much space there is left on the drive. Contrast this with windblows, where I could simply bring up the properties for the drive and, well, you know... Anyway, how does one go about answering that question?
Thanks for your patience,
Vince
In Menu, check Disk Usage Analyzer to see how much space you have available, if any.
PartsAbuser
Level 2
Level 2
Posts: 96
Joined: Tue Jan 01, 2019 6:38 am

Re: error after boot

Post by PartsAbuser »

Asinoro,
As requested:

Code: Select all

sudo apt install -f
[sudo] password for pancho:           
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  gir1.2-mate-desktop gir1.2-mate-panel icoutils libllvm7 libwxgtk3.0-gtk3-0v5
  linux-headers-4.15.0-109 linux-headers-4.15.0-109-generic
  linux-image-4.15.0-109-generic linux-modules-4.15.0-109-generic
  linux-modules-extra-4.15.0-109-generic python-wxgtk3.0 python-wxversion
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  linux-generic linux-headers-4.15.0-111 linux-headers-4.15.0-111-generic
  linux-headers-generic linux-image-4.15.0-109-generic
  linux-image-4.15.0-111-generic linux-image-generic
  linux-modules-4.15.0-111-generic linux-modules-extra-4.15.0-111-generic
Suggested packages:
  fdutils linux-doc-4.15.0 | linux-source-4.15.0 linux-tools
The following NEW packages will be installed:
  linux-headers-4.15.0-111 linux-headers-4.15.0-111-generic
  linux-image-4.15.0-109-generic linux-image-4.15.0-111-generic
  linux-modules-4.15.0-111-generic linux-modules-extra-4.15.0-111-generic
The following packages will be upgraded:
  linux-generic linux-headers-generic linux-image-generic
3 upgraded, 6 newly installed, 0 to remove and 63 not upgraded.
3 not fully installed or removed.
Need to get 66.0 MB/74.0 MB of archives.
After this operation, 342 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 linux-modules-4.15.0-111-generic amd64 4.15.0-111.112 [13.1 MB]
Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 linux-image-4.15.0-111-generic amd64 4.15.0-111.112 [8,008 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 linux-modules-extra-4.15.0-111-generic amd64 4.15.0-111.112 [32.8 MB]
Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 linux-generic amd64 4.15.0.111.99 [1,868 B]
Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 linux-image-generic amd64 4.15.0.111.99 [2,676 B]
Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 linux-headers-4.15.0-111 all 4.15.0-111.112 [10.9 MB]
Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 linux-headers-4.15.0-111-generic amd64 4.15.0-111.112 [1,104 kB]
Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 linux-headers-generic amd64 4.15.0.111.99 [2,576 B]
Fetched 66.0 MB in 10s (6,853 kB/s)                                            
Selecting previously unselected package linux-modules-4.15.0-111-generic.
(Reading database ... 602275 files and directories currently installed.)
Preparing to unpack .../0-linux-modules-4.15.0-111-generic_4.15.0-111.112_amd64.deb ...
Unpacking linux-modules-4.15.0-111-generic (4.15.0-111.112) ...
Selecting previously unselected package linux-image-4.15.0-111-generic.
Preparing to unpack .../1-linux-image-4.15.0-111-generic_4.15.0-111.112_amd64.deb ...
Unpacking linux-image-4.15.0-111-generic (4.15.0-111.112) ...
dpkg: error processing archive /tmp/apt-dpkg-install-0J0eLL/1-linux-image-4.15.0-111-generic_4.15.0-111.112_amd64.deb (--unpack):
 cannot copy extracted data for './boot/vmlinuz-4.15.0-111-generic' to '/boot/vmlinuz-4.15.0-111-generic.dpkg-new': failed to write (No space left on device)
No apport report written because the error message indicates a disk full error
                                                                              dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Selecting previously unselected package linux-modules-extra-4.15.0-111-generic.
Preparing to unpack .../2-linux-modules-extra-4.15.0-111-generic_4.15.0-111.112_amd64.deb ...
Unpacking linux-modules-extra-4.15.0-111-generic (4.15.0-111.112) ...
Preparing to unpack .../3-linux-generic_4.15.0.111.99_amd64.deb ...
Unpacking linux-generic (4.15.0.111.99) over (4.15.0.109.97) ...
Preparing to unpack .../4-linux-image-generic_4.15.0.111.99_amd64.deb ...
Unpacking linux-image-generic (4.15.0.111.99) over (4.15.0.109.97) ...
Selecting previously unselected package linux-headers-4.15.0-111.
Preparing to unpack .../5-linux-headers-4.15.0-111_4.15.0-111.112_all.deb ...
Unpacking linux-headers-4.15.0-111 (4.15.0-111.112) ...
Selecting previously unselected package linux-headers-4.15.0-111-generic.
Preparing to unpack .../6-linux-headers-4.15.0-111-generic_4.15.0-111.112_amd64.deb ...
Unpacking linux-headers-4.15.0-111-generic (4.15.0-111.112) ...
Preparing to unpack .../7-linux-headers-generic_4.15.0.111.99_amd64.deb ...
Unpacking linux-headers-generic (4.15.0.111.99) over (4.15.0.109.97) ...
Preparing to unpack .../8-linux-image-4.15.0-109-generic_4.15.0-109.110_amd64.deb ...
Unpacking linux-image-4.15.0-109-generic (4.15.0-109.110) ...
dpkg: error processing archive /tmp/apt-dpkg-install-0J0eLL/8-linux-image-4.15.0-109-generic_4.15.0-109.110_amd64.deb (--unpack):
 cannot copy extracted data for './boot/vmlinuz-4.15.0-109-generic' to '/boot/vmlinuz-4.15.0-109-generic.dpkg-new': failed to write (No space left on device)
No apport report written because the error message indicates a disk full error
                                                                              dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /tmp/apt-dpkg-install-0J0eLL/1-linux-image-4.15.0-111-generic_4.15.0-111.112_amd64.deb
 /tmp/apt-dpkg-install-0J0eLL/8-linux-image-4.15.0-109-generic_4.15.0-109.110_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Thanks for your help,
Vince
PartsAbuser
Level 2
Level 2
Posts: 96
Joined: Tue Jan 01, 2019 6:38 am

Re: error after boot

Post by PartsAbuser »

Sleeper,
Thanks. This is what I was looking for. As reported: 70.6 GB available/ 474.1 GB total. Now if only I could get Linux to reach out and use some of that available space... LOL.
Anyway, thanks for that,
Vince
sleeper12
Level 11
Level 11
Posts: 3611
Joined: Thu May 25, 2017 3:22 pm

Re: error after boot

Post by sleeper12 »

That's a lot of space, so not sure why it says no space left. :? Maybe it's a partition issue, but that's over my head.
antikythera
Level 4
Level 4
Posts: 471
Joined: Thu Jul 02, 2020 12:52 pm

Re: error after boot

Post by antikythera »

Problem is your /boot partition is too full. You can't really do much at this point other than carry on deleting old kernels to free up space. That is the minimally invasive fix.
ID-2: /boot size: 704.5 MiB used: 678.1 MiB (96.3%) fs: ext4
Don't take life so seriously, nobody gets out alive anyway!
PartsAbuser
Level 2
Level 2
Posts: 96
Joined: Tue Jan 01, 2019 6:38 am

Re: error after boot

Post by PartsAbuser »

Antikythera,
Thanks for the input. As far as deleting old kernels, I haven't had luck doing that in synaptic, as it results in errors. Or is it that I'm deleting them with one of the commands Sleeper or Asinoro has recommended?
Thanks,
Vince
sleeper12
Level 11
Level 11
Posts: 3611
Joined: Thu May 25, 2017 3:22 pm

Re: error after boot

Post by sleeper12 »

antikythera wrote:
Mon Jul 13, 2020 8:28 pm
Problem is your /boot partition is too full. You can't really do much at this point other than carry on deleting old kernels to free up space. That is the minimally invasive fix.
ID-2: /boot size: 704.5 MiB used: 678.1 MiB (96.3%) fs: ext4
Ok, but problem is the old kernels won't delete.
sleeper12
Level 11
Level 11
Posts: 3611
Joined: Thu May 25, 2017 3:22 pm

Re: error after boot

Post by sleeper12 »

See if this works, it's all one command:

Code: Select all

OLDCONF=$(dpkg -l|grep "^rc"|awk '{print $2}')
CURKERNEL=$(uname -r|sed 's/-*[a-z]//g'|sed 's/-386//g')
LINUXPKG="linux-(image|headers|ubuntu-modules|restricted-modules)"
METALINUXPKG="linux-(image|headers|restricted-modules)-(generic|i386|server|common|rt|xen)"
OLDKERNELS=$(dpkg -l|awk '{print $2}'|grep -E $LINUXPKG |grep -vE $METALINUXPKG|grep -v $CURKERNEL)
YELLOW="\033[1;33m"
RED="\033[0;31m"
ENDCOLOR="\033[0m"
sudo apt-get purge $OLDKERNELS 
Post Reply

Return to “Newbie Questions”