[HOME] [DOWNLOAD] [DOCS] [NEWS] [SUPPORT] [TIPS] [ISSUES] [Priority Support]

removing okular/default apps destroys whonix-ws


#1

I’ve just gone through a series of issues resulting in my decision to reinstall the whonix-ws qube. In rebuilding that qube as I had it I may have come across the source of my problems.

Okular wasn’t playing nice with my printer, so i’ve installed Evince. Then i ran

sudo apt remove okular

What i got in response was:

user@host:~$ sudo apt remove okular
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages were automatically installed and are no longer required:
acpi-support acpi-support-base acpid akonadi-backend-mysql akonadi-server anon-apt-sources-list anon-base-files anon-gpg-tweaks
anon-iceweasel-warning anon-icon-pack anon-kde-streamiso anon-mixmaster anon-shared-helper-scripts
anon-shared-packages-dependencies anon-shared-packages-recommended anon-torchat anon-workstation-default-applications
anon-workstation-packages-dependencies anon-workstation-packages-recommended anon-ws-base-files anon-ws-disable-stacked-tor
anon-ws-dns-conf anon-ws-kde-startmenu apparmor-notify apparmor-profile-anondist apt-file apt-transport-tor ark
bootclockrandomization bsdtar command-not-found curl-scripts damngpl debsums dnsutils dolphin enigmail faketime fpm2
gir1.2-nautilus-3.0 gpg-bash-lib gpl-sources-download grub-enable-apparmor gtk2-engines-oxygen gtk3-engines-oxygen gwenview
hexchat hexchat-common inotify-tools kcalc kde-apper-no-autoupdate kde-baseapps-bin kde-baseapps-data kde-common-resolution
kde-dolphin-menubar-enable kde-kdm-autologin kde-kgpg-tweaks kde-konsole-unlim-scrollback kde-lowfat kde-mouse-doubleclick
kde-no-move-max-win kde-privacy kde-sounds-off kdepasswd kdepim-runtime kdepimlibs-kio-plugins kdesudo kfind kgpg khelpcenter4
kmix kmix-disable-autostart knetattach-hide ksysguard ksysguardd ksystemlog kwrite libaio1 libakonadi-calendar4
libakonadi-contact4 libakonadi-kabc4 libakonadi-kcal4 libakonadi-kde4 libakonadi-kmime4 libakonadi-notes4
libakonadiprotocolinternals1 libapt-pkg-perl libbaloocore4 libbaloofiles4 libbalooqueryparser4 libbaloowidgets4 libbalooxapian4
libboost-program-options1.55.0 libboost-thread1.55.0 libconfig-file-perl libdmtx0a libencode-locale-perl libepub0 libfaketime
libfile-fnmatch-perl libfile-listing-perl libgmp-dev libgmpxx4ldbl libgnome2-bin libhtml-parser-perl libhtml-tagset-perl
libhtml-tree-perl libhttp-cookies-perl libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl libical1a
libimage-exiftool-perl libinotifytools0 libio-html-perl libio-socket-ssl-perl libkabc4 libkalarmcal2 libkcal4 libkcalcore4
libkcalutils4 libkdcraw-data libkdcraw23 libkdecorations4abi2 libkfilemetadata4 libkgapi2-2 libkholidays4 libkimap4 libkipi-data
libkipi11 libkldap4 libkmbox4 libkmime4 libkolab0 libkolabxml1 libkpimidentities4 libkpimtextedit4 libkpimutils4 libkresources4
libksgrd4 libksignalplotter4 liblist-moreutils-perl liblwp-mediatypes-perl liblwp-protocol-https-perl libmailtools-perl
libmailtransport4 libmicroblog4 libnet-http-perl libnet-smtp-ssl-perl libnet-ssleay-perl libperl4-corelibs-perl libpkcs11-helper1
libprison0 libprocesscore4abi1 libprocessui4a libqrencode3 libqt4-help libqt4-scripttools libqt4-test libqtassistantclient4
libraw10 libregexp-assemble-perl libruby2.1 libseccomp2 libsysfs2 liburi-perl libwww-perl libwww-robotrules-perl libxerces-c3.1
libyaml-0-2 libzip2 lsof mat mixmaster most msgcollector mysql-server-core-5.5 open-link-confirmation openvpn p7zip-full
pidgin-improved-privacy pkg-manager-longer-timeouts pkg-manager-no-autoupdate plasma-widget-folderview pm-utils polkit-kde-1
power-savings-disable-in-vms powermgmt-base poweroff-passwordless pv python-dateutil python-gdbm python-gevent python-greenlet
python-guimessages python-hachoir-core python-hachoir-parser python-nautilus python-pdfrw python-pysocks python-qt4 python-sip
python-six python-stem python-yaml qubes-core-agent-passwordless-root qubes-gpg-split qubes-pdf-converter qubes-thunderbird
qubes-whonix qubes-whonix-shared-packages-recommended qubes-whonix-workstation-packages-recommended rads rake ruby ruby-all-dev
ruby-dev ruby-inline ruby2.1 ruby2.1-dev rubygems-integration scurl sdwdate sdwdate-gui security-misc shared-folder-help
swap-file-creator swappiness-lowest sysfsutils systemsettings tb-default-browser tb-starter tb-updater telnet timesanitycheck
timezone-utc tor tor-ctrl torsocks unzip usability-misc uwt vbox-disable-timesync virt-what vrms whonix-base-files
whonix-initializer whonix-legacy whonix-repository whonix-setup-wizard whonix-shared-packages-dependencies
whonix-shared-packages-recommended whonix-welcome-page whonix-workstation-packages-dependencies
whonix-workstation-packages-dependencies-pre whonix-workstation-packages-recommended whonix-ws-desktop-shortcuts
whonix-ws-firewall whonix-ws-irc-chat-support whonix-ws-kde-desktop-conf whonix-ws-network-conf whonix-ws-start-menu-additions
whonixcheck whonixsetup wmctrl xchat-improved-privacy xul-ext-torbirdy zenity zenity-common zip zsh zsh-common
Use ‘apt-get autoremove’ to remove them.
The following packages will be REMOVED:
anon-shared-applications-kde okular qubes-whonix-workstation whonix-workstation-shared-packages-shared-meta
0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
After this operation, 6,337 kB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.

I think just blindly running apt-get autoremove was the source of my problems last time, which included Tor Browser being missing and Thunderbird not being able to connnect to anything. Either way this response seems incorrect and problematic. Testing a few other apps it seems i get the same response if i try to remove apps in that list but not apps that i installed myself.


#2

All of those packages are held in place by the Whonix meta-packages that depend on okular. When okular is removed (along with the metapackages), it is the correct behavior to state that the packages were auto-installed and no longer required. Removing packages blindly is not recommended. Uninstalled vlc, completely broke whonix, can I recover?


#3

Okay. Well, won’t make that mistake again.


#4

Which is mentioned in entr0py's link (if I had looked)