LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 03-15-2019, 04:06 AM   #1
Majed17
Member
 
Registered: Jul 2011
Posts: 101

Rep: Reputation: Disabled
problem with Russian Ubuntu's


Peace, I have several bionic servers, 2 of which are in Russian, and every other time when a kernel upgrade takes place, the Russian servers report that they are out of space..an apt autoremove --purge does not solve the problem. The solution is to manually go to the boot directory and remove the old kernel files and reapply apt-get update && apt-get upgrade. Is there any possible fix for this bug?
 
Old 03-15-2019, 08:51 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 14,711
Blog Entries: 24

Rep: Reputation: 4107Reputation: 4107Reputation: 4107Reputation: 4107Reputation: 4107Reputation: 4107Reputation: 4107Reputation: 4107Reputation: 4107Reputation: 4107Reputation: 4107
It's a shot in the dark, but do your run these after an update?

Code:
apt-get autoclean
apt-get autoremove
The later removes "packages that are no longer needed." I think that includes old kernels, but I'm not in a position to test it right now. https://itsfoss.com/apt-get-linux-guide/
 
Old 03-16-2019, 06:01 AM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 11,280
Blog Entries: 8

Rep: Reputation: 2902Reputation: 2902Reputation: 2902Reputation: 2902Reputation: 2902Reputation: 2902Reputation: 2902Reputation: 2902Reputation: 2902Reputation: 2902Reputation: 2902
i'm pretty sure there's an option to remove unused kernels:
https://www.startpage.com/do/dsearch...unused+kernels
but if one old kernel is already causing trouble, means that the hard drive is way too full anyhow.
you might want to look through it if there's more stuff to remove.
another web search will enlighten you on how to do that. seriously, that's the sort of stuff people ask all the time even though the solutions are already out there by the busload.
 
Old 04-03-2019, 01:14 AM   #4
Majed17
Member
 
Registered: Jul 2011
Posts: 101

Original Poster
Rep: Reputation: Disabled
So as to save you your time i'm only replying after a new kernel occurred! Much thanks for the auto clean command, it deleted the old kernel(s). And i'm very happy to see that there are smart people who know about private search engines . after the deletion, i checked and both the english and the russian ubuntu's have 2 kernels in /boot. the next time a kernel upgrade happens will finally confirm if this solves the weird behavior. and so windows and ubuntu releases updates on Wednesday, a coincidence? judging from the trolls that hang on their forums, i agree not!
 
Old 04-03-2019, 03:15 PM   #5
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 7,493
Blog Entries: 2

Rep: Reputation: 2625Reputation: 2625Reputation: 2625Reputation: 2625Reputation: 2625Reputation: 2625Reputation: 2625Reputation: 2625Reputation: 2625Reputation: 2625Reputation: 2625
Forget autoclean. Go the whole hog with an:
Code:
apt-get clean
https://askubuntu.com/questions/3167...move-and-clean
 
Old 04-04-2019, 01:16 AM   #6
Majed17
Member
 
Registered: Jul 2011
Posts: 101

Original Poster
Rep: Reputation: Disabled
I have bad news... Today there was an nfarms update and the bug reoccurred:

Code:
~$ sudo apt clean
sysadmin@ntp2:~$ sudo apt-get clean
Code:
:~$ sudo apt autoremove
Чтение списков пакетов Готово
Построение дерева зависимостей       
Чтение информации о состоянии Готово
Обновлено 0 пакетов, установлено 0 новых пакетов, для удаления отмечено 0 пакетов, и 0 пакетов не обновлено.
Установлено или удалено не до конца 1 пакетов.
После данной операции объём занятого дискового пространства возрастёт на 0 B.
Настраивается пакет initramfs-tools (0.130ubuntu3.7) 
update-initramfs: deferring update (trigger activated)
Обрабатываются триггеры для initramfs-tools (0.130ubuntu3.7) 
update-initramfs: Generating /boot/initrd.img-4.15.0-47-generic

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-4.15.0-47-generic with 1.
dpkg: ошибка при обработке пакета initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned error exit status 1
При обработке следующих пакетов произошли ошибки:
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

any advice on what to do other than what i usually do?
 
Old 04-04-2019, 02:05 AM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 11,280
Blog Entries: 8

Rep: Reputation: 2902Reputation: 2902Reputation: 2902Reputation: 2902Reputation: 2902Reputation: 2902Reputation: 2902Reputation: 2902Reputation: 2902Reputation: 2902Reputation: 2902
it's not a bug - it's a problem on your install, most likely misconfiguration.

output of
Code:
df
please.

and please repeat the previous command like this:
Code:
LANG=C sudo apt autoremove
i don't read russian so well...
 
Old 04-04-2019, 02:23 AM   #8
Majed17
Member
 
Registered: Jul 2011
Posts: 101

Original Poster
Rep: Reputation: Disabled
Code:
~$ df -h
Filesystem               Size  Used Avail Use% Mounted on
udev                     463M     0  463M   0% /dev
tmpfs                     99M  820K   98M   1% /run
/dev/sda1                 10G  4,5G  5,0G  48% /
tmpfs                    493M  4,0K  493M   1% /dev/shm
tmpfs                    5,0M     0  5,0M   0% /run/lock
tmpfs                    493M     0  493M   0% /sys/fs/cgroup
/dev/sda2                181M  140M   28M  84% /boot
/dev/sda5                3,7G  254M  3,2G   8% /home
/home/sysadmin/.Private  3,7G  254M  3,2G   8% /home/me
tmpfs                     99M     0   99M   0% /run/user/1000
the no free space nag is related to the boot folder...

Code:
sudo LANG=C sudo apt autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up initramfs-tools (0.130ubuntu3.7) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.130ubuntu3.7) ...
update-initramfs: Generating /boot/initrd.img-4.15.0-47-generic

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-4.15.0-47-generic with 1.
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
the english ubuntu has a slightly larger /boot folder

Code:
/dev/sda1                         236M  110M  114M  50% /boot
 
  


Reply

Tags
kernel, russian, ubuntu 18.04


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
Problem with russian(?) text appearing in various places.. Treize.k Debian 7 07-08-2010 03:10 AM
How to change the keyboard layout (I have English-Russian set-up, Russian kbd wrong) Wombat Pete Linux - Newbie 20 05-07-2010 11:08 AM
LXer: New russian blog "Digged Linux Articles in Russian" LXer Syndicated Linux News 0 07-31-2007 06:16 AM
OpenOffice in Russian - font problem nikolayds Fedora 0 06-24-2004 03:41 PM
Russian Submarine Tradegy Larry James General 3 08-24-2000 08:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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