Jump to content
Sign in to follow this  
Nott

need help : chromium-driver install failed

Recommended Posts

The system  shows  error messages as below  when  I install chromium-driver?

This is my first time install driver  on Tinker board  and  have stuck on this situation.

Did I miss something before installation ? Can anyone help me or give me some advises?

thanks in advanced.

linaro@linaro-alip:~$ sudo apt install chromium-driver
Reading package lists... Done
Building dependency tree       
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:
 chromium-x11 : Conflicts: chromium but 89.0.4389.114-1~deb10u1 is to be installed
                Conflicts: chromium-common but 89.0.4389.114-1~deb10u1 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
linaro@linaro-alip:~$ sudo apt install chromium
Reading package lists... Done
Building dependency tree       
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:
 chromium-x11 : Conflicts: chromium but 89.0.4389.114-1~deb10u1 is to be installed
                Conflicts: chromium-common but 89.0.4389.114-1~deb10u1 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
 

Hardware:Tinker board 2s

OS:Tinker Board 2 Debian 10 V2.1.6

 

Share this post


Link to post
Share on other sites

hello @Nott

please execute the cmd below before installing chromium so all the pkgs and libs are up to date:

sudo apt update && sudo apt upgrade -y

and then

sudo apt install chromium -y

 

 

Share this post


Link to post
Share on other sites
15 minutes ago, tooz said:

hello @Nott

please execute the cmd below before installing chromium so all the pkgs and libs are up to date:

sudo apt update && sudo apt upgrade -y

and then

sudo apt install chromium -y

 

 

I need the package is chromium and chromium-driver

I try the your solution  after executing and  get the message as below:

It seems not working....or  I ignore some thing? BTW, thanks for your reply.

linaro@linaro-alip:~$ sudo apt update && sudo apt upgrade -y
Hit:1 http://security.debian.org buster/updates InRelease
Hit:2 http://cdn-fastly.deb.debian.org/debian buster InRelease
Get:3 http://cdn-fastly.deb.debian.org/debian buster-updates InRelease [56.6 kB]
Fetched 56.6 kB in 7s (7781 B/s)   
Reading package lists... Done
Building dependency tree       
Reading state information... Done
102 packages can be upgraded. Run 'apt list --upgradable' to see them.
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. 
linaro@linaro-alip:~$ sudo dpkg --configure -a
Setting up lirc (0.10.1-6.3~deb10u1) ...
insserv: warning: script 'mountboot.sh' missing LSB tags
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `mountboot.sh'
insserv: Default-Stop  undefined, assuming empty stop  runlevel(s) for script `mountboot.sh'
insserv: warning: script 'rkisp_3A.sh' missing LSB tags
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `rkisp_3A.sh'
insserv: Default-Stop  undefined, assuming empty stop  runlevel(s) for script `rkisp_3A.sh'
insserv: warning: script 'mountboot.sh' missing LSB tags
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `mountboot.sh'
insserv: Default-Stop  undefined, assuming empty stop  runlevel(s) for script `mountboot.sh'
insserv: warning: script 'rkisp_3A.sh' missing LSB tags
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `rkisp_3A.sh'
insserv: Default-Stop  undefined, assuming empty stop  runlevel(s) for script `rkisp_3A.sh'
Created symlink /etc/systemd/system/multi-user.target.wants/lircd.service → /lib/systemd/system/lircd.service.
Created symlink /etc/systemd/system/sockets.target.wants/lircd.socket → /lib/systemd/system/lircd.socket.
Processing triggers for man-db (2.8.5-2) ...
 

linaro@linaro-alip:~$ sudo apt update && sudo apt upgrade -y
Hit:1 http://security.debian.org buster/updates InRelease
Hit:2 http://cdn-fastly.deb.debian.org/debian buster InRelease
Hit:3 http://cdn-fastly.deb.debian.org/debian buster-updates InRelease
Reading package lists... Done
Building dependency tree       
Reading state information... Done
102 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  libaom0 libdrm-freedreno1 libdrm-tegra0 libmysofa0 libva-drm2 libva-x11-2
  libva2 libvdpau1 libvidstab1.1
Use 'sudo apt autoremove' to remove them.
The following packages have been kept back:
  base-files bluez bluez-obexd debconf debconf-i18n distro-info-data ffmpeg
  ir-keytable klibc-utils libavcodec-dev libavcodec58 libavdevice-dev
  libavdevice58 libavfilter-dev libavfilter7 libavformat-dev libavformat58
  libavresample-dev libavresample4 libavutil-dev libavutil56 libbluetooth3
  libc-bin libc-l10n libcups2 libdns-export1104 libdrm-common libdrm-dev
  libdrm2 libdvbv5-0 libdvbv5-dev libdvbv5-doc libexpat1 libexpat1-dev
  libflac8 libfluidsynth1 libgcrypt20 libgmp10 libgnutls30 libgssapi-krb5-2
  libhogweed4 libisc-export1100 libk5crypto3 libklibc libkrb5-3
  libkrb5support0 libnettle6 libnss3 libntfs-3g883 libpam-systemd
  libpolkit-agent-1-0 libpolkit-backend-1-0 libpolkit-gobject-1-0
  libpostproc-dev libpostproc55 libsasl2-2 libsasl2-modules-db libsmbclient
  libsndfile1 libswresample-dev libswresample3 libswscale-dev libswscale5
  libsystemd0 libudev1 libuv1 libv4l-0 libv4l-dev libv4lconvert0 libwavpack1
  libwbclient0 locales ntfs-3g openbox openbox-dev openssl policykit-1 psmisc
  qv4l2 rsyslog samba-libs systemd systemd-sysv tzdata udev v4l-utils vim
  vim-common vim-runtime vim-tiny xdmx xdmx-tools xnest xorg-server-source
  xserver-common xserver-xephyr xserver-xorg-core xserver-xorg-dev
  xserver-xorg-legacy xterm xvfb xxd
0 upgraded, 0 newly installed, 0 to remove and 102 not upgraded.


linaro@linaro-alip:~$ sudo apt install chromium -y
Reading package lists... Done
Building dependency tree       
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:
 chromium-x11 : Conflicts: chromium but 89.0.4389.114-1~deb10u1 is to be installed
                Conflicts: chromium-common but 89.0.4389.114-1~deb10u1 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
 

Share this post


Link to post
Share on other sites

I need the package is chromium and chromium-driver

I try the your solution  after executing and  get the message as below:

It seems not working....or  I ignore some thing? BTW, thanks for your reply.

linaro@linaro-alip:~$ sudo apt update && sudo apt upgrade -y
Hit:1 http://security.debian.org buster/updates InRelease
Hit:2 http://cdn-fastly.deb.debian.org/debian buster InRelease
Get:3 http://cdn-fastly.deb.debian.org/debian buster-updates InRelease [56.6 kB]
Fetched 56.6 kB in 7s (7781 B/s)   
Reading package lists... Done
Building dependency tree       
Reading state information... Done
102 packages can be upgraded. Run 'apt list --upgradable' to see them.
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. 
linaro@linaro-alip:~$ sudo dpkg --configure -a
Setting up lirc (0.10.1-6.3~deb10u1) ...
insserv: warning: script 'mountboot.sh' missing LSB tags
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `mountboot.sh'
insserv: Default-Stop  undefined, assuming empty stop  runlevel(s) for script `mountboot.sh'
insserv: warning: script 'rkisp_3A.sh' missing LSB tags
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `rkisp_3A.sh'
insserv: Default-Stop  undefined, assuming empty stop  runlevel(s) for script `rkisp_3A.sh'
insserv: warning: script 'mountboot.sh' missing LSB tags
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `mountboot.sh'
insserv: Default-Stop  undefined, assuming empty stop  runlevel(s) for script `mountboot.sh'
insserv: warning: script 'rkisp_3A.sh' missing LSB tags
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `rkisp_3A.sh'
insserv: Default-Stop  undefined, assuming empty stop  runlevel(s) for script `rkisp_3A.sh'
Created symlink /etc/systemd/system/multi-user.target.wants/lircd.service → /lib/systemd/system/lircd.service.
Created symlink /etc/systemd/system/sockets.target.wants/lircd.socket → /lib/systemd/system/lircd.socket.
Processing triggers for man-db (2.8.5-2) ...
 

linaro@linaro-alip:~$ sudo apt update && sudo apt upgrade -y
Hit:1 http://security.debian.org buster/updates InRelease
Hit:2 http://cdn-fastly.deb.debian.org/debian buster InRelease
Hit:3 http://cdn-fastly.deb.debian.org/debian buster-updates InRelease
Reading package lists... Done
Building dependency tree       
Reading state information... Done
102 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  libaom0 libdrm-freedreno1 libdrm-tegra0 libmysofa0 libva-drm2 libva-x11-2
  libva2 libvdpau1 libvidstab1.1
Use 'sudo apt autoremove' to remove them.
The following packages have been kept back:
  base-files bluez bluez-obexd debconf debconf-i18n distro-info-data ffmpeg
  ir-keytable klibc-utils libavcodec-dev libavcodec58 libavdevice-dev
  libavdevice58 libavfilter-dev libavfilter7 libavformat-dev libavformat58
  libavresample-dev libavresample4 libavutil-dev libavutil56 libbluetooth3
  libc-bin libc-l10n libcups2 libdns-export1104 libdrm-common libdrm-dev
  libdrm2 libdvbv5-0 libdvbv5-dev libdvbv5-doc libexpat1 libexpat1-dev
  libflac8 libfluidsynth1 libgcrypt20 libgmp10 libgnutls30 libgssapi-krb5-2
  libhogweed4 libisc-export1100 libk5crypto3 libklibc libkrb5-3
  libkrb5support0 libnettle6 libnss3 libntfs-3g883 libpam-systemd
  libpolkit-agent-1-0 libpolkit-backend-1-0 libpolkit-gobject-1-0
  libpostproc-dev libpostproc55 libsasl2-2 libsasl2-modules-db libsmbclient
  libsndfile1 libswresample-dev libswresample3 libswscale-dev libswscale5
  libsystemd0 libudev1 libuv1 libv4l-0 libv4l-dev libv4lconvert0 libwavpack1
  libwbclient0 locales ntfs-3g openbox openbox-dev openssl policykit-1 psmisc
  qv4l2 rsyslog samba-libs systemd systemd-sysv tzdata udev v4l-utils vim
  vim-common vim-runtime vim-tiny xdmx xdmx-tools xnest xorg-server-source
  xserver-common xserver-xephyr xserver-xorg-core xserver-xorg-dev
  xserver-xorg-legacy xterm xvfb xxd
0 upgraded, 0 newly installed, 0 to remove and 102 not upgraded.


linaro@linaro-alip:~$ sudo apt install chromium -y
Reading package lists... Done
Building dependency tree       
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:
 chromium-x11 : Conflicts: chromium but 89.0.4389.114-1~deb10u1 is to be installed
                Conflicts: chromium-common but 89.0.4389.114-1~deb10u1 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

Share this post


Link to post
Share on other sites

hello @Nott

to install the latest chromium, the built-in version of chromium needs to be removed first, please execute the following to 1. remove the built-in chromium and 2. install the latest version of chromium:

sudo apt-mark unhold chromium-x11
sudo apt-mark unhold chromium-x11-dbgsym
sudo apt -y remove chromium-x11
sudo apt-get update
sudo apt -y install chromium

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...