I am unable to update my system.

joe@joe-linux:~$ sudo apt-get install avahi-daemon avahi-dnsconfd avahi-utils
[sudo] password for joe: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
avahi-daemon is already the newest version (0.6.32-1ubuntu1.1).
avahi-utils is already the newest version (0.6.32-1ubuntu1.1).
The following packages will be upgraded:
  avahi-dnsconfd
1 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
Need to get 0 B/14.0 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 392091 files and directories currently installed.)
Preparing to unpack .../avahi-dnsconfd_0.6.32-1ubuntu1.1_amd64.deb ...
Job for avahi-daemon.socket canceled.
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
Job for avahi-daemon.socket canceled.
dpkg: error processing archive 
/var/cache/apt/archives/avahi-dnsconfd_0.6.32-1ubuntu1.1_amd64.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/avahi-dnsconfd_0.6.32-1ubuntu1.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
joe@joe-linux:~$ sudo apt-get install avahi-daemon avahi-dnsconfd avahi-utils
Reading package lists... Done
Building dependency tree       
Reading state information... Done
avahi-daemon is already the newest version (0.6.32-1ubuntu1.1).
avahi-utils is already the newest version (0.6.32-1ubuntu1.1).
The following packages will be upgraded:
  avahi-dnsconfd
1 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
Need to get 0 B/14.0 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 392091 files and directories currently installed.)
Preparing to unpack .../avahi-dnsconfd_0.6.32-1ubuntu1.1_amd64.deb ...
Job for avahi-daemon.socket canceled.
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
Job for avahi-daemon.socket canceled.
dpkg: error processing archive 
/var/cache/apt/archives/avahi-dnsconfd_0.6.32-1ubuntu1.1_amd64.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/avahi-dnsconfd_0.6.32-1ubuntu1.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


joe@joe-linux:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  avahi-dnsconfd libpam-systemd libsystemd0 libsystemd0:i386 libudev1 systemd
  systemd-sysv udev
8 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 4,484 kB/4,498 kB of archives.
After this operation, 10.2 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu artful-updates/main amd64 libpam-systemd 
amd64 234-2ubuntu12.3 [111 kB]
Get:2 http://archive.ubuntu.com/ubuntu artful-updates/main amd64 libudev1 amd64 
234-2ubuntu12.3 [52.4 kB]
Get:3 http://archive.ubuntu.com/ubuntu artful-updates/main amd64 udev amd64 
234-2ubuntu12.3 [1,091 kB]
Get:4 http://archive.ubuntu.com/ubuntu artful-updates/main amd64 systemd amd64 
234-2ubuntu12.3 [2,781 kB]
Get:5 http://archive.ubuntu.com/ubuntu artful-updates/main i386 libsystemd0 
i386 234-2ubuntu12.3 [227 kB]
Get:6 http://archive.ubuntu.com/ubuntu artful-updates/main amd64 libsystemd0 
amd64 234-2ubuntu12.3 [209 kB]
Get:7 http://archive.ubuntu.com/ubuntu artful-updates/main amd64 systemd-sysv 
amd64 234-2ubuntu12.3 [11.6 kB]
Fetched 4,484 kB in 2s (2,078 kB/s)  
(Reading database ... 392091 files and directories currently installed.)
Preparing to unpack .../libpam-systemd_234-2ubuntu12.3_amd64.deb ...
Unpacking libpam-systemd:amd64 (234-2ubuntu12.3) over (234-2ubuntu12.1) ...
Preparing to unpack .../libudev1_234-2ubuntu12.3_amd64.deb ...
Unpacking libudev1:amd64 (234-2ubuntu12.3) over (234-2ubuntu12.1) ...
Setting up libudev1:amd64 (234-2ubuntu12.3) ...
(Reading database ... 392091 files and directories currently installed.)
Preparing to unpack .../udev_234-2ubuntu12.3_amd64.deb ...
Unpacking udev (234-2ubuntu12.3) over (234-2ubuntu12.1) ...
Preparing to unpack .../systemd_234-2ubuntu12.3_amd64.deb ...
Unpacking systemd (234-2ubuntu12.3) over (234-2ubuntu12.1) ...
Preparing to unpack .../libsystemd0_234-2ubuntu12.3_amd64.deb ...
De-configuring libsystemd0:i386 (234-2ubuntu12.1) ...
Unpacking libsystemd0:amd64 (234-2ubuntu12.3) over (234-2ubuntu12.1) ...
Preparing to unpack .../libsystemd0_234-2ubuntu12.3_i386.deb ...
Unpacking libsystemd0:i386 (234-2ubuntu12.3) over (234-2ubuntu12.1) ...
Setting up libsystemd0:amd64 (234-2ubuntu12.3) ...
Setting up libsystemd0:i386 (234-2ubuntu12.3) ...
Setting up systemd (234-2ubuntu12.3) ...
addgroup: The group `systemd-journal' already exists as a system group. Exiting.
(Reading database ... 392091 files and directories currently installed.)
Preparing to unpack .../systemd-sysv_234-2ubuntu12.3_amd64.deb ...
Unpacking systemd-sysv (234-2ubuntu12.3) over (234-2ubuntu12.1) ...
Preparing to unpack .../avahi-dnsconfd_0.6.32-1ubuntu1.1_amd64.deb ...
Job for avahi-daemon.socket canceled.
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
Job for avahi-daemon.socket canceled.
dpkg: error processing archive 
/var/cache/apt/archives/avahi-dnsconfd_0.6.32-1ubuntu1.1_amd64.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/avahi-dnsconfd_0.6.32-1ubuntu1.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to avahi in Ubuntu.
https://bugs.launchpad.net/bugs/1767831

Title:
  package avahi-dnsconfd 0.6.32-1ubuntu1 failed to install/upgrade:
  subprocess new pre-removal script returned error exit status 1

Status in avahi package in Ubuntu:
  Confirmed

Bug description:
  Got bug when did upgrade

  ProblemType: Package
  DistroRelease: Ubuntu 17.10
  Package: avahi-dnsconfd 0.6.32-1ubuntu1
  ProcVersionSignature: Ubuntu 4.13.0-37.42-generic 4.13.13
  Uname: Linux 4.13.0-37-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.20.7-0ubuntu3.8
  Architecture: amd64
  Date: Sun Apr 29 20:07:16 2018
  ErrorMessage: subprocess new pre-removal script returned error exit status 1
  InstallationDate: Installed on 2016-05-05 (723 days ago)
  InstallationMedia: Ubuntu-MATE 16.04 LTS "Xenial Xerus" - Release amd64 
(20160420.1)
  Python3Details: /usr/bin/python3.6, Python 3.6.3, python3-minimal, 
3.6.3-0ubuntu2
  PythonDetails: /usr/bin/python2.7, Python 2.7.14, python-minimal, 
2.7.14-2ubuntu1
  RelatedPackageVersions:
   dpkg 1.18.24ubuntu1
   apt  1.5.1
  SourcePackage: avahi
  Title: package avahi-dnsconfd 0.6.32-1ubuntu1 failed to install/upgrade: 
subprocess new pre-removal script returned error exit status 1
  UpgradeStatus: Upgraded to artful on 2017-10-20 (191 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/avahi/+bug/1767831/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to