PDA

Visualizza la versione completa : apt e dipendenze


globalace
01-12-2007, 12:38
Salve, utilizzo ubuntu e devo installare grass, scrivo

root@desktop:~# apt-get install grass

e parte

Reading package lists... Done
Building dependency tree
Reading state information... 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.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
grass: Depends: fftw3 but it is not installable
Depends: lesstif2 but it is not installable
Depends: libgdal1-1.4.0 but it is not going to be installed
Depends: libmysqlclient15off (>= 5.0.27-1) but it is not installable
Depends: libpq5 but it is not installable
Depends: tcl8.4 (>= 8.4.5) but it is not installable
Depends: tk8.4 (>= 8.4.5) but it is not installable
Depends: unixodbc (>= 2.2.11-1) but it is not installable
E: Broken packages

Mi avevano detto che ubuntu risolveva da solo le dipendenze e vero?Potete aiutarmi dicendo cosa devo fare

andy caps
01-12-2007, 14:35
sembra un errore di versione di pacchetti

spesso sintomo di un sources.list anomalo diverso da quello della distribuzione o mancante di qualche voce

sicuro di avere fatto le update e magari il dist-upgrade prima
incolla qui /etc/apt/sources.list e che versione di ubuntu usi

globalace
01-12-2007, 15:05
deb cdrom:[Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016)]/ gutsy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

# Line commented out by installer because it failed to verify:
# deb http://it.archive.ubuntu.com/ubuntu/ gutsy main restricted
# Line commented out by installer because it failed to verify:
# deb-src http://it.archive.ubuntu.com/ubuntu/ gutsy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
# Line commented out by installer because it failed to verify:
# deb http://it.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted
# Line commented out by installer because it failed to verify:
# deb-src http://it.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
# Line commented out by installer because it failed to verify:
# deb http://it.archive.ubuntu.com/ubuntu/ gutsy universe
# Line commented out by installer because it failed to verify:
# deb-src http://it.archive.ubuntu.com/ubuntu/ gutsy universe
# Line commented out by installer because it failed to verify:
# deb http://it.archive.ubuntu.com/ubuntu/ gutsy-updates universe
# Line commented out by installer because it failed to verify:
# deb-src http://it.archive.ubuntu.com/ubuntu/ gutsy-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
# Line commented out by installer because it failed to verify:
# deb http://it.archive.ubuntu.com/ubuntu/ gutsy multiverse
# Line commented out by installer because it failed to verify:
# deb-src http://it.archive.ubuntu.com/ubuntu/ gutsy multiverse
# Line commented out by installer because it failed to verify:
# deb http://it.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse
# Line commented out by installer because it failed to verify:
# deb-src http://it.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://it.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse
# deb-src http://it.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
# deb http://archive.canonical.com/ubuntu gutsy partner
# deb-src http://archive.canonical.com/ubuntu gutsy partner

# Line commented out by installer because it failed to verify:
# deb http://security.ubuntu.com/ubuntu gutsy-security main restricted
# Line commented out by installer because it failed to verify:
# deb-src http://security.ubuntu.com/ubuntu gutsy-security main restricted
# Line commented out by installer because it failed to verify:
# deb http://security.ubuntu.com/ubuntu gutsy-security universe
# Line commented out by installer because it failed to verify:
# deb-src http://security.ubuntu.com/ubuntu gutsy-security universe
# Line commented out by installer because it failed to verify:
# deb http://security.ubuntu.com/ubuntu gutsy-security multiverse
# Line commented out by installer because it failed to verify:
# deb-src http://security.ubuntu.com/ubuntu gutsy-security multiverse
deb http://les-ejk.cz/ubuntu/ feisty multiverse
deb http://les-ejk.cz/ubuntu/ feisty multiverse
deb http://les-ejk.cz/ubuntu/ feisty multiverse
deb http://les-ejk.cz/ubuntu edgy multiverse
deb-src http://les-ejk.cz/ubuntu edgy multiverse
deb http://les-ejk.cz/ubuntu feisty multiverse
deb http://les-ejk.cz/ubuntu/ feisty multiverse

versione ubuntu 7.10 desktop

andy caps
01-12-2007, 15:28
:bh: praticamente il tuo sources list sta usando solo

deb http://les-ejk.cz/ubuntu/ feisty multiverse
deb http://les-ejk.cz/ubuntu/ feisty multiverse
deb http://les-ejk.cz/ubuntu/ feisty multiverse
deb http://les-ejk.cz/ubuntu edgy multiverse
deb-src http://les-ejk.cz/ubuntu edgy multiverse
deb http://les-ejk.cz/ubuntu feisty multiverse
deb http://les-ejk.cz/ubuntu/ feisty multiverse


devi eliminare queste righe e decommentare quelle di gutsy

togliendo # davanti
####commentando una riga non viene letta da apt

francofait
02-12-2007, 19:25
Evidentemente per grass-gis quelle repo gli servono.

le repositri ufficiali ubuntu fuori causa che vanno decommentate per riattivarle , le repositri per grass le aggiorni , mettendo 'gutsy' al posto di 'feisty' su tutte , il server completo di tutte le versioni ubuntu senza problemi.

Loading