Apt-get Problem

FreeBSD, Gentoo, openSUSE, CentOS, Ubuntu, Debian
andre丨
Posts: 125
Joined: 2003-09-28 13:34
 

Apt-get Problem

Post by andre丨 »

Hallo,
seit kurzem scheint es so, als würde mein Server kein apt-get upgrade mehr durchführen:

Code: Select all

debian:/home/andre# apt-get upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages have been kept back
  clamav clamav-base clamav-daemon clamav-freshclam courier-authdaemon courier-authmysql courier-base courier-imap courier-imap-ssl courier-maildrop
  courier-pop courier-pop-ssl courier-ssl libclamav1 php4-cgi php4-mysql proftpd proftpd-common spamassassin sqwebmail zlib1g zlib1g-dev
0 packages upgraded, 0 newly installed, 0 to remove and 22  not upgraded.
Hat jmd. ne idee woran das liegen könnte?

Mfg
Andre
cat
Posts: 96
Joined: 2002-09-14 20:57
Location: unterwegs-im.net ;)
 

Re: Apt-get Problem

Post by cat »

hi Andre,

ausser den Packeten, die auf "hold" stehen .. gibt es auf Deiner Kiste nichts zu installieren ;)

wo ist da das Problem?

Gruesse
Cat
andre丨
Posts: 125
Joined: 2003-09-28 13:34
 

Re: Apt-get Problem

Post by andre丨 »

Aber von allen Paketen die dort aufgeführt sind gibt es neuer Versionen...

Wie entferne ich dieses "hold"?
captaincrunch
Userprojekt
Userprojekt
Posts: 7066
Joined: 2002-10-09 14:30
Location: Dorsten
 

Re: Apt-get Problem

Post by captaincrunch »

man apt

Dort findest du dann z.B. apt-get dselect-upgrade, das Abhängigkeiten etwas intelligenter löst.
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
entro
Posts: 6
Joined: 2005-09-03 13:24
Location: Kiel
 

Re: Apt-get Problem

Post by entro »

Hallo aNdRe|,

es liegt oft an den Abhängigkeiten, dass bestimmte Pakete nicht ge-upgrade-t werden können. Du kannst aber z.B. versuchen einzelne Pakete via

Code: Select all

apt-get install [Paketname]
sozusagen von Hand zu upgraden.

In deinem Fall könntest du mal ein

Code: Select all

apt-get install clamav
versuchen. Oft werden dabei die Abhängigkeitsprobleme von anderen Paketen auch gelöst und ein anschließendes

Code: Select all

apt-get upgrade
bringt wieder den gewünschten Erfolg.
andre丨
Posts: 125
Joined: 2003-09-28 13:34
 

Re: Apt-get Problem

Post by andre丨 »

Hallo,
sorry für die späte Antwort, hatte aber nicht viel Zeit.
apt-get install Clamav hat geklappt aber bei anderen Paketen bekomme ich folgende Meldung:

Code: Select all

apt-get install sqwebmail
Reading Package Lists... Done
Building Dependency Tree... 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.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

Sorry, but the following packages have unmet dependencies:
  sqwebmail: Depends: libc6 (>= 2.3.2.ds1-21) but 2.2.5-11.8 is to be installed
             Depends: libfam0c102 but it is not installable
             Depends: libgdbm3 but it is not installable
             Depends: courier-base (>= 0.47) but 0.37.3-2.5 is to be installed
             Depends: courier-authdaemon (>= 0.47) but 0.37.3-2.5 is to be installed
             Depends: courier-maildrop (>= 0.47) but 0.37.3-2.5 is to be installed
E: Sorry, broken packages
Was kann ich dort tun..?
lord_pinhead
Posts: 774
Joined: 2004-04-26 15:57
 

Re: Apt-get Problem

Post by lord_pinhead »

Ich würde mal sagen im apt-cache so lange suchen bis du den Packetnamen hast und dann installieren :D
dodolin
Posts: 3840
Joined: 2003-01-21 01:59
Location: Sinsheim/Karlsruhe
 

Re: Apt-get Problem

Post by dodolin »

Eventuell ist deine /etc/apt/sources.list vermurkst, oder du benutzt obskure Backports, die nicht richtig funktionieren. apt-get update hast du vorher nochmal laufen lassen?
andre丨
Posts: 125
Joined: 2003-09-28 13:34
 

Re: Apt-get Problem

Post by andre丨 »

Hallo Dodolin,
meine Sourcelist:

Code: Select all

deb http://www.backports.org/debian/ woody amavisd-new clamav
deb     http://ftp.debian.de/debian-non-US woody/non-US main
deb-src http://ftp.debian.de/debian-non-US woody/non-US main
deb     http://security.debian.org/ stable/updates main
deb-src http://security.debian.org/ stable/updates main

deb http://non-us.debian.org/debian-non-US stable/non-US main
deb-src http://non-us.debian.org/debian-non-US stable/non-US main
deb http://security.debian.org/ woody/updates main contrib non-free

Irgendwas falsch? Danke dir für die Hilfe!
mfg
Andre
captaincrunch
Userprojekt
Userprojekt
Posts: 7066
Joined: 2002-10-09 14:30
Location: Dorsten
 

Re: Apt-get Problem

Post by captaincrunch »

woody ist die alte stable, stable ist jetzt sarge. Ein Mix aus beiden führt zu solchen Ergebnissen.
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
User avatar
Joe User
Project Manager
Project Manager
Posts: 11186
Joined: 2003-02-27 01:00
Location: Hamburg
 

Re: Apt-get Problem

Post by Joe User »

Als bekennender nicht-Debianer fällt so gar mir auf, dass Du woody und sarge mixed, was bekanntlich zu solchen Problemen führt...

EDIT: Zu spät...
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
andre丨
Posts: 125
Joined: 2003-09-28 13:34
 

Re: Apt-get Problem

Post by andre丨 »

und nun?
captaincrunch
Userprojekt
Userprojekt
Posts: 7066
Joined: 2002-10-09 14:30
Location: Dorsten
 

Re: Apt-get Problem

Post by captaincrunch »

Diese Frage ist jetzt nicht dein Ernst, oder?
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
andre丨
Posts: 125
Joined: 2003-09-28 13:34
 

Re: Apt-get Problem

Post by andre丨 »

reicht es wenn ich die source list ändere?
andre丨
Posts: 125
Joined: 2003-09-28 13:34
 

Re: Apt-get Problem

Post by andre丨 »

ok ist durch - Vielen Dank für die Hilfe!!