installing friendly-recovery brings a broken circular symlink, breaking the package.

Bug #1225351 reported by Phi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
friendly-recovery (Ubuntu)
New
Undecided
Unassigned

Bug Description

Initial state, friendly-recovery un-installed

CU82# dpkg -l | grep friendly-recovery
rc friendly-recovery 0.2.25 Make recovery more user-friendly

Double check recovery-mode don't exist, if so remove it
CU82# pwd
/lib
CU82# ls -ld recovery-mode
ls: cannot access recovery-mode: No such file or directory

Intall the package

CU82# apt-get install friendly-recovery
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  friendly-recovery
0 upgraded, 1 newly installed, 0 to remove and 21 not upgraded.
Need to get 0 B/9236 B of archives.
After this operation, 68.6 kB of additional disk space will be used.
Selecting previously unselected package friendly-recovery.
(Reading database ... 146151 files and directories currently installed.)
Unpacking friendly-recovery (from .../friendly-recovery_0.2.25_all.deb) ...
Processing triggers for ureadahead ...
Setting up friendly-recovery (0.2.25) ...
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.8.0-29-generic
Found initrd image: /boot/initrd.img-3.8.0-29-generic
Found memtest86+ image: /boot/memtest86+.bin
done

Check now the installed files
CU82# pwd
/lib

CU82# ls -l recovery-mode
total 12
-rw-r--r-- 1 root root 1063 Mar 8 2012 l10n.sh
drwxr-xr-x 2 root root 4096 Sep 14 11:28 options
-rwxr-xr-x 1 root root 3130 Mar 8 2012 recovery-menu
lrwxrwxrwx 1 root root 18 Sep 14 11:28 recovery-mode -> /lib/recovery-mode

WE can see the circular link in recovery-mode confirmed by a failing cp.
CU82# cp -Lr recovery-mode /tmp/
cp: cannot copy cyclic symbolic link `recovery-mode/recovery-mode'

Dunno if this is expected behavior but breaks some backups I made.

Cheers,
Phi

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: friendly-recovery (not installed)
ProcVersionSignature: Ubuntu 3.8.0-29.42~precise1-generic 3.8.13.5
Uname: Linux 3.8.0-29-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.4
Architecture: amd64
Date: Sat Sep 14 11:11:58 2013
InstallationMedia: Ubuntu 12.04.3 LTS "Precise Pangolin" - Release amd64 (20130820.1)
MarkForUpload: True
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=C
 SHELL=/usr/bin/ksh
SourcePackage: friendly-recovery
UpgradeStatus: No upgrade log present (probably fresh install)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.