Hello guys ! I’ll try to keep this short, as I’m coming off a whole day of trying to fix a problem that (in my mind) shouldn’t even be happening. Don’t hesitate to ask for details, but right now I need a good night’s sleep…
I’m trying to setup a Jetson Nano using the JetPack 4.6 image from nVidia. Couldn’t be more official. For those who don’t know, it’s essentially Ubuntu 18.04 targetted at the Tegra X1 SoC on the Jetson Nano. And it comes with all sorts of crazy issues that include, for example, the System Settings tool crashing if you try to setup Desktop Sharing, or the CPU fan not being turned on unless you take care of it with a custom script on startup. Not the most mature distro, in spite of what “4.6” might suggest.
Last time I had to setup a Nano, I could “apt-get install” anything I needed, no problem, no worries. That’s no longer the case. As an example, here’s the output I get when I try to install samba with the command “sudo apt-get install samba” :
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
samba : Depends: python-samba but it is not going to be installed
Depends: samba-common-bin (= 2:4.7.6+dfsg~ubuntu-0ubuntu2) but it is not going to be installed
Depends: samba-libs (= 2:4.7.6+dfsg~ubuntu-0ubuntu2) but 2:4.7.6+dfsg~ubuntu-0ubuntu2.23 is to be installed
Recommends: samba-dsdb-modules but it is not going to be installed
Recommends: samba-vfs-modules but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I have no idea why “python-samba” wouldn’t be installed. The message reads more like a tantrum than an error message.
I have no idea why some of the packages have weird “~ubuntu” suffixes behind their version numbers. Surely 2:4.7.6 is 2:4.7.6. Moreover, it seems like the tool is complaining that it can’t get older versions of packages.
For example, on a previous attempt at setting up this system, I was able to install samba (and other packages) using “aptitude” instead of “apt-get”. It would also give me the same error, but then it would propose to downgrade some of the package and install without error.
This is the first time since apt-get has been invented that I have to resort to this workaround and I do not like it. I want to be able to install software the way I always do, the way it’s meant to work.
This issue happens on all sorts of packages, by the way. There’s no particular pattern.
Naturally, I’ve tried to find some leads using Google, but nothing has panned out. I’m hoping there’s a package manager guru among us who can show me the light.
