← Back to team overview

ubuntu-x-swat team mailing list archive

Re: [Bug 807347] Re: package fglrx 2:8.861-0ubuntu2 failed to install/upgrade due to missing /usr/lib/dri

 

On 07/19/2011 06:27 AM, Bryce Harrington wrote:
> @Alberto, assigning to you; it looks like a pretty straightforward
> packaging bug.  Just need to make sure /usr/lib/dri exists.
>
> ** Summary changed:
>
> - package fglrx 2:8.861-0ubuntu2 failed to install/upgrade: update-alternatives: error: unable to make /usr/lib/dri/fglrx_dri.so.dpkg-tmp a symlink to /etc/alternatives/x86_64-linux-gnu_fglrx_dri: No such file or directory
> + package fglrx 2:8.861-0ubuntu2 failed to install/upgrade due to missing /usr/lib/dri
>
> ** Description changed:
>
> + [Problem]
> + The /usr/lib/dri directory was not present, so fglrx failed to install.  Simply running "sudo mkdir /usr/lib/dri" fixed this problem for me.  Installing gstreamer apparently also causes the directory to be created so installing gstreamer first will allow avoiding the problem.
> +
> +
> + [Original Report]
>    Tried to install fglrx earlier, but this did not succeed. Rebooted and installed mesa-utils, but this did not succeed either. Got this log in the terminal:
>    The program 'glxinfo' is currently not installed.  You can install it by typing:
>    sudo apt-get install mesa-utils
>    p-i@pi-MS-7125-oneiric-alpha2:~$ sudo apt-get install mesa-utils
> - [sudo] password for p-i:
> + [sudo] password for p-i:
>    Reading package lists... Done
> - Building dependency tree
> + Building dependency tree
>    Reading state information... Done
>    The following NEW packages will be installed:
> -   mesa-utils
> +   mesa-utils
>    0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
>    2 not fully installed or removed.
>    Need to get 30.3 kB of archives.
>    After this operation, 152 kB of additional disk space will be used.
>    Get:1 http://archive.ubuntu.com/ubuntu/ oneiric/universe mesa-utils amd64 8.0.1+git20110129+d8f7d6b-0ubuntu2 [30.3 kB]
> - Fetched 30.3 kB in 0s (72.0 kB/s)
> + Fetched 30.3 kB in 0s (72.0 kB/s)
>    Selecting previously deselected package mesa-utils.
>    (Reading database ... 126439 files and directories currently installed.)
>    Unpacking mesa-utils (from .../mesa-utils_8.0.1+git20110129+d8f7d6b-0ubuntu2_amd64.deb) ...
>    Processing triggers for man-db ...
>    Setting up fglrx (2:8.861-0ubuntu2) ...
>    update-alternatives: using /usr/lib/fglrx/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf (x86_64-linux-gnu_gl_conf) in auto mode.
>    update-alternatives: error: unable to make /usr/lib/dri/fglrx_dri.so.dpkg-tmp a symlink to /etc/alternatives/x86_64-linux-gnu_fglrx_dri: No such file or directory
>    dpkg: error processing fglrx (--configure):
> -  subprocess installed post-installation script returned error exit status 2
> +  subprocess installed post-installation script returned error exit status 2
>    dpkg: dependency problems prevent configuration of fglrx-amdcccle:
> -  fglrx-amdcccle depends on fglrx; however:
> -   Package fglrx is not configured yet.
> +  fglrx-amdcccle depends on fglrx; however:
> +   Package fglrx is not configured yet.
>    dpkg: error processing fglrx-amdcccle (--configure):
> -  dependency problems - leaving unconfigured
> +  dependency problems - leaving unconfigured
>    Setting up mesa-utils (8.0.1+git20110129+d8f7d6b-0ubuntu2) ...
>    No apport report written because the error message indicates its a followup error from a previous failure.
> -                           Errors were encountered while processing:
> -  fglrx
> -  fglrx-amdcccle
> +                           Errors were encountered while processing:
> +  fglrx
> +  fglrx-amdcccle
>    E: Sub-process /usr/bin/dpkg returned an error code (1)
>    p-i@pi-MS-7125-oneiric-alpha2:~$
>
>    ProblemType: Package
>    DistroRelease: Ubuntu 11.10
>    Package: fglrx 2:8.861-0ubuntu2
>    ProcVersionSignature: Ubuntu 3.0-3.4-generic 3.0.0-rc5
>    Uname: Linux 3.0-3-generic x86_64
>    AptOrdering:
> -  mesa-utils: Install
> -  fglrx: Configure
> -  fglrx-amdcccle: Configure
> -  mesa-utils: Configure
> +  mesa-utils: Install
> +  fglrx: Configure
> +  fglrx-amdcccle: Configure
> +  mesa-utils: Configure
>    Architecture: amd64
>    Date: Fri Jul  8 06:52:14 2011
>    ErrorMessage: subprocess installed post-installation script returned error exit status 2
>    InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110705.1)
>    SourcePackage: fglrx-installer
>    Title: package fglrx 2:8.861-0ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
>    UpgradeStatus: No upgrade log present (probably fresh install)
>
> ** Changed in: fglrx-installer (Ubuntu Oneiric)
>       Assignee: Canonical X.org (canonical-x) =>  Alberto Milone (albertomilone)
>
> ** Changed in: fglrx-installer (Ubuntu Oneiric)
>         Status: Confirmed =>  Triaged
>
> yes that workeked thank you Aberto

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to fglrx-installer in Ubuntu.
https://bugs.launchpad.net/bugs/807347

Title:
  package fglrx 2:8.861-0ubuntu2 failed to install/upgrade due to
  missing /usr/lib/dri

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/807347/+subscriptions


References