Page 1 of 2

broken dependencies tried to fix it but nothing works [Solved]

Posted: Sat Jun 27, 2020 9:30 am
by Justmax
HI All
New to this site and wonder if anybody can help me with my situation ,
l have a broken dependencies and l did what l can l search high and low for answers and none it works
it just wont remove
if anyone can help l really would appreciate it
Here is a shot of whats going on

Code: Select all

sudo aptitude install pips-sot30:i386
The following partially installed packages will be configured:
  pips-sot30:i386{b} 
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 42 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
The following packages have unmet dependencies:
 libmpv1 : Depends: libgbm1 (>= 8.1~0) but it is not going to be installed
 libcogl20 : Depends: libgbm1 (>= 8.1~0) but it is not going to be installed
 xserver-xorg-video-amdgpu : Depends: libgbm1 (>= 8.1~0) but it is not going to be installed
 brave-browser : Depends: libgbm1 (>= 8.1~0) but it is not going to be installed
 xserver-xorg-core : Depends: libgbm1 (>= 10.2~0) but it is not going to be installed
 libegl-mesa0 : Depends: libgbm1 (= 19.2.8-0ubuntu0~18.04.3) but it is not going to be installed
 google-chrome-stable : Depends: libgbm1 (>= 8.1~0) but it is not going to be installed
 libqt5gui5 : Depends: libgbm1 (>= 8.1~0) but it is not going to be installed
 chromium-browser : Depends: libgbm1 (>= 17.1.0~rc2) but it is not going to be installed
 libgstreamer-gl1.0-0 : Depends: libgbm1 (>= 8.1~0) but it is not going to be installed
 xwayland : Depends: libgbm1 (>= 10.2~0) but it is not going to be installed
 pips-sot30:i386 : Depends: pips-common:i386 (>= 3.3.0) but it is not installable
The following actions will resolve these dependencies:

     Remove the following packages:                      
1)     pips-sot30:i386 [3.3.0-1 (now)]                   

     Install the following packages:                     
2)     libgbm1 [19.2.8-0ubuntu0~18.04.3 (bionic-updates)]



Accept this solution? [Y/n/q/?] y
The following NEW packages will be installed:
  libgbm1{a} 
The following packages will be REMOVED:
  pips-sot30:i386{a} 
0 packages upgraded, 1 newly installed, 1 to remove and 42 not upgraded.
Need to get 28.1 kB of archives. After unpacking 4,217 kB will be freed.
Do you want to continue? [Y/n/?] y
Get: 1 http://mirror.it.ubc.ca/ubuntu bionic-updates/main amd64 libgbm1 amd64 19.2.8-0ubuntu0~18.04.3 [28.1 kB]
Fetched 28.1 kB in 0s (90.5 kB/s)  
(Reading database ... 689737 files and directories currently installed.)
Removing pips-sot30:i386 (3.3.0-1) ...
dpkg-query: package 'cupsys' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
dpkg: error processing package pips-sot30:i386 (--remove):
 installed pips-sot30:i386 package pre-removal script subprocess returned error exit status 1
Errors were encountered while processing:
 pips-sot30:i386
E: Sub-process /usr/bin/dpkg returned an error code (1)
This pips-sot30:i386 is the issue that can't not be remove , no matter what command or synaptic package manager nothing seems to work
in case your wondering pips-sot30:i386 is a Photo Image Print System - Easy Install System (i386)
l have mint for the OS
Thanks for any help

Re: broken dependencies tried to fix it but nothing works

Posted: Sat Jun 27, 2020 10:26 am
by Seadreamer
You might want to try a straightforward

Code: Select all

sudo apt-get remove pips-sot30
Then try a reinstall. Maybe install/reinstall cups.

Re: broken dependencies tried to fix it but nothing works

Posted: Sun Jun 28, 2020 8:33 am
by Justmax
Hi Seadreamer
Thanks for the reply
I tried that and its a no go still there
Nothing will up date because of this
l must of looked for a solution for 2 days now, it is frustrating

Re: broken dependencies tried to fix it but nothing works

Posted: Sun Jun 28, 2020 11:02 am
by asinoro
Check this, I had to use the method 4:https://itsfoss.com/dpkg-returned-an-error-code-1/

Re: broken dependencies tried to fix it but nothing works

Posted: Sun Jun 28, 2020 6:50 pm
by Justmax
HI Asinoro
Yes l visited this page before l posted my issues here
with this method 4 of that link you sent and that didn't work either
I've been at it for some time and thought this would be my last try on this forum and see if someone can assist me
i'm beginning to think its a dead end and just start another fresh Mint install
Thanks for trying to help

Re: broken dependencies tried to fix it but nothing works

Posted: Mon Jun 29, 2020 12:04 am
by sleeper12
Try:

Code: Select all

 sudo apt-get remove --purge pips-sot30 
Or

Code: Select all

 sudo dpkg --remove --force-remove-reinstreq pips-sot30 

Re: broken dependencies tried to fix it but nothing works

Posted: Mon Jun 29, 2020 6:48 am
by Justmax
HI Sleeper12
l tried it take a look

Code: Select all

max@max-desktop:~$  sudo apt-get remove --purge pips-sot30 
[sudo] password for max:        
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:
 brave-browser : Depends: libgbm1 (>= 8.1~0) but it is not going to be installed
 chromium-browser : Depends: libgbm1 (>= 17.1.0~rc2) but it is not going to be installed
 google-chrome-stable : Depends: libgbm1 (>= 8.1~0) but it is not going to be installed
 libcogl20 : Depends: libgbm1 (>= 8.1~0) but it is not going to be installed
 libegl-mesa0 : Depends: libgbm1 (= 19.2.8-0ubuntu0~18.04.3) but it is not going to be installed
 libgstreamer-gl1.0-0 : Depends: libgbm1 (>= 8.1~0) but it is not going to be installed
 libmpv1 : Depends: libgbm1 (>= 8.1~0) but it is not going to be installed
 libqt5gui5 : Depends: libgbm1 (>= 8.1~0) but it is not going to be installed
 xserver-xorg-core : Depends: libgbm1 (>= 10.2~0) but it is not going to be installed
 xserver-xorg-video-amdgpu : Depends: libgbm1 (>= 8.1~0) but it is not going to be installed
 xwayland : Depends: libgbm1 (>= 10.2~0) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
max@max-desktop:~$  sudo dpkg --remove --force-remove-reinstreq pips-sot30 
(Reading database ... 689737 files and directories currently installed.)
Removing pips-sot30:i386 (3.3.0-1) ...
dpkg-query: package 'cupsys' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
dpkg: error processing package pips-sot30:i386 (--remove):
 installed pips-sot30:i386 package pre-removal script subprocess returned error exit status 1
Errors were encountered while processing:
 pips-sot30:i386
Its crazy this pips-sot30:i386 wont let me do anything its effecting the system big time l cant get brave browser anymore nor chrome etc etc cant update either
l might have to do a clean install ,,, thanks team for trying , l will stay until the end of this week if we cant do it l will have to install mint back on it again ,,, l thought for sure linux is the way to go but this to has issues ,, l had issues before that it corrected itself but l think this one got linux by the short and curly :)

Re: broken dependencies tried to fix it but nothing works

Posted: Mon Jun 29, 2020 11:07 am
by sleeper12
What happens if you do what it says?

Code: Select all

 apt --fix-broken install 

Re: broken dependencies tried to fix it but nothing works

Posted: Mon Jun 29, 2020 12:01 pm
by smurphos
sleeper12 wrote:
Mon Jun 29, 2020 11:07 am
What happens if you do what it says?

Code: Select all

 sudo apt --fix-broken install 
Bear in mind the construction suggested by apt doesn't work with Mint's python apt wrapper. These all work

Bypass Mint's apt wrapper

Code: Select all

sudo /usr/bin/apt --fix-broken install
Use a order of arguments that Mint's apt wrapper can process

Code: Select all

apt install --fix-broken
Use apt-get instead

Code: Select all

sudo apt-get --fix-broken install 

Re: broken dependencies tried to fix it but nothing works

Posted: Mon Jun 29, 2020 12:48 pm
by sleeper12
Ok, didn't know that. I corrected my previous post.

Re: broken dependencies tried to fix it but nothing works

Posted: Mon Jun 29, 2020 6:43 pm
by Justmax
HI Smurphos
I tries them all nothing seems to work
take a look
****here is the first ****
$ sudo /usr/bin/apt --fix-broken install
[sudo] password for max:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
linux-headers-4.15.0-101 linux-headers-4.15.0-101-generic
linux-headers-4.15.0-99 linux-headers-4.15.0-99-generic
linux-headers-5.3.0-46 linux-headers-5.3.0-46-generic linux-headers-5.3.0-51
linux-headers-5.3.0-51-generic linux-image-4.15.0-101-generic
linux-image-4.15.0-99-generic linux-image-5.3.0-46-generic
linux-image-5.3.0-51-generic linux-modules-4.15.0-101-generic
linux-modules-4.15.0-99-generic linux-modules-5.3.0-46-generic
linux-modules-5.3.0-51-generic
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libgbm1
The following packages will be REMOVED:
pips-sot30:i386
The following NEW packages will be installed:
libgbm1
0 upgraded, 1 newly installed, 1 to remove and 47 not upgraded.
1 not fully installed or removed.
Need to get 0 B/28.1 kB of archives.
After this operation, 4,217 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 689737 files and directories currently installed.)
Removing pips-sot30:i386 (3.3.0-1) ...
dpkg-query: package 'cupsys' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
dpkg: error processing package pips-sot30:i386 (--remove):
installed pips-sot30:i386 package pre-removal script subprocess returned error exit status 1
Errors were encountered while processing:
pips-sot30:i386
E: Sub-process /usr/bin/dpkg returned an error code (1)
****here is the second****
$ sudo apt-get --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
linux-headers-4.15.0-101 linux-headers-4.15.0-101-generic
linux-headers-4.15.0-99 linux-headers-4.15.0-99-generic
linux-headers-5.3.0-46 linux-headers-5.3.0-46-generic linux-headers-5.3.0-51
linux-headers-5.3.0-51-generic linux-image-4.15.0-101-generic
linux-image-4.15.0-99-generic linux-image-5.3.0-46-generic
linux-image-5.3.0-51-generic linux-modules-4.15.0-101-generic
linux-modules-4.15.0-99-generic linux-modules-5.3.0-46-generic
linux-modules-5.3.0-51-generic
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libgbm1
The following packages will be REMOVED:
pips-sot30:i386
The following NEW packages will be installed:
libgbm1
0 upgraded, 1 newly installed, 1 to remove and 47 not upgraded.
1 not fully installed or removed.
Need to get 0 B/28.1 kB of archives.
After this operation, 4,217 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 689737 files and directories currently installed.)
Removing pips-sot30:i386 (3.3.0-1) ...
dpkg-query: package 'cupsys' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
dpkg: error processing package pips-sot30:i386 (--remove):
installed pips-sot30:i386 package pre-removal script subprocess returned error exit status 1
Errors were encountered while processing:
pips-sot30:i386
E: Sub-process /usr/bin/dpkg returned an error code (1)
****here is the last one****
$ sudo apt-get --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
linux-headers-4.15.0-101 linux-headers-4.15.0-101-generic
linux-headers-4.15.0-99 linux-headers-4.15.0-99-generic
linux-headers-5.3.0-46 linux-headers-5.3.0-46-generic linux-headers-5.3.0-51
linux-headers-5.3.0-51-generic linux-image-4.15.0-101-generic
linux-image-4.15.0-99-generic linux-image-5.3.0-46-generic
linux-image-5.3.0-51-generic linux-modules-4.15.0-101-generic
linux-modules-4.15.0-99-generic linux-modules-5.3.0-46-generic
linux-modules-5.3.0-51-generic
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libgbm1
The following packages will be REMOVED:
pips-sot30:i386
The following NEW packages will be installed:
libgbm1
0 upgraded, 1 newly installed, 1 to remove and 47 not upgraded.
1 not fully installed or removed.
Need to get 0 B/28.1 kB of archives.
After this operation, 4,217 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 689737 files and directories currently installed.)
Removing pips-sot30:i386 (3.3.0-1) ...
dpkg-query: package 'cupsys' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
dpkg: error processing package pips-sot30:i386 (--remove):
installed pips-sot30:i386 package pre-removal script subprocess returned error exit status 1
Errors were encountered while processing:
pips-sot30:i386
E: Sub-process /usr/bin/dpkg returned an error code (1)
this one is a stubburn one well l got 4 more days before the fresh install thanks BTW for the help so far

Re: broken dependencies tried to fix it but nothing works

Posted: Mon Jun 29, 2020 9:01 pm
by sleeper12
This won't solve the main problem, but run this to remove items no longer needed:

Code: Select all

 sudo apt autoremove 

Re: broken dependencies tried to fix it but nothing works

Posted: Mon Jun 29, 2020 10:03 pm
by Justmax
Thanks Sleeper
That didn't work
Never would ever thought mint couldn't solve anything

Re: broken dependencies tried to fix it but nothing works

Posted: Mon Jun 29, 2020 10:19 pm
by sleeper12
I changed these commands, see if one works now:

Code: Select all

 sudo apt-get remove --purge pips-sot30:i386 
Or

Code: Select all

 sudo dpkg --remove --force-remove-reinstreq pips-sot30:i386 

Re: broken dependencies tried to fix it but nothing works

Posted: Mon Jun 29, 2020 11:35 pm
by Justmax
Sleeper thanks for trying
this is what l got
$ sudo dpkg --remove --force-remove-reinstreq pips-sot30:i386 (Reading database ... 689737 files and directories currently installed.)
Removing pips-sot30:i386 (3.3.0-1) ...
dpkg-query: package 'cupsys' is not installed
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
dpkg: error processing package pips-sot30:i386 (--remove):
installed pips-sot30:i386 package pre-removal script subprocess returned error exit status 1
Errors were encountered while processing:
pips-sot30:i386
the other code didnt work either
Man o man what is it with this pips-sot30 ?

Re: broken dependencies tried to fix it but nothing works

Posted: Mon Jun 29, 2020 11:39 pm
by sleeper12
I'm stumped. I saw a russian post with a similar problem, but no solution.

Re: broken dependencies tried to fix it but nothing works

Posted: Mon Jun 29, 2020 11:42 pm
by sleeper12
It's here if you want to take a look. Not much help though:
https://translate.google.com/translate? ... ch&pto=aue

Re: broken dependencies tried to fix it but nothing works

Posted: Mon Jun 29, 2020 11:46 pm
by zcot
I see that Russian post. One of the users just said forget about it, block the file, trick the script into thinking it is successful. And that will clear the problem from the package manager anyway.

locate pips-sot30

then edit the prerm file by adding exit 0 to the first line of it, so it just makes that script file return immediately and does nothing (but I think it doesn't need to do anything anyway) but it returns a success code.

not sure on the path but possibly like:
xed admin:///var/lib/dpkg/info/pips-sot30.prerm

Re: broken dependencies tried to fix it but nothing works

Posted: Mon Jun 29, 2020 11:51 pm
by sleeper12
I wasn't sure if that worked for the OP there, but worth a try at this point I suppose.

Re: broken dependencies tried to fix it but nothing works

Posted: Tue Jun 30, 2020 6:30 pm
by Justmax
Hi Zicot and Sleeper
Thanks for trying
Zicot l did what you mentioned
At least l know where its located at :) but no cigar
3 days to go to beat this ,
I really cant believe mint shows how to, but the how to wont work
crazy stuff