Advertising

Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

Recent posts

#1
Sparky Linux kernel / Re: VirtualBox installed by Sp...
Last post by WetGeek - Today at 12:26:50 AM
Quote from: pavroo on March 24, 2023, 05:07:30 PMMake sure you have installed the same version of kernel image and headers and you launched your OS with the kernel.
So try:
sudo apt update
sudo apt install linux-image-amd64 linux-headers-64
they have to be in the same versions - now on Sparky7: 6.1.0-6 (6.1.15)
Then reboot your system to launch in with that Linux versions.

Mission accomplished.  Thanks for your help with this.
#2
Applications / Re: Persistent live USB creati...
Last post by pavroo - March 24, 2023, 05:10:46 PM
Looks like your system mounts the USB drive before the tool mounts it itself, so...
Will try to add second check of automounted USB drives to fix it.
Stay tuned.
#3
Sparky Linux kernel / Re: VirtualBox installed by Sp...
Last post by pavroo - March 24, 2023, 05:07:30 PM
Make sure you have installed the same version of kernel image and headers and you launched your OS with the kernel.
So try:
sudo apt update
sudo apt install linux-image-amd64 linux-headers-amd64
they have to be in the same versions - now on Sparky7: 6.1.0-6 (6.1.15)
Then reboot your system to launch it with that Linux versions.
#4
System upgrading / Re: Disk space usage from upda...
Last post by pavroo - March 24, 2023, 05:01:39 PM
The 'apt autoremove' removes only not needed dependencies.
To clean apt cache run:
sudo apt autocleanwhich removes old versions of deb packages.

To clean up the apt cache run:
sudo apt clean
There are also the same 2 options in APTus -> APTus tab to do so.
#5
System upgrading / Disk space usage from updating
Last post by japprends - March 24, 2023, 04:18:57 PM
This may not be the proper area in the forum for this post;  if so, I apologize and appreciate your pointing me to the appropriate place.

I am running the (semi-)rolling version of Sparky Linux and find that most of the time when I update the system, e.g., when prompted by the update deamon, the amount of extra disk space that will be used is large.  For the last considerable while, it has been around half a gigabyte.  This seems excessive and I am running the distro on a partition sized to handle the OS and all my data, but not to grow by half a gigabyte every few weeks.

What is the best way to deal with this (short of reinstalling periodically)?

I recall long ago reading that some Linux update tools cache all the data needed to roll back the update.  Is that an issue here?  If so, how can I prune that cache once I am satisfied that an update was successful?

I am aware of 'apt autoremove' which typically removes a few hundred kilobytes which doesn't make a dent in the disk space.

Thanks!

#6
Sparky Linux kernel / VirtualBox installed by Sparky...
Last post by WetGeek - March 24, 2023, 11:27:05 AM
I installed VirtualBox using Nala, and tried to create a VM using it, but although I could create one without a problem, I couldn't run it.  VirtualBox displayed an error message:

"This system is currently not set up to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel
for adding new hardware support to the system.
The distribution packages containing the headers are probably:
    linux-headers-amd64 linux-headers-6.1.0-5-amd64"

But when I tried to install those headers, this was the result:

"linux-headers-amd64 is already at the latest version 6.1.15-1
Error: linux-headers-6.1.0-5-amd64 not found"

What can I do to resolve this mismatch, so I can launch VMs that I create?  Thanks for any help with this.
#7
Hardware / Re: adding a second drive
Last post by dove - March 18, 2023, 03:40:57 AM
debian forums fixed it for me sudo /usr/bin/mkdir -p /mnt/Storage
#8
Sparky Linux kernel / Re: Removing kernels
Last post by AxL - March 18, 2023, 01:52:55 AM
Quote from: Martin A. on March 12, 2023, 09:15:03 AM[....]  for loading kernels is not showing which ones are already installed.
  • If you want to see the installed kernels, open a terminal and type:

dpkg --list | egrep -i --color 'linux-image|linux-headers'


  • Or use, APTus AppCenter > System > Kernels > Remove Old System Kernel:
    (You will be able to see the different Kernels you have installed).



Quote from: Martin A. on March 12, 2023, 09:15:03 AM[....] And is there a set of command line instructions to remove all different types of kernels?

sudo apt-get remove $(dpkg -l|egrep '^ii  linux-(im|he)'|awk '{print $2}'|grep -v `uname -r`)

Quote from: Martin A. on March 12, 2023, 09:15:03 AM[....] Thanks

You're welcome !!










#9
Hardware / adding a second drive [solved]
Last post by dove - March 17, 2023, 08:53:38 PM
I have installed rolling KDE and I'm trying to install a second drive but went I try to run the command [sudo mkdir/mnt/Storage] I get [mkdir/mnt/Storage: command not found]. How do I make a directory in mnt if [mkdir] won't work?
#10
Applications / Re: Persistent live USB creati...
Last post by koepcke2 - March 17, 2023, 08:41:35 AM
I have the same problem, too. Is there any solution?

View the most recent posts on the forum