:: Re: [DNG] BUG in desktop-base
Página Inicial
Delete this message
Reply to this message
Autor: tito
Data:  
Para: dng
Assunto: Re: [DNG] BUG in desktop-base
On Tue, 13 Apr 2021 18:20:37 -0400
fsmithred via Dng <dng@???> wrote:

> On 4/13/21 6:13 PM, tito via Dng wrote:
> > On Tue, 13 Apr 2021 23:19:06 +0200
> > aitor <aitor_czr@???> wrote:
> >
> >> Hi Tito,
> >>
> >> On 13/4/21 8:08, tito via Dng wrote:
> >>> cat /sys/class/drm/card0-Virtual-1/modes
> >>> preferred
> >>> 2560x1600
> >>> 1920x1440
> >>> 1856x1392
> >> The origin of the warning lies in the first line equal to
> >> "preferred", as you pointed out:
> >>
> >> /var/lib/dpkg/info/desktop-base.postinst: line 30: [: preferred:
> >> integer expression expected
> >>
> >> Imho, it should be considered a bug because the script ignores the
> >> preferred value, going ahead with the *else* statement.
> >>
> >> Cheers,
> >>
> >> Aitor.
> >>
> >>
> >
> > Hi,
> > so next question is: is it devuan or debian bug?
> >
> > Ciao,
> > Tito
> > _______________________________________________
>
> Devuan. We fork desktop-base. You could file a bug report, or you
> could just tell me. I have control over line 30 and all the others.
> What should I do with it? Where and how can the script get the
> preferred value?
>
> Thanks,
> fsmithred

Hi,
To be honest I don't know...... I just have seen this while testing my
migration script for the different DEs. It could be just a quirk of the
Virtulabox virtualized hardware that doesn't happen in the real world.
I really don't know. The display in the X session thinks to be
800x600@60Hz but offers all resolutions up to 2560x1600 and
correctly resizes to them if selected.

Ciao,
Tito