Bug#821927: basename: missing operand

Michael Biebl biebl at debian.org
Wed Apr 20 22:45:24 UTC 2016


Am 21.04.2016 um 00:26 schrieb Herbert Fortes (hpfn):
> On Wed, 20 Apr 2016 20:13:05 +0200
> Michael Biebl <biebl at 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.

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


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20160421/d7597cc6/attachment-0001.sig>


More information about the pkg-gnome-maintainers mailing list