PDA

View Full Version : "E: Package libarchive-zip-perl has no installation can



Albretch
11-16-2009, 02:31 AM
Hi

I am trying to install some perl package on Debian, but when I go:

apt-get install libarchive-zip-perl

I get "E: Package libarchive-zip-perl has no installation candidate"

Reading package lists... Done
Building dependency tree... Done
Package libarchive-zip-perl is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package libarchive-zip-perl has no installation candidate

What exactly do I need to change in /etc/apt/sources.list in order to install libarchive-zip-perl and in general how do you find out?

Thank you
lbrtchx

root@Knoppix:/media/sda2/inst/sw/OO/source/OOO310_m19# cat /etc/apt/sources.list
# /etc/apt/sources.list for Knoppix
# If you want to do a "full upgrade", you should first
# upgrade the Packages from Debian/unstable (KDE & Co.)
# before doing a (dist-)upgrade for Debian/testing.
#
# See sources.list(5) for more information, especialy
# Remember that you can only use http, ftp or file URIs
# CDROMs are managed through the apt-cdrom tool.

# Security updates for "stable"
deb http://security.debian.org stable/updates main contrib non-free
deb http://security.debian.org testing/updates main contrib non-free

# Stable
deb http://ftp.de.debian.org/pub/debian stable main contrib non-free

# the non-US branch doesn't exist anymore since sarge. -KK
# deb http://ftp.de.debian.org/pub/debian-non-US stable/non-US main contrib non-free

# Stable Sources
deb-src http://ftp.de.debian.org/pub/debian stable main contrib non-free
# deb-src http://ftp.de.debian.org/pub/debian-non-US stable/non-US main contrib non-free

# Testing
deb http://ftp.de.debian.org/pub/debian testing main contrib non-free
# deb http://ftp.de.debian.org/pub/debian-non-US testing/non-US main contrib non-free

# Testing Sources
deb-src http://ftp.de.debian.org/pub/debian testing main contrib non-free
# deb-src http://ftp.de.debian.org/pub/debian-non-US testing/non-US main contrib non-free

# Unstable
deb http://ftp.de.debian.org/debian unstable main contrib non-free
# deb http://ftp.de.debian.org/debian-non-US unstable/non-US main contrib non-free

# Unstable Sources
deb-src http://ftp.de.debian.org/debian unstable main contrib non-free
# deb-src http://ftp.de.debian.org/debian-non-US unstable/non-US main contrib non-free

# Experimental
deb http://ftp.de.debian.org/debian experimental main contrib non-free

# Experimental Sources
#deb-src http://ftp.de.debian.org/debian ../project/experimental main contrib non-free

# ndiswrapper source (disappeared, only source.tar available)
# deb http://ndiswrapper.sourceforge.net/debian ./

# KDE 3.5 (not in sarge)
# deb http://pkg-kde.alioth.debian.org/kde-3.5.0/ ./
# deb-src http://pkg-kde.alioth.debian.org/kde-3.5.0/ ./
# deb http://pkg-kde.alioth.debian.org/kde-3.4.1/ ./
# deb-src http://pkg-kde.alioth.debian.org/kde-3.4.1/ ./

# Wine
deb http://wine.sourceforge.net/apt/ binary/
# deb-src http://wine.sourceforge.net/apt/ source/

# Unichrome graphics driver
# deb http://www.physik.fu-berlin.de/~glaweh/debian/ unichrome/
# deb-src http://www.physik.fu-berlin.de/~glaweh/debian/ unichrome/

# NX stuff
# deb http://www.kalyxo.org/debian/ experimental main
# deb http://www.kalyxo.org/debian/ unstable main

# ndiswrapper
# deb http://rigtorp.se/debian unstable/
# deb-src http://rigtorp.se/debian unstable/

# Blades Repository (pppoeconf & co)
# deb http://people.debian.org/~blade/testing ./
# deb-src http://people.debian.org/~blade/testing ./

# deb cdrom:[Debian GNU/Linux 2.2 r3 _Potato_ - Official i386 Binary-1 (20010427)]/ unstable contrib main non-US/contrib non-US/main

# Knoppix special packages resource at LinuxTag HQ
# deb http://developer.linuxtag.net/knoppix ./
# deb-src http://developer.linuxtag.net/knoppix ./

# deb http://snapshot.debian.net/archive pool gcc
# deb-src http://snapshot.debian.net/archive pool gcc

# From the Kanotix archives
# deb http://kanotix.com/files/debian/ ./
# deb-src http://kanotix.com/files/debian/ ./

# NX Server
# deb http://debian.tu-bs.de/project/kanotix/unstable/ sid nx
# deb-src http://debian.tu-bs.de/project/kanotix/unstable/ sid nx

# NX Client (binary-only, non-free)
# deb http://kanotix.com/files/debian/ sid main contrib non-free

# Packages from ubuntu. CAUTION, they don't mix well with Debian
# deb http://de.archive.ubuntu.com/ubuntu hoary main universe multiverse
# deb-src http://de.archive.ubuntu.com/ubuntu hoary main universe multiverse

# Unofficial packages, like JAVA
# deb ftp://ftp.debian-unofficial.org/debian/ stable main contrib non-free restricted
# deb-src ftp://ftp.debian-unofficial.org/debian/ stable main contrib non-free restricted
# deb ftp://ftp.debian-unofficial.org/debian/ testing main contrib non-free restricted
# deb-src ftp://ftp.debian-unofficial.org/debian/ testing main contrib non-free restricted
# deb ftp://ftp.debian-unofficial.org/debian/ unstable main contrib non-free restricted
# deb-src ftp://ftp.debian-unofficial.org/debian unstable main contrib non-free restricted

# Open-Xchange and JavaMail packages
# deb http://ox.cs.bme.hu/ox-stable sarge contrib

# Open-Xchange development version (currently 0.8.1.2-1) and JavaMail packages
# deb http://ox.cs.bme.hu/ox-devel sarge contrib

# Various Projects

# Thunderbird
deb http://people.debian.org/~asac/experimental ./
deb-src http://people.debian.org/~asac/experimental ./

# Beryl/Compiz from Ubuntu
# deb http://www.beerorkid.com/compiz dapper main
# deb-src http://www.beerorkid.com/compiz dapper main

# imu's Beryl-SVN Debian-unstable Repository
# GPG key: 81836EBF
deb http://download.tuxfamily.org/3v1deb debian-unstable beryl-svn
deb-src http://download.tuxfamily.org/3v1deb debian-unstable beryl-svn

# NX
deb http://sidux.com/debian/ sid nx
deb-src http://sidux.com/debian/ sid nx

# whereto - automatic detection of country/language
# http://www.iki.fi/karvinen/wheretero.html
# http://myy.helia.fi/~a0600207/terodeb

# Local FTP-KL
deb http://ftp.uni-kl.de/debian-local sid main

Albretch
11-16-2009, 05:14 PM
OK, I decided to just re install perl but got some new error I don't really know how o deal with telling me "perl depends on perl-base (= 5.8.8-7etch6)"

How can I install a complete copy of perl 5.8.8?

lbrtchx

Here is what I did/got:

root@Knoppix:~# wget http://debian.lcs.mit.edu/debian/pool/main/p/perl/perl_5.8.8-7etch6_i386.deb
--11:00:00-- http://debian.lcs.mit.edu/debian/pool/main/p/perl/perl_5.8.8-7etch6_i386.deb
=> `perl_5.8.8-7etch6_i386.deb'
Resolving debian.lcs.mit.edu... 128.30.2.36
Connecting to debian.lcs.mit.edu|128.30.2.36|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3,599,182 (3.4M) [application/x-debian-package]

100%[================================================== ================================================== =>] 3,599,182 187.09K/s ETA 00:00

11:00:19 (185.77 KB/s) - `perl_5.8.8-7etch6_i386.deb' saved [3599182/3599182]

root@Knoppix:~# dpkg -i perl_5.8.8-7etch6_i386.deb
(Reading database ... 110893 files and directories currently installed.)
Preparing to replace perl 5.8.8-7 (using perl_5.8.8-7etch6_i386.deb) ...
Unpacking replacement perl ...
dpkg: dependency problems prevent configuration of perl:
perl depends on perl-base (= 5.8.8-7etch6); however:
Version of perl-base on system is 5.8.8-7.
perl depends on perl-modules (>= 5.8.8-7etch6); however:
Version of perl-modules on system is 5.8.8-7.
dpkg: error processing perl (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
perl
root@Knoppix:~#