Irda infrared help

$ chmod u+x ./jpilot.sh
sudo ./jpilot.sh
[sudo] password di Andrea: 
Detected operating system as Ubuntu/jammy.
Checking for curl...
Detected curl...
Checking for gpg...
Detected gpg...
Detected apt version as 2.6.1
Running apt-get update... done.
Installing apt-transport-https... done.
Installing /etc/apt/sources.list.d/judd_jpilot.list...done.
Importing packagecloud gpg key... Packagecloud gpg key imported to /etc/apt/keyrings/judd_jpilot-archive-keyring.gpg
done.
Running apt-get update... done.

The repository is setup! You can now install packages.

Trying to install jpilot:

$ sudo apt install jpilot jpilot-plugins
Reading package list... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to find package jpilot
E: Unable to find package jpilot-plugins

I also ran:

$ sudo apt-get update
Found:1 http://ftp.it.debian.org/debian bookworm-updates InRelease
Found:2 http://it.mxrepo.com/antix/bookworm bookworm InRelease
Found:3 http://deb.debian.org/debian bookworm-backports InRelease
Found:4 http://ftp.it.debian.org/debian bookworm InRelease
Found:5 http://security.debian.org bookworm-security InRelease
Found:6 http://shop.softmaker.com/repo/apt stable InRelease
Found:7 https://packagecloud.io/judd/jpilot/ubuntu jammy InRelease
Reading package list... Done

Apparently

https://packagecloud.io/judd/jpilot/ubuntu jammy InRelease

seems to be present, but the package is not found same.

Of course... I completely forgot about that :man_facepalming:

Well, I don't know if it'll work but we can try. Since the repository list already exists you can just replace those lines with:

sudo sed -i -e 's/ubuntu/debian/g' -e 's/jammy/bookworm/g' /etc/apt/sources.list.d/judd_jpilot.list

Then, you can run sudo apt update and try again, see what happens.

E: The repository "https://packagecloud.io/judd/jpilot/debian bookworm Release" does not have a Release file.
N: Updating from this repository cannot be done securely and is therefore disabled by default.
N: See the apt-secure(8) man page for repository creation and user configuration.

It's strange that you can add that repository but they are using a different signing key for that...

So, unfortunately, I think at this point all you can really do is raise an issue with the developers and ask them to support other distributions, or provide instructions that work for those.

To undo the changes you've made:

sudo rm /etc/apt/keyrings/judd_jpilot-archive-keyring.gpg
sudo rm /etc/apt/sources.list.d/judd_jpilot.list

I finally did it! I solved it like this:

sudo apt-get update 
sudo apt-get install build-essential autoconf automake libtool pkg-config

I searched for the archived i386 packages on the debian site: pilot-link_0.12.5-dfsg-2+b3_i386.deb and the required dependencies and jpilot_1.8.2-2_i386.deb, jpilot-plugins_1.8.2-2_i386.deb
The program starts.
Photo showing the program launch:

Pilot-link is installed correctly:

pilot-xfer --version
DEPRECATED: The application is calling print_splash()
.-------------------------------------------.
| (c) Copyright 1996-2006, pilot-link team |
| Join the pilot-link lists to help out. |
`------------------------------------------'
 This is pilot-xfer, from pilot-link version 0.12.5

 Build target..: i686-pc-linux-gnu
 Build date....: Aug 9 2015 14:25:03

 pilot-link 0.12.5 is covered under the GPL/LGPL
 See the file COPYING under docs for more info.

 Please use --help for more detailed options.

Although I have installed infrared, and you can see:

$ lsmod | grep irda
irda                  139264  1 smsc_ircc2
$ sudo dmesg | grep tty
[sudo] password di Andrea: 
[    0.114854] printk: console [tty0] enabled
[    5.075807] 00:06: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A

I can't sync my PDA with jpilot. I don't know if I'm missing a step...

2 Likes