How do I fix the install error for my video driver?
This is the error message I keep getting after trying to run an update.Can somebody help me resolve this issue? Please be aware that I am ubuntu challenged.
(Reading database ... 210321 files and directories currently installed.)
Preparing to unpack .../libnvidia-gl-390_390.87-0ubuntu0~gpu18.04.1_i386.deb ...
diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/i386-linux-gnu/libGL.so.1.distrib by nvidia-340
dpkg-divert: error: mismatch on package
when removing 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 by libnvidia-gl-390'
found 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/i386-linux-gnu/libGL.so.1.distrib by nvidia-340'
dpkg: error processing archive /var/cache/apt/archives/libnvidia-gl-390_390.87-0ubuntu0~gpu18.04.1_i386.deb (--unpack):
new libnvidia-gl-390:i386 package pre-installation script subprocess returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/libnvidia-gl-390_390.87-0ubuntu0~gpu18.04.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
dpkg: dependency problems prevent configuration of nvidia-driver-390:
nvidia-driver-390 depends on libnvidia-gl-390 (= 390.87-0ubuntu0~gpu18.04.1); however:
Package libnvidia-gl-390:i386 is not installed.
dpkg: error processing package nvidia-driver-390 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libnvidia-ifr1-390:i386:
libnvidia-ifr1-390:i386 depends on libnvidia-gl-390; however:
Package libnvidia-gl-390:i386 is not installed.
dpkg: error processing package libnvidia-ifr1-390:i386 (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.27-3ubuntu1) ...
/sbin/ldconfig.real: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf.d/x86_64-linux-gnu_EGL.conf: No such file or directory
/sbin/ldconfig.real: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf: No such file or directory
Errors were encountered while processing:
nvidia-driver-390
libnvidia-ifr1-390:i386
drivers 18.04 nvidia-geforce
New contributor
Buddyroe is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
This is the error message I keep getting after trying to run an update.Can somebody help me resolve this issue? Please be aware that I am ubuntu challenged.
(Reading database ... 210321 files and directories currently installed.)
Preparing to unpack .../libnvidia-gl-390_390.87-0ubuntu0~gpu18.04.1_i386.deb ...
diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/i386-linux-gnu/libGL.so.1.distrib by nvidia-340
dpkg-divert: error: mismatch on package
when removing 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 by libnvidia-gl-390'
found 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/i386-linux-gnu/libGL.so.1.distrib by nvidia-340'
dpkg: error processing archive /var/cache/apt/archives/libnvidia-gl-390_390.87-0ubuntu0~gpu18.04.1_i386.deb (--unpack):
new libnvidia-gl-390:i386 package pre-installation script subprocess returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/libnvidia-gl-390_390.87-0ubuntu0~gpu18.04.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
dpkg: dependency problems prevent configuration of nvidia-driver-390:
nvidia-driver-390 depends on libnvidia-gl-390 (= 390.87-0ubuntu0~gpu18.04.1); however:
Package libnvidia-gl-390:i386 is not installed.
dpkg: error processing package nvidia-driver-390 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libnvidia-ifr1-390:i386:
libnvidia-ifr1-390:i386 depends on libnvidia-gl-390; however:
Package libnvidia-gl-390:i386 is not installed.
dpkg: error processing package libnvidia-ifr1-390:i386 (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.27-3ubuntu1) ...
/sbin/ldconfig.real: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf.d/x86_64-linux-gnu_EGL.conf: No such file or directory
/sbin/ldconfig.real: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf: No such file or directory
Errors were encountered while processing:
nvidia-driver-390
libnvidia-ifr1-390:i386
drivers 18.04 nvidia-geforce
New contributor
Buddyroe is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1
Welcome to askubuntu. Please edit your question to include the command you used before the error. Thanks!
– mchid
Dec 17 at 22:22
add a comment |
This is the error message I keep getting after trying to run an update.Can somebody help me resolve this issue? Please be aware that I am ubuntu challenged.
(Reading database ... 210321 files and directories currently installed.)
Preparing to unpack .../libnvidia-gl-390_390.87-0ubuntu0~gpu18.04.1_i386.deb ...
diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/i386-linux-gnu/libGL.so.1.distrib by nvidia-340
dpkg-divert: error: mismatch on package
when removing 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 by libnvidia-gl-390'
found 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/i386-linux-gnu/libGL.so.1.distrib by nvidia-340'
dpkg: error processing archive /var/cache/apt/archives/libnvidia-gl-390_390.87-0ubuntu0~gpu18.04.1_i386.deb (--unpack):
new libnvidia-gl-390:i386 package pre-installation script subprocess returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/libnvidia-gl-390_390.87-0ubuntu0~gpu18.04.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
dpkg: dependency problems prevent configuration of nvidia-driver-390:
nvidia-driver-390 depends on libnvidia-gl-390 (= 390.87-0ubuntu0~gpu18.04.1); however:
Package libnvidia-gl-390:i386 is not installed.
dpkg: error processing package nvidia-driver-390 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libnvidia-ifr1-390:i386:
libnvidia-ifr1-390:i386 depends on libnvidia-gl-390; however:
Package libnvidia-gl-390:i386 is not installed.
dpkg: error processing package libnvidia-ifr1-390:i386 (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.27-3ubuntu1) ...
/sbin/ldconfig.real: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf.d/x86_64-linux-gnu_EGL.conf: No such file or directory
/sbin/ldconfig.real: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf: No such file or directory
Errors were encountered while processing:
nvidia-driver-390
libnvidia-ifr1-390:i386
drivers 18.04 nvidia-geforce
New contributor
Buddyroe is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
This is the error message I keep getting after trying to run an update.Can somebody help me resolve this issue? Please be aware that I am ubuntu challenged.
(Reading database ... 210321 files and directories currently installed.)
Preparing to unpack .../libnvidia-gl-390_390.87-0ubuntu0~gpu18.04.1_i386.deb ...
diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/i386-linux-gnu/libGL.so.1.distrib by nvidia-340
dpkg-divert: error: mismatch on package
when removing 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 by libnvidia-gl-390'
found 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/i386-linux-gnu/libGL.so.1.distrib by nvidia-340'
dpkg: error processing archive /var/cache/apt/archives/libnvidia-gl-390_390.87-0ubuntu0~gpu18.04.1_i386.deb (--unpack):
new libnvidia-gl-390:i386 package pre-installation script subprocess returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/libnvidia-gl-390_390.87-0ubuntu0~gpu18.04.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
dpkg: dependency problems prevent configuration of nvidia-driver-390:
nvidia-driver-390 depends on libnvidia-gl-390 (= 390.87-0ubuntu0~gpu18.04.1); however:
Package libnvidia-gl-390:i386 is not installed.
dpkg: error processing package nvidia-driver-390 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libnvidia-ifr1-390:i386:
libnvidia-ifr1-390:i386 depends on libnvidia-gl-390; however:
Package libnvidia-gl-390:i386 is not installed.
dpkg: error processing package libnvidia-ifr1-390:i386 (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.27-3ubuntu1) ...
/sbin/ldconfig.real: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf.d/x86_64-linux-gnu_EGL.conf: No such file or directory
/sbin/ldconfig.real: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf: No such file or directory
Errors were encountered while processing:
nvidia-driver-390
libnvidia-ifr1-390:i386
drivers 18.04 nvidia-geforce
drivers 18.04 nvidia-geforce
New contributor
Buddyroe is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Buddyroe is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited Dec 17 at 22:19
George Udosen
19.3k94266
19.3k94266
New contributor
Buddyroe is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked Dec 17 at 21:39
Buddyroe
11
11
New contributor
Buddyroe is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Buddyroe is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Buddyroe is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1
Welcome to askubuntu. Please edit your question to include the command you used before the error. Thanks!
– mchid
Dec 17 at 22:22
add a comment |
1
Welcome to askubuntu. Please edit your question to include the command you used before the error. Thanks!
– mchid
Dec 17 at 22:22
1
1
Welcome to askubuntu. Please edit your question to include the command you used before the error. Thanks!
– mchid
Dec 17 at 22:22
Welcome to askubuntu. Please edit your question to include the command you used before the error. Thanks!
– mchid
Dec 17 at 22:22
add a comment |
1 Answer
1
active
oldest
votes
The output says that libnvidia-gl-390:i386 is not installed and it looks like libnvidia-gl-390:i386 needs to be installed to fix the issue. Run the following commands and please post any errors:
sudo apt update
sudo apt install --reinstall libnvidia-gl-390:i386
sudo apt -f install
sudo dpkg --configure -a
If you get an error, please post the error.
Thanks mchid. I did get an error message. As follows....
– Buddyroe
Dec 18 at 19:04
sudo apt upgrade list Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: libnvidia-ifr1-390 : Depends: libnvidia-gl-390 but it is not installed nvidia-driver-390 : Depends: libnvidia-gl-390 (= 390.87-0ubuntu0~gpu18.04.1) but it is not installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
– Buddyroe
Dec 18 at 19:21
error message for reinstall libnvidia... sudo apt install --reinstall libnvidia-gl-390:i386 Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: apt-file debtags libjavascriptcoregtk-1.0-0 libnih-dbus1 libregexp-assemble-perl libwebkitgtk-1.0-0 Use 'sudo apt autoremove' to remove them. The following NEW packages will be installed: libnvidia-gl-390 0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded. 2 not fully installed or removed.
– Buddyroe
Dec 18 at 19:24
2nd part of comment.... Need to get 0 B/14.8 MB of archives. After this operation, 73.6 MB of additional disk space will be used. (Reading database ... 210321 files and directories currently installed.) Preparing to unpack .../libnvidia-gl-390_390.87-0ubuntu0~gpu18.04.1_i386.deb ... diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/i386-linux-gnu/libGL.so.1.distrib by nvidia-340 dpkg-divert: error: mismatch on package when removing 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 by libnvidia-gl-390'
– Buddyroe
Dec 18 at 19:25
last part of error message, sorry if I am doing this wrong with add comment....found 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/i386-linux-gnu/libGL.so.1.distrib by nvidia-340' dpkg: error processing archive /var/cache/apt/archives/libnvidia-gl-390_390.87-0ubuntu0~gpu18.04.1_i386.deb (--unpack): new libnvidia-gl-390:i386 package pre-installation script subprocess returned error exit status 2 Errors were encountered while processing: /var/cache/apt/archives/libnvidia-gl-390_390.87-0ubuntu0~gpu18.04.1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
– Buddyroe
Dec 18 at 19:26
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Buddyroe is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1102657%2fhow-do-i-fix-the-install-error-for-my-video-driver%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The output says that libnvidia-gl-390:i386 is not installed and it looks like libnvidia-gl-390:i386 needs to be installed to fix the issue. Run the following commands and please post any errors:
sudo apt update
sudo apt install --reinstall libnvidia-gl-390:i386
sudo apt -f install
sudo dpkg --configure -a
If you get an error, please post the error.
Thanks mchid. I did get an error message. As follows....
– Buddyroe
Dec 18 at 19:04
sudo apt upgrade list Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: libnvidia-ifr1-390 : Depends: libnvidia-gl-390 but it is not installed nvidia-driver-390 : Depends: libnvidia-gl-390 (= 390.87-0ubuntu0~gpu18.04.1) but it is not installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
– Buddyroe
Dec 18 at 19:21
error message for reinstall libnvidia... sudo apt install --reinstall libnvidia-gl-390:i386 Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: apt-file debtags libjavascriptcoregtk-1.0-0 libnih-dbus1 libregexp-assemble-perl libwebkitgtk-1.0-0 Use 'sudo apt autoremove' to remove them. The following NEW packages will be installed: libnvidia-gl-390 0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded. 2 not fully installed or removed.
– Buddyroe
Dec 18 at 19:24
2nd part of comment.... Need to get 0 B/14.8 MB of archives. After this operation, 73.6 MB of additional disk space will be used. (Reading database ... 210321 files and directories currently installed.) Preparing to unpack .../libnvidia-gl-390_390.87-0ubuntu0~gpu18.04.1_i386.deb ... diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/i386-linux-gnu/libGL.so.1.distrib by nvidia-340 dpkg-divert: error: mismatch on package when removing 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 by libnvidia-gl-390'
– Buddyroe
Dec 18 at 19:25
last part of error message, sorry if I am doing this wrong with add comment....found 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/i386-linux-gnu/libGL.so.1.distrib by nvidia-340' dpkg: error processing archive /var/cache/apt/archives/libnvidia-gl-390_390.87-0ubuntu0~gpu18.04.1_i386.deb (--unpack): new libnvidia-gl-390:i386 package pre-installation script subprocess returned error exit status 2 Errors were encountered while processing: /var/cache/apt/archives/libnvidia-gl-390_390.87-0ubuntu0~gpu18.04.1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
– Buddyroe
Dec 18 at 19:26
add a comment |
The output says that libnvidia-gl-390:i386 is not installed and it looks like libnvidia-gl-390:i386 needs to be installed to fix the issue. Run the following commands and please post any errors:
sudo apt update
sudo apt install --reinstall libnvidia-gl-390:i386
sudo apt -f install
sudo dpkg --configure -a
If you get an error, please post the error.
Thanks mchid. I did get an error message. As follows....
– Buddyroe
Dec 18 at 19:04
sudo apt upgrade list Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: libnvidia-ifr1-390 : Depends: libnvidia-gl-390 but it is not installed nvidia-driver-390 : Depends: libnvidia-gl-390 (= 390.87-0ubuntu0~gpu18.04.1) but it is not installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
– Buddyroe
Dec 18 at 19:21
error message for reinstall libnvidia... sudo apt install --reinstall libnvidia-gl-390:i386 Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: apt-file debtags libjavascriptcoregtk-1.0-0 libnih-dbus1 libregexp-assemble-perl libwebkitgtk-1.0-0 Use 'sudo apt autoremove' to remove them. The following NEW packages will be installed: libnvidia-gl-390 0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded. 2 not fully installed or removed.
– Buddyroe
Dec 18 at 19:24
2nd part of comment.... Need to get 0 B/14.8 MB of archives. After this operation, 73.6 MB of additional disk space will be used. (Reading database ... 210321 files and directories currently installed.) Preparing to unpack .../libnvidia-gl-390_390.87-0ubuntu0~gpu18.04.1_i386.deb ... diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/i386-linux-gnu/libGL.so.1.distrib by nvidia-340 dpkg-divert: error: mismatch on package when removing 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 by libnvidia-gl-390'
– Buddyroe
Dec 18 at 19:25
last part of error message, sorry if I am doing this wrong with add comment....found 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/i386-linux-gnu/libGL.so.1.distrib by nvidia-340' dpkg: error processing archive /var/cache/apt/archives/libnvidia-gl-390_390.87-0ubuntu0~gpu18.04.1_i386.deb (--unpack): new libnvidia-gl-390:i386 package pre-installation script subprocess returned error exit status 2 Errors were encountered while processing: /var/cache/apt/archives/libnvidia-gl-390_390.87-0ubuntu0~gpu18.04.1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
– Buddyroe
Dec 18 at 19:26
add a comment |
The output says that libnvidia-gl-390:i386 is not installed and it looks like libnvidia-gl-390:i386 needs to be installed to fix the issue. Run the following commands and please post any errors:
sudo apt update
sudo apt install --reinstall libnvidia-gl-390:i386
sudo apt -f install
sudo dpkg --configure -a
If you get an error, please post the error.
The output says that libnvidia-gl-390:i386 is not installed and it looks like libnvidia-gl-390:i386 needs to be installed to fix the issue. Run the following commands and please post any errors:
sudo apt update
sudo apt install --reinstall libnvidia-gl-390:i386
sudo apt -f install
sudo dpkg --configure -a
If you get an error, please post the error.
answered Dec 17 at 23:37
mchid
22.6k25082
22.6k25082
Thanks mchid. I did get an error message. As follows....
– Buddyroe
Dec 18 at 19:04
sudo apt upgrade list Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: libnvidia-ifr1-390 : Depends: libnvidia-gl-390 but it is not installed nvidia-driver-390 : Depends: libnvidia-gl-390 (= 390.87-0ubuntu0~gpu18.04.1) but it is not installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
– Buddyroe
Dec 18 at 19:21
error message for reinstall libnvidia... sudo apt install --reinstall libnvidia-gl-390:i386 Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: apt-file debtags libjavascriptcoregtk-1.0-0 libnih-dbus1 libregexp-assemble-perl libwebkitgtk-1.0-0 Use 'sudo apt autoremove' to remove them. The following NEW packages will be installed: libnvidia-gl-390 0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded. 2 not fully installed or removed.
– Buddyroe
Dec 18 at 19:24
2nd part of comment.... Need to get 0 B/14.8 MB of archives. After this operation, 73.6 MB of additional disk space will be used. (Reading database ... 210321 files and directories currently installed.) Preparing to unpack .../libnvidia-gl-390_390.87-0ubuntu0~gpu18.04.1_i386.deb ... diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/i386-linux-gnu/libGL.so.1.distrib by nvidia-340 dpkg-divert: error: mismatch on package when removing 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 by libnvidia-gl-390'
– Buddyroe
Dec 18 at 19:25
last part of error message, sorry if I am doing this wrong with add comment....found 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/i386-linux-gnu/libGL.so.1.distrib by nvidia-340' dpkg: error processing archive /var/cache/apt/archives/libnvidia-gl-390_390.87-0ubuntu0~gpu18.04.1_i386.deb (--unpack): new libnvidia-gl-390:i386 package pre-installation script subprocess returned error exit status 2 Errors were encountered while processing: /var/cache/apt/archives/libnvidia-gl-390_390.87-0ubuntu0~gpu18.04.1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
– Buddyroe
Dec 18 at 19:26
add a comment |
Thanks mchid. I did get an error message. As follows....
– Buddyroe
Dec 18 at 19:04
sudo apt upgrade list Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: libnvidia-ifr1-390 : Depends: libnvidia-gl-390 but it is not installed nvidia-driver-390 : Depends: libnvidia-gl-390 (= 390.87-0ubuntu0~gpu18.04.1) but it is not installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
– Buddyroe
Dec 18 at 19:21
error message for reinstall libnvidia... sudo apt install --reinstall libnvidia-gl-390:i386 Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: apt-file debtags libjavascriptcoregtk-1.0-0 libnih-dbus1 libregexp-assemble-perl libwebkitgtk-1.0-0 Use 'sudo apt autoremove' to remove them. The following NEW packages will be installed: libnvidia-gl-390 0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded. 2 not fully installed or removed.
– Buddyroe
Dec 18 at 19:24
2nd part of comment.... Need to get 0 B/14.8 MB of archives. After this operation, 73.6 MB of additional disk space will be used. (Reading database ... 210321 files and directories currently installed.) Preparing to unpack .../libnvidia-gl-390_390.87-0ubuntu0~gpu18.04.1_i386.deb ... diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/i386-linux-gnu/libGL.so.1.distrib by nvidia-340 dpkg-divert: error: mismatch on package when removing 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 by libnvidia-gl-390'
– Buddyroe
Dec 18 at 19:25
last part of error message, sorry if I am doing this wrong with add comment....found 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/i386-linux-gnu/libGL.so.1.distrib by nvidia-340' dpkg: error processing archive /var/cache/apt/archives/libnvidia-gl-390_390.87-0ubuntu0~gpu18.04.1_i386.deb (--unpack): new libnvidia-gl-390:i386 package pre-installation script subprocess returned error exit status 2 Errors were encountered while processing: /var/cache/apt/archives/libnvidia-gl-390_390.87-0ubuntu0~gpu18.04.1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
– Buddyroe
Dec 18 at 19:26
Thanks mchid. I did get an error message. As follows....
– Buddyroe
Dec 18 at 19:04
Thanks mchid. I did get an error message. As follows....
– Buddyroe
Dec 18 at 19:04
sudo apt upgrade list Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: libnvidia-ifr1-390 : Depends: libnvidia-gl-390 but it is not installed nvidia-driver-390 : Depends: libnvidia-gl-390 (= 390.87-0ubuntu0~gpu18.04.1) but it is not installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
– Buddyroe
Dec 18 at 19:21
sudo apt upgrade list Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: libnvidia-ifr1-390 : Depends: libnvidia-gl-390 but it is not installed nvidia-driver-390 : Depends: libnvidia-gl-390 (= 390.87-0ubuntu0~gpu18.04.1) but it is not installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
– Buddyroe
Dec 18 at 19:21
error message for reinstall libnvidia... sudo apt install --reinstall libnvidia-gl-390:i386 Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: apt-file debtags libjavascriptcoregtk-1.0-0 libnih-dbus1 libregexp-assemble-perl libwebkitgtk-1.0-0 Use 'sudo apt autoremove' to remove them. The following NEW packages will be installed: libnvidia-gl-390 0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded. 2 not fully installed or removed.
– Buddyroe
Dec 18 at 19:24
error message for reinstall libnvidia... sudo apt install --reinstall libnvidia-gl-390:i386 Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: apt-file debtags libjavascriptcoregtk-1.0-0 libnih-dbus1 libregexp-assemble-perl libwebkitgtk-1.0-0 Use 'sudo apt autoremove' to remove them. The following NEW packages will be installed: libnvidia-gl-390 0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded. 2 not fully installed or removed.
– Buddyroe
Dec 18 at 19:24
2nd part of comment.... Need to get 0 B/14.8 MB of archives. After this operation, 73.6 MB of additional disk space will be used. (Reading database ... 210321 files and directories currently installed.) Preparing to unpack .../libnvidia-gl-390_390.87-0ubuntu0~gpu18.04.1_i386.deb ... diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/i386-linux-gnu/libGL.so.1.distrib by nvidia-340 dpkg-divert: error: mismatch on package when removing 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 by libnvidia-gl-390'
– Buddyroe
Dec 18 at 19:25
2nd part of comment.... Need to get 0 B/14.8 MB of archives. After this operation, 73.6 MB of additional disk space will be used. (Reading database ... 210321 files and directories currently installed.) Preparing to unpack .../libnvidia-gl-390_390.87-0ubuntu0~gpu18.04.1_i386.deb ... diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/i386-linux-gnu/libGL.so.1.distrib by nvidia-340 dpkg-divert: error: mismatch on package when removing 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 by libnvidia-gl-390'
– Buddyroe
Dec 18 at 19:25
last part of error message, sorry if I am doing this wrong with add comment....found 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/i386-linux-gnu/libGL.so.1.distrib by nvidia-340' dpkg: error processing archive /var/cache/apt/archives/libnvidia-gl-390_390.87-0ubuntu0~gpu18.04.1_i386.deb (--unpack): new libnvidia-gl-390:i386 package pre-installation script subprocess returned error exit status 2 Errors were encountered while processing: /var/cache/apt/archives/libnvidia-gl-390_390.87-0ubuntu0~gpu18.04.1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
– Buddyroe
Dec 18 at 19:26
last part of error message, sorry if I am doing this wrong with add comment....found 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/i386-linux-gnu/libGL.so.1.distrib by nvidia-340' dpkg: error processing archive /var/cache/apt/archives/libnvidia-gl-390_390.87-0ubuntu0~gpu18.04.1_i386.deb (--unpack): new libnvidia-gl-390:i386 package pre-installation script subprocess returned error exit status 2 Errors were encountered while processing: /var/cache/apt/archives/libnvidia-gl-390_390.87-0ubuntu0~gpu18.04.1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
– Buddyroe
Dec 18 at 19:26
add a comment |
Buddyroe is a new contributor. Be nice, and check out our Code of Conduct.
Buddyroe is a new contributor. Be nice, and check out our Code of Conduct.
Buddyroe is a new contributor. Be nice, and check out our Code of Conduct.
Buddyroe is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1102657%2fhow-do-i-fix-the-install-error-for-my-video-driver%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Welcome to askubuntu. Please edit your question to include the command you used before the error. Thanks!
– mchid
Dec 17 at 22:22