[Bug 1723105] Re: Upgrade to 1.28-1ubuntu2.2 fails because postrm script is a directory containing kernel modules
Brian Murray
brian at ubuntu.com
Fri Oct 13 16:20:25 UTC 2017
I was unable to recreate this issue:
After this operation, 389 kB of additional disk space will be used.
Get:1 http://192.168.10.7/ubuntu xenial/main amd64 libidn11 amd64 1.32-3ubuntu1 [45.5 kB]
Get:2 http://192.168.10.7/ubuntu xenial/universe amd64 idn amd64 1.32-3ubuntu1 [75.6 kB]
Fetched 121 kB in 0s (0 B/s)
Selecting previously unselected package libidn11:amd64.
(Reading database ... 15457 files and directories currently installed.)
Preparing to unpack .../libidn11_1.32-3ubuntu1_amd64.deb ...
Unpacking libidn11:amd64 (1.32-3ubuntu1) ...
Selecting previously unselected package idn.
Preparing to unpack .../idn_1.32-3ubuntu1_amd64.deb ...
Unpacking idn (1.32-3ubuntu1) ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Setting up libidn11:amd64 (1.32-3ubuntu1) ...
Setting up idn (1.32-3ubuntu1) ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
(xenial-amd64)root at impulse:/home/bdmurray# ls -lh /var/lib/dpkg/info/libidn11*
-rw-r--r-- 1 root root 254 Oct 13 09:18 /var/lib/dpkg/info/libidn11:amd64.list
-rw-r--r-- 1 root root 221 Nov 4 2015 /var/lib/dpkg/info/libidn11:amd64.md5sums
-rw-r--r-- 1 root root 19 Nov 4 2015 /var/lib/dpkg/info/libidn11:amd64.shlibs
-rw-r--r-- 1 root root 2.8K Nov 4 2015 /var/lib/dpkg/info/libidn11:amd64.symbols
-rw-r--r-- 1 root root 60 Nov 4 2015 /var/lib/dpkg/info/libidn11:amd64.triggers
(xenial-amd64)root at impulse:/home/bdmurray# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
idn libidn11
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 122 kB of archives.
After this operation, 2048 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://192.168.10.7/ubuntu xenial-updates/main amd64 libidn11 amd64 1.32-3ubuntu1.2 [46.5 kB]
Get:2 http://192.168.10.7/ubuntu xenial-updates/universe amd64 idn amd64 1.32-3ubuntu1.2 [75.6 kB]
Fetched 122 kB in 0s (0 B/s)
(Reading database ... 15476 files and directories currently installed.)
Preparing to unpack .../libidn11_1.32-3ubuntu1.2_amd64.deb ...
Unpacking libidn11:amd64 (1.32-3ubuntu1.2) over (1.32-3ubuntu1) ...
Preparing to unpack .../idn_1.32-3ubuntu1.2_amd64.deb ...
Unpacking idn (1.32-3ubuntu1.2) over (1.32-3ubuntu1) ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Setting up libidn11:amd64 (1.32-3ubuntu1.2) ...
Setting up idn (1.32-3ubuntu1.2) ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
(xenial-amd64)root at impulse:/home/bdmurray# ls -lh /var/lib/dpkg/info/libidn11*
-rw-r--r-- 1 root root 254 Oct 13 09:19 /var/lib/dpkg/info/libidn11:amd64.list
-rw-r--r-- 1 root root 221 Sep 25 11:06 /var/lib/dpkg/info/libidn11:amd64.md5sums
-rw-r--r-- 1 root root 19 Sep 25 11:06 /var/lib/dpkg/info/libidn11:amd64.shlibs
-rw-r--r-- 1 root root 2.8K Sep 25 11:06 /var/lib/dpkg/info/libidn11:amd64.symbols
-rw-r--r-- 1 root root 60 Sep 25 11:06 /var/lib/dpkg/info/libidn11:amd64.triggers
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to libidn in Ubuntu.
https://bugs.launchpad.net/bugs/1723105
Title:
Upgrade to 1.28-1ubuntu2.2 fails because postrm script is a directory
containing kernel modules
Status in libidn package in Ubuntu:
New
Bug description:
When trying to upgrade my Ubuntu 14.04.5 LTS server using the command
sudo apt-get dist-upgrade, the upgrade consistently failed while
trying to upgrade libidn11 to version 1.28-1ubuntu2.2 with the
following error message:
unable to install (supposed) new info file
`/var/lib/dpkg/tmp.ci/postrm': Is a directory
I determined that instead of being a script,
/var/lib/dpkg/info/libidn11:amd64.postrm was in fact a directory! It
contained two kernel modules, llc.ko and llc2.lo. I will attach the
two files.
To get the package to install and the upgrade operation to proceed, I
renamed /var/lib/dpkg/info/libidn11:amd64.postrm to
/var/lib/dpkg/info/libidn11:amd64.postrm.bak, after which a renewed
dist-upgrade proceeded without any warnings or errors.
After the installation /var/lib/dpkg/info/libidn11:amd64.postrm once
again existed, and is now a script, as expected.
What gives? Is this a bug in either this or the previous version of
libidn? Is it now correctly installed? Was I hacked (I get a bit
nervous when executable files spontaneously appear in random places)?
I scanned the two files with virustotal.com, and it found nothing, but
I don't think that means much.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: libidn11 1.28-1ubuntu2.2
ProcVersionSignature: Ubuntu 3.13.0-129.178-generic 3.13.11-ckt39
Uname: Linux 3.13.0-129-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.25
Architecture: amd64
Date: Thu Oct 12 14:41:57 2017
Dependencies:
gcc-4.9-base 4.9.3-0ubuntu4
libc6 2.19-0ubuntu6.13
libgcc1 1:4.9.3-0ubuntu4
multiarch-support 2.19-0ubuntu6.13
SourcePackage: libidn
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libidn/+bug/1723105/+subscriptions
More information about the foundations-bugs
mailing list