** Changed in: ubiquity (Ubuntu)
       Status: Incomplete => Triaged

** Changed in: ubiquity (Ubuntu)
   Importance: Undecided => High

** Description changed:

- In addition to an earlier bug report
- (https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1593398) I have
- found another package with missing files on a system that was installed
- per the Kubuntu 16.04 64-bit ISO.
+ It appears that Ubiquity removes various packages as the final step of
+ the installation.  It appears to do this in two phases however: first it
+ deletes the files they contain, and then in the second phase it updates
+ the dpkg status database to indicate they are no longer installed.  The
+ second phase is not performed if grub fails to install, leaving the
+ target system with packages marked as installed, but missing their
+ files.  This should not happen.
  
- Package _dmraid_ was installed and I could display its file list with
- dpkg -L dmraid.
- 
- dmraid/xenial,now 1.0.0.rc16-4.2ubuntu3 amd64 [installed]
- 
- /.
- /usr
- /usr/share
- /usr/share/bug
- /usr/share/bug/dmraid
- /usr/share/bug/dmraid/script
- /usr/share/initramfs-tools
- /usr/share/initramfs-tools/hooks
- /usr/share/initramfs-tools/hooks/dmraid
- /usr/share/initramfs-tools/scripts
- /usr/share/initramfs-tools/scripts/local-top
- /usr/share/initramfs-tools/scripts/local-top/dmraid
- /usr/share/doc
- /usr/share/doc/dmraid
- /usr/share/doc/dmraid/README
- /usr/share/doc/dmraid/TODO
- /usr/share/doc/dmraid/CREDITS
- /usr/share/doc/dmraid/copyright
- /usr/share/doc/dmraid/KNOWN_BUGS
- /usr/share/man
- /usr/share/man/man8
- /usr/share/man/man8/dmevent_tool.8.gz
- /usr/share/man/man8/dmraid.8.gz
- /lib
- /lib/udev
- /lib/udev/rules.d
- /lib/udev/rules.d/97-dmraid.rules
- /sbin
- /sbin/dmraid
- /sbin/dmraid-activate
- /usr/share/doc/dmraid/changelog.Debian.gz
- 
- When I went to /usr/share/doc/dmraid, the directory was empty
- 
- # cd /usr/share/doc/dmraid
- # vi README
- # ls
- # vdir
- total 0
- 
- I reinstall
- 
- apt install --reinstall dmraid
- 
- # ls
- changelog.Debian.gz  copyright  CREDITS  KNOWN_BUGS  README  TODO
- 
- Now I run dmraid -l
- 
- # dmraid -l
- dmraid: error while loading shared libraries: libdmraid.so.1.0.0.rc16: cannot 
open shared object file: No such file or directory
- 
- # apt-file search libdmraid.so.1.0.0.rc16
- libdmraid1.0.0.rc16: /lib/libdmraid.so.1.0.0.rc16
- 
- # apt list libdmraid*
- Listing... Done
- libdmraid-dev/xenial 1.0.0.rc16-4.2ubuntu3 amd64
- libdmraid1.0.0.rc16/xenial,now 1.0.0.rc16-4.2ubuntu3 amd64 [installed]
- 
- # apt install --reinstall libdmraid1.0.0.rc16
- ....
- 
- # ls
- changelog.Debian.gz  copyright  CREDITS  KNOWN_BUGS  README  TODO  <-- the 
link previously to changelog.Debian.gz has turned white. I realize before it 
was broken, as it points to a file in the libdm directory.
- 
- # dmraid -l
- asr     : Adaptec HostRAID ASR (0,1,10)
- ddf1    : SNIA DDF1 (0,1,4,5,linear)
- hpt37x  : Highpoint HPT37X (S,0,1,10,01)
- hpt45x  : Highpoint HPT45X (S,0,1,10)
- isw     : Intel Software RAID (0,1,5,01)
- jmicron : JMicron ATARAID (S,0,1)
- lsi     : LSI Logic MegaRAID (0,1,10)
- nvidia  : NVidia RAID (S,0,1,10,5)
- pdc     : Promise FastTrack (S,0,1,10)
- sil     : Silicon Image(tm) Medley(tm) (0,1,10)
- via     : VIA Software RAID (S,0,1,10)
- dos     : DOS partitions on SW RAIDs
- 
- # vdir
- total 24
- lrwxrwxrwx 1 root root   42 feb 18  2014 changelog.Debian.gz -> 
../libdmraid1.0.0.rc16/changelog.Debian.gz
- -rw-r--r-- 1 root root 8177 feb 18  2014 copyright
- -rw-r--r-- 1 root root  305 sep 16  2009 CREDITS
- -rw-r--r-- 1 root root  252 sep 16  2009 KNOWN_BUGS
- -rw-r--r-- 1 root root 3227 sep 16  2009 README
- -rw-r--r-- 1 root root  854 sep 16  2009 TODO
- 
- Basically it is the same thing I have experienced with the Kubuntu 16.04
- "cifs-utils" package; files were missing; or must have been missing.
- Upon first install, and (back then) upon load of the live DVD.
- 
- There have been no actions on my system that could have wiped out the
- files of those packages (in isolation of anything else). Most other
- things just work and I have not had complaints of any other missing
- files, save for this one and cifs-utils, apparently. I will likely soon
- need to reinstall Kubuntu, so I can check the Live DVD for that. (A
- VirtualBox image of course would equally be possible). But I will wait
- with further investigation myself until I have booted that Live DVD.
- Regards.
+ Packages this effects include dmraid, libgtkmm ( which in turn breaks
+ gparted, as it depends on that library ), and cifs-utils.  There are
+ probably more.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1607687

Title:
  various packages show as installed, but files are not present

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to