首页 > 系统相关 >two tiny problems I encoutered today when installing adobe in ubuntu Jammy

two tiny problems I encoutered today when installing adobe in ubuntu Jammy

时间:2023-03-20 15:45:30浏览次数:42  
标签:... adobe kB Jammy problems installed i386 ubuntu libgdk

installation guide: https://linuxconfig.org/how-to-install-adobe-acrobat-reader-on-ubuntu-20-04-focal-fossa-linux#:~:text=Since%20Ubuntu%20does%20not%20have%20a%20native%20way,PDF%20documents%20in%20the%20way%20they%20are%20intended.

 

* problem 1

$ sudo apt install libxml2:i386 libcanberra-gtk-module:i386 gtk2-engines-murrine:i386 libatk-adaptor:i386
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 adobereader-enu:i386 : Depends: libgtk2.0-0:i386 (>= 2.4) but it is not going to be installed
 gtk2-engines-murrine:i386 : Depends: libc6:i386 (>= 2.29) but it is not going to be installed
                             Depends: libcairo2:i386 (>= 1.2.4) but it is not going to be installed
                             Depends: libgdk-pixbuf-2.0-0:i386 (>= 2.22.0) but it is not going to be installed
                             Depends: libglib2.0-0:i386 (>= 2.37.3) but it is not going to be installed
                             Depends: libpangocairo-1.0-0:i386 (>= 1.14.0) but it is not going to be installed
                             Depends: libpixman-1-0:i386 (>= 0.30.0) but it is not going to be installed
 libatk-adaptor:i386 : Depends: libatk-bridge2.0-0:i386 (>= 2.38.0-3) but it is not going to be installed
                       Depends: libglib2.0-0:i386 (>= 2.12.0) but it is not going to be installed
 libcanberra-gtk-module:i386 : Depends: libc6:i386 (>= 2.4) but it is not going to be installed
                               Depends: libcanberra-gtk0:i386 (>= 0.2) but it is not going to be installed
                               Depends: libglib2.0-0:i386 (>= 2.12.0) but it is not going to be installed
                               Depends: libgtk2.0-0:i386 (>= 2.24.5-4) but it is not going to be installed
                               Depends: libx11-6:i386 but it is not going to be installed
 libxml2:i386 : Depends: libc6:i386 (>= 2.34) but it is not going to be installed
                Depends: libicu70:i386 (>= 70.1-1~) but it is not going to be installed
                Depends: liblzma5:i386 (>= 5.1.1alpha+20120614) but it is not going to be installed
                Depends: zlib1g:i386 (>= 1:1.2.3.3) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

  solution:

$ sudo apt --fix-broken install
$ sudo apt-get update
$ sudo apt-get upgrade

  solved:

$ sudo apt install libxml2:i386 libcanberra-gtk-module:i386 gtk2-engines-murrine:i386 libatk-adaptor:i386
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libxml2:i386 is already the newest version (2.9.13+dfsg-1ubuntu0.2).
libxml2:i386 set to manually installed.
The following additional packages will be installed:
  libasound2:i386 libatk-bridge2.0-0:i386 libatspi2.0-0:i386 libcanberra-gtk0:i386 libcanberra0:i386 libltdl7:i386 libogg0:i386 libtdb1:i386 libvorbis0a:i386 libvorbisfile3:i386
Suggested packages:
  murrine-themes:i386 libasound2-plugins:i386 libcanberra-pulse:i386
The following NEW packages will be installed:
  gtk2-engines-murrine:i386 libasound2:i386 libatk-adaptor:i386 libatk-bridge2.0-0:i386 libatspi2.0-0:i386 libcanberra-gtk-module:i386 libcanberra-gtk0:i386 libcanberra0:i386 libltdl7:i386 libogg0:i386
  libtdb1:i386 libvorbis0a:i386 libvorbisfile3:i386
0 upgraded, 13 newly installed, 0 to remove and 2 not upgraded.
Need to get 990 kB of archives.
After this operation, 3,417 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://cn.archive.ubuntu.com/ubuntu jammy/main i386 gtk2-engines-murrine i386 0.98.2-3build2 [104 kB]
Get:2 http://cn.archive.ubuntu.com/ubuntu jammy/main i386 libasound2 i386 1.2.6.1-1ubuntu1 [420 kB]
Get:3 http://cn.archive.ubuntu.com/ubuntu jammy/main i386 libatspi2.0-0 i386 2.44.0-3 [85.4 kB]
Get:4 http://cn.archive.ubuntu.com/ubuntu jammy/main i386 libatk-bridge2.0-0 i386 2.38.0-3 [71.4 kB]
Get:5 http://cn.archive.ubuntu.com/ubuntu jammy/main i386 libatk-adaptor i386 2.38.0-3 [13.2 kB]
Get:6 http://cn.archive.ubuntu.com/ubuntu jammy/main i386 libltdl7 i386 2.4.6-15build2 [41.5 kB]
Get:7 http://cn.archive.ubuntu.com/ubuntu jammy/main i386 libtdb1 i386 1.4.5-2build1 [52.4 kB]
Get:8 http://cn.archive.ubuntu.com/ubuntu jammy/main i386 libogg0 i386 1.3.5-0ubuntu3 [23.6 kB]
Get:9 http://cn.archive.ubuntu.com/ubuntu jammy/main i386 libvorbis0a i386 1.3.7-1build2 [97.6 kB]
Get:10 http://cn.archive.ubuntu.com/ubuntu jammy/main i386 libvorbisfile3 i386 1.3.7-1build2 [20.0 kB]
Get:11 http://cn.archive.ubuntu.com/ubuntu jammy/main i386 libcanberra0 i386 0.30-10ubuntu1 [40.7 kB]
Get:12 http://cn.archive.ubuntu.com/ubuntu jammy/universe i386 libcanberra-gtk0 i386 0.30-10ubuntu1 [8,596 B]
Get:13 http://cn.archive.ubuntu.com/ubuntu jammy/universe i386 libcanberra-gtk-module i386 0.30-10ubuntu1 [11.2 kB]
Fetched 990 kB in 4s (280 kB/s)                         
Selecting previously unselected package gtk2-engines-murrine:i386.
(Reading database ... 253139 files and directories currently installed.)
Preparing to unpack .../00-gtk2-engines-murrine_0.98.2-3build2_i386.deb ...
Unpacking gtk2-engines-murrine:i386 (0.98.2-3build2) ...
Selecting previously unselected package libasound2:i386.
Preparing to unpack .../01-libasound2_1.2.6.1-1ubuntu1_i386.deb ...
Unpacking libasound2:i386 (1.2.6.1-1ubuntu1) ...
Selecting previously unselected package libatspi2.0-0:i386.
Preparing to unpack .../02-libatspi2.0-0_2.44.0-3_i386.deb ...
Unpacking libatspi2.0-0:i386 (2.44.0-3) ...
Selecting previously unselected package libatk-bridge2.0-0:i386.
Preparing to unpack .../03-libatk-bridge2.0-0_2.38.0-3_i386.deb ...
Unpacking libatk-bridge2.0-0:i386 (2.38.0-3) ...
Selecting previously unselected package libatk-adaptor:i386.
Preparing to unpack .../04-libatk-adaptor_2.38.0-3_i386.deb ...
Unpacking libatk-adaptor:i386 (2.38.0-3) ...
Selecting previously unselected package libltdl7:i386.
Preparing to unpack .../05-libltdl7_2.4.6-15build2_i386.deb ...
Unpacking libltdl7:i386 (2.4.6-15build2) ...
Selecting previously unselected package libtdb1:i386.
Preparing to unpack .../06-libtdb1_1.4.5-2build1_i386.deb ...
Unpacking libtdb1:i386 (1.4.5-2build1) ...
Selecting previously unselected package libogg0:i386.
Preparing to unpack .../07-libogg0_1.3.5-0ubuntu3_i386.deb ...
Unpacking libogg0:i386 (1.3.5-0ubuntu3) ...
Selecting previously unselected package libvorbis0a:i386.
Preparing to unpack .../08-libvorbis0a_1.3.7-1build2_i386.deb ...
Unpacking libvorbis0a:i386 (1.3.7-1build2) ...
Selecting previously unselected package libvorbisfile3:i386.
Preparing to unpack .../09-libvorbisfile3_1.3.7-1build2_i386.deb ...
Unpacking libvorbisfile3:i386 (1.3.7-1build2) ...
Selecting previously unselected package libcanberra0:i386.
Preparing to unpack .../10-libcanberra0_0.30-10ubuntu1_i386.deb ...
Unpacking libcanberra0:i386 (0.30-10ubuntu1) ...
Selecting previously unselected package libcanberra-gtk0:i386.
Preparing to unpack .../11-libcanberra-gtk0_0.30-10ubuntu1_i386.deb ...
Unpacking libcanberra-gtk0:i386 (0.30-10ubuntu1) ...
Selecting previously unselected package libcanberra-gtk-module:i386.
Preparing to unpack .../12-libcanberra-gtk-module_0.30-10ubuntu1_i386.deb ...
Unpacking libcanberra-gtk-module:i386 (0.30-10ubuntu1) ...
Setting up gtk2-engines-murrine:i386 (0.98.2-3build2) ...
Setting up libogg0:i386 (1.3.5-0ubuntu3) ...
Setting up libtdb1:i386 (1.4.5-2build1) ...
Setting up libatspi2.0-0:i386 (2.44.0-3) ...
Setting up libatk-bridge2.0-0:i386 (2.38.0-3) ...
Setting up libvorbis0a:i386 (1.3.7-1build2) ...
Setting up libltdl7:i386 (2.4.6-15build2) ...
Setting up libasound2:i386 (1.2.6.1-1ubuntu1) ...
Setting up libatk-adaptor:i386 (2.38.0-3) ...
Setting up libvorbisfile3:i386 (1.3.7-1build2) ...
Setting up libcanberra0:i386 (0.30-10ubuntu1) ...
Setting up libcanberra-gtk0:i386 (0.30-10ubuntu1) ...
Setting up libcanberra-gtk-module:i386 (0.30-10ubuntu1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...

 

* problem 2: when starting adobe, failed

$ acroread
/opt/Adobe/Reader9/Reader/intellinux/bin/acroread: error while loading shared libraries: libgdk_pixbuf_xlib-2.0.so.0: cannot open shared object file: No such file or directory

solution:

$ sudo apt-get install libgdk-pixbuf-xlib-2.0-0:i386 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  libgdk-pixbuf-xlib-2.0-0:i386
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 42.8 kB of archives.
After this operation, 105 kB of additional disk space will be used.
Get:1 http://cn.archive.ubuntu.com/ubuntu jammy/main i386 libgdk-pixbuf-xlib-2.0-0 i386 2.40.2-2build4 [42.8 kB]
Fetched 42.8 kB in 1s (39.4 kB/s)                        
Selecting previously unselected package libgdk-pixbuf-xlib-2.0-0:i386.
(Reading database ... 253398 files and directories currently installed.)
Preparing to unpack .../libgdk-pixbuf-xlib-2.0-0_2.40.2-2build4_i386.deb ...
Unpacking libgdk-pixbuf-xlib-2.0-0:i386 (2.40.2-2build4) ...
Setting up libgdk-pixbuf-xlib-2.0-0:i386 (2.40.2-2build4) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...

  the same package installed previously has different architechture, which leads to the launch failure. 

$ sudo apt-get install libgdk-pixbuf2.0-0
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libgdk-pixbuf-xlib-2.0-0
The following NEW packages will be installed:
  libgdk-pixbuf-xlib-2.0-0 libgdk-pixbuf2.0-0
0 upgraded, 2 newly installed, 0 to remove and 2 not upgraded.
Need to get 45.1 kB of archives.
After this operation, 129 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 libgdk-pixbuf-xlib-2.0-0 amd64 2.40.2-2build4 [42.6 kB]
Get:2 http://cn.archive.ubuntu.com/ubuntu jammy/universe amd64 libgdk-pixbuf2.0-0 amd64 2.40.2-2build4 [2,454 B]
Fetched 45.1 kB in 2s (29.4 kB/s)              
Selecting previously unselected package libgdk-pixbuf-xlib-2.0-0:amd64.
(Reading database ... 253172 files and directories currently installed.)
Preparing to unpack .../libgdk-pixbuf-xlib-2.0-0_2.40.2-2build4_amd64.deb ...
Unpacking libgdk-pixbuf-xlib-2.0-0:amd64 (2.40.2-2build4) ...
Selecting previously unselected package libgdk-pixbuf2.0-0:amd64.
Preparing to unpack .../libgdk-pixbuf2.0-0_2.40.2-2build4_amd64.deb ...
Unpacking libgdk-pixbuf2.0-0:amd64 (2.40.2-2build4) ...
Setting up libgdk-pixbuf-xlib-2.0-0:amd64 (2.40.2-2build4) ...
Setting up libgdk-pixbuf2.0-0:amd64 (2.40.2-2build4) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...

 

finally adobe can start, but the version is too old. I check on adobe official ftp server and find that they doesn't provide newer version than 9.  disappointed.

btw, a visiable ftp client on Ubuntu I used is filezilla.

 

标签:...,adobe,kB,Jammy,problems,installed,i386,ubuntu,libgdk
From: https://www.cnblogs.com/highhill/p/17236499.html

相关文章