apt commands fail because No file name for keyboard-configuration:amd64
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I just did an upgrade on my Debian install.
After updating my sources.list from Jessie to Stretch I did an apt-get update
, apt-get upgrade
and apt-get dist-upgrade
.
While some packages failed to update the machine is still in a usable state. However 33 have failed to install properly starting with xserver-xorg-core
.
It fails with the following message:
Setting up keyboard-configuration (1.164) ...
/var/lib/dpkg/info/keyboard-configuration.config: 5:
/etc/default/keyboard: Syntax error: Unterminated quoted string
dpkg: error processing package keyboard-configuration (--configure):
subprocess installed post-installation script returned error exit
status 2 dpkg: dependency problems prevent configuration of
xserver-xorg-core: xserver-xorg-core depends on
keyboard-configuration; however: Package keyboard-configuration is not
configured yet.
Doing a apt-get install --reinstall keyboard-configuration
returns the following message:
E: Internal Error, No file name for keyboard-configuration:amd64
Here is the output of uname -a
:
Linux debian 4.9.0-6-amd64 #1 SMP Debian 4.9.82-1+deb9u3 (2018-03-02) x86_64 GNU/Linux
EDIT:
Here is the content of /etc/default/keyboard
:
XKBLAYOUT=us,ca XKBVARIANT=, BACKSPACE=guess XKBOPTIONS=caps:escape"
debian apt dpkg
add a comment |Â
up vote
0
down vote
favorite
I just did an upgrade on my Debian install.
After updating my sources.list from Jessie to Stretch I did an apt-get update
, apt-get upgrade
and apt-get dist-upgrade
.
While some packages failed to update the machine is still in a usable state. However 33 have failed to install properly starting with xserver-xorg-core
.
It fails with the following message:
Setting up keyboard-configuration (1.164) ...
/var/lib/dpkg/info/keyboard-configuration.config: 5:
/etc/default/keyboard: Syntax error: Unterminated quoted string
dpkg: error processing package keyboard-configuration (--configure):
subprocess installed post-installation script returned error exit
status 2 dpkg: dependency problems prevent configuration of
xserver-xorg-core: xserver-xorg-core depends on
keyboard-configuration; however: Package keyboard-configuration is not
configured yet.
Doing a apt-get install --reinstall keyboard-configuration
returns the following message:
E: Internal Error, No file name for keyboard-configuration:amd64
Here is the output of uname -a
:
Linux debian 4.9.0-6-amd64 #1 SMP Debian 4.9.82-1+deb9u3 (2018-03-02) x86_64 GNU/Linux
EDIT:
Here is the content of /etc/default/keyboard
:
XKBLAYOUT=us,ca XKBVARIANT=, BACKSPACE=guess XKBOPTIONS=caps:escape"
debian apt dpkg
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I just did an upgrade on my Debian install.
After updating my sources.list from Jessie to Stretch I did an apt-get update
, apt-get upgrade
and apt-get dist-upgrade
.
While some packages failed to update the machine is still in a usable state. However 33 have failed to install properly starting with xserver-xorg-core
.
It fails with the following message:
Setting up keyboard-configuration (1.164) ...
/var/lib/dpkg/info/keyboard-configuration.config: 5:
/etc/default/keyboard: Syntax error: Unterminated quoted string
dpkg: error processing package keyboard-configuration (--configure):
subprocess installed post-installation script returned error exit
status 2 dpkg: dependency problems prevent configuration of
xserver-xorg-core: xserver-xorg-core depends on
keyboard-configuration; however: Package keyboard-configuration is not
configured yet.
Doing a apt-get install --reinstall keyboard-configuration
returns the following message:
E: Internal Error, No file name for keyboard-configuration:amd64
Here is the output of uname -a
:
Linux debian 4.9.0-6-amd64 #1 SMP Debian 4.9.82-1+deb9u3 (2018-03-02) x86_64 GNU/Linux
EDIT:
Here is the content of /etc/default/keyboard
:
XKBLAYOUT=us,ca XKBVARIANT=, BACKSPACE=guess XKBOPTIONS=caps:escape"
debian apt dpkg
I just did an upgrade on my Debian install.
After updating my sources.list from Jessie to Stretch I did an apt-get update
, apt-get upgrade
and apt-get dist-upgrade
.
While some packages failed to update the machine is still in a usable state. However 33 have failed to install properly starting with xserver-xorg-core
.
It fails with the following message:
Setting up keyboard-configuration (1.164) ...
/var/lib/dpkg/info/keyboard-configuration.config: 5:
/etc/default/keyboard: Syntax error: Unterminated quoted string
dpkg: error processing package keyboard-configuration (--configure):
subprocess installed post-installation script returned error exit
status 2 dpkg: dependency problems prevent configuration of
xserver-xorg-core: xserver-xorg-core depends on
keyboard-configuration; however: Package keyboard-configuration is not
configured yet.
Doing a apt-get install --reinstall keyboard-configuration
returns the following message:
E: Internal Error, No file name for keyboard-configuration:amd64
Here is the output of uname -a
:
Linux debian 4.9.0-6-amd64 #1 SMP Debian 4.9.82-1+deb9u3 (2018-03-02) x86_64 GNU/Linux
EDIT:
Here is the content of /etc/default/keyboard
:
XKBLAYOUT=us,ca XKBVARIANT=, BACKSPACE=guess XKBOPTIONS=caps:escape"
debian apt dpkg
edited Apr 27 at 20:04
asked Apr 27 at 19:54
Gilles
199118
199118
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
2
down vote
accepted
The error message
/var/lib/dpkg/info/keyboard-configuration.config: 5:
/etc/default/keyboard: Syntax error: Unterminated quoted string
suggests thereâÂÂs a problem with your /etc/default/keyboard
file. Looking at the contents shows that you have an extraneous quote at the end of XKBOPTIONS
; remove that and everything should work again (after a dpkg-reconfigure --pending
).
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
The error message
/var/lib/dpkg/info/keyboard-configuration.config: 5:
/etc/default/keyboard: Syntax error: Unterminated quoted string
suggests thereâÂÂs a problem with your /etc/default/keyboard
file. Looking at the contents shows that you have an extraneous quote at the end of XKBOPTIONS
; remove that and everything should work again (after a dpkg-reconfigure --pending
).
add a comment |Â
up vote
2
down vote
accepted
The error message
/var/lib/dpkg/info/keyboard-configuration.config: 5:
/etc/default/keyboard: Syntax error: Unterminated quoted string
suggests thereâÂÂs a problem with your /etc/default/keyboard
file. Looking at the contents shows that you have an extraneous quote at the end of XKBOPTIONS
; remove that and everything should work again (after a dpkg-reconfigure --pending
).
add a comment |Â
up vote
2
down vote
accepted
up vote
2
down vote
accepted
The error message
/var/lib/dpkg/info/keyboard-configuration.config: 5:
/etc/default/keyboard: Syntax error: Unterminated quoted string
suggests thereâÂÂs a problem with your /etc/default/keyboard
file. Looking at the contents shows that you have an extraneous quote at the end of XKBOPTIONS
; remove that and everything should work again (after a dpkg-reconfigure --pending
).
The error message
/var/lib/dpkg/info/keyboard-configuration.config: 5:
/etc/default/keyboard: Syntax error: Unterminated quoted string
suggests thereâÂÂs a problem with your /etc/default/keyboard
file. Looking at the contents shows that you have an extraneous quote at the end of XKBOPTIONS
; remove that and everything should work again (after a dpkg-reconfigure --pending
).
answered Apr 27 at 20:38
Stephen Kitt
140k22302363
140k22302363
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f440500%2fapt-commands-fail-because-no-file-name-for-keyboard-configurationamd64%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password