[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Testing, "could not start kdeinit. check your installation" since yesterdays updates



Here is how you do pinning / etc as Florian suggested:

Add the following to sources.list and apt-get update:

# snapshots of older versions are sometimes required
deb http://snapshot.debian.net/archive pool xft2
deb-src http://snapshot.debian.net/archive pool xft2
deb http://snapshot.debian.net/archive pool xft
deb-src http://snapshot.debian.net/archive pool xft

Then do this:

box:~# apt-cache policy libxft2
libxft2:
  Installed: 2.1.8.2-3
  Candidate: 2.1.8.2-3
  Version table:
 *** 2.1.8.2-3 0
        500 http://mirrors.kernel.org testing/main Packages
        500 http://snapshot.debian.net pool/xft Packages
        100 /var/lib/dpkg/status
     2.1.8.2-2 0
        500 http://snapshot.debian.net pool/xft Packages
     2.1.8.2-1 0
        500 http://snapshot.debian.net pool/xft Packages
     2.1.7-1 0
        500 http://snapshot.debian.net pool/xft Packages
     2.1.2-6 0
        500 http://snapshot.debian.net pool/xft Packages
     2.1.2-5 0
        500 http://snapshot.debian.net pool/xft Packages
     2.1.2-4 0
        500 http://snapshot.debian.net pool/xft Packages
     2.1.1-2 0
        500 http://snapshot.debian.net pool/xft2 Packages
     2.1-7 0
        500 http://snapshot.debian.net pool/xft2 Packages
     2.1-6 0
        500 http://snapshot.debian.net pool/xft2 Packages
     2.1-5 0
        500 http://snapshot.debian.net pool/xft2 Packages
     2.1-4 0
        500 http://snapshot.debian.net pool/xft2 Packages
     2.1-3 0
        500 http://snapshot.debian.net pool/xft2 Packages
box:~# apt-get install libxft2=2.1.7-1
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED
  libbonoboui2-dev libglade2-dev libgnomecanvas2-dev libgnomeprint2.2-dev
  libgtk2.0-dev libgtkmm2.0-dev libgtkspell-dev libpango1.0-dev
libqt3-mt-dev
  libxft-dev
The following packages will be DOWNGRADED:
  libxft2
0 upgraded, 0 newly installed, 1 downgraded, 10 to remove and 0 not
upgraded.
Need to get 54.4kB of archives.
After unpacking 23.3MB disk space will be freed.
Do you want to continue [Y/n]? Y
WARNING: The following packages cannot be authenticated!
  libxft2
Install these packages without verification [y/N]? y
Get: 1 http://snapshot.debian.net pool/xft libxft2 2.1.7-1 [54.4kB]
Fetched 54.4kB in 1s (40.9kB/s) 
(Reading database ... 112035 files and directories currently installed.)
Removing libbonoboui2-dev ...
Removing libglade2-dev ...
dpkg - warning: while removing libglade2-dev, directory
`/usr/share/gtk-doc/html/libglade' not empty so not removed.
dpkg - warning: while removing libglade2-dev, directory
`/usr/share/doc/libglade2-dev' not empty so not removed.
Removing libgnomecanvas2-dev ...
Removing libgnomeprint2.2-dev ...
Removing libgtkspell-dev ...
Removing libgtkmm2.0-dev ...
Removing libgtk2.0-dev ...
Removing libpango1.0-dev ...
Removing libqt3-mt-dev ...
Removing libxft-dev ...
dpkg - warning: downgrading libxft2 from 2.1.8.2-3 to 2.1.7-1.
(Reading database ... 110947 files and directories currently installed.)
Preparing to replace libxft2 2.1.8.2-3 (using .../libxft2_2.1.7-1_i386.deb)
...
Unpacking replacement libxft2 ...
Setting up libxft2 (2.1.7-1) ...

box:~# 

Then:

Add this to /etc/apt/preferences:

Package: *
Pin: release a=testing
Pin-Priority: 900

Package: libxft2
Pin: version 2.1.7*
Pin-Priority: 1000

Then, when you type apt-get update && apt-get upgrade, that package will no
longer show up as an upgrade option:

box:~# dpkg -l | grep libxft
ii  libxft2                       2.1.7-1                    FreeType-based
font drawing library for X

box:~# apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
box:~# 

Original e-mail below:

Magnus Pedersen wrote:
> Justin Piszcz wrote:
> 
>> Yup, get the libXft 2.1.7 library and replace that shared object 
>> library as
>> below and it will work, it is only a hack but it works..
>>
>> I fixed this by using the lib from a box with libXft2 2.1.7 instead of
>> 2.1.8.2-3.
>>
>> # mv libXft.so.2.1.2 libXft.so.2.1.2-2.1.8.2-3
>> # scp root@box:/usr/lib/libXft.so.2.1.2 .
>>
>> Then everything worked again.

[...]

> Could you make that lib available somewhere or perhaps mail it to me,
> then I can make it available?

You can find the old versions of this library on snapshot.debian.net if
you add the following 4 lines to your /etc/apt/sources.list:

deb http://snapshot.debian.net/archive pool xft2
deb-src http://snapshot.debian.net/archive pool xft2
deb http://snapshot.debian.net/archive pool xft
deb-src http://snapshot.debian.net/archive pool xft

Then you get:

$ apt-cache policy libxft2
libxft2:
   Installed: 2.1.8.2-3
   Candidate: 2.1.8.2-3
   Version table:
  *** 2.1.8.2-3 0
         500 http://ftp.de.debian.org testing/main Packages
         500 http://ftp.de.debian.org unstable/main Packages
         500 http://snapshot.debian.net pool/xft Packages
         100 /var/lib/dpkg/status
      2.1.8.2-2 0
         500 http://snapshot.debian.net pool/xft Packages
      2.1.8.2-1 0
         500 http://snapshot.debian.net pool/xft Packages
      2.1.7-1 0
         500 http://snapshot.debian.net pool/xft Packages
      2.1.2-6 0
         500 http://snapshot.debian.net pool/xft Packages
      2.1.2-5 0
         500 http://snapshot.debian.net pool/xft Packages
      2.1.2-4 0
         500 http://snapshot.debian.net pool/xft Packages
      2.1.1-2 0
         500 http://snapshot.debian.net pool/xft2 Packages
      2.1-7 0
         500 http://snapshot.debian.net pool/xft2 Packages
      2.1-6 0
         500 http://snapshot.debian.net pool/xft2 Packages
      2.1-5 0
         500 http://snapshot.debian.net pool/xft2 Packages
      2.1-4 0
         500 http://snapshot.debian.net pool/xft2 Packages
      2.1-3 0
         500 http://snapshot.debian.net pool/xft2 Packages

You can install a specific version by
# apt-get install libxft2=2.1.7-1
(and use apt-pinning or aptitude to forbid upgrades of this package
until the problem is solved)

Regards,
            Florian


-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org



-----Original Message-----
From: Justin Piszcz [mailto:jpiszcz@adelphia.net] 
Sent: Sunday, February 19, 2006 8:40 AM
To: 'Florian Kulzer'; debian-user@lists.debian.org
Subject: RE: Testing, "could not start kdeinit. check your installation"
since yesterdays updates

Thank you for this information, I will do this instead.

-----Original Message-----
From: Florian Kulzer [mailto:florian@molphys.leidenuniv.nl] 
Sent: Sunday, February 19, 2006 8:33 AM
To: debian-user@lists.debian.org
Subject: Re: Testing, "could not start kdeinit. check your installation"
since yesterdays updates

Magnus Pedersen wrote:
> Justin Piszcz wrote:
> 
>> Yup, get the libXft 2.1.7 library and replace that shared object 
>> library as
>> below and it will work, it is only a hack but it works..
>>
>> I fixed this by using the lib from a box with libXft2 2.1.7 instead of
>> 2.1.8.2-3.
>>
>> # mv libXft.so.2.1.2 libXft.so.2.1.2-2.1.8.2-3
>> # scp root@box:/usr/lib/libXft.so.2.1.2 .
>>
>> Then everything worked again.

[...]

> Could you make that lib available somewhere or perhaps mail it to me,
> then I can make it available?

You can find the old versions of this library on snapshot.debian.net if
you add the following 4 lines to your /etc/apt/sources.list:

deb http://snapshot.debian.net/archive pool xft2
deb-src http://snapshot.debian.net/archive pool xft2
deb http://snapshot.debian.net/archive pool xft
deb-src http://snapshot.debian.net/archive pool xft

Then you get:

$ apt-cache policy libxft2
libxft2:
   Installed: 2.1.8.2-3
   Candidate: 2.1.8.2-3
   Version table:
  *** 2.1.8.2-3 0
         500 http://ftp.de.debian.org testing/main Packages
         500 http://ftp.de.debian.org unstable/main Packages
         500 http://snapshot.debian.net pool/xft Packages
         100 /var/lib/dpkg/status
      2.1.8.2-2 0
         500 http://snapshot.debian.net pool/xft Packages
      2.1.8.2-1 0
         500 http://snapshot.debian.net pool/xft Packages
      2.1.7-1 0
         500 http://snapshot.debian.net pool/xft Packages
      2.1.2-6 0
         500 http://snapshot.debian.net pool/xft Packages
      2.1.2-5 0
         500 http://snapshot.debian.net pool/xft Packages
      2.1.2-4 0
         500 http://snapshot.debian.net pool/xft Packages
      2.1.1-2 0
         500 http://snapshot.debian.net pool/xft2 Packages
      2.1-7 0
         500 http://snapshot.debian.net pool/xft2 Packages
      2.1-6 0
         500 http://snapshot.debian.net pool/xft2 Packages
      2.1-5 0
         500 http://snapshot.debian.net pool/xft2 Packages
      2.1-4 0
         500 http://snapshot.debian.net pool/xft2 Packages
      2.1-3 0
         500 http://snapshot.debian.net pool/xft2 Packages

You can install a specific version by
# apt-get install libxft2=2.1.7-1
(and use apt-pinning or aptitude to forbid upgrades of this package
until the problem is solved)

Regards,
            Florian


-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org




-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org




Reply to: