LINUX.ORG.RU

Не работает команда pkexec, не монтируются разделы внутреннего диска - что я не поставил?

 , , ,


0

1

Добрый вечер! Уже который день пытаюсь бороться с xfce и xorg, чтобы не тянули миллион «рекомендуемых» пакетов. Вроде уже и все настроил, всё железо определилось, звук есть, изображение без артефактов, сеть есть, программы работают, все настроил под себя... и тут выясняется, что неведомо почему не работает Policy Kit:

debian@debian:~$ synaptic-pkexec
==== AUTHENTICATING FOR com.ubuntu.pkexec.synaptic ===
Authentication is required to run the Synaptic Package Manager
Authenticating as: debian,,, (debian)
Password: 
polkit-agent-helper-1: error response to PolicyKit daemon: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: No session for cookie
==== AUTHENTICATION FAILED ===

Error executing command as another user: Not authorized

This incident has been reported.

При этом если запустить из под root - выругается на отсутствие темы оформления, но прекрасно запустится.

debian@debian:~$ su
Пароль: 
root@debian:/home/debian# synaptic-pkexec
sh: 1: lsb_release: not found
sh: 1: lsb_release: not found

(synaptic:988): Gtk-WARNING **: 22:15:29.152: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
root@debian:/home/debian# pkexec bleachbit

(bleachbit:1016): Gtk-WARNING **: 22:16:41.355: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
root@debian:/home/debian# 

Также по какой-то причине не хотят монтироваться разделы внутреннего диска под обычным пользователем - нет разрешений.

Съемные накопители монтируются без проблем.

Все установленные пакеты:

adduser
adwaita-icon-theme
alsa-tools
alsa-topology-conf
alsa-ucm-conf
alsa-utils
apparmor
apt
apt-utils
aspell
aspell-ru
base-files
base-passwd
bash
bleachbit
bsdextrautils
bsdutils
busybox
bzip2
ca-certificates
chromium
chromium-common
console-setup
console-setup-linux
coreutils
cpio
cpp
cpp-10
cron
dash
dbus
dbus-user-session
dconf-gsettings-backend:amd64
dconf-service
debconf
debconf-i18n
debian-archive-keyring
debianutils
desktop-file-utils
dialog
dictionaries-common
diffutils
discover
discover-data
dmidecode
dmsetup
dpkg
e2fsprogs
emacsen-common
exo-utils
fdisk
file-roller
findutils
firmware-amd-graphics
firmware-linux-free
fontconfig
fontconfig-config
fonts-dejavu-core
galculator
gcc-10-base:amd64
gcc-9-base:amd64
gdisk
geany
geany-common
genisoimage
geoip-database
gettext-base
gir1.2-atk-1.0:amd64
gir1.2-freedesktop:amd64
gir1.2-gdkpixbuf-2.0:amd64
gir1.2-glib-2.0:amd64
gir1.2-gtk-3.0:amd64
gir1.2-harfbuzz-0.0:amd64
gir1.2-pango-1.0:amd64
glib-networking:amd64
glib-networking-common
glib-networking-services
gparted
gparted-common
gpgv
grep
groff-base
grub-common
grub-pc
grub-pc-bin
grub2-common
gsettings-desktop-schemas
gtk-update-icon-cache
gvfs:amd64
gvfs-backends
gvfs-common
gvfs-daemons
gvfs-libs:amd64
gzip
hicolor-icon-theme
hostname
ifupdown
init
init-system-helpers
initramfs-tools
initramfs-tools-core
installation-report
inxi
iproute2
iptables
iputils-ping
irussian
isc-dhcp-client
isc-dhcp-common
ispell
kbd
keyboard-configuration
klibc-utils
kmod
konwert
konwert-filters
laptop-detect
less
libacl1:amd64
libapparmor1:amd64
libapt-pkg6.0:amd64
libarchive13:amd64
libargon2-1:amd64
libasound2:amd64
libasound2-data
libaspell15:amd64
libasyncns0:amd64
libatasmart4:amd64
libatk-bridge2.0-0:amd64
libatk1.0-0:amd64
libatk1.0-data
libatkmm-1.6-1v5:amd64
libatomic1:amd64
libatopology2:amd64
libatspi2.0-0:amd64
libattr1:amd64
libaudit-common
libaudit1:amd64
libavahi-client3:amd64
libavahi-common-data:amd64
libavahi-common3:amd64
libavahi-glib1:amd64
libayatana-ido3-0.4-0:amd64
libayatana-indicator3-7:amd64
libblkid1:amd64
libblockdev-fs2:amd64
libblockdev-loop2:amd64
libblockdev-part-err2:amd64
libblockdev-part2:amd64
libblockdev-swap2:amd64
libblockdev-utils2:amd64
libblockdev2:amd64
libbluray2:amd64
libbpf0:amd64
libbrotli1:amd64
libbsd0:amd64
libbz2-1.0:amd64
libc-bin
libc-l10n
libc6:amd64
libcairo-gobject2:amd64
libcairo2:amd64
libcairomm-1.0-1v5:amd64
libcap-ng0:amd64
libcap2:amd64
libcap2-bin
libcbor0:amd64
libcdio-cdda2:amd64
libcdio-paranoia2:amd64
libcdio19:amd64
libcolord2:amd64
libcom-err2:amd64
libcrypt1:amd64
libcryptsetup12:amd64
libcups2:amd64
libcurl4:amd64
libdatrie1:amd64
libdb5.3:amd64
libdbus-1-3:amd64
libdbusmenu-glib4:amd64
libdbusmenu-gtk3-4:amd64
libdconf1:amd64
libdebconfclient0:amd64
libdeflate0:amd64
libdevmapper1.02.1:amd64
libdiscover2
libdns-export1110
libdouble-conversion3:amd64
libdrm-amdgpu1:amd64
libdrm-common
libdrm-intel1:amd64
libdrm-nouveau2:amd64
libdrm-radeon1:amd64
libdrm2:amd64
libedit2:amd64
libefiboot1:amd64
libefivar1:amd64
libegl-mesa0:amd64
libegl1:amd64
libelf1:amd64
libepoxy0:amd64
libept1.6.0:amd64
libestr0:amd64
libevdev2:amd64
libevent-2.1-7:amd64
libexif12:amd64
libexo-2-0:amd64
libexo-common
libexpat1:amd64
libext2fs2:amd64
libfastjson4:amd64
libfdisk1:amd64
libffi7:amd64
libfftw3-bin
libfftw3-dev:amd64
libfftw3-double3:amd64
libfftw3-long3:amd64
libfftw3-quad3:amd64
libfftw3-single3:amd64
libfido2-1:amd64
libflac8:amd64
libfontconfig1:amd64
libfontenc1:amd64
libfreetype6:amd64
libfribidi0:amd64
libfuse2:amd64
libgarcon-1-0:amd64
libgarcon-common
libgarcon-gtk3-1-0:amd64
libgbm1:amd64
libgcc-s1:amd64
libgck-1-0:amd64
libgcr-base-3-1:amd64
libgcrypt20:amd64
libgd3:amd64
libgdata-common
libgdata22:amd64
libgdbm-compat4:amd64
libgdbm6:amd64
libgdk-pixbuf-2.0-0:amd64
libgdk-pixbuf-xlib-2.0-0:amd64
libgdk-pixbuf2.0-0:amd64
libgdk-pixbuf2.0-common
libgirepository-1.0-1:amd64
libgl1:amd64
libgl1-mesa-dri:amd64
libglapi-mesa:amd64
libglib2.0-0:amd64
libglibmm-2.4-1v5:amd64
libglu1-mesa:amd64
libglvnd0:amd64
libglx-mesa0:amd64
libglx0:amd64
libgmp10:amd64
libgnutls30:amd64
libgoa-1.0-0b:amd64
libgoa-1.0-common
libgomp1:amd64
libgpg-error0:amd64
libgphoto2-6:amd64
libgphoto2-port12:amd64
libgraphite2-3:amd64
libgssapi-krb5-2:amd64
libgtk-3-0:amd64
libgtk-3-common
libgtkmm-3.0-1v5:amd64
libgtop-2.0-11:amd64
libgtop2-common
libgudev-1.0-0:amd64
libharfbuzz0b:amd64
libhogweed6:amd64
libice6:amd64
libicu67:amd64
libidn2-0:amd64
libimobiledevice6:amd64
libinput-bin
libinput10:amd64
libip4tc2:amd64
libip6tc2:amd64
libisc-export1105:amd64
libisl23:amd64
libjansson4:amd64
libjbig0:amd64
libjpeg62-turbo:amd64
libjs-jquery
libjs-sphinxdoc
libjs-underscore
libjson-c5:amd64
libjson-glib-1.0-0:amd64
libjson-glib-1.0-common
libjsoncpp24:amd64
libk5crypto3:amd64
libkeyutils1:amd64
libklibc:amd64
libkmod2:amd64
libkrb5-3:amd64
libkrb5support0:amd64
liblcms2-2:amd64
libldap-2.4-2:amd64
libldb2:amd64
liblightdm-gobject-1-0:amd64
libllvm11:amd64
liblmdb0:amd64
liblocale-gettext-perl
liblognorm5:amd64
libltdl7:amd64
liblz4-1:amd64
liblzma5:amd64
liblzo2-2:amd64
libmagic-mgc
libmagic1:amd64
libmd0:amd64
libmd4c0:amd64
libminizip1:amd64
libmnl0:amd64
libmount1:amd64
libmpc3:amd64
libmpdec3:amd64
libmpfr6:amd64
libmtdev1:amd64
libmtp-common
libmtp9:amd64
libnautilus-extension1a:amd64
libncurses6:amd64
libncursesw6:amd64
libnetfilter-conntrack3:amd64
libnettle8:amd64
libnewt0.52:amd64
libnfnetlink0:amd64
libnfs13:amd64
libnftables1:amd64
libnftnl11:amd64
libnghttp2-14:amd64
libnotify4:amd64
libnsl2:amd64
libnspr4:amd64
libnss3:amd64
libogg0:amd64
libopenjp2-7:amd64
libopus0:amd64
libp11-kit0:amd64
libpam-modules:amd64
libpam-modules-bin
libpam-runtime
libpam-systemd:amd64
libpam0g:amd64
libpango-1.0-0:amd64
libpangocairo-1.0-0:amd64
libpangoft2-1.0-0:amd64
libpangomm-1.4-1v5:amd64
libpangoxft-1.0-0:amd64
libparted-fs-resize0:amd64
libparted2:amd64
libpci3:amd64
libpciaccess0:amd64
libpcre2-16-0:amd64
libpcre2-8-0:amd64
libpcre3:amd64
libperl5.32:amd64
libpipeline1:amd64
libpixman-1-0:amd64
libplist3:amd64
libpng16-16:amd64
libpolkit-agent-1-0:amd64
libpolkit-gobject-1-0:amd64
libpopt0:amd64
libprocps8:amd64
libproxy1v5:amd64
libpsl5:amd64
libpulse0:amd64
libpython3-stdlib:amd64
libpython3.9:amd64
libpython3.9-minimal:amd64
libpython3.9-stdlib:amd64
libqt5core5a:amd64
libqt5dbus5:amd64
libqt5gui5:amd64
libqt5network5:amd64
libqt5widgets5:amd64
libqt5xml5:amd64
libquadmath0:amd64
libre2-9:amd64
libreadline8:amd64
librest-0.7-0:amd64
librtmp1:amd64
libsamplerate0:amd64
libsasl2-2:amd64
libsasl2-modules-db:amd64
libseccomp2:amd64
libsecret-1-0:amd64
libsecret-common
libselinux1:amd64
libsemanage-common
libsemanage1:amd64
libsensors-config
libsensors5:amd64
libsepol1:amd64
libsigc++-2.0-0v5:amd64
libslang2:amd64
libsm6:amd64
libsmartcols1:amd64
libsmbclient:amd64
libsnappy1v5:amd64
libsndfile1:amd64
libsoup-gnome2.4-1:amd64
libsoup2.4-1:amd64
libsqlite3-0:amd64
libss2:amd64
libssh2-1:amd64
libssl1.1:amd64
libstartup-notification0:amd64
libstdc++6:amd64
libsystemd0:amd64
libtalloc2:amd64
libtasn1-6:amd64
libtdb1:amd64
libtevent0:amd64
libtext-charwidth-perl
libtext-iconv-perl
libtext-wrapi18n-perl
libthai-data
libthai0:amd64
libthunarx-3-0:amd64
libtiff5:amd64
libtinfo6:amd64
libtirpc-common
libtirpc3:amd64
libtorrent-rasterbar10
libuchardet0:amd64
libudev1:amd64
libudfread0:amd64
libudisks2-0:amd64
libunistring2:amd64
libunwind8:amd64
libupower-glib3:amd64
libusb-0.1-4:amd64
libusb-1.0-0:amd64
libusbmuxd6:amd64
libutempter0:amd64
libuuid1:amd64
libvorbis0a:amd64
libvorbisenc2:amd64
libvte-2.91-0:amd64
libvte-2.91-common
libvulkan1:amd64
libwacom-common
libwacom2:amd64
libwayland-client0:amd64
libwayland-cursor0:amd64
libwayland-egl1:amd64
libwayland-server0:amd64
libwbclient0:amd64
libwebp6:amd64
libwebpdemux2:amd64
libwebpmux3:amd64
libwnck-3-0:amd64
libwnck-3-common
libwoff1:amd64
libwrap0:amd64
libx11-6:amd64
libx11-data
libx11-xcb1:amd64
libxapian30:amd64
libxatracker2:amd64
libxau6:amd64
libxaw7:amd64
libxcb-dri2-0:amd64
libxcb-dri3-0:amd64
libxcb-glx0:amd64
libxcb-icccm4:amd64
libxcb-image0:amd64
libxcb-keysyms1:amd64
libxcb-present0:amd64
libxcb-randr0:amd64
libxcb-render-util0:amd64
libxcb-render0:amd64
libxcb-shape0:amd64
libxcb-shm0:amd64
libxcb-sync1:amd64
libxcb-util1:amd64
libxcb-xfixes0:amd64
libxcb-xinerama0:amd64
libxcb-xinput0:amd64
libxcb-xkb1:amd64
libxcb1:amd64
libxcomposite1:amd64
libxcursor1:amd64
libxdamage1:amd64
libxdmcp6:amd64
libxext6:amd64
libxfce4panel-2.0-4
libxfce4ui-2-0:amd64
libxfce4ui-common
libxfce4ui-utils
libxfce4util-common
libxfce4util7:amd64
libxfconf-0-3:amd64
libxfixes3:amd64
libxfont2:amd64
libxft2:amd64
libxi6:amd64
libxinerama1:amd64
libxkbcommon-x11-0:amd64
libxkbcommon0:amd64
libxkbfile1:amd64
libxklavier16:amd64
libxml2:amd64
libxmu6:amd64
libxmuu1:amd64
libxnvctrl0:amd64
libxpm4:amd64
libxpresent1:amd64
libxrandr2:amd64
libxrender1:amd64
libxres1:amd64
libxshmfence1:amd64
libxslt1.1:amd64
libxt6:amd64
libxtables12:amd64
libxtst6:amd64
libxv1:amd64
libxxf86dga1:amd64
libxxf86vm1:amd64
libxxhash0:amd64
libz3-4:amd64
libzstd1:amd64
lightdm
lightdm-gtk-greeter
linux-base
linux-image-5.10.0-21-amd64
linux-image-amd64
locales
login
logrotate
logsave
lsb-base
lsof
lz4
lzip
man-db
mawk
media-types
mount
mueller7-dict
mx-greybird-themes
nano
ncurses-base
ncurses-bin
netbase
nftables
openssh-client
openssh-server
openssh-sftp-server
openssl
os-prober
p7zip
p7zip-full
parted
passwd
pci.ids
pciutils
perl
perl-base
perl-modules-5.32
policykit-1
procps
progress
psmisc
pv
python3
python3-certifi
python3-chardet
python3-distutils
python3-gi
python3-idna
python3-ldb
python3-lib2to3
python3-minimal
python3-pkg-resources
python3-psutil
python3-requests
python3-six
python3-talloc:amd64
python3-urllib3
python3.9
python3.9-minimal
qbittorrent
re
readline-common
rsyslog
runit-helper
samba-libs:amd64
sed
sensible-utils
shared-mime-info
squashfs-tools
ssh
sshpass
sshuttle
sudo
synaptic
systemd
systemd-sysv
sysvinit-utils
tar
task-cyrillic
task-russian
tasksel
tasksel-data
thunar
thunar-archive-plugin
thunar-data
thunar-volman
tzdata
ucf
udev
udisks2
unzip
upower
usbutils
util-linux
vim-common
vim-tiny
wamerican
wget
whiptail
x11-apps
x11-common
x11-session-utils
x11-utils
x11-xkb-utils
x11-xserver-utils
xauth
xdg-utils
xfce4-helpers
xfce4-panel
xfce4-power-manager
xfce4-power-manager-data
xfce4-screenshooter
xfce4-session
xfce4-settings
xfce4-taskmanager
xfce4-terminal
xfce4-whiskermenu-plugin:amd64
xfconf
xfdesktop4
xfdesktop4-data
xfonts-100dpi
xfonts-75dpi
xfonts-base
xfonts-encodings
xfonts-scalable
xfonts-utils
xfwm4
xinit
xkb-data
xorg
xorg-docs-core
xserver-common
xserver-xorg
xserver-xorg-core
xserver-xorg-input-all
xserver-xorg-input-libinput
xserver-xorg-video-all
xserver-xorg-video-amdgpu
xserver-xorg-video-ati
xserver-xorg-video-fbdev
xserver-xorg-video-nouveau
xserver-xorg-video-radeon
xserver-xorg-video-vesa
xserver-xorg-video-vmware
xxd
xz-utils
zip
zlib1g:amd64
zstd

Думаю, может переустановить систему заново, собственно, дело недолгое:

apt autoremove --purge  *5.10.0-20*
apt update
apt install firmware-amd-graphics
apt install dpkg tar man
dpkg -i theme.deb
apt install pv zstd progress inxi genisoimage gzip ssh sshpass sshuttle sudo wget xz-utils zip lz4 fdisk upower file-roller gvfs unzip lzip gvfs-backends thunar xfce4-panel xfce4-session xfce4-settings xfce4-terminal xfconf xfdesktop4 xfwm4 libxfce4ui-utils thunar-volman xfce4-screenshooter thunar-archive-plugin xfce4-taskmanager xfce4-whiskermenu-plugin xfce4-power-manager squashfs-tools xinit xorg galculator geany gparted synaptic bleachbit lightdm lightdm-gtk-greeter alsa-tools alsa-topology-conf alsa-ucm-conf alsa-utils dialog libfftw3-bin libfftw3-dev chromium qbittorrent xfce4-appfinder- xfce4-notifyd- xfce4-xkb-plugin- gnome-accessibility-themes- gnome-themes-extra- gnome-themes-extra-data- *accessibility- *accessibility*- --no-install-recommends --no-install-suggests

Убрать только вот эту часть:

xfce4-appfinder- xfce4-notifyd- xfce4-xkb-plugin- gnome-accessibility-themes- gnome-themes-extra- gnome-themes-extra-data- *accessibility- *accessibility*- --no-install-recommends --no-install-suggests

Но вроде и размер iso получается всего 580 МБ, самое то, чтобы закинуть в оперативную память. А со всеми рекомендованными - в разы больше.

Starover
() автор топика