Ubuntu 16.04 missing files from /etc
up vote
0
down vote
favorite
I have three Ubuntu 16.04 installation.
After running a dpkg -V
I see, the /etc/default/chromium-browser
is missing on all of them, and /etc/init.d/keyboard-setup
missing from two of them, but both contains a keyboard-setup.dpkg-bak
.
Why are these files missing?
The /etc/default/chromium-browser
is missing even if I remove & purge chromium-browser
, chromium-browser-i18n
, then reinstall these packages. There is nothing about it in the dpkg.log
.
Later editing: this question differs from the given possible duplicate, because I don't want to repair it, I'm looking for the cause, why are these files missing. They weren't deleted accidentally. (But already I got a - possibly - good answer by muru)
apt keyboard configuration chromium
New contributor
|
show 1 more comment
up vote
0
down vote
favorite
I have three Ubuntu 16.04 installation.
After running a dpkg -V
I see, the /etc/default/chromium-browser
is missing on all of them, and /etc/init.d/keyboard-setup
missing from two of them, but both contains a keyboard-setup.dpkg-bak
.
Why are these files missing?
The /etc/default/chromium-browser
is missing even if I remove & purge chromium-browser
, chromium-browser-i18n
, then reinstall these packages. There is nothing about it in the dpkg.log
.
Later editing: this question differs from the given possible duplicate, because I don't want to repair it, I'm looking for the cause, why are these files missing. They weren't deleted accidentally. (But already I got a - possibly - good answer by muru)
apt keyboard configuration chromium
New contributor
3
Possible duplicate of How can I restore configuration files?
– muru
yesterday
2
@muru: false positive... ;) I don't want to restore these files, I'd like to know, why are they missing. The /etc/default/chromium-browser is on the .deb, but mssing after installing the package. It looks like if apt/dpkg doesn't copy that file to /etc/default
– user895804
22 hours ago
That.. is near impossible to tell. Could be some script you run. Could be how you do your upgrades.
– muru
22 hours ago
@muru... read my comment again, please! I've edited it.
– user895804
22 hours ago
/etc/default/chromium-broswer
is in/etc
, so it's a config file. conffiles are treated specially by dpkg; once deleted by an admin, they don't automatically get restored when the package is re-installed or upgraded (becausedpkg
assumes the admin has a reason for removing or modifying conffiles). See dupe.
– muru
22 hours ago
|
show 1 more comment
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have three Ubuntu 16.04 installation.
After running a dpkg -V
I see, the /etc/default/chromium-browser
is missing on all of them, and /etc/init.d/keyboard-setup
missing from two of them, but both contains a keyboard-setup.dpkg-bak
.
Why are these files missing?
The /etc/default/chromium-browser
is missing even if I remove & purge chromium-browser
, chromium-browser-i18n
, then reinstall these packages. There is nothing about it in the dpkg.log
.
Later editing: this question differs from the given possible duplicate, because I don't want to repair it, I'm looking for the cause, why are these files missing. They weren't deleted accidentally. (But already I got a - possibly - good answer by muru)
apt keyboard configuration chromium
New contributor
I have three Ubuntu 16.04 installation.
After running a dpkg -V
I see, the /etc/default/chromium-browser
is missing on all of them, and /etc/init.d/keyboard-setup
missing from two of them, but both contains a keyboard-setup.dpkg-bak
.
Why are these files missing?
The /etc/default/chromium-browser
is missing even if I remove & purge chromium-browser
, chromium-browser-i18n
, then reinstall these packages. There is nothing about it in the dpkg.log
.
Later editing: this question differs from the given possible duplicate, because I don't want to repair it, I'm looking for the cause, why are these files missing. They weren't deleted accidentally. (But already I got a - possibly - good answer by muru)
apt keyboard configuration chromium
apt keyboard configuration chromium
New contributor
New contributor
edited 17 hours ago
New contributor
asked Nov 18 at 14:46
user895804
32
32
New contributor
New contributor
3
Possible duplicate of How can I restore configuration files?
– muru
yesterday
2
@muru: false positive... ;) I don't want to restore these files, I'd like to know, why are they missing. The /etc/default/chromium-browser is on the .deb, but mssing after installing the package. It looks like if apt/dpkg doesn't copy that file to /etc/default
– user895804
22 hours ago
That.. is near impossible to tell. Could be some script you run. Could be how you do your upgrades.
– muru
22 hours ago
@muru... read my comment again, please! I've edited it.
– user895804
22 hours ago
/etc/default/chromium-broswer
is in/etc
, so it's a config file. conffiles are treated specially by dpkg; once deleted by an admin, they don't automatically get restored when the package is re-installed or upgraded (becausedpkg
assumes the admin has a reason for removing or modifying conffiles). See dupe.
– muru
22 hours ago
|
show 1 more comment
3
Possible duplicate of How can I restore configuration files?
– muru
yesterday
2
@muru: false positive... ;) I don't want to restore these files, I'd like to know, why are they missing. The /etc/default/chromium-browser is on the .deb, but mssing after installing the package. It looks like if apt/dpkg doesn't copy that file to /etc/default
– user895804
22 hours ago
That.. is near impossible to tell. Could be some script you run. Could be how you do your upgrades.
– muru
22 hours ago
@muru... read my comment again, please! I've edited it.
– user895804
22 hours ago
/etc/default/chromium-broswer
is in/etc
, so it's a config file. conffiles are treated specially by dpkg; once deleted by an admin, they don't automatically get restored when the package is re-installed or upgraded (becausedpkg
assumes the admin has a reason for removing or modifying conffiles). See dupe.
– muru
22 hours ago
3
3
Possible duplicate of How can I restore configuration files?
– muru
yesterday
Possible duplicate of How can I restore configuration files?
– muru
yesterday
2
2
@muru: false positive... ;) I don't want to restore these files, I'd like to know, why are they missing. The /etc/default/chromium-browser is on the .deb, but mssing after installing the package. It looks like if apt/dpkg doesn't copy that file to /etc/default
– user895804
22 hours ago
@muru: false positive... ;) I don't want to restore these files, I'd like to know, why are they missing. The /etc/default/chromium-browser is on the .deb, but mssing after installing the package. It looks like if apt/dpkg doesn't copy that file to /etc/default
– user895804
22 hours ago
That.. is near impossible to tell. Could be some script you run. Could be how you do your upgrades.
– muru
22 hours ago
That.. is near impossible to tell. Could be some script you run. Could be how you do your upgrades.
– muru
22 hours ago
@muru... read my comment again, please! I've edited it.
– user895804
22 hours ago
@muru... read my comment again, please! I've edited it.
– user895804
22 hours ago
/etc/default/chromium-broswer
is in /etc
, so it's a config file. conffiles are treated specially by dpkg; once deleted by an admin, they don't automatically get restored when the package is re-installed or upgraded (because dpkg
assumes the admin has a reason for removing or modifying conffiles). See dupe.– muru
22 hours ago
/etc/default/chromium-broswer
is in /etc
, so it's a config file. conffiles are treated specially by dpkg; once deleted by an admin, they don't automatically get restored when the package is re-installed or upgraded (because dpkg
assumes the admin has a reason for removing or modifying conffiles). See dupe.– muru
22 hours ago
|
show 1 more comment
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
Turns out, both these files are special cases.
/etc/init.d/keyboard-setup
was long obsolete - when Ubuntu used Upstart, there was an Upstart job for this, so the init.d script was never properly used. When Ubuntu moved to systemd, this should have been changed, but was overlooked. A post-release update added a systemd keyboard-setup.service
, properly obsoleting /etc/init.d/keyboard-setup
. If you install 16.04 from the original ISO and upgrade keyboard-setup
, you'll see something like this in apt's output:
Obsolete conffile /etc/init.d/keyboard-setup has been modified by you, renaming to .dpkg-bak
(Not that you modified it, but ...) That's why there's a dpkg-bak
file for /etc/init.d/keyboard-setup
. You can ignore it. See LP#1579267 for details.
/etc/default/chromium-browser
is weirder, because chromium-browser
's postinst
script actually deletes it out of hand:
$ dpkg-deb --ctrl-tarfile chromium-browser_70.0.3538.77-0ubuntu0.16.04.1_amd64.deb | tar x -O ./postinst
#!/bin/sh
set -e
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] ; then
update-alternatives --install /usr/bin/x-www-browser
x-www-browser /usr/bin/chromium-browser 40
update-alternatives --install /usr/bin/gnome-www-browser
gnome-www-browser /usr/bin/chromium-browser 40
fi
rm -f /etc/default/chromium-browser
It has been this way since 2009. Some time in the dark ages /usr/bin/chromium-browser
used to source /etc/default/chromium-browser
, but now it sources /etc/chromium-browser/default
(likely so that all chromium-browser
config files can be kept in the same directory).
This missing file can also be ignored.
OMG... thanks, I've thought, thes are signs that my home network is cracked. (There were many weird things on my net in a very short time)
– user895804
19 hours ago
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
Turns out, both these files are special cases.
/etc/init.d/keyboard-setup
was long obsolete - when Ubuntu used Upstart, there was an Upstart job for this, so the init.d script was never properly used. When Ubuntu moved to systemd, this should have been changed, but was overlooked. A post-release update added a systemd keyboard-setup.service
, properly obsoleting /etc/init.d/keyboard-setup
. If you install 16.04 from the original ISO and upgrade keyboard-setup
, you'll see something like this in apt's output:
Obsolete conffile /etc/init.d/keyboard-setup has been modified by you, renaming to .dpkg-bak
(Not that you modified it, but ...) That's why there's a dpkg-bak
file for /etc/init.d/keyboard-setup
. You can ignore it. See LP#1579267 for details.
/etc/default/chromium-browser
is weirder, because chromium-browser
's postinst
script actually deletes it out of hand:
$ dpkg-deb --ctrl-tarfile chromium-browser_70.0.3538.77-0ubuntu0.16.04.1_amd64.deb | tar x -O ./postinst
#!/bin/sh
set -e
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] ; then
update-alternatives --install /usr/bin/x-www-browser
x-www-browser /usr/bin/chromium-browser 40
update-alternatives --install /usr/bin/gnome-www-browser
gnome-www-browser /usr/bin/chromium-browser 40
fi
rm -f /etc/default/chromium-browser
It has been this way since 2009. Some time in the dark ages /usr/bin/chromium-browser
used to source /etc/default/chromium-browser
, but now it sources /etc/chromium-browser/default
(likely so that all chromium-browser
config files can be kept in the same directory).
This missing file can also be ignored.
OMG... thanks, I've thought, thes are signs that my home network is cracked. (There were many weird things on my net in a very short time)
– user895804
19 hours ago
add a comment |
up vote
1
down vote
accepted
Turns out, both these files are special cases.
/etc/init.d/keyboard-setup
was long obsolete - when Ubuntu used Upstart, there was an Upstart job for this, so the init.d script was never properly used. When Ubuntu moved to systemd, this should have been changed, but was overlooked. A post-release update added a systemd keyboard-setup.service
, properly obsoleting /etc/init.d/keyboard-setup
. If you install 16.04 from the original ISO and upgrade keyboard-setup
, you'll see something like this in apt's output:
Obsolete conffile /etc/init.d/keyboard-setup has been modified by you, renaming to .dpkg-bak
(Not that you modified it, but ...) That's why there's a dpkg-bak
file for /etc/init.d/keyboard-setup
. You can ignore it. See LP#1579267 for details.
/etc/default/chromium-browser
is weirder, because chromium-browser
's postinst
script actually deletes it out of hand:
$ dpkg-deb --ctrl-tarfile chromium-browser_70.0.3538.77-0ubuntu0.16.04.1_amd64.deb | tar x -O ./postinst
#!/bin/sh
set -e
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] ; then
update-alternatives --install /usr/bin/x-www-browser
x-www-browser /usr/bin/chromium-browser 40
update-alternatives --install /usr/bin/gnome-www-browser
gnome-www-browser /usr/bin/chromium-browser 40
fi
rm -f /etc/default/chromium-browser
It has been this way since 2009. Some time in the dark ages /usr/bin/chromium-browser
used to source /etc/default/chromium-browser
, but now it sources /etc/chromium-browser/default
(likely so that all chromium-browser
config files can be kept in the same directory).
This missing file can also be ignored.
OMG... thanks, I've thought, thes are signs that my home network is cracked. (There were many weird things on my net in a very short time)
– user895804
19 hours ago
add a comment |
up vote
1
down vote
accepted
up vote
1
down vote
accepted
Turns out, both these files are special cases.
/etc/init.d/keyboard-setup
was long obsolete - when Ubuntu used Upstart, there was an Upstart job for this, so the init.d script was never properly used. When Ubuntu moved to systemd, this should have been changed, but was overlooked. A post-release update added a systemd keyboard-setup.service
, properly obsoleting /etc/init.d/keyboard-setup
. If you install 16.04 from the original ISO and upgrade keyboard-setup
, you'll see something like this in apt's output:
Obsolete conffile /etc/init.d/keyboard-setup has been modified by you, renaming to .dpkg-bak
(Not that you modified it, but ...) That's why there's a dpkg-bak
file for /etc/init.d/keyboard-setup
. You can ignore it. See LP#1579267 for details.
/etc/default/chromium-browser
is weirder, because chromium-browser
's postinst
script actually deletes it out of hand:
$ dpkg-deb --ctrl-tarfile chromium-browser_70.0.3538.77-0ubuntu0.16.04.1_amd64.deb | tar x -O ./postinst
#!/bin/sh
set -e
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] ; then
update-alternatives --install /usr/bin/x-www-browser
x-www-browser /usr/bin/chromium-browser 40
update-alternatives --install /usr/bin/gnome-www-browser
gnome-www-browser /usr/bin/chromium-browser 40
fi
rm -f /etc/default/chromium-browser
It has been this way since 2009. Some time in the dark ages /usr/bin/chromium-browser
used to source /etc/default/chromium-browser
, but now it sources /etc/chromium-browser/default
(likely so that all chromium-browser
config files can be kept in the same directory).
This missing file can also be ignored.
Turns out, both these files are special cases.
/etc/init.d/keyboard-setup
was long obsolete - when Ubuntu used Upstart, there was an Upstart job for this, so the init.d script was never properly used. When Ubuntu moved to systemd, this should have been changed, but was overlooked. A post-release update added a systemd keyboard-setup.service
, properly obsoleting /etc/init.d/keyboard-setup
. If you install 16.04 from the original ISO and upgrade keyboard-setup
, you'll see something like this in apt's output:
Obsolete conffile /etc/init.d/keyboard-setup has been modified by you, renaming to .dpkg-bak
(Not that you modified it, but ...) That's why there's a dpkg-bak
file for /etc/init.d/keyboard-setup
. You can ignore it. See LP#1579267 for details.
/etc/default/chromium-browser
is weirder, because chromium-browser
's postinst
script actually deletes it out of hand:
$ dpkg-deb --ctrl-tarfile chromium-browser_70.0.3538.77-0ubuntu0.16.04.1_amd64.deb | tar x -O ./postinst
#!/bin/sh
set -e
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] ; then
update-alternatives --install /usr/bin/x-www-browser
x-www-browser /usr/bin/chromium-browser 40
update-alternatives --install /usr/bin/gnome-www-browser
gnome-www-browser /usr/bin/chromium-browser 40
fi
rm -f /etc/default/chromium-browser
It has been this way since 2009. Some time in the dark ages /usr/bin/chromium-browser
used to source /etc/default/chromium-browser
, but now it sources /etc/chromium-browser/default
(likely so that all chromium-browser
config files can be kept in the same directory).
This missing file can also be ignored.
edited 20 hours ago
answered 21 hours ago
muru
134k19282482
134k19282482
OMG... thanks, I've thought, thes are signs that my home network is cracked. (There were many weird things on my net in a very short time)
– user895804
19 hours ago
add a comment |
OMG... thanks, I've thought, thes are signs that my home network is cracked. (There were many weird things on my net in a very short time)
– user895804
19 hours ago
OMG... thanks, I've thought, thes are signs that my home network is cracked. (There were many weird things on my net in a very short time)
– user895804
19 hours ago
OMG... thanks, I've thought, thes are signs that my home network is cracked. (There were many weird things on my net in a very short time)
– user895804
19 hours ago
add a comment |
user895804 is a new contributor. Be nice, and check out our Code of Conduct.
user895804 is a new contributor. Be nice, and check out our Code of Conduct.
user895804 is a new contributor. Be nice, and check out our Code of Conduct.
user895804 is a new contributor. Be nice, and check out our Code of Conduct.
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1093978%2fubuntu-16-04-missing-files-from-etc%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
3
Possible duplicate of How can I restore configuration files?
– muru
yesterday
2
@muru: false positive... ;) I don't want to restore these files, I'd like to know, why are they missing. The /etc/default/chromium-browser is on the .deb, but mssing after installing the package. It looks like if apt/dpkg doesn't copy that file to /etc/default
– user895804
22 hours ago
That.. is near impossible to tell. Could be some script you run. Could be how you do your upgrades.
– muru
22 hours ago
@muru... read my comment again, please! I've edited it.
– user895804
22 hours ago
/etc/default/chromium-broswer
is in/etc
, so it's a config file. conffiles are treated specially by dpkg; once deleted by an admin, they don't automatically get restored when the package is re-installed or upgraded (becausedpkg
assumes the admin has a reason for removing or modifying conffiles). See dupe.– muru
22 hours ago