Reputation
216
Next privilege 250 Rep.
View close votes
Badges
1 4
Newest
 Nice Answer
Impact
~3k people reached

  • 0 posts edited
  • 0 helpful flags
  • 0 votes cast
May
22
comment initramfs problem when out of disk space
-f doesn't mean force anyway
May
3
comment Linux permission issue
I don't believe it. If echo "xyz" > abc.txt fails, sudo echo "xyz" > abc.txt will also fail
Jan
24
comment How do I get a list of obsolete packages?
also, apt-cache search someinstalledpackage will return something even if the package isn't available from a repo, so I don't believe this will work at all.
Jan
24
comment How do I get a list of obsolete packages?
if you are going to use the output of dpkg -l to get a list of installed packages, you should limit the results to lines with 'i' in the second column, as dpkg will also list packages which are not installed (perhaps removed but not purged). as an example, altering your first command to be dpkg -l | grep '^.[^i]' | cut -f 3 -d ' ' it would return a list of packages, which are NOT installed. (but once were)