LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (http://www.linuxquestions.org/questions/debian-26/)
-   -   what's with all those broken packages (http://www.linuxquestions.org/questions/debian-26/whats-with-all-those-broken-packages-235446/)

darkleaf 09-26-2004 02:16 PM

what's with all those broken packages
 
Well is it just me or are a lot of packages broken? From what I tried to apt today more than half of the stuff couldn't be downloaded cause of broken packages.

Things I tried were gnome (wanted to downgrade from experimental), apt-file

HappyTux 09-26-2004 04:16 PM

Re: what's with all those broken packages
 
Quote:

Originally posted by darkleaf
Well is it just me or are a lot of packages broken? From what I tried to apt today more than half of the stuff couldn't be downloaded cause of broken packages.

Things I tried were gnome (wanted to downgrade from experimental), apt-file

Can we see the output of apt when you are trying to do the downgrade and the install of apt-file. A lot of time it is a package that contains a file that is in another so you can get by this using dpkg -i --force-overwrite /var/cache/apt/archives/package_with_error.deb if there are a few of them then add all the packages to the line then use dpkg --configure -a to get the packages left unconfigured when the error happened.

darkleaf 09-28-2004 02:30 PM

Quote:

debian:~# apt-get install kde
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:

The following packages have unmet dependencies:
kde: Depends: kdemultimedia but it is not going to be installed
E: Broken packages
I have woody, sarge sid and experimental sources in my list. could it be that I upgraded to experimental with dist-upgrade? Then how do I get bakc to Sid?

HappyTux 09-28-2004 06:13 PM

Quote:

Originally posted by darkleaf
I have woody, sarge sid and experimental sources in my list. could it be that I upgraded to experimental with dist-upgrade? Then how do I get bakc to Sid?
The error you are seeing should have nothing to do with getting the Gnome from experimental, you should be able to use apt-get install kde kdemultimedia to get both meta packages if it complians about others the add them to the end of tthe line. A meta package is a package which will install other packages in the case of kde it will install the entire KDE desktop environment as you can see from this.

Code:

>$ apt-cache show kde
Package: kde
Priority: optional
Section: kde
Installed-Size: 16
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Architecture: all
Source: meta-kde
Version: 4:3.1.2
Depends: kde-core, kde-amusements, kdeaddons, kdeadmin, kdeartwork, kdegraphics, kdemultimedia, kdenetwork, kdepim, kdeutils, quanta
Suggests: kde-i18n
Filename: pool/main/m/meta-kde/kde_3.1.2_all.deb
Size: 6866
MD5sum: a471ac806151fe53bc4feedb0e34ebab
Description: The K Desktop Environment
 A metapackage containing dependencies for the official suite of KDE including
 arts, kdeaddons, kdeadmin, kdeartwork, kdebase, kdeedu, kdegames, kdegraphics,
 kdelibs, kdemultimedia, kdenetwork, kdepim, kdetoys, kdeutils, and quanta.
 .
 Does not contain depends for Development packages.
Task: desktop

So unless you want to install everything from kde you are probably better off just installing the basic parts of it like kdebase, kdebase-bin, kdm, kdelibs .... Then getting the applications you want for it this leads to less packages installed that you will never use. Here are the parts that I have installed to give you an idea of the package names the ones with 3.3.? versions are from unstable and the ones with 3.2.? are the leftovers that have not been upgraded yet from testing when the new 3.3 was released. Both versions work fine together but you would want to get most of it from unstable just to have the latest available packages.

Code:

>$  COLUMNS=125 dpkg -l | grep 3.3.0
ii  akode                    3.3.0-1                  akode arts plugin
ii  artsbuilder              3.3.0-1                  Arts synthesizer designer
ii  juk                      3.3.0-1                  music organizer and player for KDE
ii  kaboodle                  3.3.0-1                  Embedded media player for KDE
ii  kaddressbook              3.3.0-2                  KDE NG addressbook application
ii  kalarm                    3.3.0-2                  KDE alarm message and command scheduler
ii  kappfinder                3.3.0a-1                  KDE Application Finder
ii  kate                      3.3.0a-1                  KDE Advanced Text Editor
ii  kaudiocreator            3.3.0-1                  CD ripper and audio encoder frontend
ii  kcalc                    3.3.0-1                  KDE calculator
ii  kcharselect              3.3.0-1                  KDE character selector
ii  kcontrol                  3.3.0a-1                  KDE Control Center
ii  kdeadmin-kfile-plugins    3.3.0-2                  KDE File dialog pluginsfor deb and rpm files
ii  kdebase                  3.3.0a-1                  KDE Base metapackage
ii  kdebase-bin              3.3.0a-1                  KDE Base (binaries)
ii  kdebase-data              3.3.0a-1                  KDE Base (shared data)
ii  kdebase-kio-plugins      3.3.0a-1                  KDE I/O Slaves
ii  kdegraphics-kfile-plugins 3.3.0-2                  provide meta information for graphic files
ii  kdelibs                  3.3.0-2                  KDE core libraries metapackage
ii  kdelibs-bin              3.3.0-2                  KDE core binaries
ii  kdelibs-data              3.3.0-2                  KDE core shared data
ii  kdelibs4                  3.3.0-2                  KDE core libraries
ii  kdelibs4-dev              3.3.0-2                  KDE core libraries (development files)
ii  kdemultimedia-kappfinder-data 3.3.0-1                  Multimedia data for kappfinder
ii  kdemultimedia-kfile-plugins 3.3.0-1                  au/avi/m3u/mp3/ogg/wav plugins for kfile
ii  kdemultimedia-kio-plugins 3.3.0-1                  Support for browsing audio CDs under Konqueror
ii  kdepasswd                3.3.0a-1                  KDE password changer
ii  kdepim-kfile-plugins      3.3.0-2                  KDE File dialog pluginsfor palm and vcf files
ii  kdepim-kio-plugins        3.3.0-2                  KDE pim I/O Slaves
ii  kdeprint                  3.3.0a-1                  KDE Print
ii  kdesktop                  3.3.0a-1                  KDE Desktop
ii  kdessh                    3.3.0-1                  KDE ssh frontend
ii  kdf                      3.3.0-1                  KDE disk free
ii  kdict                    3.3.0-2                  KDE Dictionary Client
ii  kdm                      3.3.0a-1                  KDE Display Manager
ii  kedit                    3.3.0-1                  KDE text editor
ii  kfind                    3.3.0a-1                  KDE File Find Utility
ii  kfloppy                  3.3.0-1                  KDE floppy formatter
ii  kget                      3.3.0-2                  KDE Download Manager
ii  kghostview                3.3.0-2                  PostScript viewer for KDE
ii  kgpg                      3.3.0-1                  GnuPG frontend for KDE
ii  khelpcenter              3.3.0a-1                  KDE Help Center
ii  khexedit                  3.3.0-1                  KDE hex editor
ii  kicker                    3.3.0a-1                  KDE Desktop Panel
ii  kjots                    3.3.0-1                  KDE note taking utility
ii  klipper                  3.3.0a-1                  KDE Clipboard
ii  kmail                    3.3.0-2                  KDE Email client
ii  kmailcvt                  3.3.0-2                  KDE KMail addressbook converter
ii  kmenuedit                3.3.0a-1                  KDE Menu Editor
ii  kmid                      3.3.0-1                  midi/karaoke player forKDE
ii  kmilo                    3.3.0-1                  KDE kded hardware support module
ii  kmix                      3.3.0-1                  KDE based mixer app
ii  knode                    3.3.0-2                  KDE news reader
ii  konqueror                3.3.0a-1                  KDE's advanced File Manager, Web Browser and Document Viewer
ii  konqueror-nsplugins      3.3.0a-1                  Netscape plugin supportfor Konqueror
ii  konsole                  3.3.0a-1                  KDE X terminal emulator
ii  kontact                  3.3.0-2                  KDE pim application
ii  kopete                    3.3.0-2                  Instant messenger program
ii  korganizer                3.3.0-2                  KDE personal organizer
ii  kpager                    3.3.0a-1                  KDE Desktop Pager
ii  kpersonalizer            3.3.0a-1                  KDE Personalizer
ii  kpilot                    3.3.0-2                  KDE Palm Pilot hot-synctool
ii  krec                      3.3.0-1                  KDE based recorder app
ii  kregexpeditor            3.3.0-1                  graphical regular expression editor plugin
ii  kscd                      3.3.0-1                  KDE based cd player
ii  ksim                      3.3.0-1                  System information monitor
ii  ksmserver                3.3.0a-1                  KDE Session Manager
ii  ksnapshot                3.3.0-2                  Screenshot application for KDE
ii  ksplash                  3.3.0a-1                  KDE Splash Screen
ii  ksvg                      3.3.0-2                  SVG viewer for KDE
ii  ksync                    3.3.0-2                  KDE Sync
ii  ksysguard                3.3.0a-1                  KDE System Guard
ii  ksysguardd                3.3.0a-1                  KDE System Guard Daemon
ii  ksysv                    3.3.0-2                  KDE SysV-style init configuration editor
ii  ktip                      3.3.0a-1                  Kandalf's Useful Tips
ii  ktnef                    3.3.0-2                  KDE TNEF viewer
ii  kuickshow                3.3.0-2                  KDE image/slideshow viewer
ii  kview                    3.3.0-2                  KDE simple image viewer/converter
ii  kviewshell                3.3.0-2                  KDE generic framework for viewer applications
ii  kwin                      3.3.0a-1                  KDE Window Manager
ii  libarts1-audiofile        3.3.0-1                  audiofile (aRts plugin)
ii  libarts1-mpeglib          3.3.0-1                  mpeglib is a mp3 and mpeg I video/audio library (Arts plugin)
ii  libarts1-xine            3.3.0-1                  xine plugin for arts
ii  libkcal2                  3.3.0-2                  KDE calendaring library
ii  libkcddb1                3.3.0-1                  cddb library for KDE
ii  libkdenetwork2            3.3.0-2                  KDE Network library
ii  libkdepim1                3.3.0-2                  KDE PIM library
ii  libkgantt0                3.3.0-2                  KDE gantt charting library
ii  libkleopatra0            3.3.0-2                  KDE GnuPG interface libraries
ii  libkonq4                  3.3.0a-1                  Core libraries for KDE's file manager
ii  libkonq4-dev              3.3.0a-1                  Core libraries for KDE's file manager (development files)
ii  libkpimexchange1          3.3.0-2                  KDE PIM Exchange library
ii  libkpimidentities1        3.3.0-2                  KDE PIM user identity information library
ii  libksieve0                3.3.0-2                  KDE mail/news message filtering library
ii  libmimelib1              3.3.0-2                  KDE mime library
ii  mpeglib                  3.3.0-1                  mp3 and mpeg I video/audio library for linux
ii  xfonts-konsole            3.3.0a-1                  Fonts used by the KDE Konsole

>$ COLUMNS=125 dpkg -l | grep 3.2.[234]
ii  apmd                      3.2.2-2                  Utilities for Advanced Power Management (APM)
ii  ark                      3.2.2-2                  KDE archiving tool
ii  cpp-3.2                  3.2.3-9                  The GNU C preprocessor
ii  gcc-3.2-base              3.2.3-9                  The GNU Compiler Collection (base package)
ii  kate-plugins              3.2.3-2                  plugins for Kate, the KDE Advanced Text Editor
ii  kdeaddons-doc-html        3.2.3-2                  KDE add-ons documentation in HTML format
ii  kdeaddons-kfile-plugins  3.2.3-2                  KDE file dialog pluginsfor text files and folders
ii  kdeartwork                3.2.3-2                  themes, styles and morefrom the official KDE release
ii  kdeartwork-misc          3.2.3-2                  various multimedia goodies released with KDE
ii  kdeartwork-style          3.2.3-2                  widget styles released with KDE
ii  kdeartwork-theme-desktop  3.2.3-2                  Dummy upgrade package for official KDE desktop themes
ii  kdeartwork-theme-icon    3.2.3-2                  icon themes released with KDE
ii  kdeartwork-theme-window  3.2.3-2                  window decoration themes released with KDE
ii  kdelirc                  3.2.2-2                  KDE infrared control
ii  kdewallpapers            3.2.3-2                  wallpapers released with KDE
ii  kfilereplace              3.2.3-2                  batch search-and-replace component for KDE
ii  kicker-applets            3.2.3-2                  applets for Kicker, theKDE panel
ii  koffice-data              1.3.2-2                  common shared data for the KDE Office Suite
ii  koffice-libs              1.3.2-2                  common libraries and binaries for the KDE Office Suite
ii  kommander                3.2.3-2                  create dialogs that generate text through user interaction
ii  kompare                  3.2.3-2                  a KDE GUI for viewing differences between files
ii  konq-plugins              3.2.3-2                  plugins for Konqueror, the KDE file/web/doc browser
ii  kscreensaver              3.2.3-2                  screen savers released with KDE
ii  kspread                  1.3.2-2                  a spreadsheet for the KDE Office Suite
ii  libapm1                  3.2.2-2                  Library for interactingwith APM driver in kernel
ii  libgimp1.2                1.2.3-2.4                Libraries necessary to run the GIMP, version 1.2
ii  libkdgantt0              3.2.2-2                  KD's gantt charting library
ii  quanta                    3.2.3-2                  web development environment for KDE
ii  quanta-data              3.2.3-2                  data files for Quanta Plus web development environment

BTW get rid of the lines in your sources.list for woody they are not needed at all if you are going to be running software this new. Also with that many sources in your sources.list are you using apt pinning to tell apt you default release?

darkleaf 09-29-2004 03:03 AM

LOL I thought I could only install the complete kde with all dependencies. Thanks for the info.

So if apt complains about a package you have to add it to the line :) Cause gnome had similar errors for some packages. I just want one of the two so I can get my printer to work quickly cause I've got no time to figure cups out completely and asking here would be stuipid cause it's everywhere on the net.

I have one line about experimental in the apt file for pinning. Only for experimental so maybe that's the problem? I did notice in another update (which worked) that I got packages from testing and unstable so I thought there was nothing wrong with it. What are the other benefits of pinning?

HappyTux 09-29-2004 05:49 AM

Quote:

Originally posted by darkleaf
LOL I thought I could only install the complete kde with all dependencies. Thanks for the info.
You do not even need all that much of KDE at that if you want you can just install the basic libs and the programs you want then you can run the programs inside Gnome.

Quote:

So if apt complains about a package you have to add it to the line :) Cause gnome had similar errors for some packages. I just want one of the two so I can get my printer to work quickly cause I've got no time to figure cups out completely and asking here would be stuipid cause it's everywhere on the net.
Exactly and if complains about another keep adding until it will install. Here is what I have installed for cups.

Code:

$ COLUMNS=125 dpkg -l | grep cups
ii  cupsys                    1.1.20final+rc1-6        Common UNIX Printing System(tm) - server
ii  libcupsimage2            1.1.20final+rc1-6        Common UNIX Printing System(tm) - image libs

ii  libcupsys2-dev            1.1.20final+rc1-6        Common UNIX Printing System(tm) - development files
ii  libcupsys2-gnutls10      1.1.20final+rc1-6        Common UNIX Printing System(tm) - libs

And go to http://www.linuxprinting.org and find your printer and follow the setup steps for CUPS after having downloaded the ppd file for your printer to the /usr/share/cups/model/ directory. Then you use http://localhost:631 in a browser to add a new printer with root as the user name and the root password as the password.

Quote:

I have one line about experimental in the apt file for pinning. Only for experimental so maybe that's the problem? I did notice in another update (which worked) that I got packages from testing and unstable so I thought there was nothing wrong with it. What are the other benefits of pinning?
Apt-pinning tells the system where to get your applications from by default eg testing, unstable .. Here is how I have it setup.

Code:

>$ cat /etc/apt/preferences
Package: *
Pin: release testing
Pin-Priority: 900

Package: *
Pin: release unstable
Pin-Priority: 600

>$ cat /etc/apt/apt.conf
APT::Default-Release "testing";
APT::Get::Show-Versions "true";
APT::Cache-Limit 10000000;
Apt::Get::Purge;
APT::Clean-Installed;


This tells apt through the preferences file that I want my applications from testing to have a higher priority than unstable and the apt.conf with the Default-Release tells the system that I am running testing.

darkleaf 09-29-2004 10:21 AM

Thanks for the CUPS info :) I had it installed with gnome but yesterday I got a screwed up page so I thought it was because of gnome. But all the settings were still there and it's still working which is great. Now I can just uninstall gnome.

I found out why I got the KDE error above. After adding a few packages to the line it said I had a package instead of one I needed for KDE so it couldn't install.

Thank you very much for all the help!

HappyTux 09-29-2004 11:20 AM

Quote:

Originally posted by darkleaf
Thanks for the CUPS info :) I had it installed with gnome but yesterday I got a screwed up page so I thought it was because of gnome. But all the settings were still there and it's still working which is great. Now I can just uninstall gnome.

I found out why I got the KDE error above. After adding a few packages to the line it said I had a package instead of one I needed for KDE so it couldn't install.

Thank you very much for all the help!

Your welcome, can you show me the output of apt-get -s --purge remove gnome. I never use it but hopefully I can tell you how to get rid of it once I see what apt is trying to do. If you do not have the package gnome installed use gnome-core or gnome-desktop-environment in the line.

darkleaf 09-29-2004 02:40 PM

I have no gnome anymore only the libraries I need for some other programs :)


All times are GMT -5. The time now is 01:05 PM.