Glib issues...

Andrew Huys musiek.sparta.nc at gmail.com
Fri Nov 30 22:33:05 UTC 2012


On 11/30/2012 05:26 PM, Andrew Huys wrote:
> OK, So I've screwed something up...
> At one point in the past I had to do something with the 
> libglib2.0-data package and had to install it manually due to some 
> update cycle or something.  I don't remember why.
>
> Anyway, now I can't upgrade glib. Can someone help?
>
> ben at ArchaicThinker60:~$ sudo apt-get upgrade
> [sudo] password for ben:
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following packages will be upgraded:
>   libglib2.0-data
> 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> Need to get 94.0 kB of archives.
> After this operation, 2,462 kB disk space will be freed.
> Do you want to continue [Y/n]?
> Get:1 http://us.archive.ubuntu.com/ubuntu/ quantal/main 
> libglib2.0-data all 2.34.0-1ubuntu1 [94.0 kB]
> Fetched 94.0 kB in 0s (182 kB/s)
> (Reading database ... 301735 files and directories currently installed.)
> Preparing to replace libglib2.0-data 2.16.6-0ubuntu1.2 (using 
> .../libglib2.0-data_2.34.0-1ubuntu1_all.deb) ...
> rm: cannot remove `/usr/share/doc/libglib2.0-data': Is a directory
> dpkg: error processing 
> /var/cache/apt/archives/libglib2.0-data_2.34.0-1ubuntu1_all.deb 
> (--unpack):
>  subprocess new pre-installation script returned error exit status 1
> No apport report written because MaxReports is reached already
> Errors were encountered while processing:
>  /var/cache/apt/archives/libglib2.0-data_2.34.0-1ubuntu1_all.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> ben at ArchaicThinker:~$
>
> Thanks for the help.
>
> AndHuys
>
Just had an idea:  ran dpkg with the .deb file in the 
/var/cache/apt/archives, here's the output:

ben at ArchaicThinker:~$ sudo dpkg -i 
'/var/cache/apt/archives/libglib2.0-data_2.34.0-1ubuntu1_all.deb'
[sudo] password for ben:
(Reading database ... 301735 files and directories currently installed.)
Preparing to replace libglib2.0-data 2.16.6-0ubuntu1.2 (using 
.../libglib2.0-data_2.34.0-1ubuntu1_all.deb) ...
rm: cannot remove `/usr/share/doc/libglib2.0-data': Is a directory
dpkg: error processing 
/var/cache/apt/archives/libglib2.0-data_2.34.0-1ubuntu1_all.deb (--install):
  subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
  /var/cache/apt/archives/libglib2.0-data_2.34.0-1ubuntu1_all.deb
ben at ArchaicThinker:~$

Thanks,


And Huys


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-studio-users/attachments/20121130/4c1f0e98/attachment.html>


More information about the Ubuntu-Studio-users mailing list