Ubuntu Suomen keskustelualueet
Ubuntun käyttö => Ubuntu tietokoneissa => Aiheen aloitti: paula - 13.11.08 - klo:11.46
-
Olen koittanut asentaa tar.gz pakettia mutta congigure kohdasta puuttuu milloin mitäkin muunmuassa ilmoittaa cairo:a vaikka sen niminen paketti on jo haettu. Myös tarvittavat Lib:t pitäisi löytyä. Missä vika? Onko bugi?
-
Olen koittanut asentaa tar.gz pakettia mutta congigure kohdasta puuttuu milloin mitäkin muunmuassa ilmoittaa cairo:a vaikka sen niminen paketti on jo haettu. Myös tarvittavat Lib:t pitäisi löytyä. Missä vika? Onko bugi?
Kyseisten pakettien *-dev versiot asennettu?
Esim pelkkä libcairo ei riitä, vaan pitää asentaa kyseisen paketin libcairo-dev versio myös.
-
Kiitos vastauksesta... Hmm... adept ei kyllä löydä paketteja nimellä cairo-dev, libcairo-dev
-
Kiitos vastauksesta... Hmm... adept ei kyllä löydä paketteja nimellä cairo-dev, libcairo-dev
aptitude search cairo |grep "\-dev"
p cairo-dock-dev - Development files for cairo-dock
p guile-cairo-dev - Guile bindings for Cairo, development file
v libcairo-dev -
p libcairo-directfb2-dev - Development files for Cairo graphics libra
p libcairo-java-dev - Java bindings for Cairo (development files
p libcairo-ocaml-dev - OCaml bindings for Cairo
p libcairo2-dev - Development files for the Cairo 2D graphic
p libcairomm-1.0-dev - C++ wrappers for Cairo (development files)
p libclutter-cairo-0.8-dev - Open GL based interactive canvas library C
p libghc6-cairo-dev - A GUI library for Haskell (Gtk2Hs) -- Cair
p python-cairo-dev - Python cairo bindings: development files
Edellinen on Intrepidin varastoista, mutta pitäisi löytyä myös hardysta.
-
Mutta kun tarkemmin tutkii. niin tuo löytyy pakettivarastoista tuo kyseinen ohjelma, joku erityinen syy
kääntää lähdekoodista?
http://packages.ubuntu.com/hardy/gerbv
-
ilmoittaa seuraavaa
parikdata4@data:~$ sudo apt-get install gerbv
[sudo] password for parikdata4:
E: Tyyppi "http://fi.archive.ubuntu.com/ubuntu/" on tuntematon rivillä 46 lähdeluettelossa /etc/apt/sources.list
E: Lähteiden luetteloa ei pystynyt lukemaan.
kuitenkin sillä rivillä tiedostoss oli --> http://fi.archive.ubuntu.com/ubuntu/ interpid
-
Miltäs se listaus oikein näyttää?
cat /etc/apt/sources.list
Alla omani
deb http://archive.ubuntu.com/ubuntu/ intrepid main universe multiverse restricted
deb-src http://archive.ubuntu.com/ubuntu/ intrepid main universe multiverse restricted
deb http://archive.ubuntu.com/ubuntu/ intrepid-updates main universe multiverse restricted
deb-src http://archive.ubuntu.com/ubuntu/ intrepid-updates main universe multiverse restricted
deb http://archive.ubuntu.com/ubuntu/ intrepid-security main universe multiverse restricted
deb-src http://archive.ubuntu.com/ubuntu/ intrepid-security main universe multiverse restricted
## Medibuntu - Ubuntu 8.10 "intrepid ibex"
## Please report any bug on https://bugs.launchpad.net/medibuntu/
# deb http://packages.medibuntu.org/ intrepid free non-free
# deb-src http://packages.medibuntu.org/ intrepid free non-free
-
deb http://archive.canonical.com/ubuntu intrepid partner
deb-src http://archive.canonical.com/ubuntu intrepid partner
deb http://security.ubuntu.com/ubuntu intrepid-security main restricted
deb http://security.ubuntu.com/ubuntu intrepid-security universe
deb http://security.ubuntu.com/ubuntu intrepid-security multiverse
deb http://fi.archive.ubuntu.com/ubuntu/ interpid universe
http://fi.archive.ubuntu.com/ubuntu/ interpid devhttp://fi.archive.ubuntu.com/ubuntu/ interpid devparikdata4@data:~$
Lopussa tulee tuollainen sotku vaikka katsoin tiedostoa ja tallensin. Niin orginaalitiedostossa devin jälkeen ei lue enää mitään.
-
deb http://fi.archive.ubuntu.com/ubuntu/ interpid universe
http://fi.archive.ubuntu.com/ubuntu/ interpid devhttp://fi.archive.ubuntu.com/ubuntu/ interpid
Lopussa tulee tuollainen sotku vaikka katsoin tiedostoa ja tallensin. Niin orginaalitiedostossa devin jälkeen ei lue enää mitään.
Tuossa on virheitä, korvaa antamallani listauksella. Helpomalla pääset kun korvaat omasi, antamallani esimerkillä.
gksudo gedit /etc/apt/sources.list
Tuo aukaisee vaadittavilla oikeuksilla kyseisen tiedoston.
Halutessasi lisää tuo partner sinne.
deb http://archive.canonical.com/ubuntu intrepid partner
deb-src http://archive.canonical.com/ubuntu intrepid partner
Huomaa, vaihtaessasi tuon muuttuu käytettävä serveri pääpalvelimeen,
Voit vaihtaa sen graafisesti
Valikko->Järjestelmä->Ylläpito->Ohjelmalähteet-->Käytettävä palvelin
huom, aina tehdessä muutoksia kyseiseen tiedostoon, pitää listaus päivittää
sudo apt-get update
-
parikdata4@data:~$ sudo apt-get install gerbv
Luetaan pakettiluetteloita... Valmis
Muodostetaan riippuvuussuhteiden puu
Luetaan tilatiedot... Valmis
Seuraavat ylimääräiset paketit on merkitty asennettaviksi:
extra-xdg-menus
Seuraavat UUDET paketit asennetaan:
extra-xdg-menus gerbv
0 päivitetty, 2 uutta asennusta, 0 poistettavaa ja 0 päivittämätöntä.
Noudettavaa arkistoa 1195kt.
Toiminnon jälkeen käytetään 5239k t lisää levytilaa.
Haluatko jatkaa [K/e]? k
Keskeytä.
Tuo keskeytä teksti tulee tuohon itsekseen.
Sitten catilla saa näkyviin seuraavaa
## 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 intrepid partner
deb-src http://archive.canonical.com/ubuntu intrepid partner
deb http://security.ubuntu.com/ubuntu intrepid-security main restricted
deb http://security.ubuntu.com/ubuntu intrepid-security universe
deb http://security.ubuntu.com/ubuntu intrepid-security multiverse
deb http://archive.canonical.com/ubuntu intrepid partner
deb-src http://archive.canonical.com/ubuntu intrepid partnerparikdata4@data:~$
Pitääkö viimesen rivin jälkeen vielä laittaa siis enterr?
-
On mennyt sotkuun tuo sinun pakettivarastolistaus
Sieltä puuttuu vaikka mitä tärkeitä lähteitä+ ylimääräisiä merkkejä lisätty sinne...
gksudo gedit /etc/apt/sources.list
Vaihda sen sisältö tähän seuraavaan.
Leikkaa&Liimaa
deb http://archive.ubuntu.com/ubuntu/ intrepid main universe multiverse restricted
deb-src http://archive.ubuntu.com/ubuntu/ intrepid main universe multiverse restricted
deb http://archive.ubuntu.com/ubuntu/ intrepid-updates main universe multiverse restricted
deb-src http://archive.ubuntu.com/ubuntu/ intrepid-updates main universe multiverse restricted
deb http://archive.ubuntu.com/ubuntu/ intrepid-security main universe multiverse restricted
deb-src http://archive.ubuntu.com/ubuntu/ intrepid-security main universe multiverse restricted
## Medibuntu - Ubuntu 8.10 "intrepid ibex"
## Please report any bug on https://bugs.launchpad.net/medibuntu/
# deb http://packages.medibuntu.org/ intrepid free non-free
# deb-src http://packages.medibuntu.org/ intrepid free non-free
deb http://archive.canonical.com/ubuntu intrepid partner
deb-src http://archive.canonical.com/ubuntu intrepid partner
Kun olet vaihtanut niin, laita tänne kopio siitä tiedostosta.
-
Kopio tiedostosta sources list:
deb cdrom:[Kubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.1)]/ intrepid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://fi.archive.ubuntu.com/ubuntu/ intrepid main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://fi.archive.ubuntu.com/ubuntu/ intrepid-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://fi.archive.ubuntu.com/ubuntu/ intrepid universe
deb http://fi.archive.ubuntu.com/ubuntu/ intrepid-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://fi.archive.ubuntu.com/ubuntu/ intrepid multiverse
deb http://fi.archive.ubuntu.com/ubuntu/ intrepid-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://fi.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse
# deb-src http://fi.archive.ubuntu.com/ubuntu/ intrepid-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.ubuntu.com/ubuntu/ intrepid main universe multiverse restricted
deb-src http://archive.ubuntu.com/ubuntu/ intrepid main universe multiverse restricted
deb http://archive.ubuntu.com/ubuntu/ intrepid-updates main universe multiverse restricted
deb-src http://archive.ubuntu.com/ubuntu/ intrepid-updates main universe multiverse restricted
deb http://archive.ubuntu.com/ubuntu/ intrepid-security main universe multiverse restricted
deb-src http://archive.ubuntu.com/ubuntu/ intrepid-security main universe multiverse restricted
## Medibuntu - Ubuntu 8.10 "intrepid ibex"
## Please report any bug on https://bugs.launchpad.net/medibuntu/
# deb http://packages.medibuntu.org/ intrepid free non-free
# deb-src http://packages.medibuntu.org/ intrepid free non-free
deb http://archive.canonical.com/ubuntu intrepid partner
deb-src http://archive.canonical.com/ubuntu intrepid partne
JA sources.list.save
deb cdrom:[Kubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.1)]/ intrepid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://fi.archive.ubuntu.com/ubuntu/ intrepid main restricted
deb-src http://fi.archive.ubuntu.com/ubuntu/ intrepid restricted main multiverse universe #Added by software-properties
## Major bug fix updates produced after the final release of the
## distribution.
deb http://fi.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted
deb-src http://fi.archive.ubuntu.com/ubuntu/ intrepid-updates restricted main multiverse universe #Added by software-properties
## 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://fi.archive.ubuntu.com/ubuntu/ intrepid universe
deb http://fi.archive.ubuntu.com/ubuntu/ intrepid-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://fi.archive.ubuntu.com/ubuntu/ intrepid multiverse
deb http://fi.archive.ubuntu.com/ubuntu/ intrepid-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://fi.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse
# deb-src http://fi.archive.ubuntu.com/ubuntu/ intrepid-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.ubuntu.com/ubuntu/ intrepid main universe multiverse restricted
deb-src http://archive.ubuntu.com/ubuntu/ intrepid main universe multiverse restricted
deb http://archive.ubuntu.com/ubuntu/ intrepid-updates main universe multiverse restricted
deb-src http://archive.ubuntu.com/ubuntu/ intrepid-updates main universe multiverse restricted
deb http://archive.ubuntu.com/ubuntu/ intrepid-security main universe multiverse restricted
deb-src http://archive.ubuntu.com/ubuntu/ intrepid-security main universe multiverse restricted
## Medibuntu - Ubuntu 8.10 "intrepid ibex"
## Please report any bug on https://bugs.launchpad.net/medibuntu/
# deb http://packages.medibuntu.org/ intrepid free non-free
# deb-src http://packages.medibuntu.org/ intrepid free non-free
deb http://archive.canonical.com/ubuntu intrepid partner
deb-src http://archive.canonical.com/ubuntu intrepid partne
-
Aukaise se kyseinen tiedosto, poista sen sisältö, eli ei merkin merkkiä koko tiedostossa.
Jonka jälkeen liität sinne aikaisemmin antamani rivit.
Tallennat, poistut, päivität listauksen ja paketit
sudo apt-get update && sudo apt-get dist-upgrade