Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

Packages being worked on by the Repo Team

Discussion about the MEPIS Community's Repo.
Message
Author
User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 16568
Joined: Fri Dec 15, 2006 8:07 pm

Re: Packages being worked on by the Repo Team

#1221 Post by Stevo » Mon Nov 05, 2018 11:09 pm

Quod Libet lightweight music player 4.2.0

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 16568
Joined: Fri Dec 15, 2006 8:07 pm

Re: Packages being worked on by the Repo Team

#1222 Post by Stevo » Tue Nov 06, 2018 5:44 pm

Backported the newer GRUB, hopefully better, from Buster (had to adjust it to build with our gcc-6 instead of gcc-7). Put the debs into the local-apt-repository folder on one of my VM's, upgraded (it asked a couple times about config files, and I hit enter for the default "no" about replacing the custom MX files with the package's), and rebooted the VM successfully. No changes to the GRUB screen except for the version of GRUB displayed.

Edit: also the latest nvidia-drivers 390.87 from upstream for the test repo.

User avatar
fehlix
Forum Guide
Forum Guide
Posts: 2030
Joined: Wed Apr 11, 2018 5:09 pm

Re: Packages being worked on by the Repo Team

#1223 Post by fehlix » Wed Nov 07, 2018 2:56 pm

Stevo wrote:
Tue Nov 06, 2018 5:44 pm
Backported the newer GRUB, hopefully better, from Buster (had to adjust it to build with our gcc-6 instead of gcc-7). Put the debs into the local-apt-repository folder on one of my VM's, upgraded (it asked a couple times about config files, and I hit enter for the default "no" about replacing the custom MX files with the package's), and rebooted the VM successfully. No changes to the GRUB screen except for the version of GRUB displayed.

Edit: also the latest nvidia-drivers 390.87 from upstream for the test repo.
Thanks Stevo, for the Grub backport. If you don't mind I report here my test results:
The new local-apt-repository method works great and I upgraded to the latest Grub 2.02+dfsg1-8~mx17+1.

I've run some tests in Vbox and in an UEFI system. All works fine, except ...

We have at least one issue:

The buggy script /etc/grub.d/30_uefi-firmware
is not replaced with the fixed one, which is provided with grub-common_2.02+dfsg1-8~mx17+1_amd64.deb

Can we adjust somehow the grub-common package to get the fixed version of 30_uefi-firmware installed?
Without the fixed version grub-update will fail and also MX Installer for those UEFI systems.

And smaller issue:
I got prompted about keeping or replacing those two:
/etc/grub.d/10_linux
/etc/grub.d/20_linux_xen
which most user will certainly never touch anyway and actually shall be better replaced with a newer version, without getting asked. ( Or if we want to get sure, they have not been touch, just have a md5sum-compare with old version.)

And I got prompted about keeping or replacing this:
/etc/default/grub
which I really do not want to get replaced.

So question, can we get rid of those last prompts, and default to the proper action
like replacing 10_linux and 20_linux_xen
and keeping /etc/default/grub.

Thanks
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 16568
Joined: Fri Dec 15, 2006 8:07 pm

Re: Packages being worked on by the Repo Team

#1224 Post by Stevo » Wed Nov 07, 2018 4:02 pm

I extracted the grub-common deb, and I can'f find those scripts anywhere in it, though Synaptic says that package contains them. Maybe they are getting generated by the grub binary during the install? But I'm not having any trouble running update-grub on my EFI system after the update from the Experimental repo.

I don't know how to suppress the config file messages :frown: . I remember the dev team had a long discussion about trying to do that for some MX packages, but I don't remember us ever coming up with a solution.

User avatar
fehlix
Forum Guide
Forum Guide
Posts: 2030
Joined: Wed Apr 11, 2018 5:09 pm

Re: Packages being worked on by the Repo Team

#1225 Post by fehlix » Wed Nov 07, 2018 4:15 pm

Stevo wrote:
Wed Nov 07, 2018 4:02 pm
I extracted the grub-common deb, and I can'f find those scripts anywhere in it, though Synaptic says that package contains them. Maybe they are getting generated by the grub binary during the install? But I'm not having any trouble running update-grub on my EFI system after the update from the Experimental repo.

I don't know how to suppress the config file messages :frown: . I remember the dev team had a long discussion about trying to do that for some MX packages, but I don't remember us ever coming up with a solution.
Those are here:

Code: Select all

$
$ dpkg-deb -R grub-common_2.02+dfsg1-8~mx17+1_amd64.deb grub-common_2.02+dfsg1-8~mx17+1_amd64 
$ ls -1 ./grub-common_2.02+dfsg1-8~mx17+1_amd64/etc/grub.d/* 
./grub-common_2.02+dfsg1-8~mx17+1_amd64/etc/grub.d/00_header
./grub-common_2.02+dfsg1-8~mx17+1_amd64/etc/grub.d/05_debian_theme
./grub-common_2.02+dfsg1-8~mx17+1_amd64/etc/grub.d/10_linux
./grub-common_2.02+dfsg1-8~mx17+1_amd64/etc/grub.d/20_linux_xen
./grub-common_2.02+dfsg1-8~mx17+1_amd64/etc/grub.d/30_os-prober
./grub-common_2.02+dfsg1-8~mx17+1_amd64/etc/grub.d/30_uefi-firmware
./grub-common_2.02+dfsg1-8~mx17+1_amd64/etc/grub.d/40_custom
./grub-common_2.02+dfsg1-8~mx17+1_amd64/etc/grub.d/41_custom
./grub-common_2.02+dfsg1-8~mx17+1_amd64/etc/grub.d/README
And from those we actually shall beter take all, except /etc/grub.d/40_custom, which is officlialy meant to be
editable by the user.

You are right /etc/default/grub seems to be get generated. ( So I havn't looked/reported properly :bawling: ),
it was another prompt compared to the 10_linux- and 20_linux_xen-change-prompt,
rather one of those blue-ish dpgk-reconfigure one's. So we woul need to get rid of thos post reconfiguer action somehow.
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
fehlix
Forum Guide
Forum Guide
Posts: 2030
Joined: Wed Apr 11, 2018 5:09 pm

Re: Packages being worked on by the Repo Team

#1226 Post by fehlix » Wed Nov 07, 2018 4:47 pm

Stevo wrote:
Wed Nov 07, 2018 4:02 pm
But I'm not having any trouble running update-grub on my EFI system after the update from the Experimental repo.
The buggy line within 30_uefi-firmware is this:

Code: Select all

[ "$(( $(printf %x \'"$(cat $OsIndications | cut -b1)") & 1 ))" = 1 ]; then
For some system the first byte of the efivar $OsIndications,
reports a hexchar with only numeric values, where the script would not fail.

For other EFI-systems the reported value is something like "1f", which is a vaild hexhcar,
but the bash calculation to check the first bit $(( 1f & 1 ) will fail and stopp's update-grup / MX Installer.
The fixed version calculates properly $(( 0X1f & 1 ) and will give 1 and the uefi_firmware menu-entry will be generated.
:puppy:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
fehlix
Forum Guide
Forum Guide
Posts: 2030
Joined: Wed Apr 11, 2018 5:09 pm

Re: Packages being worked on by the Repo Team

#1227 Post by fehlix » Wed Nov 07, 2018 5:35 pm

Stevo wrote:
Wed Nov 07, 2018 4:02 pm
I don't know how to suppress the config file messages :frown: . I remember the dev team had a long discussion about trying to do that for some MX packages, but I don't remember us ever coming up with a solution.
Seem to work as such:
Here how I've tested without a prompt:
-> Downgraded all grub-packages involved.

-> Removed from grub-common_2.02+dfsg1-8~mx17+1_amd64.deb:/DEBIAN/conffiles
those were I got a propmpt during first upgrade:

Code: Select all

/etc/grub.d/10_linux
/etc//grub.d/20_linux_xen
/etc/grub.d/30_uefi-firmware
Upgrade again. No prompt were shown and those above have been upgraded.

Not sure why I didn't got a prompt for generating/keeping /etc/default/grub.
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 16568
Joined: Fri Dec 15, 2006 8:07 pm

Re: Packages being worked on by the Repo Team

#1228 Post by Stevo » Wed Nov 07, 2018 5:53 pm

Yes, but I manually extract the grub-common deb and then the data directory, and this is all that's in there:

Code: Select all

$ tree
.
├── etc
│   └── kernel
│       ├── postinst.d
│       │   └── zz-update-grub
│       └── postrm.d
│           └── zz-update-grub
└── usr
    ├── sbin
    │   ├── grub-install
    │   ├── grub-reboot
    │   ├── grub-set-default
    │   ├── update-grub
    │   └── update-grub2 -> update-grub
    └── share
        ├── bug
        │   └── grub2-common
        │       ├── presubj
        │       └── script
        ├── doc
        │   └── grub2-common -> grub-common
        ├── grub
        │   └── default
        │       ├── grub
        │       └── grub.md5sum
        ├── info
        │   ├── grub-dev.info.gz
        │   └── grub.info.gz
        └── man
            └── man8
                ├── grub-install.8.gz
                ├── grub-reboot.8.gz
                ├── grub-set-default.8.gz
                ├── update-grub2.8.gz -> update-grub.8.gz
                └── update-grub.8.gz
So those conf files must be getting generated somehow.

I also searched the source files for files named "30_uefi-firmware" and for files that contained that string, but came up empty. :confused:

User avatar
fehlix
Forum Guide
Forum Guide
Posts: 2030
Joined: Wed Apr 11, 2018 5:09 pm

Re: Packages being worked on by the Repo Team

#1229 Post by fehlix » Wed Nov 07, 2018 6:09 pm

Stevo wrote:
Wed Nov 07, 2018 5:53 pm
Yes, but I manually extract the grub-common deb and then the data directory, and this is all that's in there:
And here my manualy extraced variant of the deb you gave me yesterday :number1: :

Code: Select all

$ mkdir extracted; dpkg-deb -R grub-common_2.02+dfsg1-8~mx17+1_amd64.deb extracted ; cd extracted;  tree . | tee -a ../extracted.tree
.
├── DEBIAN
│   ├── conffiles
│   ├── control
│   ├── md5sums
│   ├── postinst
│   ├── postrm
│   ├── preinst
│   └── prerm
├── etc
│   ├── bash_completion.d
│   │   └── grub
│   ├── default
│   │   └── grub.d
│   │       └── init-select.cfg
│   └── grub.d
│       ├── 00_header
│       ├── 05_debian_theme
│       ├── 10_linux
│       ├── 20_linux_xen
│       ├── 30_os-prober
│       ├── 30_uefi-firmware
│       ├── 40_custom
│       ├── 41_custom
│       └── README
└── usr
    ├── bin
    │   ├── grub-editenv
    │   ├── grub-file
    │   ├── grub-fstest
    │   ├── grub-glue-efi
    │   ├── grub-kbdcomp
    │   ├── grub-menulst2cfg
    │   ├── grub-mkfont
    │   ├── grub-mkimage
    │   ├── grub-mklayout
    │   ├── grub-mknetdir
    │   ├── grub-mkpasswd-pbkdf2
    │   ├── grub-mkrelpath
    │   ├── grub-mkrescue
    │   ├── grub-mkstandalone
    │   ├── grub-mount
    │   ├── grub-render-label
    │   ├── grub-script-check
    │   └── grub-syslinux2cfg
    ├── lib
    │   └── grub
    │       └── grub-mkconfig_lib -> ../../share/grub/grub-mkconfig_lib
    ├── sbin
    │   ├── grub-macbless
    │   ├── grub-mkconfig
    │   ├── grub-mkdevicemap
    │   └── grub-probe
    └── share
        ├── apport
        │   └── package-hooks
        │       └── source_grub2.py
        ├── bug
        │   └── grub-common
        │       ├── presubj
        │       └── script
        ├── doc
        │   └── grub-common
        │       ├── AUTHORS
        │       ├── changelog.Debian.gz
        │       ├── changelog.gz
        │       ├── copyright
        │       ├── examples
        │       │   └── grub.cfg
        │       ├── NEWS.Debian.gz
        │       ├── NEWS.gz
        │       ├── README
        │       ├── THANKS
        │       └── TODO
        ├── grub
        │   ├── ascii.h
        │   ├── ascii.pf2
        │   ├── euro.pf2
        │   ├── grub-mkconfig_lib
        │   ├── unicode.pf2
        │   └── widthspec.h
        ├── locale
        │   ├── ast
        │   │   └── LC_MESSAGES
        │   │       └── grub.mo
        │   ├── ca
        │   │   └── LC_MESSAGES
        │   │       └── grub.mo
        │   ├── da
        │   │   └── LC_MESSAGES
        │   │       └── grub.mo
        │   ├── de
        │   │   └── LC_MESSAGES
        │   │       └── grub.mo
        │   ├── de_CH
        │   │   └── LC_MESSAGES
        │   │       └── grub.mo
        │   ├── de@hebrew
        │   │   └── LC_MESSAGES
        │   │       └── grub.mo
        │   ├── en@arabic
        │   │   └── LC_MESSAGES
        │   │       └── grub.mo
        │   ├── en@cyrillic
        │   │   └── LC_MESSAGES
        │   │       └── grub.mo
        │   ├── en@greek
        │   │   └── LC_MESSAGES
        │   │       └── grub.mo
        │   ├── en@hebrew
        │   │   └── LC_MESSAGES
        │   │       └── grub.mo
        │   ├── en@piglatin
        │   │   └── LC_MESSAGES
        │   │       └── grub.mo
        │   ├── en@quot
        │   │   └── LC_MESSAGES
        │   │       └── grub.mo
        │   ├── eo
        │   │   └── LC_MESSAGES
        │   │       └── grub.mo
        │   ├── es
        │   │   └── LC_MESSAGES
        │   │       └── grub.mo
        │   ├── fi
        │   │   └── LC_MESSAGES
        │   │       └── grub.mo
        │   ├── fr
        │   │   └── LC_MESSAGES
        │   │       └── grub.mo
        │   ├── gl
        │   │   └── LC_MESSAGES
        │   │       └── grub.mo
        │   ├── hr
        │   │   └── LC_MESSAGES
        │   │       └── grub.mo
        │   ├── hu
        │   │   └── LC_MESSAGES
        │   │       └── grub.mo
        │   ├── id
        │   │   └── LC_MESSAGES
        │   │       └── grub.mo
        │   ├── it
        │   │   └── LC_MESSAGES
        │   │       └── grub.mo
        │   ├── ja
        │   │   └── LC_MESSAGES
        │   │       └── grub.mo
        │   ├── ko
        │   │   └── LC_MESSAGES
        │   │       └── grub.mo
        │   ├── lt
        │   │   └── LC_MESSAGES
        │   │       └── grub.mo
        │   ├── nb
        │   │   └── LC_MESSAGES
        │   │       └── grub.mo
        │   ├── nl
        │   │   └── LC_MESSAGES
        │   │       └── grub.mo
        │   ├── pa
        │   │   └── LC_MESSAGES
        │   │       └── grub.mo
        │   ├── pl
        │   │   └── LC_MESSAGES
        │   │       └── grub.mo
        │   ├── pt_BR
        │   │   └── LC_MESSAGES
        │   │       └── grub.mo
        │   ├── ru
        │   │   └── LC_MESSAGES
        │   │       └── grub.mo
        │   ├── sl
        │   │   └── LC_MESSAGES
        │   │       └── grub.mo
        │   ├── sr
        │   │   └── LC_MESSAGES
        │   │       └── grub.mo
        │   ├── sv
        │   │   └── LC_MESSAGES
        │   │       └── grub.mo
        │   ├── tr
        │   │   └── LC_MESSAGES
        │   │       └── grub.mo
        │   ├── uk
        │   │   └── LC_MESSAGES
        │   │       └── grub.mo
        │   ├── vi
        │   │   └── LC_MESSAGES
        │   │       └── grub.mo
        │   ├── zh_CN
        │   │   └── LC_MESSAGES
        │   │       └── grub.mo
        │   └── zh_TW
        │       └── LC_MESSAGES
        │           └── grub.mo
        └── man
            ├── man1
            │   ├── grub-editenv.1.gz
            │   ├── grub-file.1.gz
            │   ├── grub-fstest.1.gz
            │   ├── grub-glue-efi.1.gz
            │   ├── grub-kbdcomp.1.gz
            │   ├── grub-menulst2cfg.1.gz
            │   ├── grub-mkfont.1.gz
            │   ├── grub-mkimage.1.gz
            │   ├── grub-mklayout.1.gz
            │   ├── grub-mknetdir.1.gz
            │   ├── grub-mkpasswd-pbkdf2.1.gz
            │   ├── grub-mkrelpath.1.gz
            │   ├── grub-mkrescue.1.gz
            │   ├── grub-mkstandalone.1.gz
            │   ├── grub-mount.1.gz
            │   ├── grub-render-label.1.gz
            │   ├── grub-script-check.1.gz
            │   └── grub-syslinux2cfg.1.gz
            └── man8
                ├── grub-macbless.8.gz
                ├── grub-mkconfig.8.gz
                ├── grub-mkdevicemap.8.gz
                └── grub-probe.8.gz

100 directories, 120 files
with the content of the file "conffiles":

Code: Select all

$ cat extracted/DEBIAN/conffiles   
/etc/bash_completion.d/grub
/etc/default/grub.d/init-select.cfg
/etc/grub.d/00_header
/etc/grub.d/05_debian_theme
/etc/grub.d/10_linux
/etc/grub.d/20_linux_xen
/etc/grub.d/30_os-prober
/etc/grub.d/30_uefi-firmware
/etc/grub.d/40_custom
/etc/grub.d/41_custom
/etc/grub.d/README
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
mmikeinsantarosa
Forum Guide
Forum Guide
Posts: 2462
Joined: Thu May 01, 2014 10:12 am

Re: Packages being worked on by the Repo Team

#1230 Post by mmikeinsantarosa » Wed Nov 07, 2018 8:25 pm

cdogs-sdl_0.6.8 : classic overhead run-and-gun game
Last edited by mmikeinsantarosa on Wed Nov 07, 2018 9:16 pm, edited 2 times in total.
LT: MX17.1 Quad Core model: Intel Core i7-6820HQ Kernel: 4.16.0-12.1-liquorix-amd64 (64 bit)
DT: Intel(R) Core i5-3.1GHz Kernel~3.9-1-mepis64 x86_64

Post Reply

Return to “CR Discussion”