Why this sudden change of behavior, and what can I do about it?Not authorized to perform operation (polkit authority not available and caller is
not uid 0).
I thank you in advance, any help will be greatly appreciated.
Why this sudden change of behavior, and what can I do about it?Not authorized to perform operation (polkit authority not available and caller is
not uid 0).
Code: Select all
sudo systemctl status polkit.service
Code: Select all
pkaction | grep mount
Code: Select all
luiz@debian:~$ su
Password:
root@debian:/home/luiz# systemctl status polkit.service
● polkit.service - Authorization Manager
Loaded: loaded (/lib/systemd/system/polkit.service; static; vendor preset: enabled)
Active: active (running) since Thu 2020-01-16 15:16:15 PST; 1h 51min ago
Docs: man:polkit(8)
Main PID: 739 (polkitd)
Tasks: 3 (limit: 2307)
Memory: 2.5M
CGroup: /system.slice/polkit.service
└─739 /usr/lib/policykit-1/polkitd --no-debug
Jan 16 15:16:15 debian systemd[1]: Starting Authorization Manager...
Jan 16 15:16:15 debian polkitd[739]: started daemon version 0.105 using authority implementation `local'
Jan 16 15:16:15 debian systemd[1]: Started Authorization Manager.
Jan 16 15:17:53 debian polkitd(authority=local)[739]: Registered Authentication Agent for unix-session:3
Jan 16 16:58:22 debian polkitd(authority=local)[739]: Operator of unix-session:3 successfully authenticat
Code: Select all
root@debian:/home/luiz# pkaction | grep mount
org.freedesktop.udisks2.filesystem-mount
org.freedesktop.udisks2.filesystem-mount-other-seat
org.freedesktop.udisks2.filesystem-mount-system
org.freedesktop.udisks2.filesystem-unmount-others
Code: Select all
root@debian:/home/luiz# apt policy
Package files:
100 /var/lib/dpkg/status
release a=now
500 https://dl.winehq.org/wine-builds/debian buster/main i386 Packages
release o=dl.winehq.org,a=stable,n=buster,l=winehq,c=main,b=i386
origin dl.winehq.org
100 http://ftp.debian.org/debian buster-backports/main i386 Packages
release o=Debian Backports,a=buster-backports,n=buster-backports,l=Debian Backports,c=main,b=i386
origin ftp.debian.org
500 http://security.debian.org stable/updates/main i386 Packages
release v=10,o=Debian,a=stable,n=buster,l=Debian-Security,c=main,b=i386
origin security.debian.org
500 http://ftp.fr.debian.org/debian stable-updates/main i386 Packages
release o=Debian,a=stable-updates,n=buster-updates,l=Debian,c=main,b=i386
origin ftp.fr.debian.org
500 http://ftp.fr.debian.org/debian stable/non-free i386 Packages
release v=10.2,o=Debian,a=stable,n=buster,l=Debian,c=non-free,b=i386
origin ftp.fr.debian.org
500 http://ftp.fr.debian.org/debian stable/contrib i386 Packages
release v=10.2,o=Debian,a=stable,n=buster,l=Debian,c=contrib,b=i386
origin ftp.fr.debian.org
500 http://ftp.fr.debian.org/debian stable/main i386 Packages
release v=10.2,o=Debian,a=stable,n=buster,l=Debian,c=main,b=i386
origin ftp.fr.debian.org
500 http://deb.debian.org/debian buster-updates/main i386 Packages
release o=Debian,a=stable-updates,n=buster-updates,l=Debian,c=main,b=i386
origin deb.debian.org
500 http://security.debian.org/debian-security buster/updates/main i386 Packages
release v=10,o=Debian,a=stable,n=buster,l=Debian-Security,c=main,b=i386
origin security.debian.org
500 http://deb.debian.org/debian buster/main i386 Packages
release v=10.2,o=Debian,a=stable,n=buster,l=Debian,c=main,b=i386
origin deb.debian.org
Pinned packages:
Code: Select all
root@debian:/home/luiz# systemctl status polkit.service
● polkit.service - Authorization Manager
Loaded: loaded (/lib/systemd/system/polkit.service; static; vendor preset: enabled)
Active: active (running) since Sat 2020-01-18 15:05:06 PST; 26min ago
Docs: man:polkit(8)
Main PID: 965 (polkitd)
Tasks: 3 (limit: 2306)
Memory: 2.4M
CGroup: /system.slice/polkit.service
└─965 /usr/lib/policykit-1/polkitd --no-debug
Jan 18 15:05:04 debian systemd[1]: Starting Authorization Manager...
Jan 18 15:05:06 debian polkitd[965]: started daemon version 0.105 using authority implementation
Jan 18 15:05:06 debian systemd[1]: Started Authorization Manager.
Jan 18 15:06:26 debian polkitd(authority=local)[965]: Registered Authentication Agent for unix-se
Code: Select all
root@debian:/home/luiz# pkaction | grep mount
org.freedesktop.udisks2.filesystem-mount
org.freedesktop.udisks2.filesystem-mount-other-seat
org.freedesktop.udisks2.filesystem-mount-system
org.freedesktop.udisks2.filesystem-unmount-others
Code: Select all
root@debian:/home/luiz# apt policy
Package files:
100 /var/lib/dpkg/status
release a=now
500 https://dl.winehq.org/wine-builds/debian buster/main i386 Packages
release o=dl.winehq.org,a=stable,n=buster,l=winehq,c=main,b=i386
origin dl.winehq.org
100 http://ftp.debian.org/debian buster-backports/main i386 Packages
release o=Debian Backports,a=buster-backports,n=buster-backports,l=Debian Backports,c=main,b=i386
origin ftp.debian.org
500 http://security.debian.org stable/updates/main i386 Packages
release v=10,o=Debian,a=stable,n=buster,l=Debian-Security,c=main,b=i386
origin security.debian.org
500 http://ftp.fr.debian.org/debian stable-updates/main i386 Packages
release o=Debian,a=stable-updates,n=buster-updates,l=Debian,c=main,b=i386
origin ftp.fr.debian.org
500 http://ftp.fr.debian.org/debian stable/non-free i386 Packages
release v=10.2,o=Debian,a=stable,n=buster,l=Debian,c=non-free,b=i386
origin ftp.fr.debian.org
500 http://ftp.fr.debian.org/debian stable/contrib i386 Packages
release v=10.2,o=Debian,a=stable,n=buster,l=Debian,c=contrib,b=i386
origin ftp.fr.debian.org
500 http://ftp.fr.debian.org/debian stable/main i386 Packages
release v=10.2,o=Debian,a=stable,n=buster,l=Debian,c=main,b=i386
origin ftp.fr.debian.org
500 http://deb.debian.org/debian buster-updates/main i386 Packages
release o=Debian,a=stable-updates,n=buster-updates,l=Debian,c=main,b=i386
origin deb.debian.org
500 http://security.debian.org/debian-security buster/updates/main i386 Packages
release v=10,o=Debian,a=stable,n=buster,l=Debian-Security,c=main,b=i386
origin security.debian.org
500 http://deb.debian.org/debian buster/main i386 Packages
release v=10.2,o=Debian,a=stable,n=buster,l=Debian,c=main,b=i386
origin deb.debian.org
Pinned packages:
HoaS is referring to the fact you are using the Wine repos in your /etc/apt/sources.list or under /etc/apt/sources.list.dluiznetto wrote: What are "wine repositories", please?
Code: Select all
luiz@debian:~$ cat /etc/apt/sources.list
#
# deb cdrom:[Official Debian GNU/Linux Live 10.0.0 lxde 2019-07-06T11:17]/ buster main
#deb cdrom:[Official Debian GNU/Linux Live 10.0.0 lxde 2019-07-06T11:17]/ buster main
deb http://deb.debian.org/debian/ buster main
deb-src http://deb.debian.org/debian/ buster main
deb http://security.debian.org/debian-security buster/updates main
deb-src http://security.debian.org/debian-security buster/updates main
# buster-updates, previously known as 'volatile'
deb http://deb.debian.org/debian/ buster-updates main
deb-src http://deb.debian.org/debian/ buster-updates main
# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
#------------------------------------------------------------------------------#
# OFFICIAL DEBIAN REPOS
#------------------------------------------------------------------------------#
###### Debian Main Repos
deb http://ftp.fr.debian.org/debian/ stable main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ stable main contrib non-free
deb http://ftp.fr.debian.org/debian/ stable-updates main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ stable-updates main contrib non-free
deb http://security.debian.org/ stable/updates main
deb-src http://security.debian.org/ stable/updates main
deb http://ftp.debian.org/debian buster-backports main
deb-src http://ftp.debian.org/debian buster-backports main
#------------------------------------------------------------------------------#
# UNOFFICIAL REPOS
#------------------------------------------------------------------------------#
###### 3rd Party Binary Repos
###Debian Multimedia
deb [arch=amd64,i386] https://www.deb-multimedia.org buster main non-free
###Google Chrome Browser
#deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
###Google Earth
#deb [arch=amd64] http://dl.google.com/linux/earth/deb/ stable main
###Wine
deb [arch=i386] https://dl.winehq.org/wine-builds/debian/ buster main
Code: Select all
luiz@debian:/etc/apt/sources.list.d$ cat multimedia.list
deb https://www.deb-multimedia.org buster main non-free
Code: Select all
apt-get install reprepro
Code: Select all
reprepro -b /home/repo-bionic/ubuntu list bionic > repo.lst
Code: Select all
#!/bin/bash
reprepro -b /home/repo-bionic/ubuntu list bionic > repo.lst
#reprepro list bionic > repo.lst
cut -d " " -f 2 repo.lst |sort > repo_names
grep -E ^lib repo_names |sort > repo_libs
grep -E -v ^lib repo_names |sort > repo_main
chown 1001:1000 repo.lst repo_names repo_libs repo_main
cp -af repo.lst repo_names repo_libs repo_main /home/peter/archive/Ubuntu/
#apt-get update
The non-Debian ones. I am especially suspicious of deb-multimedia, we've had problems with them before.luiznetto wrote:Which repositories are the culprits, in your view?
This should show all packages not from the Debian repositories:luiznetto wrote:how can I know which packages come from which repository?
Code: Select all
aptitude search '?narrow(?installed, !?origin(debian))'
Possibly.luiznetto wrote:if I uninstall those packages, will the problem go away?
Code: Select all
luiz@debian:~$ aptitude search '?narrow(?installed, !?origin(debian))'
i A linux-headers-4.19.0-5-686-pae - Header files for Linux 4.19.0-5-686-pae
i A linux-headers-4.19.0-5-common - Common header files for Linux 4.19.0-5
i A linux-headers-686-pae - Header files for Linux 686-pae configuration (meta
i linux-image-4.19.0-5-686 - Linux 4.19 for older PCs (signed)
i linux-image-686 - Linux for older PCs (meta-package)
i A uim - Universal Input Method - main binary package
i A uim-anthy - Universal Input Method - Anthy support metapackage
i A uim-data - Universal Input Method - data files
i A uim-fep - Universal Input Method - front end processor
i A uim-gtk2.0 - Universal Input Method - GTK+2.x front end
i A uim-gtk2.0-immodule - Universal Input Method - GTK+2.x IM-module
i A uim-gtk3 - Universal Input Method - GTK+3.x front end
i A uim-gtk3-immodule - Universal Input Method - GTK+3.x IM module
i A uim-qt5 - Universal Input Method - Qt 5.x front end
i A uim-qt5-immodule - Universal Input Method - Qt 5.x IM module
i A uim-xim - Universal Input Method - XIM compatibility interfa
Your kernel installation is all messed up. It would be wise to reinstall them from the main repo or just reinstall your system with the recommended apt repositories.luiznetto wrote:I did what you told me, and here is the result:I don't quite understand it.Code: Select all
luiz@debian:~$ aptitude search '?narrow(?installed, !?origin(debian))' i A linux-headers-4.19.0-5-686-pae - Header files for Linux 4.19.0-5-686-pae i A linux-headers-4.19.0-5-common - Common header files for Linux 4.19.0-5 i A linux-headers-686-pae - Header files for Linux 686-pae configuration (meta i linux-image-4.19.0-5-686 - Linux 4.19 for older PCs (signed) i linux-image-686 - Linux for older PCs (meta-package) i A uim - Universal Input Method - main binary package i A uim-anthy - Universal Input Method - Anthy support metapackage i A uim-data - Universal Input Method - data files i A uim-fep - Universal Input Method - front end processor i A uim-gtk2.0 - Universal Input Method - GTK+2.x front end i A uim-gtk2.0-immodule - Universal Input Method - GTK+2.x IM-module i A uim-gtk3 - Universal Input Method - GTK+3.x front end i A uim-gtk3-immodule - Universal Input Method - GTK+3.x IM module i A uim-qt5 - Universal Input Method - Qt 5.x front end i A uim-qt5-immodule - Universal Input Method - Qt 5.x IM module i A uim-xim - Universal Input Method - XIM compatibility interfa
Code: Select all
apt policy linux-image-686 linux-image-4.19.0-5-686
Is mixing up kernel pae headers with the standard kernel version a good idea....?Head_on_a_Stick wrote:Packages installed from .debs would also show up on that list and the kernel versions look to be from Debian buster.
@OP: can we seeCode: Select all
apt policy linux-image-686 linux-image-4.19.0-5-686
That's why we recommend using the repos from Debianluiznetto wrote:Do you believe I am being the victim of some kind of malware or something? By the way, I was surprised that Debian 10 doesn't install Clamav by default. Does it mean Buster has another way of dealing with viruses?
Code: Select all
#
# deb cdrom:[Official Debian GNU/Linux Live 10.0.0 lxde 2019-07-06T11:17]/ buster main
#deb cdrom:[Official Debian GNU/Linux Live 10.0.0 lxde 2019-07-06T11:17]/ buster main
deb http://deb.debian.org/debian/ buster main
deb-src http://deb.debian.org/debian/ buster main
deb http://security.debian.org/debian-security buster/updates main
deb-src http://security.debian.org/debian-security buster/updates main
# buster-updates, previously known as 'volatile'
deb http://deb.debian.org/debian/ buster-updates main
deb-src http://deb.debian.org/debian/ buster-updates main
# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
Code: Select all
Password:
root@debian:/home/luiz# apt-get update
Hit:1 http://deb.debian.org/debian buster InRelease
Hit:2 http://security.debian.org/debian-security buster/updates InRelease
Hit:3 http://deb.debian.org/debian buster-updates InRelease
Get:4 https://www.deb-multimedia.org buster InRelease [19.5 kB]
Err:4 https://www.deb-multimedia.org buster InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5C808C2B65558117
Reading package lists... Done
W: GPG error: https://www.deb-multimedia.org buster InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5C808C2B65558117
E: The repository 'https://www.deb-multimedia.org buster InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
andThe following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5C808C2B65558117
W: GPG error: https://www.deb-multimedia.org buster InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5C808C2B65558117