Installazione tk-dev

6 risposte [Ultimo contenuto]
Ritratto di Angel23
Angel23
(Newbie)
Offline
Newbie
Iscritto: 13/11/2014
Messaggi: 4

Salve a tutti. Mi accingevo all'installazione di omnet++ 4.5 quando, durante la configurazione pre-installazione, mi appare il seguente messaggio:
"configure: error: Tcl/Tk not found, needed for all GUI parts. Version 8.4.0+ and devel package required. Check config.log for more info!"

A quanto pare, vedendo sul mio pc, manca il file tk.h e quindi sembra che dovrei installare il pacchetto tk-dev. Il problema è che nel tentativo di installare tale pacchetto ho il seguente errore:
"I seguenti pacchetti hanno dipendenze non soddisfatte:
tk-dev : Dipende: tk8.5-dev (>= 8.5.0-1) ma non sta per essere installato
E: Impossibile correggere i problemi, ci sono pacchetti danneggiati bloccati
."

Idee su come risolvere il problema?? Grazie in anticipo.

Ritratto di badroot
badroot
(Guru)
Offline
Guru
Iscritto: 22/08/2008
Messaggi: 2083

Ciao,
che versione di debian stai usando ? hai già controllato e/o aggiornato il sources.list ?
Io sono su wheezy amd64 e l'installazione di tk e tk-dev non da nessun problema.

Ritratto di Angel23
Angel23
(Newbie)
Offline
Newbie
Iscritto: 13/11/2014
Messaggi: 4

Ciao, sono su wheezy/sid. Il sources.list non saprei come controllarlo e/o aggiornarlo.

Ritratto di badroot
badroot
(Guru)
Offline
Guru
Iscritto: 22/08/2008
Messaggi: 2083

Wheezy/sid ?
Wheezy è l'attuale versione stable di debian, jessie quella di testing, sid indica il ramo unstable .... quindi nulla a che vedere, oggi, con wheezy.
Posta l'output di :

cat /etc/apt/sources.list

comunque anche su jessie non da problemi l'installazione di tk e tk-dev.
Per aggiornare la lista dei pacchetti esegui :

sudo apt-get update

Ritratto di Angel23
Angel23
(Newbie)
Offline
Newbie
Iscritto: 13/11/2014
Messaggi: 4

Questo è l'output di 'cat /etc/apt/sources.list':

# deb cdrom:[Kubuntu 13.04 _Raring Ringtail_ - Release amd64 (20130424)]/ raring main multiverse restricted universe
 
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.csg.uzh.ch/ubuntu/ raring main restricted
deb-src http://archive.ubuntu.csg.uzh.ch/ubuntu/ raring main restricted
 
## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.csg.uzh.ch/ubuntu/ raring-updates main restricted
deb-src http://archive.ubuntu.csg.uzh.ch/ubuntu/ raring-updates main restricted
 
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.csg.uzh.ch/ubuntu/ raring universe
deb-src http://archive.ubuntu.csg.uzh.ch/ubuntu/ raring universe
deb http://archive.ubuntu.csg.uzh.ch/ubuntu/ raring-updates universe
deb-src http://archive.ubuntu.csg.uzh.ch/ubuntu/ raring-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.
deb http://archive.ubuntu.csg.uzh.ch/ubuntu/ raring multiverse
deb-src http://archive.ubuntu.csg.uzh.ch/ubuntu/ raring multiverse
deb http://archive.ubuntu.csg.uzh.ch/ubuntu/ raring-updates multiverse
deb-src http://archive.ubuntu.csg.uzh.ch/ubuntu/ raring-updates multiverse
 
## 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://archive.ubuntu.csg.uzh.ch/ubuntu/ raring-backports main restricted universe multiverse
deb-src http://archive.ubuntu.csg.uzh.ch/ubuntu/ raring-backports main restricted universe multiverse
 
deb http://archive.ubuntu.csg.uzh.ch/ubuntu/ raring-security main restricted
deb-src http://archive.ubuntu.csg.uzh.ch/ubuntu/ raring-security main restricted
deb http://archive.ubuntu.csg.uzh.ch/ubuntu/ raring-security universe
deb-src http://archive.ubuntu.csg.uzh.ch/ubuntu/ raring-security universe
deb http://archive.ubuntu.csg.uzh.ch/ubuntu/ raring-security multiverse
deb-src http://archive.ubuntu.csg.uzh.ch/ubuntu/ raring-security 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 raring partner
deb-src http://archive.canonical.com/ubuntu raring partner
 
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu raring main
deb-src http://extras.ubuntu.com/ubuntu raring main
deb http://download.tuxfamily.org/glxdock/repository/ubuntu raring cairo-dock
## deb http://download.tuxfamily.org/glxdock/repository/ubuntu raring cairo-dock
## deb http://download.tuxfamily.org/glxdock/repository/ubuntu raring cairo-dock
## deb http://download.tuxfamily.org/glxdock/repository/ubuntu raring cairo-dock

Ritratto di Angel23
Angel23
(Newbie)
Offline
Newbie
Iscritto: 13/11/2014
Messaggi: 4

E questo è la parte finale dell'output del comando 'apt-get update':

W: Impossibile recuperare http://archive.ubuntu.csg.uzh.ch/ubuntu/dists/raring-updates/multiverse/binary-amd64/Packages 404 Not Found

W: Impossibile recuperare http://archive.ubuntu.csg.uzh.ch/ubuntu/dists/raring-updates/main/binary-i386/Packages 404 Not Found

W: Impossibile recuperare http://archive.ubuntu.csg.uzh.ch/ubuntu/dists/raring-updates/restricted/binary-i386/Packages 404 Not Found

W: Impossibile recuperare http://archive.ubuntu.csg.uzh.ch/ubuntu/dists/raring-updates/universe/binary-i386/Packages 404 Not Found

W: Impossibile recuperare http://archive.ubuntu.csg.uzh.ch/ubuntu/dists/raring-updates/multiverse/binary-i386/Packages 404 Not Found

W: Impossibile recuperare http://ppa.launchpad.net/gnumdk/ppa/ubuntu/dists/raring/main/binary-amd64/Packages 404 Not Found

W: Impossibile recuperare http://ppa.launchpad.net/gnumdk/ppa/ubuntu/dists/raring/main/binary-i386/Packages 404 Not Found

W: Impossibile recuperare http://archive.ubuntu.csg.uzh.ch/ubuntu/dists/raring-backports/main/source/Sources 404 Not Found

W: Impossibile recuperare http://archive.ubuntu.csg.uzh.ch/ubuntu/dists/raring-backports/restricted/source/Sources 404 Not Found

W: Impossibile recuperare http://archive.ubuntu.csg.uzh.ch/ubuntu/dists/raring-backports/universe/source/Sources 404 Not Found

W: Impossibile recuperare http://archive.ubuntu.csg.uzh.ch/ubuntu/dists/raring-backports/multiverse/source/Sources 404 Not Found

W: Impossibile recuperare http://archive.ubuntu.csg.uzh.ch/ubuntu/dists/raring-backports/main/binary-amd64/Packages 404 Not Found

W: Impossibile recuperare http://archive.ubuntu.csg.uzh.ch/ubuntu/dists/raring-backports/restricted/binary-amd64/Packages 404 Not Found

W: Impossibile recuperare http://archive.ubuntu.csg.uzh.ch/ubuntu/dists/raring-backports/universe/binary-amd64/Packages 404 Not Found

W: Impossibile recuperare http://archive.ubuntu.csg.uzh.ch/ubuntu/dists/raring-backports/multiverse/binary-amd64/Packages 404 Not Found

W: Impossibile recuperare http://archive.ubuntu.csg.uzh.ch/ubuntu/dists/raring-backports/main/binary-i386/Packages 404 Not Found

W: Impossibile recuperare http://archive.ubuntu.csg.uzh.ch/ubuntu/dists/raring-backports/restricted/binary-i386/Packages 404 Not Found

W: Impossibile recuperare http://archive.ubuntu.csg.uzh.ch/ubuntu/dists/raring-backports/universe/binary-i386/Packages 404 Not Found

W: Impossibile recuperare http://archive.ubuntu.csg.uzh.ch/ubuntu/dists/raring-backports/multiverse/binary-i386/Packages 404 Not Found

W: Impossibile recuperare http://archive.ubuntu.csg.uzh.ch/ubuntu/dists/raring-security/main/source/Sources 404 Not Found

W: Impossibile recuperare http://archive.ubuntu.csg.uzh.ch/ubuntu/dists/raring-security/restricted/source/Sources 404 Not Found

W: Impossibile recuperare http://archive.ubuntu.csg.uzh.ch/ubuntu/dists/raring-security/universe/source/Sources 404 Not Found

W: Impossibile recuperare http://archive.ubuntu.csg.uzh.ch/ubuntu/dists/raring-security/multiverse/source/Sources 404 Not Found

W: Impossibile recuperare http://archive.ubuntu.csg.uzh.ch/ubuntu/dists/raring-security/main/binary-amd64/Packages 404 Not Found

W: Impossibile recuperare http://archive.ubuntu.csg.uzh.ch/ubuntu/dists/raring-security/restricted/binary-amd64/Packages 404 Not Found

W: Impossibile recuperare http://archive.ubuntu.csg.uzh.ch/ubuntu/dists/raring-security/universe/binary-amd64/Packages 404 Not Found

W: Impossibile recuperare http://archive.ubuntu.csg.uzh.ch/ubuntu/dists/raring-security/multiverse/binary-amd64/Packages 404 Not Found

W: Impossibile recuperare http://archive.ubuntu.csg.uzh.ch/ubuntu/dists/raring-security/main/binary-i386/Packages 404 Not Found

W: Impossibile recuperare http://archive.ubuntu.csg.uzh.ch/ubuntu/dists/raring-security/restricted/binary-i386/Packages 404 Not Found

W: Impossibile recuperare http://archive.ubuntu.csg.uzh.ch/ubuntu/dists/raring-security/universe/binary-i386/Packages 404 Not Found

W: Impossibile recuperare http://archive.ubuntu.csg.uzh.ch/ubuntu/dists/raring-security/multiverse/binary-i386/Packages 404 Not Found

E: Impossibile scaricare alcuni file di indice: saranno ignorati o verranno usati quelli vecchi.

Ritratto di badroot
badroot
(Guru)
Offline
Guru
Iscritto: 22/08/2008
Messaggi: 2083

Ma scusa tu usi Ubuntu ? .... questo è un forum debian, d'accordo che Ubuntu è, era, derivata da debian ma onestamente dirti qualcosa sulla bontà dei repository e del tuo source list va al di là delle mie conoscenze, che il source list tuo sia messo male sembra evidente dalla sfilza di errori che escono ma dirti come debba essere ...
Meglio se chiedi su un forum specifico per Ubuntu.