The installation fails on PPC

Bug #31681 reported by Laurent Bigonville
18
Affects Status Importance Assigned to Milestone
ubuntu-artwork (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

The installation of the version 0.2.28-1 fails on PPC with "update-alternatives: unable to make /boot/grub/default-splash.xpm.gz.dpkg-tmp a symlink to /etc/alternatives/grub-artwork: Aucun fichier ou répertoire de ce type"

On PPC there is no grub installed.

Phil Bull (philbull)
Changed in ubuntu-artwork:
assignee: nobody → desktop-bugs
Revision history for this message
Chris Moore (dooglus) wrote :

It failed for me on i386 too. I also don't use grub.

Here's some relevant shell history. Note that "sudo mkdir /boot/grub" is enough to fix the problem, although the fix should probably be not to try to install the alternative if grub isn't installed.

(dapper) chris@chrislap:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
The following packages have been kept back
  mousepad xfce4-mcs-manager xfce4-mcs-plugins xfce4-panel xfce4-session
  xfce4-utils xfprint4 xfwm4
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up ubuntu-artwork (0.2.28-1) ...
update-alternatives: unable to make /boot/grub/default-splash.xpm.gz.dpkg-tmp a symlink to /etc/alternatives/grub-artwork: No such file or directory
dpkg: error processing ubuntu-artwork (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 ubuntu-artwork
E: Sub-process /usr/bin/dpkg returned an error code (1)
(dapper) chris@chrislap:~$ sudo update-alternatives --install /boot/grub/default-splash.xpm.gz grub-artwork /usr/share/pixmaps/grub/ubuntu-artwork.xpm.gz 40
update-alternatives: unable to make /boot/grub/default-splash.xpm.gz.dpkg-tmp a symlink to /etc/alternatives/grub-artwork: No such file or directory
(dapper) chris@chrislap:~$ apt-cache policy grub
grub:
  Installed: (none)
  Candidate: 0.97-1ubuntu4
  Version table:
     0.97-1ubuntu4 0
        500 http://archive.ubuntu.com dapper/main Packages
(dapper) chris@chrislap:~$ ls -l /sbin/update-grub
ls: /sbin/update-grub: No such file or directory
(dapper) chris@chrislap:~$ ls -l /boot/grub
ls: /boot/grub: No such file or directory
(dapper) chris@chrislap:~$ sudo mkdir /boot/grub
(dapper) chris@chrislap:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
The following packages have been kept back
  mousepad xfce4-mcs-manager xfce4-mcs-plugins xfce4-panel xfce4-session
  xfce4-utils xfprint4 xfwm4
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up ubuntu-artwork (0.2.28-1) ...

(dapper) chris@chrislap:~$

Revision history for this message
Laurent Bigonville (bigon) wrote :

work for me ubuntu-artwork 0.2.28-2

Revision history for this message
Chris Moore (dooglus) wrote :

This was fixed in ubuntu-artwork 0.2.28-2.

/var/lib/dpkg/info/ubuntu-artwork.postinst has been fixed, moving the update-alternatives command to inside a "if [ -d /boot/grub ]; then" test.

Revision history for this message
Laurent Bigonville (bigon) wrote :

I think I can close this bug

Changed in ubuntu-artwork:
status: Unconfirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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