???

Lecker, Suppe!

16.4.2022 21:51:21 reposted from juozaspo

Find manually installed packages that has other packages depending on it on Debian based systems

Running command below generates a list of packages that can be marked as automatically installed, as long as apt-rdepends package were already installed. It generates a script that can be used to mark all found packages as manually installed.

echo \#\!/bin/bash > mark-auto.sh; apt-mark showmanual|xargs -I{} sh -c '[ "{}" = "$(apt-rdepends -r --state-follow=Installed --state-show=Installed {} 2>/dev/null)" ] || echo apt-mark auto {}' >> mark-auto.sh

It can be modified to mark packages automatically if preferred instead of writing to a script

apt-mark showmanual|xargs -I{} sh -c '[ "{}" = "$(apt-rdepends -r --state-follow=Installed --state-show=Installed {} 2>/dev/null)" ] || apt-mark auto {}'

Before running apt-get autoremove run it with pretend mode (-s), e.g

apt-get -s autoremove --purge

Mark any package not desired to be removed with

apt-mark manual <package>
16.4.2022 11:09:11 reposted from severak

16.4.2022 11:09:09 reposted from severak

14.4.2022 17:23:19 reposted from cats

from https://larrygreensky.loforo.com/ljqdx

14.4.2022 12:37:03 reposted from dit

;)

13.4.2022 20:32:11

Installed Ubuntu 22.04 LTS from scratch, to be released within a week (April 21, 2022)

Ubuntu 22.04 LTS is soon to be released so I decided to do a complete reinstall. After booting into Linux Live USB first I've deleted everything from my old install except for the important stuff I needed to keep. Then I've reinstalled the base system using debootstrap and used a script I made to enter the chroot, I installed required packages there to make it boot and to be able to access network. Finally I've installed everything else I needed including graphical interface where a list of installed previously packages would help alot. Such list could be generated by running commands as shown in example below.

First generate package list files while in old system as shown below

$ apt-mark showmanual > manual_old.txt
$ dpkg-query -Wf '${Package}\n' > packages_old.txt

After reinstalling system repeat same in the new installation, only change output file names where needed.

$ apt-mark showmanual > manual.txt
$ dpkg-query -Wf '${Package}\n' > packages.txt

Finally compare package list files generated above, a list of missing packages would be stored in files as shown below

$ sort manual_old.txt > 1.txt; sort manual.txt > 2.txt; comm -23 1.txt 2.txt > missing_manual.txt
$ sort packages_old.txt > 1.txt; sort packages.txt > 2.txt; comm -23 1.txt 2.txt > missing.txt

reposted by juozaspo
11.4.2022 10:28:33


reposted by dit
7.4.2022 10:59:59 reposted from gpkvt

from https://sohryu.loforo.com/wm42k

7.4.2022 10:59:46 reposted from gpkvt

from https://i.imgur.com/JFy5M.jpg

6.4.2022 17:04:11

come with me, and you'll be, in a world of OSHA violations

from https://www.reddit.com/r/OSHA/comments/txdv5i/come_with_me_and_youll_be_in_a_world_of_osha/

31.3.2022 15:59:10 reposted from severak

No Context Varg Vikernes on Twitter

from https://twitter.com/NoContextVarg/status/1509529697352400897/photo/1

31.3.2022 09:45:04 reposted from severak

Archillect on Twitter

from https://twitter.com/archillect/status/1509385412669808643/photo/1

27.3.2022 21:56:21 reposted from juozaspo

24.3.2022 13:47:43 reposted from desinteressement

from https://i.redd.it/6xalgp5l2d681.png

23.3.2022 20:37:51 reposted from juozaspo

from https://8agienny.loforo.com/y7jg

23.3.2022 20:37:49 reposted from juozaspo

from https://8agienny.loforo.com/y7jg

23.3.2022 20:30:44 reposted from demotivational

from https://tomash.loforo.com/hg7s

23.3.2022 20:25:37 reposted from juozaspo

from https://helloworld.loforo.com/2tjsw

23.3.2022 20:25:35 reposted from juozaspo

from https://helloworld.loforo.com/2tjsw

22.3.2022 06:43:38 reposted from merelygifted

They found the button that breaks the cat... 🐱

from https://www.youtube.com/watch?v=IAFrKZ2wgL0

22.3.2022 01:10:54 reposted from merelygifted

This Teeny Horse Steals All The Attention When The Camera Comes Out | The Dodo Little But Fierce

My squee meter just asploded!

from https://www.youtube.com/watch?v=VPK3SwSKPTw

20.3.2022 13:57:07


reposted by juozaspo severak
20.3.2022 07:07:39 reposted from juozaspo

from https://existential.loforo.com/5qwa1

17.3.2022 19:50:35 reposted from juozaspo

from https://bazant.loforo.com/vdxdp

17.3.2022 19:50:27 reposted from juozaspo

from https://bazant.loforo.com/vdxdp


reposted by desinteressement
12.3.2022 16:38:16 reposted from juozaspo

Spam generator

$ for q in $(eval echo {1..$((2+$RANDOM%200))}); do echo $(cat </dev/urandom|tr -cd '[:lower:]'|tr -s '[:print:]'|head -c $((2+$RANDOM%32))); done|xargs

Generates a random amount of random words containing random lowercase letters (up to 200 words and 32 letters per word)

11.3.2022 12:15:45 reposted from desinteressement

from https://ph03nix.loforo.com/qa95

 
▼ see more... ▼