WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 946dde0

Browse files
committed
998707-ug: Added content under TroubleShooting section for HTML to PDF conversion.
1 parent 79af6fa commit 946dde0

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

Document-Processing/PDF/Conversions/HTML-To-PDF/NET/troubleshooting.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1452,6 +1452,45 @@ After the service restarts, try the conversion or operation again to ensure the
14521452

14531453
</table>
14541454

1455+
## Ubuntu 24.04 dependency install fails: libasound2 migrated to libasound2t64; libgconf-2-4 removed
1456+
1457+
<table>
1458+
<th style="font-size:14px" width="100px">Exception</th>
1459+
<th style="font-size:14px">Installing dependencies on Ubuntu 24.04 fails when attempting to install libasound2 and libgconf-2-4, leading to build/launch errors
1460+
</th>
1461+
<tr>
1462+
<th style="font-size:14px" width="100px">Reason
1463+
</th>
1464+
<td>
1465+
<b>Time64 transition:</b> Ubuntu 24.04 adopted 64-bit timestamp support, renaming several libraries with the t64 suffix. libasound2 is now a virtual package provided by libasound2t64, so installing libasound2 directly fails.
1466+
1467+
<b>Deprecated removal:</b> libgconf-2-4 was deprecated and removed starting with Ubuntu 23.10 and is not available in 24.04 repositories.
1468+
</td>
1469+
</tr>
1470+
<tr>
1471+
<th style="font-size:14px" width="100px">Solution</th>
1472+
<td>
1473+
Update the dependency installation script to use t64 packages and omit libgconf-2-4. The following command installs the supported libraries on Ubuntu 24.04:
1474+
1475+
{% tabs %}
1476+
{% highlight C# %}
1477+
1478+
Run apt-get update && apt-get install -yq --no-install-recommends \
1479+
libasound2t64 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 \
1480+
libfontconfig1 libgcc-s1 libgdk-pixbuf2.0-0 libglib2.0-0t64 libgtk-3-0t64 \
1481+
libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 \
1482+
libxcb1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 \
1483+
libxrender1 libxss1 libxtst6 libnss3 libgbm1
1484+
1485+
{% endhighlight %}
1486+
{% endtabs %}
1487+
1488+
After applying this change, all required dependencies are installed successfully.
1489+
</td>
1490+
</tr>
1491+
1492+
</table>
1493+
14551494
## Localized Content Not Reflected in PDF Output When Using Blink HTML-to-PDF Conversion Despite Browser Culture Change
14561495

14571496
<table>

0 commit comments

Comments
 (0)