When on FedoraCore, I can build gvim whenever I want and I
can install needed dependencies (*-devel).

But debian-derived distros are not nice to me ... on the
debian-derived distro (mepis), trying to install libgtk for building gvim
I got into trouble that I don't know how to solve:
    'apt-get install libgtk2.0-dev' gives me errors [1].
Is libgtk2.0-dev is the correct package name that I need
to build gvim ? Trying to install lesstif results in apt-get error, too.
(I do 'apt-get update' often, but it results in errors [2])
What am I doing wrong ?

Thanks
Yakov
           "one man's bug is another man's feature",
--------------------------------------------------------------------------
Below
[1] errors from 'apt-install libgtk2.0-dev'
[2] errors from 'apt-get update'
[3] contents of the sources.list
--------------------------------------------------------------------------
[1]
$ apt-install libgtk2.0-dev
Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libgtk2.0-dev: Depends: libgtk2.0-0 (= 2.8.17-1ubuntu5) but
2.8.20-0ubuntu1.1 is to be installed
Depends: libglib2.0-dev (>= 2.8.5) but it is not going to be installed
Depends: libpango1.0-dev (>= 1.10.0-2) but it is not going to be installed
Depends: libatk1.0-dev (>= 1.6.1-2) but it is not going to be installed
Depends: libcairo2-dev but it is not going to be installed
E: Broken packages
---------------------------------------
[2]

'apt-get update' also produces errors:
Get:1 http://apt.mepis.org mepis Release.gpg [191B]
Hit http://apt.mepis.org mepis Release
Hit http://apt.mepis.org mepis/main Packages
Get:2 http://security.ubuntu.com dapper-security Release.gpg [191B]
Get:3 http://archive.ubuntu.com breezy Release.gpg [189B]
Get:4 http://archive.ubuntu.com dapper Release.gpg [189B]
Get:5 http://archive.ubuntu.com dapper-updates Release.gpg [191B]
Get:6 http://archive.ubuntu.com dapper-backports Release.gpg [191B]
Hit http://archive.ubuntu.com breezy Release
Hit http://archive.ubuntu.com dapper Release
Hit http://archive.ubuntu.com dapper-updates Release
Hit http://archive.ubuntu.com dapper-backports Release
Hit http://archive.ubuntu.com breezy/main Packages
Hit http://archive.ubuntu.com breezy/restricted Packages
Hit http://archive.ubuntu.com dapper/main Packages
Get:7 http://security.ubuntu.com dapper-security Release [50.9kB]
Hit http://archive.ubuntu.com dapper/restricted Packages
Get:8 http://security.ubuntu.com dapper-security/main Packages
99% [8 Packages bzip2 0] [Waiting for headers] [Waiting for headers]
25.6kB/s 0sbzip2: (stdin) is not a bzip2 file.
Err http://security.ubuntu.com dapper-security/main Packages
Sub-process bzip2 returned an error code (2)
Hit http://archive.ubuntu.com dapper/universe Packages
Get:9 http://security.ubuntu.com dapper-security/restricted Packages
99% [Waiting for headers] 25.6kB/s 0sbzip2: (stdin) is not a bzip2 file.
Err http://security.ubuntu.com dapper-security/restricted Packages
Sub-process bzip2 returned an error code (2)
Hit http://archive.ubuntu.com dapper/multiverse Packages
Get:10 http://archive.ubuntu.com dapper-updates/main Packages
99% [10 Packages bzip2 0] [Waiting for headers] 25.6kB/s 0sbzip2:
(stdin) is not a bzip2 file.
Err http://archive.ubuntu.com dapper-updates/main Packages
Sub-process bzip2 returned an error code (2)
Get:11 http://archive.ubuntu.com dapper-updates/restricted Packages
99% [11 Packages bzip2 0] [Waiting for headers] 25.6kB/s 0sbzip2:
(stdin) is not a bzip2 file.
Err http://archive.ubuntu.com dapper-updates/restricted Packages
Sub-process bzip2 returned an error code (2)
Hit http://archive.ubuntu.com dapper-backports/main Packages
Hit http://archive.ubuntu.com dapper-backports/restricted Packages
Hit http://archive.ubuntu.com dapper-backports/universe Packages
Hit http://archive.ubuntu.com dapper-backports/multiverse Packages
Fetched 59.9kB in 8s (7326B/s)
Failed to fetch
http://archive.ubuntu.com/ubuntu/dists/dapper-updates/main/binary-i386/Packages.bz2
Sub-process bzip2 returned an error code (2)
Failed to fetch
http://archive.ubuntu.com/ubuntu/dists/dapper-updates/restricted/binary-i386/Packages.bz2
Sub-process bzip2 returned an error code (2)
Failed to fetch
http://security.ubuntu.com/ubuntu/dists/dapper-security/main/binary-i386/Packages.bz2
Sub-process bzip2 returned an error code (2)
Failed to fetch
http://security.ubuntu.com/ubuntu/dists/dapper-security/restricted/binary-i386/Packages.bz2
Sub-process bzip2 returned an error code (2)
Reading package lists... Done
E: Some index files failed to download, they have been ignored, or old
ones used instead.
------------------------------------------------
[3]
$ cat /etc/apt/sources.list
# See sources.list(5) for more information

# This file should be edited through synaptic

# MEPIS improvements, overrides and updates--the MEPIS magic
deb http://apt.mepis.org/6.0/ mepis main

# Ubuntu foundation packages
deb http://archive.ubuntu.com/ubuntu/ breezy main restricted
deb http://archive.ubuntu.com/ubuntu/ dapper main restricted
# Security updates
deb http://security.ubuntu.com/ubuntu/ dapper-security main restricted
# Package updates
deb http://archive.ubuntu.com/ubuntu/ dapper-updates main restricted
# Backports of newer packages--unsupported and not thoroughly tested
deb http://archive.ubuntu.com/ubuntu/ dapper-backports main restricted

# Free unsupported packages from Debian and beyond
deb http://archive.ubuntu.com/ubuntu/ dapper universe
# Non-free unsupported packages from Debian and beyond
deb http://archive.ubuntu.com/ubuntu/ dapper multiverse
# Backports of newer packages--unsupported and not thoroughly tested
deb http://archive.ubuntu.com/ubuntu/ dapper-backports universe multiverse

# Some packages not available elsewhere
# deb http://packages.freecontrib.org/ubuntu/plf/ dapper free non-free

# the following is for ies4linux
#deb http://wine.budgetdedicated.com/apt edgy main
-------------------------------------------------------

Reply via email to