Cadmium icon indicating copy to clipboard operation
Cadmium copied to clipboard

Installation aborts after "Package ntpdate is not available, but is referred to by another package." on my Lenovo Duet

Open trashbytes opened this issue 6 months ago • 11 comments

I'm using the latest 0.4.0 release.

It's asking which UI I want, then this happens and I'm back at the shell.

trashbytes avatar May 26 '25 10:05 trashbytes

I am having the same issue. I chose gnome for the UI, then an error message appears.

"Error: Package 'ntpdate' has no installation candidate."

I tried 'apt-get install ntpdate' and it says the latest package is installed. I tried Lomiri as well. It also said ntpsec-ntupdate could replace it, so I ran 'apt-get install ntpsec'. I then rebooted.

Same error.

zachgillette avatar May 30 '25 20:05 zachgillette

Yup, I've tried exactly the same.

I've even tried disabling the only line in the install script that references ntpdate directly, but something other must call it, as the issue persists.

trashbytes avatar May 30 '25 20:05 trashbytes

Hello. The issue caused by package that was renamed in debian repos. You can fix it manually:

  • nano /CdFiles/fs/debian/build
  • Under: # packages: FS_PKGS_CD_BASE= fix ntpdate to ntpsec-ntpdate

AveraheLinuxUser avatar Jun 02 '25 07:06 AveraheLinuxUser

I don't quite understand. I can't find any line with #packages or FS_PKGS_CD_BASE or anything like that in that file. It's just a few lines.

trashbytes avatar Jun 02 '25 09:06 trashbytes

I showed you the file must be corrected: /CdFiles/fs/debian/build Its right in the root directory

AveraheLinuxUser avatar Jun 02 '25 09:06 AveraheLinuxUser

I can locate and edit the file.

Neither of these three lines exist:

  • # packages:
  • FS_PKGS_CD_BASE=
  • fix ntpdate to ntpsec-ntpdate

So I don't know what you're trying to say. Should I put something under these lines? That would be impossible, since none of these exist and therefore I cannot add something under any of these lines.

Should I append these lines to the end of the file? Doesn't look like correct syntax to me as a whole.

Sorry, could you be more specific?

trashbytes avatar Jun 02 '25 11:06 trashbytes

Ok the file is not "build" file is "info", i was wrong. Just copy paste this: sed -i 's/ntpdate/ntpsec-ntpdate/g' /CdFiles/fs/debian/info Than as usual use "install" script

AveraheLinuxUser avatar Jun 02 '25 15:06 AveraheLinuxUser

I updated /CdFiles/fs/debian/info using nano and this did the trick. Sed didn't work - couldn't figure out how to type the ' character on this stupid keyboard.

EDIT: the install seems corrupted - booting from internal gives me a weird, jumbled screen. Selected gnome as UI.

zachgillette avatar Jun 02 '25 16:06 zachgillette

What device do you have?

AveraheLinuxUser avatar Jun 02 '25 17:06 AveraheLinuxUser

Same issue here as well.

Installed fine now, but screen is glitched on both gnome and phosh, haven't tried the others.

I have a Lenovo Duet.

KRANE-ZDKS

trashbytes avatar Jun 02 '25 19:06 trashbytes

I tried Lomiri as well, same problem. It displays flickering tiny mini-screens in glitchy columns. Oddly, the mouse cursor displays fine.

zachgillette avatar Jun 02 '25 20:06 zachgillette