'/etc/services.dpkg-new' as '/etc/services': Operation not permitted, what to do?

sereok2

New Member
Joined
Jun 6, 2021
Messages
2
Reaction score
1
Credits
29
I want to install a package but when i did that than this came out:
```
apt install postgresql
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Suggested packages:
postgresql-doc
The following NEW packages will be installed:
postgresql
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
5 not fully installed or removed.
Need to get 64.7 kB of archives.
After this operation, 69.6 kB of additional disk space will be used.
Get:1 amd64 postgresql all 13+225 [64.7 kB]
Fetched 64.7 kB in 2s (38.0 kB/s)
Selecting previously unselected package postgresql.
(Reading database ... 580065 files and directories currently installed.)
Preparing to unpack .../postgresql_13+225_all.deb ...
Unpacking postgresql (13+225) ...
Setting up netbase (6.3) ...
Installing new version of config file /etc/services ...
dpkg: error processing package netbase (--configure):
unable to install '/etc/services.dpkg-new' as '/etc/services': Operation not permitted
dpkg: dependency problems prevent configuration of postgresql-client-common:
postgresql-client-common depends on netbase; however:
Package netbase is not configured yet.
dpkg: error processing package postgresql (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
netbase
Scanning application launchers
Removing duplicate launchers or broken launchers
Launchers are updated
E: Sub-process /usr/bin/dpkg returned an error code (1)
```

I tried:
```
apt update
apt install -f
```
please help me, I can't install a new software and i have this bug really long and I couldn't solve it alone.
 


Last edited:

Members online


Latest posts

Top