View Full Version : E: Broken packages + xlib6g
Hi,
I need the package xlibs6g to install a .deb package of my disk and when I try I get
The following packages have unmet dependencies:
xlib6g: Depends: xlibs but it is not going to be installed
E: Broken packages
"Of course", when I make apt-get install xlibs I get
xlibs is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
then I try with
root > dpkg -i --force-overwrite /var/cache/apt/archives/xlib6g
dpkg: error processing /var/cache/apt/archives/xlib6g (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
/var/cache/apt/archives/xlib6g
I wrote per hand some new sources in the sources.list but it doesn't work...
any idea?
thanks
Stephen
03-31-2004, 08:32 PM
any idea?
thanks
You need to get a version of the program (what is it BTW?) you want to install that is built for either testing or unstable the one you are trying to install is built for stable so is trying to pull in libraries from that branch and will not install as you have found out.
>$ apt-cache policy xlib6g
xlib6g:
Installed: (none)
Candidate: 4.1.0-16woody3
Version Table:
4.1.0-16woody3 0
500 http://security.debian.org stable/updates/main Packages
4.1.0-16woody1 0
500 http://ftp2.de.debian.org stable/main Packages
Hi Stephen,
thanks for your answer. When I write it I get
root > apt-cache policy xlib6g
xlib6g:
Installed: (none)
Candidate: 4.2.1-12.1jds2
Version Table:
4.2.1-12.1jds2 0
500 http://ftp.acc.umu.se gnome2.2/ Packages
4.2.1-3.bunk.10 0
500 http://www.fs.tum.de woody/bunk-1/main Packages
4.2.1-0woody1 0
500 http://people.debian.org woody/x421/ Packages
4.1.0-16woody3 0
500 http://security.debian.org stable/updates/main Packages
4.1.0-16woody1 0
500 http://ftp2.de.debian.org stable/main Packages
How do I get this version? Do I have to add one os these lines to sources.list? If so, which header? deb ... stable? And what it this 500? I get there wsources.listill be a malformed line if I just add it like this... I mean: How would the line look like in sources.list?
thanks,
Pau
Hi again...
sorry for that, but I think something went wrong... my question disappeared...
I was saying that I did like you said and I get
root > apt-cache policy xlib6g
xlib6g:
Installed: (none)
Candidate: 4.2.1-12.1jds2
Version Table:
4.2.1-12.1jds2 0
500 http://ftp.acc.umu.se gnome2.2/ Packages
4.2.1-3.bunk.10 0
500 http://www.fs.tum.de woody/bunk-1/main Packages
4.2.1-0woody1 0
500 http://people.debian.org woody/x421/ Packages
4.1.0-16woody3 0
500 http://security.debian.org stable/updates/main Packages
4.1.0-16woody1 0
500 http://ftp2.de.debian.org stable/main Packages
What doe it mean? Do I have to include one of these lines to sources.list? If so, which are he headers? I mean is it deb .... stable ... ? What is this 500? I cannot include it, there will be a broken line... I think
thanks!
Pau
Stephen
04-01-2004, 11:36 PM
Hi again...
sorry for that, but I think something went wrong... my question disappeared...
I was saying that I did like you said and I get
root > apt-cache policy xlib6g
xlib6g:
Installed: (none)
Candidate: 4.2.1-12.1jds2
Version Table:
4.2.1-12.1jds2 0
500 http://ftp.acc.umu.se gnome2.2/ Packages
4.2.1-3.bunk.10 0
500 http://www.fs.tum.de woody/bunk-1/main Packages
4.2.1-0woody1 0
500 http://people.debian.org woody/x421/ Packages
4.1.0-16woody3 0
500 http://security.debian.org stable/updates/main Packages
4.1.0-16woody1 0
500 http://ftp2.de.debian.org stable/main Packages
What doe it mean? Do I have to include one of these lines to sources.list? If so, which are he headers? I mean is it deb .... stable ... ? What is this 500? I cannot include it, there will be a broken line... I think
thanks!
Pau
I do not think I was clear enough in my first post you are trying to install stable packages on a mixed testing/unstable system it will not work you need packages built for either testing or unstable. I take it since you have Gnome sources that you have added this is the program you are tying to install I believe that Gnome is already at least 2.2 as it is in testing so why are you not trying to install it from there?? The 500 is the pin priority for the packages the higher the number the more likely it will be installed above any other package the settings are contained in the /etc/apt/preferences file it is not necessary to include it in any command it is a priority indicator for the package system only.
>$ cat /etc/apt/preferences
Package: *
Pin: release testing
Pin-Priority: 900
Package: *
Pin: release unstable
Pin-Priority: 600
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.