🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.perl
Article #52445

Niekompletne repozytoria pakietów perla dla Ubuntu???

#52445
From: Jarosław Lubczyński
Date: Tue, 11 Sep 2012 06:29
123 lines
5982 bytes
Albo raczej znowu czegoś nie wiem... Niestety z dystrybucjami 
okołodebianowymi nadal nie miałem czasu się bliżej zapoznać...

Ubuntu 11.10. Piszę ja sobie:

$ sudo apt-cache policy perl-tk

i dostaję w odpowiedzi dokładnie to, czego się spodziewałem, czyli

perl-tk:
   Zainstalowana: 1:804.029-1.1
   Kandydująca:   1:804.029-1.1
   Tabela wersji:
  *** 1:804.029-1.1 0
         500 http://pl.archive.ubuntu.com/ubuntu/ oneiric/universe i386 
Packages
         100 /var/lib/dpkg/status

(nazwy pakietów są case insensitive, tak? Wygląda, że podanie perl-Tk 
jest równie skuteczne, co podanie perl-tk a nawet perl-TK)

Ale jak próbuję:

$ sudo apt-cache policy perl-tk-chart
N: Nie udało się odnaleźć pakietu perl-tk-chart

również
$ sudo apt-cache policy perl-tk-time-hires
N: Nie udało się odnaleźć pakietu perl-time-hires

a nawet:
$ sudo apt-cache policy perl-tk-datetime
N: Nie udało się odnaleźć pakietu perl-time-datetime

No i co się stało z obsługą poleceń z nieco odmienną składnią?:

$ sudo apt-cache policy libtk-perl

Na Ubuntu 10 (o ile pamiętam ;-) ) instalowałem w ten sposób pakiety 
perla, teraz dostają odpowiedź:

$ sudo apt-cache policy libtk-perl
libtk-perl:
   Zainstalowana: (brak)
   Kandydująca:   (brak)
   Tabela wersji:
$

plik /etc/apt/sources.list wygląda tak (odkomentowałem url'e dla Canonical):

#deb cdrom:[Xubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012)]/ 
oneiric main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://pl.archive.ubuntu.com/ubuntu/ oneiric main restricted
deb-src http://pl.archive.ubuntu.com/ubuntu/ oneiric main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://pl.archive.ubuntu.com/ubuntu/ oneiric-updates main restricted
deb-src http://pl.archive.ubuntu.com/ubuntu/ oneiric-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://pl.archive.ubuntu.com/ubuntu/ oneiric universe
deb-src http://pl.archive.ubuntu.com/ubuntu/ oneiric universe
deb http://pl.archive.ubuntu.com/ubuntu/ oneiric-updates universe
deb-src http://pl.archive.ubuntu.com/ubuntu/ oneiric-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://pl.archive.ubuntu.com/ubuntu/ oneiric multiverse
deb-src http://pl.archive.ubuntu.com/ubuntu/ oneiric multiverse
deb http://pl.archive.ubuntu.com/ubuntu/ oneiric-updates multiverse
deb-src http://pl.archive.ubuntu.com/ubuntu/ oneiric-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://pl.archive.ubuntu.com/ubuntu/ oneiric-backports main 
restricted universe multiverse
deb-src http://pl.archive.ubuntu.com/ubuntu/ oneiric-backports main 
restricted universe multiverse

deb http://security.ubuntu.com/ubuntu oneiric-security main restricted
deb-src http://security.ubuntu.com/ubuntu oneiric-security main restricted
deb http://security.ubuntu.com/ubuntu oneiric-security universe
deb-src http://security.ubuntu.com/ubuntu oneiric-security universe
deb http://security.ubuntu.com/ubuntu oneiric-security multiverse
deb-src http://security.ubuntu.com/ubuntu oneiric-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 oneiric partner
deb-src http://archive.canonical.com/ubuntu oneiric 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 oneiric main
deb-src http://extras.ubuntu.com/ubuntu oneiric main

pewno brakuje jakichś adresów, ale jakich?
I jak wygląda strategia przeszukiwania repozytoriów przez apt? Jeżeli 
pakiet nie został w jednym odnaleziony, to sprawdzane jest kolejne 
repozytorium na liście źródełek, czy nie?


Pozdrawiam
Jarek Lubczyński
(eljot<NULL>90125 at gmail dot com)
Nawiasy trójkątne z zawartością zbędne są

There are 10 kinds of people:
Those who understand binary and those who don't
Technical Details
Message-ID: <k2mlpo$pc0$1@opal.futuro.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!newsfeed.neostrada.pl!unt-exc-02.news.neostrada.pl!szmaragd.futuro.pl!opal.futuro.pl!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!newsfeed.neostrada.pl!unt-exc-02.news.neostrada.pl!szmaragd.futuro.pl!opal.futuro.pl!not-for-mail
From: Jarosław Lubczyński <guess@who.com.pl>
Newsgroups: pl.comp.lang.perl
Subject: Niekompletne repozytoria pakietów perla dla
 Ubuntu???
Date: Tue, 11 Sep 2012 08:29:38 +0200
Organization: Pro Futuro
Lines: 124
Message-ID: <k2mlpo$pc0$1@opal.futuro.pl>
Reply-To: guess@who.com.pl
NNTP-Posting-Host: ns.elkomtech.com.pl
Mime-Version: 1.0
X-Trace: opal.futuro.pl 1347345017 25984 62.233.147.142 (11 Sep 2012 06:30:17 GMT)
X-Complaints-To: usenet@futuro.pl
NNTP-Posting-Date: Tue, 11 Sep 2012 06:30:17 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120824 Thunderbird/15.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit