golinux | I haven't auto removed packages for a while. Does apt ever get it wrong and break things? Or can I just nuke all of them? | 21:55 |
---|---|---|
golinux | This was prompted by the need for more disk space in / | 21:56 |
mason | golinux: It generally gets it right, but it should give you a list to confirm. | 22:03 |
golinux | Yes, it does. there are 56 of them and I have no idea what most of them do. | 22:04 |
mason | golinux: It ought never to break anything. The risk is if you independently use functionality from one of the automatic packages. You can make it as manual with apt-mark(8) if that's the case. | 22:04 |
golinux | I need to create an iso and need more space in /tmp | 22:05 |
golinux | Will also purge unused locales. | 22:06 |
golinux | I guess localepurge is the tool for that. | 22:06 |
golinux | Thanks mason | 22:07 |
specing | why do you have /tmp on disk? | 22:07 |
specing | Put it on ram (tmpfs) | 22:07 |
mason | golinux: apt-get clean can also help | 22:08 |
golinux | I only have 8gb of ram and need more than that to create the iso | 22:08 |
golinux | OK. I'll run apt-get clean and compare with autoremove | 22:09 |
rrq | golinux: there might be a way to configure the iso making utility to us a different temporary path than /tmp | 22:11 |
mason | golinux: Different things. The clean will zap cached packages. It's definitely worth doing both to clean up space. | 22:13 |
golinux | root could use a good purge before I shut down jessie. | 22:13 |
golinux | rrq: if I get rid of unnecessary pkgs and still need more room, I'll ping you. | 22:14 |
golinux | I've got about 8gb free atm but it's complaining there's not enough. | 22:14 |
golinux | mason: "clean" got me up to 12 gb free!! | 22:16 |
* rrq .. just woke up so needs to scan backlog | 22:16 | |
golinux | I'll do autoremove next. | 22:16 |
golinux | Really appreciate the tips, guys | 22:17 |
mason | golinux: A good cue for autoremove is to run it after you install a new kernel. | 22:19 |
mason | That'll have you running it often enough to be useful but not so often as to be annoying. | 22:19 |
golinux | The problem is remembering to do it! LOL!!! | 22:20 |
mason | This is true. | 22:26 |
golinux | One down. One to go! | 22:35 |
sgage | If you use apt-get install it caches a copy of the package. | 23:19 |
sgage | If you use apt install, it does not. | 23:20 |
sgage | Packages are cached in /var/cache/apt | 23:20 |
gnarface | are you sure it doesn't just cache it somewhere else? | 23:20 |
gnarface | interesting if so, though | 23:20 |
sgage | apt-get clean deletes any cached packages | 23:22 |
sgage | apt-get autoremove uninstalls packages that were installed as | 23:22 |
sgage | dependencies of packages that have been uninstalled. | 23:22 |
sgage | I've never had autoremove mess me up. | 23:23 |
sgage | gnarface: yes, I'm pretty sure. But now I'm curious. Where would it put them?... | 23:24 |
aitor_ | hi | 23:26 |
sgage | ahoy! | 23:28 |
rrq | apparently apt has its own bespoke-format "file system" as a memory-mappable file to store packages in | 23:31 |
aitor_ | i've been improving the live-sdk because it didn't work for testing/unstable | 23:31 |
fsmithred | hi aitor_ | 23:32 |
fsmithred | I can play with that after the beowulf point-release | 23:32 |
aitor_ | hi fsr | 23:32 |
fsmithred | which will be soon | 23:33 |
aitor_ | fsmithred: here you are the generated image: | 23:33 |
aitor_ | https://www.gnuinos.org/Devuan%20Drafts/ | 23:34 |
fsmithred | does it boot? | 23:35 |
aitor_ | yes, of course | 23:35 |
fsmithred | ah, ok | 23:35 |
aitor_ | and the installer worked too | 23:35 |
fsmithred | you forked live-config for runit? | 23:35 |
aitor_ | sysvinit | 23:36 |
fsmithred | I made a live-config-runit to safisfy the dependency for live-config-backend | 23:36 |
aitor_ | good | 23:37 |
fsmithred | installing runit removes live-config-sysvinit | 23:37 |
aitor_ | the unique packages taken from gnuinos are libnetaid (shared library), simple-netaid-cdk (ncurses interface) and snetaid (the daemon) | 23:37 |
aitor_ | i tested it several times | 23:38 |
fsmithred | one thing that would be good for live-sdk is to be able to bypass the interactive questions | 23:38 |
fsmithred | so that it can be automated | 23:38 |
aitor_ | it's easy | 23:39 |
fsmithred | good. I looked and had no idea where to start. | 23:39 |
fsmithred | can you tell me how to do it in an email? | 23:41 |
aitor_ | one obstacle would be the removal of sysvinit, because you need to type something like; Yes, do what i say! | 23:41 |
aitor_ | yes, i can | 23:42 |
fsmithred | oh, I don't need to make a runit iso with live-sdk | 23:42 |
fsmithred | just sysvinit | 23:42 |
aitor_ | ok i'll prepare you a mini how-to | 23:42 |
fsmithred | thanks! | 23:42 |
aitor_ | time to bed, it's a bit late for me and tomorrow is monday :) | 23:43 |
fsmithred | sleep well | 23:43 |
fsmithred | have good dreams | 23:43 |
aitor_ | bye,fsr | 23:43 |
aitor_ | and rrq, and company... | 23:43 |
rrq | cheers | 23:44 |
rrq | sgage: undocumented config Binary::apt::APT::Keep-Downloaded-Packages "true"; | 23:47 |
sgage | rrq: thanks for that! I use apt a lot (too lazy to type -get, I guess) | 23:49 |
sgage | and I have sometimes wished I had a package cached. | 23:49 |
clort | you can change apt's file-retention rules sgage | 23:53 |
clort | where is that undocumented config Binary::apt thing | 23:53 |
rrq | in /usr/lib/x86_64-linux-gnu/libapt-private.so.0.0 | 23:54 |
clort | i think this is settable in /etc somewhere | 23:55 |
gnarface | sgage: sorry i went afk there... would be somewhere else in /var/cache if it's following the rules | 23:56 |
gnarface | sgage: for example, aptitude uses a different cache too, but it's just /var/cache/aptitude | 23:56 |
n4dir | as a test i did apt install sl, then updatedb, then locate sl | grep deb. No nothing. Weird | 23:56 |
gnarface | sgage: if it's really just not caching that's possible but that seems weird to me | 23:57 |
n4dir | i apt-get --download-only to the rescue. :-) | 23:57 |
gnarface | yea, nothing stops you from making your own cache | 23:57 |
clort | i knew how to increase retention for /var/cache/apt/archives but forgot | 23:58 |
n4dir | i for one prefer to just stick to apt-get, but not saying that would be better/good/anything | 23:58 |
sgage | I guess I'll go with apt-get for now. | 23:58 |
gnarface | that's what i use too, i think it's merely the oldest... | 23:59 |
sgage | I must fly - time for the weekly Family Gathering on zoom | 23:59 |
gnarface | it has fairly predictable failure cases and status output that i'm familiar with | 23:59 |
n4dir | to me it is a simple question of muscle memory. As soon i type an a the hyphen just gets there ... | 23:59 |
sgage | Thanks for the info, everyone... | 23:59 |
gnarface | peace | 23:59 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!