[R-sig-Debian] getting started with r2u

ravi rv15| @end|ng |rom y@hoo@@e
Sat May 17 12:57:19 CEST 2025


Dirk,
Thanks for your help. I ran the command
sudo sh add_cranapt_noble.sh

This time, it proceeded well till it came to the following hurdle:
Execution halted
E: Unable to locate package python3-{dbus,gi,apt}
Error in loadNamespace(x) : there is no package called ‘bspm’
Calls: suppressMessages ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart

I ran 
ravi using ravi-P15xEMx:~/Downloads$ python3 --version
Python 3.12.3

What do I do about 
python3-{dbus,gi,apt}

How do I get dbus (and other packages?) installed? Why doesn't the script automatically take care of this? Is this a symptom that something else is also broken?
Thanks, Ravi



On Saturday, 17 May 2025 at 10:11:26 CEST, Dirk Eddelbuettel <edd using debian.org> wrote: 






Ravi,

On 16 May 2025 at 17:07, ravi via R-SIG-Debian wrote:
| I decided to run the add_cranapt_noble.sh script again. I see the following now:
| 
|  
| 
| ravi using ravi-P15xEMx:~$ sudo chmod +x /home/ravi/Downloads

You use sudo here.

| ravi using ravi-P15xEMx:~/Downloads$ cd /home/ravi/Downloads
| 
| ravi using ravi-P15xEMx:~/Downloads$ sh add_cranapt_noble.sh

You are supposed to use sudo here, but do not do so.


[...]

| Please let me know what I can do.


Run as sudo. The documentation preceding the script steps clearly states

  You should run all these commands as `root` to carefully review each one.

(and I guess I meant 'so carefully review' not 'to', will fix). The scripts
from inst/scripts contain the header comment

  ## Note that you need to run this as root

Let us know how it goes.

Good luck, Dirk

-- 
dirk.eddelbuettel.com | @eddelbuettel | edd using debian.org



More information about the R-SIG-Debian mailing list