hi,
I have a problems install for anydesk program on jetson nano
below is Error
agv@agv-desktop:~$ sudo dpkg -i anydesk_6.1.1-1_amd64.deb
[sudo] password for agv:
(Reading database … 196102 files and directories currently installed.)
Preparing to unpack anydesk_6.1.1-1_amd64.deb …
Failed to stop anydesk.service: Unit anydesk.service not loaded.
Unpacking anydesk:amd64 (6.1.1) over (6.1.1) …
dpkg: dependency problems prevent configuration of anydesk:amd64:
anydesk:amd64 depends on libc6 (>= 2.7).
anydesk:amd64 depends on libgcc1 (>= 1:4.1.1).
anydesk:amd64 depends on libglib2.0-0 (>= 2.16.0).
anydesk:amd64 depends on libgtk2.0-0 (>= 2.20.1).
anydesk:amd64 depends on libstdc++6 (>= 4.1.1).
anydesk:amd64 depends on libx11-6.
anydesk:amd64 depends on libxcb-shm0.
anydesk:amd64 depends on libxcb1.
anydesk:amd64 depends on libpango-1.0-0.
anydesk:amd64 depends on libcairo2.
anydesk:amd64 depends on libxrandr2 (>= 1.3).
anydesk:amd64 depends on libx11-xcb1.
anydesk:amd64 depends on libxtst6.
anydesk:amd64 depends on libxfixes3.
anydesk:amd64 depends on libxdamage1.
anydesk:amd64 depends on libxkbfile1.
anydesk:amd64 depends on libminizip1.
anydesk:amd64 depends on libgtkglext1.
dpkg: error processing package anydesk:amd64 (–install):
dependency problems - leaving unconfigured
Processing triggers for hicolor-icon-theme (0.17-2) …
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) …
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) …
Processing triggers for bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu1) …
Rebuilding /usr/share/applications/bamf-2.index…
Processing triggers for mime-support (3.60ubuntu1) …
Errors were encountered while processing:
anydesk:amd64
agv@agv-desktop:~$
Incidentally, any package will list its architecture from the file name. The “amd64” is always for a desktop PC architecture, but a Jetson is “arm64” (or in some cases “aarch64”…same thing). Packages which don’t care about architecture are “noarch”. Unless your addition is to a desktop PC it won’t work.
If you did have the correct architecture, when you use a networked Jetson it is easier to just use “apt” to install if the packages are available over the internet. Unlike “dpkg”, which is a database style application and can enforce dependencies and not install an invalid package (such as for being the wrong architecture), apt will look for missing dependencies and install those too. An example of your command (which probably also failed due to architecture if it was a Jetson and not a PC), notice this:
anydesk:amd64 depends on libc6 (>= 2.7).
anydesk:amd64 depends on libgcc1 (>= 1:4.1.1).
anydesk:amd64 depends on libglib2.0-0 (>= 2.16.0).
If you were to run the command “sudo apt update”, then the Ubuntu (PC or Jetson) would take a snapshot of what packages are available at that moment, and then if you ran “sudo apt-get upgrade”, then it would upgrade all current packages. I would advise doing that with caution after the first install (which would take a long time to run and might be a problem if you have a custom carrier), but you can also install those dependencies automatically. If for example you have your anydesk:
cd /where/ever/the/dpkg/file/is
sudo apt install ./anydesk...version....deb
…this would install via apt which would serve as a front end for both what is available on the internet and what the requirements are for the anydesk deb file. If packages are not available on the internet, then you’d have to manually find all of those dependencies and add them locally (or add the apt repository to search where the package is available).