what command would you use to trim on linux mint, the drive isnt dying to my knowledge. i just ran smartctl and it says i have 0 unallocated nvm capacity?
So many content? You mean so many levels? While searching for the current download link for Debian 12, I really just couldn’t find the right one I think, so I just went for one which had amd64 and gnome in the title. It was for a CDROM, but I flashed that onto some USB.
It depends on the type of machine you’re talking about. Pet machines, bare metal or VMs, such as workstations, desktops, laptops are generally upgraded because it takes a while to re-setup everything. Cattle machines such as servers are generally recreated. With that said, creation of such machines typically involves some sort of automation that does the work for you. Setup scripts are the very basic, however configuration as code systems such as Ansible, SaltStack are much preferable. So if I had a VM that runs acme.sh, I’d write an Ansible runbook that creates it from a vanilla OS installation. I stop here for my own infrastructure. When we do this in cloud environments where we need to spin up more than one such VM and quickly, we’d have the OS install and Ansible run in a Jenkins job which builds a VM image that’s pushed to the cloud. Then we spin up ready acme.sh VMs from that image which takes seconds.
I don’t have any sources files in my /etc directory. My Debian install in general is really weird, since the default apt sources came only with some CD ROM source, which did not work with the Internet. So I had to manually add all sources myself (probably caused some of my troubles…) These are my sources right now
deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware deb http://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware deb http://deb.debian.org/debian/ bookworm-backports main contrib non-free non-free-firmware deb http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware
I’m assuming these are correct, as they all got that bookworm in them.
I’m back from trying that reinstall with aptitude, and it keeps getting file sizes wrong. It says, that reinstalling all software will take 0 Bytes. After not finding some sources, it tells me that the unpacked packages will combine to 0 Bytes again:
E: Es konnte keine Quelle gefunden werden, um Version »2.7.16-1« von »python2-minimal:amd64« herunterzuladen. E: Es konnte keine Quelle gefunden werden, um Version »2.7.16-1« von »python-minimal:amd64« herunterzuladen. E: Es konnte keine Quelle gefunden werden, um Version »2.7.16-1« von »python2:amd64« herunterzuladen. E: Es konnte keine Quelle gefunden werden, um Version »2.7.16-1« von »python:amd64« herunterzuladen. E: Es konnte keine Quelle gefunden werden, um Version »2.7.16-2+deb10u3« von »libpython2.7-minimal:amd64« herunterzuladen. E: Es konnte keine Quelle gefunden werden, um Version »2.7.16-2+deb10u3« von »python2.7-minimal:amd64« herunterzuladen. E: Es konnte keine Quelle gefunden werden, um Version »7.0-5« von »libreadline7:amd64« herunterzuladen. E: Es konnte keine Quelle gefunden werden, um Version »2.2.0-travis995~0f91801+bionic« von »appimagelauncher:amd64« herunterzuladen. E: Es konnte keine Quelle gefunden werden, um Version »4.9.2-427« von »blockbench:amd64« herunterzuladen. E: Es konnte keine Quelle gefunden werden, um Version »0.0.39« von »discord:amd64« herunterzuladen. E: Es konnte keine Quelle gefunden werden, um Version »3.2.1-9« von »libffi6:amd64« herunterzuladen. E: Es konnte keine Quelle gefunden werden, um Version »2.7.16-1« von »libpython2-stdlib:amd64« herunterzuladen. E: Es konnte keine Quelle gefunden werden, um Version »2.7.16-1« von »libpython-stdlib:amd64« herunterzuladen. E: Es konnte keine Quelle gefunden werden, um Version »2.7.16-2+deb10u3« von »libpython2.7-stdlib:amd64« herunterzuladen. E: Es konnte keine Quelle gefunden werden, um Version »1.1.1n-0+deb10u6« von »libssl1.1:amd64« herunterzuladen. E: Es konnte keine Quelle gefunden werden, um Version »2.7.16-2+deb10u3« von »python2.7:amd64« herunterzuladen. E: Es konnte keine Quelle gefunden werden, um Version »2023.1« von »trenchbroom:amd64« herunterzuladen. E: Es konnte keine Quelle gefunden werden, um Version »0.11.4« von »weylus:amd64« herunterzuladen. Nach dem Entpacken werden 0 B zusätzlich belegt sein. E: Es konnte keine Quelle gefunden werden, um Version »2.7.16-1« von »python2-minimal:amd64« herunterzuladen. E: Es konnte keine Quelle gefunden werden, um Version »2.7.16-1« von »python-minimal:amd64« herunterzuladen. E: Es konnte keine Quelle gefunden werden, um Version »2.7.16-1« von »python2:amd64« herunterzuladen. E: Es konnte keine Quelle gefunden werden, um Version »2.7.16-1« von »python:amd64« herunterzuladen. E: Es konnte keine Quelle gefunden werden, um Version »2.7.16-2+deb10u3« von »libpython2.7-minimal:amd64« herunterzuladen. E: Es konnte keine Quelle gefunden werden, um Version »2.7.16-2+deb10u3« von »python2.7-minimal:amd64« herunterzuladen. E: Es konnte keine Quelle gefunden werden, um Version »7.0-5« von »libreadline7:amd64« herunterzuladen. E: Es konnte keine Quelle gefunden werden, um Version »2.2.0-travis995~0f91801+bionic« von »appimagelauncher:amd64« herunterzuladen. E: Es konnte keine Quelle gefunden werden, um Version »4.9.2-427« von »blockbench:amd64« herunterzuladen. E: Es konnte keine Quelle gefunden werden, um Version »0.0.39« von »discord:amd64« herunterzuladen. E: Es konnte keine Quelle gefunden werden, um Version »3.2.1-9« von »libffi6:amd64« herunterzuladen. E: Es konnte keine Quelle gefunden werden, um Version »2.7.16-1« von »libpython2-stdlib:amd64« herunterzuladen. E: Es konnte keine Quelle gefunden werden, um Version »2.7.16-1« von »libpython-stdlib:amd64« herunterzuladen. E: Es konnte keine Quelle gefunden werden, um Version »2.7.16-2+deb10u3« von »libpython2.7-stdlib:amd64« herunterzuladen. E: Es konnte keine Quelle gefunden werden, um Version »1.1.1n-0+deb10u6« von »libssl1.1:amd64« herunterzuladen. E: Es konnte keine Quelle gefunden werden, um Version »2.7.16-2+deb10u3« von »python2.7:amd64« herunterzuladen. E: Es konnte keine Quelle gefunden werden, um Version »2023.1« von »trenchbroom:amd64« herunterzuladen. E: Es konnte keine Quelle gefunden werden, um Version »0.11.4« von »weylus:amd64« herunterzuladen. E: Interner Fehler: Liste der herunterzuladenden Pakete konnte nicht erzeugt werden. E: Perhaps the package lists are out of date, please try ‘aptitude update’ (or equivalent); otherwise some packages or versions are not available from the current repository sources
“Es konnten keine Quellen gefunden werden” meaning, that it couldn’t find the sources for a specific program. I already ran sudo aptitude update so that is not the issue. Soo maybe I really do need to reinstall the entire system?
I agree with the other comment to beware and look at getting a new drive in case this one is shitting the bed.
If it were my system I would look for any signs of disk related errors in the logs (likely would show in /var/log/syslog or maybe kern.log).
Also, did you empty your trash (if you used GUI to kill the files)?
You verified the disk has free space right? (Via df or whatever GUI tool, maybe disks or the file manager)
Another thing I might look at out of curiosity is disk io stats. Is the disk swamped with IO for some reason? We’re assuming the bottleneck is disk io but then again maybe something else weird is going on.
PS: if the disk fills up after deleting files (with rm) then some process may be the cause. Use the iotop command to show what processes are doing the most reading and writing, similar to top but for io.
If you haven’t you can also hunt down the biggest directories either with a disk usage analyzer or command line. Cd into whatever to level directly (your home dir) then: sudo du -dk | sort -n
linux
Hot
This magazine is from a federated server and may be incomplete. Browse more on the original instance.