Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#821927: basename: missing operand

504 views
Skip to first unread message

Herbert Parentes Fortes Neto

unread,
Apr 20, 2016, 10:40:04 AM4/20/16
to
Package: gdm3
Version: 3.20.1-1
Severity: important

Dear Maintainer,

I did an 'apt-get dist-upgrade' and end with this:

# LANG=C apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up gdm3 (3.20.1-1) ...
basename: missing operand
Try 'basename --help' for more information.
dpkg: error processing package gdm3 (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
gdm3


Seems to be the same error reported in bug #579103 (2010 - squeeze/sid)
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=579103



regards,
Herbert

-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.4.0-1-amd64 (SMP w/1 CPU core)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gdm3 depends on:
ii accountsservice 0.6.40-3
ii adduser 3.114
ii dconf-cli 0.26.0-1
ii dconf-gsettings-backend 0.26.0-1
ii debconf [debconf-2.0] 1.5.59
ii gir1.2-gdm-1.0 3.20.1-1
ii gnome-session [x-session-manager] 3.20.1-1
ii gnome-session-bin 3.20.1-1
ii gnome-settings-daemon 3.20.1-1
ii gnome-shell 3.20.1-1
ii gnome-terminal [x-terminal-emulator] 3.20.1-2
ii gsettings-desktop-schemas 3.20.0-3
ii libaccountsservice0 0.6.40-3
ii libaudit1 1:2.4.5-1+b1
ii libc6 2.22-7
ii libcanberra-gtk3-0 0.30-3
ii libcanberra0 0.30-3
ii libgdk-pixbuf2.0-0 2.34.0-1
ii libgdm1 3.20.1-1
ii libglib2.0-0 2.48.0-1
ii libglib2.0-bin 2.48.0-1
ii libgtk-3-0 3.20.3-1
ii libpam-modules 1.1.8-3.2
ii libpam-runtime 1.1.8-3.2
ii libpam-systemd 229-4
ii libpam0g 1.1.8-3.2
ii librsvg2-common 2.40.15-1
ii libselinux1 2.4-3+b1
ii libsystemd0 229-4
ii libwrap0 7.6.q-25
ii libx11-6 2:1.6.3-1
ii libxau6 1:1.0.8-1
ii libxdmcp6 1:1.1.2-1.1
ii lsb-base 9.20160110
ii metacity [x-window-manager] 1:3.18.3-1
ii mutter [x-window-manager] 3.20.1-1
ii policykit-1 0.105-15
ii ucf 3.0036
ii x11-common 1:7.7+14
ii x11-xserver-utils 7.7+7
ii xterm [x-terminal-emulator] 324-1

Versions of packages gdm3 recommends:
ii at-spi2-core 2.18.3-4
ii desktop-base 8.0.2
ii x11-xkb-utils 7.7+2
ii xserver-xephyr 2:1.18.3-1
ii xserver-xorg 1:7.7+14
ii zenity 3.20.0-1

Versions of packages gdm3 suggests:
ii gnome-orca 3.20.0-1
ii libpam-gnome-keyring 3.20.0-1

-- debconf information:
* shared/default-x-display-manager: gdm3
gdm3/daemon_name: /usr/sbin/gdm3

Herbert Fortes

unread,
Apr 20, 2016, 11:10:03 AM4/20/16
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,
Was a test in a VM (KVM). And the system
did not reboot.

It stopped at: Started Update UTMP about System Runlevel Changes.

I belive the severity should be raise up
to an up level.



regards,
- --
Herbert Parentes Fortes Neto (hpfn)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCgAGBQJXF5eUAAoJEFUlbyisYGEajCYP/29Xxv4yIgNP69sAN3WhapU3
o4dwpPEG+fIiWG9OOzIzvUjP8Ce69/wxJp1/L6Mf735CGD8KVFyRD0lHVYpjfqXQ
zInBs6oJ14x/otmpFK+pw+McsqzZMEnM/dwo0tf85hfcF2IIlP30mODSB7+ZhKt5
zzcWKpNG7goDIYua/+RvDHzSai2j/sUv2q1n7OS8FoZJ/Ijcp4zyw9al632qSyIx
eGBPUGjCbQ4Od5xRTbAY8PYa/OYgBkq2Y/ZgbTRgPIFJA9tkJ27546BTT6SX2lIT
7b6qSfiqtYdgMVfiXhSwSH/+Z/w/RwSwEwdnpgfSKvGV6bwGgAkyFKQiBnZ3Ejsn
HrvKzq9kofBpAyV6CSqhQwLm+bAj/Z3CROxLjz/BuZ1jNKqGBe2JA/79Q6Ec8tBz
y5POUwYye0/GZujbKJ0oTrHE3xDp3aPEjEzKwi5O2jZ3Mms5qh9ykmwbnm6jmO7I
EeYy7MPTLG0NiLxK8acmWLpAIRx93KVWEwiCvhf5bsBr9s6ugzStTtiAJ8OPTih7
yILWpEJG35SPDJUdwcxu+xJl9TSrJHeQ9gyqA3eRiomTs/hq0L70JQQ1NbxdAot7
gUcuBtws4YpcGWBwgCRhxaGR776r1NfL5ErJgp4tP/qdBcdXoctd/5uSLtdww+5z
RjkLVJ1DDa+UY1FogTBN
=+hTo
-----END PGP SIGNATURE-----

Michael Biebl

unread,
Apr 20, 2016, 2:20:03 PM4/20/16
to
Control: tags -1 moreinfo

Am 20.04.2016 um 16:26 schrieb Herbert Parentes Fortes Neto:
> I did an 'apt-get dist-upgrade' and end with this:
>
> # LANG=C apt-get dist-upgrade
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Calculating upgrade... Done
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> 1 not fully installed or removed.
> After this operation, 0 B of additional disk space will be used.
> Do you want to continue? [Y/n]
> Setting up gdm3 (3.20.1-1) ...
> basename: missing operand
> Try 'basename --help' for more information.
> dpkg: error processing package gdm3 (--configure):
> subprocess installed post-installation script returned error exit status 1
> Errors were encountered while processing:
> gdm3
>

Do you have a /etc/X11/default-display-manager file? If so, what does it
contain?


--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

signature.asc

Herbert Fortes

unread,
Apr 20, 2016, 6:40:03 PM4/20/16
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On Wed, 20 Apr 2016 20:13:05 +0200
Michael Biebl <bi...@debian.org> wrote:

> Control: tags -1 moreinfo
>
> Am 20.04.2016 um 16:26 schrieb Herbert Parentes Fortes Neto:
> > I did an 'apt-get dist-upgrade' and end with this:
> >
> > # LANG=C apt-get dist-upgrade
> > Reading package lists... Done
> > Building dependency tree
> > Reading state information... Done
> > Calculating upgrade... Done
> > 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> > 1 not fully installed or removed.
> > After this operation, 0 B of additional disk space will be used.
> > Do you want to continue? [Y/n]
> > Setting up gdm3 (3.20.1-1) ...
> > basename: missing operand
> > Try 'basename --help' for more information.
> > dpkg: error processing package gdm3 (--configure):
> > subprocess installed post-installation script returned error exit status 1
> > Errors were encountered while processing:
> > gdm3
> >
>
> Do you have a /etc/X11/default-display-manager file? If so, what does it
> contain?
>

Ok. The file was empty. It was empty because the VM (KVM)
does not complete the boot with gdm3.

After put '/usr/sbin/gdm3' on it, the 'dist-upgrade' ran
without errors. Version 3.20.1-1 is installed. But it does
not boot after that. It freezes at: 'Booting from Hard Disk'.

Before the 'dist-upgrade', with the '/etc/X11/default-display-manager'
empty, it was possible to boot and use the console(tty1) login.
Then 'startx'.

I installed lightdm, the default-display-manager now, and
the are no errors now.

Sorry for the inconvenience.



regards,
- --
Herbert Parentes Fortes Neto (hpfn)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCgAGBQJXGAIEAAoJEFUlbyisYGEa7kAP/Rywc/MsMoj2Mxy3KjOJhG0U
bXBPrOS9U/XwJszArrbO6LN6rW8RPZriiyHvsTIkM02cHBeb17Cgn8FnZHdhEYEf
Xql0en8S1LKU614LhrRQ85sa6dbxJ0BGVyo9MvK8sofCnI4vhAA9cnt4H8VZvo5d
6XQS7dbN2b2duSXs+8lC1gghVTXNMnxLj0NB2V/dLLTIHSpmYKipugODj15uClNV
17eT+krvvXw0gL9PBsfnljQoNTLmV32EgUpHUTU9l5DRN85A7fTcZMeeai+GacrK
wUJFm3vh0fedI/w5fHgM13KS/xnQoJytu3WD4ms0762dhwO5GimVuA1L751A3nwW
GC08ALbPgXFO/G84tLAzenRxSy8A2dl4qwL9kvc0Ee3CCnWL5HStxh/ia/aNo5XQ
hMvcnsfII5Ku4rWz6UhCx9Lj3iZq0nlZftyCH387B0kzMDJvjgkFPFp7BTU3SCW8
fv8xeVXYlESthxY1Ow8+HYJk+vYfFIc63q/VaxtRSTvHon4QbcIInD61f84Dwkr+
d0w6MsW+1fhH2xRilQUXvCt3w3duI7xpFCL/7qz1m33tNLNuj+0GY/LoDeJCMVMe
mj/HzliYAoPyzhyV+Uuxp/T3Bj8TfeLlsJjy3C9GJkE3ymaOnvOl/76pV01S557V
DdFPOL/AU5K/IhNK6Yr0
=Pmox
-----END PGP SIGNATURE-----

Michael Biebl

unread,
Apr 20, 2016, 6:50:03 PM4/20/16
to
A better way to disable boot-to-graphical-login is to use

systemctl set-default multi-user.target

> After put '/usr/sbin/gdm3' on it, the 'dist-upgrade' ran
> without errors. Version 3.20.1-1 is installed. But it does
> not boot after that. It freezes at: 'Booting from Hard Disk'.

That sounds like a problem related to your graphics drivers.

> Before the 'dist-upgrade', with the '/etc/X11/default-display-manager'
> empty, it was possible to boot and use the console(tty1) login.
> Then 'startx'.

I assume we should handle an empty /etc/X11/default-display-manager more
gracefully.

bigon, thoughts?

Related to that, I think we should start removing the
/etc/X11/default-display-manager from the systemd .service files.
All display managers should implement the
/etc/systemd/display-manager.service interface nowadays.
We still need /etc/X11/default-display-manager for the sysv init script
though.


Regards,
Michael
signature.asc

Herbert Fortes

unread,
Apr 21, 2016, 9:10:03 AM4/21/16
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512


> >
> > Ok. The file was empty. It was empty because the VM (KVM)
> > does not complete the boot with gdm3.
>
> A better way to disable boot-to-graphical-login is to use
>
> systemctl set-default multi-user.target

Thanks!

>
> > After put '/usr/sbin/gdm3' on it, the 'dist-upgrade' ran
> > without errors. Version 3.20.1-1 is installed. But it does
> > not boot after that. It freezes at: 'Booting from Hard Disk'.
>
> That sounds like a problem related to your graphics drivers.

Yes. i915:

license: GPL and additional rights
description: Intel Graphics
author: Intel Corporation
author: Tungsten Graphics, Inc.


In Jessie, it was not possible to use two monitors. So
I did an upgrade to Stretch. But it is not 100%.



regards,
- --
Herbert Parentes Fortes Neto (hpfn)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCgAGBQJXGM4MAAoJEFUlbyisYGEa8e0P/A6VFRmGZ8+vytveMz4Dp2zr
2zmLrH1OxQENlVyeVFn7HZDxCE5h8/fORVbp0eTxr/eL6jZjJK8gJNYZZmt9v5HQ
f/DXS4AzcYTMA3M1VasGUw82eJQvwo0pYe/FQKctUmDw5uA/UdNyaO4BlKyaF48A
0qtV93fhMPtZJxy16m/pz4k3DWHeTSiWRXD6zXso5/Z0jk7J8wt5eYdZVZntBpw7
OEmCt8Ep7don6CRZlxDn847+rCGIRMLhr6ebgQFJkSVwfQU6lH74SLpU2CSozq65
zIBrQTBhk37scCdL4V7VoZDb9i5LKBY9P2i+rIWjWkxF4bNS9TrFBHFjV/dJiY3+
nDm3rYObt+gxQjfIng9UYVnGTHCgfwEOFqDQM+hIiayA54ERGf7gPFKUd9NhJG59
zPNPntOfwety2CXAvC/tOEel0G6BstO/4MjiRo0I2I6Yn/J+hhNVyhqhyqhUXs4o
UpR63yoi0oMuvQJfHlhAvkc+0WZq9qu7kHg3f89KquVOHyVZ21Hg8ULUtg0RpD5l
VWEAoMrAgNRU5E5rkBgP5svXnClop/0JoiUn/BpbNutu662xJw5dfvqUTO1jc+na
FhO5ob5bmi1dOmemta2OvVqXe15jYMmk+JMGMJiaW5zBcdAyS0frlZzoTkQzBu10
6xr+QHhCC0JYCDPonVEL
=5R/X
-----END PGP SIGNATURE-----

Adam D. Barratt

unread,
Apr 21, 2016, 9:50:05 AM4/21/16
to

On 2016-04-21 13:56, Herbert Fortes wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
>
>> >
>> > Ok. The file was empty. It was empty because the VM (KVM)
>> > does not complete the boot with gdm3.
>>
>> A better way to disable boot-to-graphical-login is to use
>>
>> systemctl set-default multi-user.target
>
> Thanks!

I think you typoed the bug number. #819227 is a closed
release.debian.org bug about a pcre3 update.

Regards,

Adam

Herbert Fortes

unread,
Apr 21, 2016, 3:10:03 PM4/21/16
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,

> >> > Ok. The file was empty. It was empty because the VM (KVM)
> >> > does not complete the boot with gdm3.
> >>
> >> A better way to disable boot-to-graphical-login is to use
> >>
> >> systemctl set-default multi-user.target
> >
> > Thanks!
>
> I think you typoed the bug number. #819227 is a closed
> release.debian.org bug about a pcre3 update.
>

I did not understand. I use reportbug to report
this bug - #821927[0]. And on the first email I pointed to
another bug: #579103[1] (2010 - squeeze/sid)

[0] - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=821927
[1] - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=579103



regards,
- --
Herbert Parentes Fortes Neto (hpfn)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCgAGBQJXGSR6AAoJEFUlbyisYGEa1NMP/iYZnP9el0uhPiJYmgla9god
0q565utnwfIwvLrAXz0UYkvAqG4mhek/vltoN3kOgcxFl1meJEO41b0dvE5r68xE
xRbauljQypxh/uvQfPMD+277hmo9FCV4ccmbGrY4GlLY73ssCrBqco43N/Hhz1nz
Z8K2Kmx078oZ6Ua3vWzuPEsX49j91agQD2mwJEv8FwZ4Oj/KzUi++DdnZ7DeAGjn
I5TVdcthtUG6QObIkIq7NQpUkOq7L8It8tExVsvHERqCvQOxf4F1ih0e8SXrhsp7
bqoSIyxZPoiEfjCybbmX9aVdPFEE2+5iVFIdKehW1awq/E5/U75wA7TSMAhga8jU
xCXuy3F9YJJjMgGdXOLahQawz5Z0izYxqk1QatHNIpeOpTXzrI8fLj9Ig2T3eruH
wbg6CT21TG/SZ5xOFR5zPUwHtPOoWZXZMNvrGOH6hkZUn3j1Xt+X33h4+feznCz4
NY/oYyIBovkryX5WSUImr96SDxrvsOrYOhdWEdlJDZpdDjhFvqacwRR+3xzl178g
GlNm8fyHtTpHe0RldxcZWwuteyC/Ysst7bFTWYqvXw/f30la0QgbI/CrAHrtexnx
OdBVVE9Uy8g7HuqIGeQvIjx9WGZ4zcsei8vne+egXA8ZildK7yYY0l92FC5V01/W
D/+f1bUOkXgXiu8AlYnk
=dEOn
-----END PGP SIGNATURE-----

Herbert Fortes

unread,
Apr 21, 2016, 3:30:04 PM4/21/16
to

Ok, I got it.

I am sorry.



regards,
0 new messages