Unsandboxed installation on Ubuntu 22

Hello,
I upgraded Rstudio following the pop-up reminders. I am using Ubuntu 22, I downloaded the deb file, and install it on the terminal. But, every time I do this, I get a final error/warning message:

$ sudo apt install ./rstudio-2024.09.0-375-amd64.deb

[sudo] password for gigiux:

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

Note, selecting 'rstudio' instead of './rstudio-2024.09.0-375-amd64.deb'

The following package was automatically installed and is no longer required:

libdeflate-dev

Use 'sudo apt autoremove' to remove it.

The following packages will be upgraded:

rstudio

1 upgraded, 0 newly installed, 0 to remove and 21 not upgraded.

Need to get 0 B/204 MB of archives.

After this operation, 19.5 MB disk space will be freed.

Get:1 /home/gigiux/Downloads/rstudio-2024.09.0-375-amd64.deb rstudio amd64 2024.09.0+375 [204 MB]

(Reading database ... 266044 files and directories currently installed.)

Preparing to unpack .../rstudio-2024.09.0-375-amd64.deb ...

Unpacking rstudio (2024.09.0+375) over (2024.04.2+764) ...

Setting up rstudio (2024.09.0+375) ...

Processing triggers for mailcap (3.70+nmu1ubuntu1) ...

Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...

Processing triggers for hicolor-icon-theme (0.17-2) ...

Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...

Processing triggers for shared-mime-info (2.1-2) ...

N: Download is performed unsandboxed as root as file '/home/gigiux/Downloads/rstudio-2024.09.0-375-amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)

Is this bad? Has the installation succeded?
How can I get rid of this warning?

Thank you

Does RStudio open for you and, if so, does Help > About RStudio show the correct version?

I now have Rstudio 2024.09.0 Build 375 so I guess the installation was successful. But why the last warning then? Thank you.

I think it has to do with your using apt install with a .deb file, as opposed to dpkg -i with the .deb file or apt install with a package name (e.g., "rstudio"). What you did was perfectly legal, but under the hood there is some technical stuff going on. Personally, I just double click the .deb file (on Linux Mint) and let nature take its course. :wink:

1 Like

Thank you, I was not aware of such a difference. I'll try it next time.