miktex
miktex copied to clipboard
Support for Debian 11/Ubuntu 22.04
Hi Christian,
Is support for Debian 11 (current stable release) and Ubuntu 22.04 (latest LTS) planned?
Thanks for developing MiKTeX.
Here's my experience trying to install it in Ubuntu 22.04.
I tried the installation steps here https://github.com/MiKTeX/miktex/discussions/680
The final step sudo apt-get install miktex
resulted in the following error:
$ sudo apt-get install miktex
Reading package lists... Done
Building dependency tree... Done
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:
miktex : Depends: libboost-locale1.71.0 but it is not installable
Depends: libicu66 (>= 66.1-1~) but it is not installable
Depends: liblog4cxx10v5 (>= 0.10.0) but it is not installable
Depends: libssl1.1 (>= 1.1.0) but it is not installable
E: Unable to correct problems, you have held broken packages.
From here I'm not sure how to proceed.
I'm thinking to install a dedicated Ubuntu 20.04 OS so that I can use MikTek.
Hello.
I will be grateful if you can create the jammy/
dictionary in CTAN/systems/win32/miktex/setup/deb/dists/
.
I mean, I will be grateful if I can install MiKTeX in Ubuntu 22.04 from CTAN.
Packages for Debian 11 and Ubuntu 22.04 are now available.
Hooray! Thank you so much.
Maybe there is a signature problem? On Ubuntu 22.04, I got:
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://mirror.funkfreundelandshut.de/latex/systems /win32/miktex/setup/deb jammy InRelease: The following signatures were invalid: EXPKEYSIG 277A7293F59E4889 MiKTeX Packager <[email protected]> W: Failed to fetch http://miktex.org/download/ubuntu/dists/jammy/InRelease The following signatures were invalid: EXPKEYSIG 277A7293F59E4889 MiKTeX Packager <[email protected]> W: Some index files failed to download. They have been ignored, or old ones used instead.
My sources.list:
deb [arch=amd64 signed-by=/usr/share/keyrings/miktex.gpg] http://miktex.org/download/ubuntu jammy universe
The file miktex.gpg is created using this "modern way" (see https://www.digitalocean.com/community/tutorials/how-to-handle-apt-key-and-add-apt-repository-deprecation-using-gpg-to-add-external-repositories-on-ubuntu-22-04):
sudo gpg --homedir /tmp --no-default-keyring --keyring /usr/share/keyrings/miktex.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys D6BC243565B2087BC3F897C9277A7293F59E4889
Do I miss anything?
Thanks for the fantastic work!
All the best Gregor
The key has been expired a few days ago. I renewed it a couple of hours ago.
The key has been expired a few days ago. I renewed it a couple of hours ago.
Perfect. It's working again.
I am having this error while installing miktex on ubuntu 22.04:
W: http://miktex.org/download/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
N: Skipping acquire of configured file 'universe/binary-i386/Packages' as repository 'http://miktex.org/download/ubuntu jammy InRelease' doesn't support architecture 'i386'
I am having this error while installing miktex on ubuntu 22.04:
W: http://miktex.org/download/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details. N: Skipping acquire of configured file 'universe/binary-i386/Packages' as repository 'http://miktex.org/download/ubuntu jammy InRelease' doesn't support architecture 'i386'
You can try to store the key the "modern way" and naming the architecture explicitly. See above.
You can try to store the key the "modern way" and naming the architecture explicitly. See above.
This way?
sudo gpg --homedir /tmp --no-default-keyring --keyring /usr/share/keyrings/miktex.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys D6BC243565B2087BC3F897C9277A7293F59E4889
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/miktex.gpg] http://miktex.org/download/ubuntu jammy universe" | sudo tee /etc/apt/sources.list.d/miktex.list
@
The file miktex.gpg is created using this "modern way" (see https://www.digitalocean.com/community/tutorials/how-to-handle-apt-key-and-add-apt-repository-deprecation-using-gpg-to-add-external-repositories-on-ubuntu-22-04):
sudo gpg --homedir /tmp --no-default-keyring --keyring /usr/share/keyrings/miktex.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys D6BC243565B2087BC3F897C9277A7293F59E4889
Do I miss anything?
@ggruening did this work for you?
@SolNunes Yes, it worked.