I may have developed this issue when removing lists, and then re-making it with sudo mkdir lists apt update, as advised elsewhere.Īlso this solution may be IN ADDITION TO any other solutions, as I had first tried a bunch of other things. Here is one important file branch where default root ownership fails!) The lists directory itself, not just its contents, needs to have owner _apt. that until now, had fixed this issue for me, but that I can now see, is insufficient:įix it with this: sudo chown -R _apt:root /var/lib/apt/lists I can't help but add, tongue in cheek, that the APT discussed here, does not refer to that most terrible of things: Advanced Persistent Threats. So the results are the same with or without the warning! $ sudo diff -r temp1 temp3 # no differences $ sudo diff -r temp1 temp2 # no differences # cd temp3 apt-get source gnupg2 # no warning message now! # - TEST 3: get source into folder owned by _apt:root. # cd temp2 apt-get source gnupg2 # gives warning message: # - TEST 2: get source into folder owned by root. pkgAcquire::Run (13: Permission denied) W: Download is performed unsandboxed as root as file 'gnupg2_2.2.12-1+deb10u1.dsc' couldn't be accessed by user '_apt'. $ cd temp1 sudo apt-get source gnupg2 # gives warning message: Of course, you'll then have to put a more reasonable ownership on this base folder once you're done, because it is strange to be owned by _apt:root.Īre the results the same with or without the warning message? # - TEST 1: get source into folder owned by user. So if you $ mkdir temp sudo chown _apt:root temp sudo -s and # cd temp apt-get source. ![]() where the source will get put) is owned by _apt:root. You have to make sure the folder your sitting in (i.e. It seems this is a case where the user named root simply can't do what the user named _apt can do.Ī partial solution, (one you really don't want to use): ( ref: Kusalananda)Īs Florian pointed out, "apt uses the user _apt to download packages". A warning being something that is abnormal, but that doesn't stop the program from continuing to operate. It seems like after this _apt change was made, a whole bunch of things broke that haven't yet been fully fixed.įirst, apt result lines with a W: prefix are only warnings. Clearly huge numbers of people have been having trouble with the apt tools ever since it was changed to use _apt for it's sand-boxed, secure operations. The web is thick with questions about this warning message, with many different suggested solutions. , even if I try and download as root, like with sudo or su, (Debian 10.4 and apt 1.8.2.1). I get it when I try and download source, with apt-get source. They're non-fatal, and for the most part you can't fix this, and you'll get the same results with or without the warning.Įven when Florian Diesch's fine answer here is implemented, I'm still getting this warning. Specifically, install packages for the latest Xfce desktop environment and the TightVNC package available in the official Debian repository. By default, a Debian 10 server does not come with a graphical desktop environment or a VNC server installed, so begin by installing those. I think that was the vino package which was supported and integrated in gnome desktop.Tl dr Just ignore apt related "W. Step 1 Installing the Desktop Environment and VNC Server. Under Debian 9 (gnome desktop environment) you could set switch to enable remote desktop connections. But here I need access to a current session which is also used during a local login. I have this set-up running on other machines and I think that would also work on this server. I am not searching for a vnc server which has a new session for every user/ login. I'm not totally new to remote desktop under linux and linux in general but somehow I am doing something wrong and my google foo is also not strong enough. Yes there may be set-ups were I could do these programs/processes as services, but my colleagues also may need access and some are not that tech-savvy, so a remote desktop is the best way for them to access. I need to login into that active session because there are programs running that I cannot stop (e.g. ![]() So I'm searching for ways to connect to a current running session on a Debian 10 machine under the default gnome desktop. Dump me updated one of our machines to Debian 10 (from Debian 9 stretch) and only noticed afterwards that the remote desktop feature under gnome is not working any more.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |