[Bug 1225351] [NEW] installing friendly-recovery brings a broken circular symlink, breaking the package.

Phi phi.debian at gmail.com
Sat Sep 14 09:50:05 UTC 2013


Public bug reported:

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)

** Affects: friendly-recovery (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug precise

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

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

Status in “friendly-recovery” package in Ubuntu:
  New

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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1225351/+subscriptions




More information about the foundations-bugs mailing list