apt broken
Hi all,
I have got problems with dselect after two week of leaving my Debian GNU/Linux
unstable (sid) alone. Now, it warns a lot of dependency issues. I have to go
to the ftp server and download the files and manually use "dpkg -i" to
install it. The below commands do not help:
apt-get update
apt-get dist-upgrade
apt-get upgrade
Using another server in /etc/apt/sources.list does not help:
deb ftp://ftp.de.debian.org/debian sid main contrib non-free
deb ftp://ftp.fr.debian.org/debian sid main contrib non-free
I have downloaded the Packages files manually and they are identical:
$ diff /var/lib/apt/lists/
ftp.fr.debian.org_debian_dists_sid_main_binary-i386_Packages ~/Packages
$
Getting support form the #debian IRC channel. Just an example, "problem to
install the apache package":
<davi> # apt-get install apache
<davi> Reading Package Lists... Done
<davi> Building Dependency Tree... Done
<davi> Package apache has no available version, but exists in the database.
<davi> This typically means that the package was mentioned in a dependency and
<davi> never uploaded, has been obsoleted or is not available with the
contents
<davi> of sources.list
<davi> However the following packages replace it:
<davi> apache-common
<davi> Ellomir: Package apache has no installation candidate
<simonrvn> apt-get update && apt-get install apache
<davi> simonrvn: I have done it. Anyway, I can repeat it. Let's do it.
<simonrvn> don't bother
<davi> # apt-get update
<davi> Hit http://non-US.debian.org sid/non-US/main Packages
<davi> Hit http://non-US.debian.org sid/non-US/main Release
<davi> Hit http://marillat.free.fr unstable/main Packages
<davi> Hit http://marillat.free.fr unstable/main Release
<davi> Hit http://non-US.debian.org sid/non-US/contrib Packages
<davi> Hit http://non-US.debian.org sid/non-US/contrib Release
<davi> Hit http://non-US.debian.org sid/non-US/non-free Packages
<davi> Hit http://non-US.debian.org sid/non-US/non-free Release
<davi> Hit ftp://ftp.cica.es unstable/main Packages
<davi> Get:1 ftp://ftp.cica.es unstable/main Release
<davi> Hit ftp://ftp.fr.debian.org sid/main Packages
<davi> Ign ftp://ftp.cica.es unstable/main Release
<davi> Hit ftp://ftp.fr.debian.org sid/main Release
<davi> Hit ftp://ftp.fr.debian.org sid/contrib Packages
<davi> Hit ftp://ftp.fr.debian.org sid/contrib Release
<davi> Hit ftp://ftp.fr.debian.org sid/non-free Packages
<davi> Hit ftp://ftp.fr.debian.org sid/non-free Release
<davi> Reading Package Lists... Done
<davi> #
<davi> # apt-get upgrade
<davi> Reading Package Lists... Done
<davi> Building Dependency Tree... Done
<davi> The following packages have been kept back
<davi> console-tools kdelibs-bin kdelibs-data ssh
<davi> 0 packages upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
<davi> #
<simonrvn> ok... so what does this prove?
<bob2> that he hasn't read the apt-get manpage :)
<davi> # apt-get install apache
<davi> Reading Package Lists... Done
<davi> Building Dependency Tree... Done
<davi> Package apache has no available version, but exists in the database.
<davi> This typically means that the package was mentioned in a dependency and
<davi> never uploaded, has been obsoleted or is not available with the
contents
<davi> of sources.list
<davi> However the following packages replace it:
<davi> apache-common
<davi> Ellomir: Package apache has no installation candidate
<davi> #
<davi> simonrvn: bob2: After update & upgrade the 'apache' package is missing
<bob2> apt-cache showpkg apache
<davi> Package: apache
<davi> Versions:
<davi> 1.3.27.1-3(/var/lib/apt/lists/
ftp.fr.debian.org_debian_dists_sid_main_binary-i386_Packages)
<davi>
<davi> Reverse Depends:
<davi> backuppc,apache 1.3
<davi> glasnost,apache
<davi> squirrelmail,apache
<davi> ldapexplorer,apache
<davi> libapache-mod-frontpage-mirfak,apache 1.3.0
<davi> zoph,apache
<davi> wwwconfig-common,apache
<davi> www-pgsql,apache
<davi> www-mysql,apache
<davi> webmin-apache,apache
<davi> w3c-markup-validator,apache
<davi> usemod-wiki,apache
<davi> twiki,apache
<davi> tutos,apache
<davi> sympa,apache
<davi> sqwebmail,apache
<davi> squirrelmail,apache
<davi> spip-eva,apache
<davi> spip,apache
<davi> sourceforge,apache 1.3.9
<davi> snui-server,apache
<davi> smb2www,apache
<davi> smarty,apache
<davi> slash,apache
<davi> ...
<davi> # apt-get install apache
<davi> Reading Package Lists... Done
<davi> Building Dependency Tree... Done
<davi> Package apache has no available version, but exists in the database.
<davi> This typically means that the package was mentioned in a dependency and
<davi> never uploaded, has been obsoleted or is not available with the
contents
<davi> of sources.list
<davi> However the following packages replace it:
<davi> apache-common
<davi> #
<bob2> apt-cache policy apache
<davi> # apt-cache policy apache
<davi> apache:
<davi> Installed: (none)
<davi> Candidate: (none)
<davi> Package Pin: (not found)
<davi> Version Table:
<davi> 1.3.27.1-3 989
<davi> 500 ftp://ftp.fr.debian.org sid/main Packages
<davi> #
<davi> This system has been 'sid' since more than a year ago.
<bob2> apt-get install apache=1.3.27.1-3
<davi> # apt-get install apache=1.3.27.1-3
<davi> Reading Package Lists... Done
<davi> Building Dependency Tree... Done
<davi> The following extra packages will be installed:
<davi> apache apache-common
<davi> Suggested packages:
<davi> libapache-mod-auth-mysql
<davi> The following NEW packages will be installed:
<davi> apache apache-common
<davi> 0 packages upgraded, 2 newly installed, 0 to remove and 4 not upgraded.
<davi> Need to get 1178kB of archives.
<davi> After unpacking 3592kB of additional disk space will be used.
<davi> Do you want to continue? [Y/n]
<davi> Get:1 ftp://ftp.fr.debian.org sid/main apache-common 1.3.27.1-3 [823kB]
<davi> installing ...
<davi> Why this issue? !
<davi> I have been downloading packages by hand and using 'dpkg -i' since a
month ago. It is a boring task. There is no a functional dselect for me :(
<bob2> no idea. Something has fucked apt.
<simonrvn> to put it mildly
Must I remove and reinstall the apt package. My system use the 0.5.8 version.
Have you heard about this problem before?.
If I try to use dselect now, I get only the below dependence problem, however
I am asked to remove a lot of packages. You can see it below.
*** Opt devel cervisia a graphical CVS front end for KDE
*** Opt devel kbabel PO-file editing suite for KDE
*** Opt devel kbugbuster a front end for the KDE bug tracking
*** Opt devel kdesdk-misc various goodies from the KDE Software
*** Opt devel kompare a KDE GUI for viewing differences between
*** Opt devel libsasl2-mod Pluggable Authentication Modules for SASL
*** Opt graphics dia-common Diagram editor (common files)
*** Opt kde kdesdk-kfile KDE file dialog plugins for source and
*** Opt libs kdelibs-bin KDE core binaries
*** Opt libs kdelibs-data KDE core shared data
*** Opt libs libgssapi1-h Libraries for Heimdal Kerberos
*** Opt text libxml2-util XML utilities
*** Opt utils sasl2-bin Programs for manipulating the SASL users
*** Opt web quanta Web Development Environment for KDE
*** Opt graphics dia Diagram editor
*** Opt libs kdelibs4 KDE core libraries
*** Opt libs libkrb5-17-h Libraries for Heimdal Kerberos
*** Opt libs libxml2 GNOME XML library
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
analog apache apache-common autoconf autoconf2.13 automake1.7 awstats
binfmt-support ca-certificates colordiff cyrus21-admin cyrus21-common
cyrus21-imapd cyrus21-pop3d debhelper devscripts dfontmgr dia
dictionaries-common dirvish doc-base docbook docbook-dsssl docbook-xml
dpkg-dev epiphany-browser festival festlex-cmu festlex-oald festlex-poslex
festvox-rablpc16k freeswan gideon gideon-data gideon-plugins gimp-perl
gnome-doc-tools gnome-vfs-extfs gsfonts-other gsfonts-wadalab-common
gsfonts-wadalab-gothic gsfonts-wadalab-mincho ibritish imagemagick intltool
intltool-debian ispanish ispell jade jailer kdeedu kdenetwork kdesdk-scripts
kdevelop kdevelop-data kdoc kernel-package knewsticker-scripts konq-speaker
ksirc kvoctrain latex2html ldirectord libarchive-zip-perl
libcompress-zlib-perl libconfig-general-perl libconfig-inifiles-perl
libconvert-asn1-perl libconvert-ber-perl libcrypt-passwdmd5-perl
libcyrus-imap-perl21 libdate-manip-perl libdbd-mysql-perl libdbi-perl
libdevel-symdump-perl libdigest-hmac-perl libdigest-sha1-perl
libfile-rsyncp-perl libfinance-quote-perl libfont-afm-perl libfont-ttf-perl
libft-perl libgd-gd1-perl libgd-graph-perl libgd-graph3d-perl libgd-perl
libgd-text-perl libgd-tools libglade-perl libgtk-perl libhtml-format-perl
libhtml-fromtext-perl libhtml-parser-perl libhtml-tableextract-perl
libhtml-tagset-perl libhtml-tree-perl libio-stringy-perl
liblingua-en-numbers-ordinate-perl liblingua-preferred-perl
liblog-tracemessages-perl libmagick5.5.7 libmailtools-perl libmime-perl
libmon-perl libnet-dns-perl libnet-google-perl libnet-ldap-perl libnet-perl
libnet-ph-perl libnet-snpp-perl libnet-ssleay-perl libnet-telnet-perl
libnews-nntpclient-perl libpgperl libsasl2-modules-gssapi-heimdal
libsoap-lite-perl libterm-progressbar-perl libterm-readkey-perl
libtime-modules-perl libtime-period-perl libtimedate-perl
libtk-tablematrix-perl libunicode-string-perl liburi-perl libwmf0.2-7
libwww-perl libxml-libxml-common-perl libxml-libxml-perl
libxml-namespacesupport-perl libxml-parser-perl libxml-sax-perl
libxml-simple-perl libxml-twig-perl libxml-writer-perl libxmltv-perl
linuxdoc-tools lirc-modules-source lm-sensors lvs-kiss makepasswd mixmaster
mon mozilla-browser mozilla-dom-inspector mozilla-js-debugger
mozilla-mailnews mozilla-mozgest mozilla-psm mozilla-xft msttcorefonts
mysql-client mysql-server nautilus-data nessusd netsaint-plugins
netsaint-statd-server oooqs-kde openoffice.org openoffice.org-bin
openoffice.org-debian-files openoffice.org-l10n-en opensp openssl pdl perl-tk
php4 po-debconf psfontmgr quanta rmagic rpm scrollkeeper sensord sgml-base
sgml-data sgmltools-lite slapd sp spamassassin squirrelmail stow texi2html
ttf-bitstream-vera ttf-freefont tvtime vlogger vnc-common vncserver wamerican
weblint wenglish wspanish x-ttcidfont-conf xfonts-baekmuk
xfonts-greek-ph-scalable xlogmaster xmltv-gui xmltv-util xvncviewer yelp
The following NEW packages will be installed:
fam libtextwrap1
102 packages upgraded, 2 newly installed, 200 to remove and 17 not upgraded.
Need to get 0B/94.1MB of archives.
After unpacking 494MB disk space will be freed.
Do you want to continue? [Y/n] No thanks ;)
Regards,
Davi Leal
Reply to: