How to install a deb package on manjaro (mcuexpresso)?

Hi,

I know that this is horrendously bad practice but I need to install mcuexpresso on my computer. I have tried using the AUR package but it fails to download the file with a 403 error. I have also tried debtap but that fails because debtap -u gives a gzip error.
AUR output:

bash -c "yay -S --aur aur/mcuxpresso-ide ;echo 'Press any key to continue...'"
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:2]  jlink-software-and-documentation-31:6.86e-0  mcuxpresso-ide-11.2.1_4149-1

  2 jlink-software-and-documentation         (Build Files Exist)
  1 mcuxpresso-ide                           (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> A
:: Deleting (1/2): /home/george/.cache/yay/jlink-software-and-documentation
:: Deleting (2/2): /home/george/.cache/yay/mcuxpresso-ide
:: Downloaded PKGBUILD (1/2): mcuxpresso-ide
:: Downloaded PKGBUILD (2/2): jlink-software-and-documentation
  2 jlink-software-and-documentation         (Build Files Exist)
  1 mcuxpresso-ide                           (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> N
:: (1/2) Parsing SRCINFO: jlink-software-and-documentation
:: (2/2) Parsing SRCINFO: mcuxpresso-ide
==> Making package: jlink-software-and-documentation 31:6.86e-0 (Sun 18 Oct 2020 10:11:10 BST)
==> Retrieving sources...
  -> Found 99-jlink.rules.patch
  -> Downloading JLink_Linux_686e_x86_64.tgz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 42.8M  100 42.8M  100    55  6878k      8  0:00:06  0:00:06 --:--:-- 6214k
==> Validating source files with md5sums...
    99-jlink.rules.patch ... Passed
==> Validating source_x86_64 files with md5sums...
    JLink_Linux_686e_x86_64.tgz ... Passed
==> Making package: mcuxpresso-ide 11.2.1_4149-1 (Sun 18 Oct 2020 10:11:17 BST)
==> Retrieving sources...
  -> Downloading mcuxpressoide-11.2.1_4149.x86_64.deb.bin...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 403 Forbidden
==> ERROR: Failure while downloading https://freescaleesd.flexnetoperations.com/337170/687/17360687/mcuxpressoide-11.2.1_4149.x86_64.deb.bin
    Aborting...
error downloading sources: mcuxpresso-ide
Press any key to continue...

Debtap output:

sudo debtap -u
[sudo] password for george: 
==> Synchronizing pkgfile database...
:: Updating 4 repos...
  multilib is up to date
  core is up to date
  extra is up to date
  community is up to date
==> Synchronizing debtap database...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 40.1M  100 40.1M    0     0  13.7M      0  0:00:02  0:00:02 --:--:-- 13.7M
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  993k  100  993k    0     0  3881k      0 --:--:-- --:--:-- --:--:-- 3881k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  324k  100  324k    0     0  1535k      0 --:--:-- --:--:-- --:--:-- 1535k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404 Not Found

gzip: /var/cache/debtap/ubuntu-packages-files.gz: unexpected end of file
Synchronization failed. Exiting...

Thanks in advance

This is purely guesswork on my side.

That is obvious

Even more obvious


Seems you are not allowed to download the package - this can be due to a change in license - allowing only logged in users to retrieve the package .

1 Like

Following @linux-aarhus’ comment, once you’ve downloaded the .deb from the website, you could install the package the Arch way, replacing the source URL for your local one beforehand in the PKGBUILD.