Skip to content

Instantly share code, notes, and snippets.

@FlorianHeigl
Created December 9, 2022 02:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FlorianHeigl/bc6bdfe11f5741fad1cd929ed875ab70 to your computer and use it in GitHub Desktop.
Save FlorianHeigl/bc6bdfe11f5741fad1cd929ed875ab70 to your computer and use it in GitHub Desktop.
ubuntu trash
After this operation, 0 B of additional disk space will be used.
(Reading database ... 219680 files and directories currently installed.)
Preparing to unpack .../grub-pc-bin_2.02-2ubuntu8.25_amd64.deb ...
Unpacking grub-pc-bin (2.02-2ubuntu8.25) over (2.02-2ubuntu8.25) ...
dpkg: error processing archive /var/cache/apt/archives/grub-pc-bin_2.02-2ubuntu8.25_amd64.deb (--unpack):
unable to open '/usr/lib/grub/i386-pc/at_keyboard.mod.dpkg-new': Operation not permitted
Segmentation fault (core dumped)
root@blackbox:~# apt-get -o Dpkg::Options=="--force-unsafe-io" install grub-common grub-pc-bin os-prober
Reading package lists... Done
Building dependency tree
Reading state information... Done
os-prober is already the newest version (1.74ubuntu1).
grub-common is already the newest version (2.02-2ubuntu8.25).
grub-pc-bin is already the newest version (2.02-2ubuntu8.25).
The following packages were automatically installed and are no longer required:
db-util db5.3-util efibootmgr exfat-fuse exfat-utils hfsplus icoutils ldmtool libafflib0v5 libauthen-sasl-perl libbfio1 libconfig9
libdata-dump-perl libdate-manip-perl libefiboot1 libefivar1 libencode-locale-perl libewf2 libfile-listing-perl libfont-afm-perl
libhfsp0 libhivex0 libhtml-form-perl libhtml-format-perl libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl
libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl libintl-perl libintl-xs-perl
libio-html-perl libio-socket-ssl-perl libldm-1.0-0 libllvm9 liblwp-mediatypes-perl liblwp-protocol-https-perl libmailtools-perl
libnet-http-perl libnet-smtp-ssl-perl libnet-ssleay-perl libnetpbm10 libstring-shellquote-perl libsys-virt-perl libtimedate-perl
libtry-tiny-perl libtsk13 liburi-perl libwin-hivex-perl libwww-perl libwww-robotrules-perl libxml-parser-perl libxml-xpath-perl lzop
netpbm osinfo-db perl-openssl-defaults python3-msgpack reiserfsprogs sbsigntool secureboot-db sleuthkit supermin
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 45 not upgraded.
1 not fully installed or removed.
Need to get 0 B/901 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment