Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux Installaion issues #34

Open
AnushaDevi-Embedded opened this issue May 2, 2023 · 6 comments
Open

Linux Installaion issues #34

AnushaDevi-Embedded opened this issue May 2, 2023 · 6 comments

Comments

@AnushaDevi-Embedded
Copy link

AnushaDevi-Embedded commented May 2, 2023

Please help me with this:

You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
pvbrowser-devel : Depends: qt5-default but it is not installable
Depends: xterm
Depends: ffmpeg
Depends: libavcodec-dev but it is not going to be installed
Depends: libavcodec58
Depends: libqt5multimedia5 but it is not going to be installed
Depends: libqt5help5 but it is not going to be installed
Depends: libqt5webenginecore5 but it is not going to be installed
Depends: libqt5multimediawidgets5 but it is not going to be installed
Depends: libqt5webengine5 but it is not going to be installed
Depends: libqt5webenginewidgets5 but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

@gentooza
Copy link

gentooza commented May 2, 2023

Hi @AnushaDevi-Embedded!

which distro are you using? version?
which package are you trying to install?

cheers

@AnushaDevi-Embedded
Copy link
Author

Hi @gentooza

Thanks for the response.

I have tried installing the package for Ubuntu 22.04. I tried installing both from the repository and the binaries as well
Reference followed: https://software.opensuse.org/download/package.iframe?project=home:pvbrowser:pvbrowser5&package=pvbrowser-devel

@gentooza
Copy link

gentooza commented May 4, 2023

Years ago, I already had problems with the packaged .deb (see #29 ) under ubuntu 16.04 and QT4 version.

Problem seems to be that QT packages naming and philosophy change a lot between ubuntu versions! and who is taking care of packaging pvbrowser in .deb seems not to be spending enough love doing this :-/

the wrong dependencies are:

qt5-default -> it does not exist anymore
qt5-base -> it's now qtbase5-dev

You'll have to fix this dependencies manually in the .deb to get it working, by unpackaging it and overwrite it's control file.
A good guide is this: https://coderwall.com/p/hes3ha/change-the-dependencies-of-a-deb-package

Some steps change as it's not compressed under gz anymore, it's using zstd, so:
step 2 changes to:

tar --use-compress-program=unzstd -xvf control.tar.zst

step 4 changes to:

tar c md5sums control | zstd -c > control.tar.zst

and step 5 changes to:

ar rcs pvbrowser_fix.deb debian-binary control.tar.zst data.tar.zst

(perhaps you have to install some packages to have zstd, ar for packaging, etc. working, I already have them :-/)

I've done this, installed pvbrower, and at least pvdevelop seems to work for now

I provide the fixed .deb also, if you trust me :-D (it's a zip file with the .deb inside, github does not let you upload .deb files)

pvbrowser.zip

cheers

@AnushaDevi-Embedded
Copy link
Author

Great !! it's working. Thanks @gentooza. Really appreciate your help :)

@pvbrowser
Copy link
Owner

pvbrowser commented May 15, 2023 via email

@gentooza
Copy link

gentooza commented Jul 27, 2023

Hi @pvbrowser

I'm really sorry if I was rude, I'm sure you have lot work to do, and options and configurations are wide.

The guide for adding the repository failed to me under ubuntu 22.04:

echo 'deb http://download.opensuse.org/repositories/home:/pvbrowser:/pvbrowser5/xUbuntu_22.04/ /' | sudo tee /etc/apt/sources.list.d/home:pvbrowser:pvbrowser5.list
curl -fsSL https://download.opensuse.org/repositories/home:pvbrowser:pvbrowser5/xUbuntu_22.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_pvbrowser_pvbrowser5.gpg > /dev/null
sudo apt update
sudo apt install pvbrowser-devel

fails to me with GPG key error (spanish):

W: Error de GPG: http://download.opensuse.org/repositories/home:/pvbrowser:/pvbrowser5/xUbuntu_22.04  InRelease: Las siguientes firmas no fueron válidas: EXPKEYSIG 298D698D0AD5FE1F home:pvbrowser OBS Project <home:[email protected]> 95768D5660C620BC9B1B23CB298D698D0AD5FE1F
E: El repositorio «http://download.opensuse.org/repositories/home:/pvbrowser:/pvbrowser5/xUbuntu_22.04  InRelease» no está firmado.

Also, installing manually the .deb continues giving me a dependencies error:

 pvbrowser-devel : Depende: qt5-default pero no es instalable

as qt5-default doesn't exist anynore under ubuntu 22.04

cheers, and thanks for the efforts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants