Bug with installation of VLC in EasyVoid/QV

Moderator: BarryK

Post Reply
Caramel
Posts: 476
Joined: Sun Oct 02, 2022 6:25 pm
Location: France
Has thanked: 100 times
Been thanked: 78 times

Bug with installation of VLC in EasyVoid/QV

Post by Caramel »

(EasyVoid 240308/ QV 240403)

In PKGget, there in 2 packages vlc ;

vlc-gtk-2.8-noarch in pet-noarch-official that does not install

vlc-3.0.20_4 in void-current
PKGget installs vlc-3 but the user vlc is not created and vlc refuse to run as root

User avatar
bugnaw333
Posts: 343
Joined: Wed Jul 20, 2022 11:04 pm
Location: Cebu, Philippines
Has thanked: 531 times
Been thanked: 69 times

Re: Bug with installation of VLC in EasyVoid/QV

Post by bugnaw333 »

same here. :?

User avatar
BarryK
Posts: 2695
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 132 times
Been thanked: 738 times

Re: Bug with installation of VLC in EasyVoid/QV

Post by BarryK »

Thanks for reporting that.

I have edited /usr/local/petget/installpreview.sh, inserted at line 259:

Code: Select all

      grep -q '^NoDisplay=true' ${aDT}
      if [ $? -ne 0 ];then
       #20240405 vlc.desktop has "Exec=/usr/bin/vlc --started-from-file %U"
       #somewhere else knocks off that %U, but also need to get rid of /usr/bin/...
       sed -i -e 's|^Exec=/usr/bin/|Exec=|' ${aDT}
       EXEC="$(grep '^Exec=' ${aDT} | cut -f 2 -d '=' | cut -f 1 -d ' ' | head -n 1)"
       grep -q '/' <<<${EXEC}
       if [ $? -ne 0 ];then

...you would need to uninstall vlc then reinstall.

Another problem is that Qt menu text is too small, so I have uncommented this in /etc/profile.d/qt5, and bumped 1.1 to 1.2:

Code: Select all

export QT_SCALE_FACTOR=1.2

...that requires a reboot to take effect.

Caramel
Posts: 476
Joined: Sun Oct 02, 2022 6:25 pm
Location: France
Has thanked: 100 times
Been thanked: 78 times

Bug with installation of vlc-gtk in EasyVoid/QV

Post by Caramel »

Caramel wrote: Fri Apr 05, 2024 5:14 pm

(EasyVoid 240308/ QV 240403)

In PKGget, there in 2 packages vlc ;

vlc-gtk-2.8-noarch in pet-noarch-official that does not install

vlc-3.0.20_4 in void-current
PKGget installs vlc-3 but the user vlc is not created and vlc refuse to run as root

The installation of vlc is fixed but not that of vlc-gtk

(New test in EasyVoid)

capture18878.png
capture18878.png (46.85 KiB) Viewed 426 times

The total installed size will be: 0KB

It seems that the size of the package chosen in PKGget is not added to the total size of the dependencies in the script /usr/local/petget/installpreview.sh (The package is not considered as a dependency of itself)

vlc-gtk has no dependency so the size displayed is nothing. It's probably the cause of the installation failure

EDIT: vlc-gtk is in repository pet-noarch-official and the search of dependencies is in void-current

EDIT: the search of dependencies takes place in current-repo-triad that is void-current when vlc-gtk is the package to install

EDIT : in installpreview.sh, line 107 the variable DB_FILE is defined as "current-repo-triad" that is equal to "void-current" by default, so line 114 the test always passes and the search of dependencies takes place in void-current even if the package to install is in a pet repository

User avatar
BarryK
Posts: 2695
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 132 times
Been thanked: 738 times

Re: Bug with installation of vlc-gtk in EasyVoid/QV

Post by BarryK »

Caramel wrote: Sat Apr 13, 2024 3:23 pm

EDIT : in installpreview.sh, line 107 the variable DB_FILE is defined as "current-repo-triad" that is equal to "void-current" by default, so line 114 the test always passes and the search of dependencies takes place in void-current even if the package to install is in a pet repository

That's intentional.
I want the PETs to not have any other PETs as dependencies.

I have removed vlc-gtk from the PET repo.

Caramel
Posts: 476
Joined: Sun Oct 02, 2022 6:25 pm
Location: France
Has thanked: 100 times
Been thanked: 78 times

Re: Bug with installation of vlc-gtk in EasyVoid/QV

Post by Caramel »

BarryK wrote: Sun Apr 14, 2024 2:59 am
Caramel wrote: Sat Apr 13, 2024 3:23 pm

EDIT : in installpreview.sh, line 107 the variable DB_FILE is defined as "current-repo-triad" that is equal to "void-current" by default, so line 114 the test always passes and the search of dependencies takes place in void-current even if the package to install is in a pet repository

That's intentional.
I want the PETs to not have any other PETs as dependencies.

I have removed vlc-gtk from the PET repo.

The problem still exists for not yet installed packages of pet-noarch. If you find such package in PKGget with the Go button (in search in all repositories) when the current repo is void-current, you can not install it
(For example search cursor in all repos when the current repo is void-current, The attempt to install cursor-themes will fail)

To install a package from pet-noarch, the current repo must be pet-noarch

Maybe a solution would be to add the package to vPKGS if vPKGS is an empty list (After line 107 of /usr/local/petget/installpreview.sh)

EDIT Another tiny bug:
In the configuration window of PKGget it is possible to add the repository oe-kirkstone-official but it is impossible to download packages from this repository in PKGget

capture11539.png
capture11539.png (40.71 KiB) Viewed 287 times

The only choice is local download.
(The code in /usr/ocal/petget/downloadpkgs.sh is only for the case Packages-pet-* (line 113), the case Packages-oe-* is not considered)

Post Reply

Return to “EasyOS”