Results 1 to 5 of 5

Thread: E: Broken packages + xlib6g

  1. #1
    Junior Member registered user
    Join Date
    Nov 2003
    Posts
    28

    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

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479

    Re: E: Broken packages + xlib6g

    Quote Originally Posted by pau

    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.

    Code:
    >$ 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

  3. #3
    Junior Member registered user
    Join Date
    Nov 2003
    Posts
    28

    E: Broken 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

  4. #4
    Junior Member registered user
    Join Date
    Nov 2003
    Posts
    28

    answer + question to Stephen, broken packages

    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

  5. #5
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479

    Re: answer + question to Stephen, broken packages

    Quote Originally Posted by 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
    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.

    Code:
    >$ cat /etc/apt/preferences
    Package: *
    Pin: release testing
    Pin-Priority: 900
    
    Package: *
    Pin: release unstable
    Pin-Priority: 600

Similar Threads

  1. 3.6: unp broken?
    By probono in forum General Support
    Replies: 0
    Last Post: 08-24-2004, 06:55 AM
  2. Broken packages?
    By muczy in forum General Support
    Replies: 2
    Last Post: 08-07-2004, 12:38 PM
  3. Removing broken packages in dselect/dpkg
    By leecming in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 06-29-2004, 06:42 AM
  4. atp-get broken
    By Jux in forum General Support
    Replies: 7
    Last Post: 04-06-2004, 08:40 PM
  5. apache-dev -> broken packages
    By danielgarcia in forum Hdd Install / Debian / Apt
    Replies: 4
    Last Post: 01-14-2004, 01:08 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Gigabyte Z370P D3 ATX Z370 LGA1151 Motherboard (Support Intel 6/7th 8th 9th) picture

Gigabyte Z370P D3 ATX Z370 LGA1151 Motherboard (Support Intel 6/7th 8th 9th)

$59.99



ASRock B550M Pro SE AM4 DDR4 SATA 6Gb/s 1 PCIe 4.0 x16 Micro ATX Motherboard picture

ASRock B550M Pro SE AM4 DDR4 SATA 6Gb/s 1 PCIe 4.0 x16 Micro ATX Motherboard

$84.99



ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield picture

ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield

$42.00



Asus H81M-C Intel LGA1150 DDR3 Desktop Motherboard MicroATX Socket H3  picture

Asus H81M-C Intel LGA1150 DDR3 Desktop Motherboard MicroATX Socket H3

$23.99



Asus Prime H310M-A R2.0 Intel LGA 1151 DDR4 Desktop Motherboard picture

Asus Prime H310M-A R2.0 Intel LGA 1151 DDR4 Desktop Motherboard

$54.99



Asus Prime A320M-K mATX AM4 Motherboard (Ryzen 1000-5000 Ready) picture

Asus Prime A320M-K mATX AM4 Motherboard (Ryzen 1000-5000 Ready)

$49.99



NEW OEM ASRock H410M/MC LGA1200 Intel M-ATX Motherboard (Wifi) picture

NEW OEM ASRock H410M/MC LGA1200 Intel M-ATX Motherboard (Wifi)

$49.99



ASUS B85M-E Motherboard Intel B85 (4th Gen) LGA1150 DDR3 microATX picture

ASUS B85M-E Motherboard Intel B85 (4th Gen) LGA1150 DDR3 microATX

$39.99



Gigabyte M-ATX motherboard with Intel Core i3 8100 CPU and 8GB DDR4 RAM picture

Gigabyte M-ATX motherboard with Intel Core i3 8100 CPU and 8GB DDR4 RAM

$84.00



ASUS PRIME Z690-P WIFI D4 ATX Motherboard Intel LGA1700 DDR4 HDMI picture

ASUS PRIME Z690-P WIFI D4 ATX Motherboard Intel LGA1700 DDR4 HDMI

$99.99