installing friendly-recovery brings a broken circular symlink, breaking the package.
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-
Processing triggers for ureadahead ...
Setting up friendly-recovery (0.2.25) ...
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /boot/memtest86
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-
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)
ProcVersionSign
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)