Skip to content

Commit 50cec42

Browse files
committed
998707-ug: Added content under TroubleShooting section for HTML to PDF conversion.
1 parent 02ebebe commit 50cec42

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
@@ -1536,6 +1536,45 @@ After the service restarts, try the conversion or operation again to ensure the
15361536

15371537
</table>
15381538

1539+
## Ubuntu 24.04 dependency install fails: libasound2 migrated to libasound2t64; libgconf-2-4 removed
1540+
1541+
<table>
1542+
<th style="font-size:14px" width="100px">Exception</th>
1543+
<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
1544+
</th>
1545+
<tr>
1546+
<th style="font-size:14px" width="100px">Reason
1547+
</th>
1548+
<td>
1549+
<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.
1550+
1551+
<b>Deprecated removal:</b> libgconf-2-4 was deprecated and removed starting with Ubuntu 23.10 and is not available in 24.04 repositories.
1552+
</td>
1553+
</tr>
1554+
<tr>
1555+
<th style="font-size:14px" width="100px">Solution</th>
1556+
<td>
1557+
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:
1558+
1559+
{% tabs %}
1560+
{% highlight C# %}
1561+
1562+
Run apt-get update && apt-get install -yq --no-install-recommends \
1563+
libasound2t64 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 \
1564+
libfontconfig1 libgcc-s1 libgdk-pixbuf2.0-0 libglib2.0-0t64 libgtk-3-0t64 \
1565+
libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 \
1566+
libxcb1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 \
1567+
libxrender1 libxss1 libxtst6 libnss3 libgbm1
1568+
1569+
{% endhighlight %}
1570+
{% endtabs %}
1571+
1572+
After applying this change, all required dependencies are installed successfully.
1573+
</td>
1574+
</tr>
1575+
1576+
</table>
1577+
15391578
## Localized Content Not Reflected in PDF Output When Using Blink HTML-to-PDF Conversion Despite Browser Culture Change
15401579

15411580
<table>

0 commit comments

Comments
 (0)