1

Onderwerp: Updaten lukt niet

Ik probeer mijn desktop te updaten maar dat lukt niet
Wat gaat er fout en wat doe ik er aan?

# root@koot:~# apt-get upgrade --dry-run
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
snapd : Depends: snap-confine (= 2.22.3) but it is not installed
E: Unmet dependencies. Try using -f.
root@koot:~# apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  snapd
The following packages will be upgraded:
  snapd
1 upgraded, 0 newly installed, 0 to remove and 374 not upgraded.
2 not fully installed or removed.
Need to get 13,9 MB of archives.
After this operation, 15,8 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://nl.archive.ubuntu.com/ubuntu xenial-updates/main amd64 snapd amd64 2.38 [13,9 MB]
Fetched 13,9 MB in 8s (1719 kB/s)                                                                                                                         
(Reading database ... 282202 files and directories currently installed.)
Preparing to unpack .../archives/snapd_2.38_amd64.deb ...
Warning: Stopping snapd.service, but it can still be activated by:
  snapd.socket
Failed to stop snapd.refresh.timer: Unit snapd.refresh.timer not loaded.
dpkg: warning: subprocess old pre-removal script returned error exit status 5
dpkg: trying script from the new package instead ...
Failed to stop snapd.failure.service: Unit snapd.failure.service not loaded.
Failed to stop snapd.seeded.service: Unit snapd.seeded.service not loaded.
dpkg: error processing archive /var/cache/apt/archives/snapd_2.38_amd64.deb (--unpack):
subprocess new pre-removal script returned error exit status 5
/usr/bin/deb-systemd-helper: error: unable to read snapd.refresh.timer
Failed to get unit file state for snapd.refresh.timer: No such file or directory
snapd.refresh.timer is a disabled or a static unit, not starting it.
Errors were encountered while processing:
/var/cache/apt/archives/snapd_2.38_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@koot:~# apt-get upgrade --dry-run
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
snapd : Depends: snap-confine (= 2.22.3) but it is not installed
E: Unmet dependencies. Try using -f.
root@koot:~# apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  snapd
The following packages will be upgraded:
  snapd
1 upgraded, 0 newly installed, 0 to remove and 374 not upgraded.
2 not fully installed or removed.
Need to get 0 B/13,9 MB of archives.
After this operation, 15,8 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 282202 files and directories currently installed.)
Preparing to unpack .../archives/snapd_2.38_amd64.deb ...
Warning: Stopping snapd.service, but it can still be activated by:
  snapd.socket
Failed to stop snapd.refresh.timer: Unit snapd.refresh.timer not loaded.
dpkg: warning: subprocess old pre-removal script returned error exit status 5
dpkg: trying script from the new package instead ...
Failed to stop snapd.failure.service: Unit snapd.failure.service not loaded.
Failed to stop snapd.seeded.service: Unit snapd.seeded.service not loaded.
dpkg: error processing archive /var/cache/apt/archives/snapd_2.38_amd64.deb (--unpack):
subprocess new pre-removal script returned error exit status 5
/usr/bin/deb-systemd-helper: error: unable to read snapd.refresh.timer
Failed to get unit file state for snapd.refresh.timer: No such file or directory
snapd.refresh.timer is a disabled or a static unit, not starting it.
Errors were encountered while processing:
/var/cache/apt/archives/snapd_2.38_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Old programmers never die: they just jump to a new address
Kubuntu 16.02 LTS, Compaq CQ61 met Linux Mint 18, een Galaxy Tab 10.1 met Android Ice Cream en een Raspberry PI met raspian
http://www.volkerskrant.nl