Results 1 to 8 of 8

Thread: how do I upgrade packages?

  1. #1
    Junior Member
    Join Date
    Sep 2003
    Location
    the Netherlands
    Posts
    4

    how do I upgrade packages?

    I'm using a rather fresh hd install of Knoppix v3.3 2003-09-24. Would anyone know how I can upgrade KDE to version 3.1.4?

    Whatever I try, I keep getting 'package A depends on package B but package B is not going to be installed.'

    I realize that this may be a more general issue based on how the Debian packaging system works. Having migrated from a RH8 system a few months ago, I have been playing with apt-get and dselect but I still don't succeed in upgrading KDE to 3.1.4. (I actually couldn't upgrade K to 3.1.3 on KNX 3.2 either but then KNX 3.3 came out ;-)

    any suggestions?

    TIA

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041

    Re: how do I upgrade packages?

    --I know this doesn't help but...

    I've given up on upgrading KDE. It's a mess. Personally, I just use sawfish.

    Quote Originally Posted by dageek
    I'm using a rather fresh hd install of Knoppix v3.3 2003-09-24. Would anyone know how I can upgrade KDE to version 3.1.4?

    Whatever I try, I keep getting 'package A depends on package B but package B is not going to be installed.'

    I realize that this may be a more general issue based on how the Debian packaging system works. Having migrated from a RH8 system a few months ago, I have been playing with apt-get and dselect but I still don't succeed in upgrading KDE to 3.1.4. (I actually couldn't upgrade K to 3.1.3 on KNX 3.2 either but then KNX 3.3 came out

    any suggestions?

    TIA

  3. #3
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479

    Re: how do I upgrade packages?

    Quote Originally Posted by dageek
    I'm using a rather fresh hd install of Knoppix v3.3 2003-09-24. Would anyone know how I can upgrade KDE to version 3.1.4?

    Whatever I try, I keep getting 'package A depends on package B but package B is not going to be installed.'

    I realize that this may be a more general issue based on how the Debian packaging system works. Having migrated from a RH8 system a few months ago, I have been playing with apt-get and dselect but I still don't succeed in upgrading KDE to 3.1.4. (I actually couldn't upgrade K to 3.1.3 on KNX 3.2 either but then KNX 3.3 came out

    any suggestions?

    TIA
    In your /etc/apt/sources.list comment out the stable and testing sources for Debian then apt-get update and install the packages you want you should know however that many of the packages in KDE are still at 3.1.3 as you can see from my machine.
    Code:
    [06:33 PM Tue Oct 21: stephen @ ~]
    >$ COLUMNS=120 dpkg -l | grep 3.1.[34]
    ii  ark                      3.1.4-1                  KDE archiving tool
    ii  kaddressbook             3.1.4-1                  KDE NG addressbook application
    ii  kappfinder               3.1.3-1                  KDE Application Finder
    ii  kate                     3.1.3-1                  KDE Advanced Text Editor
    ii  kcontrol                 3.1.3-1                  KDE Control Center
    ii  kdebase                  3.1.3-1                  KDE Base metapackage
    ii  kdebase-bin              3.1.3-1                  KDE Base (binaries)
    ii  kdebase-data             3.1.3-1                  KDE Base (shared data)
    ii  kdebase-kio-plugins      3.1.3-1                  KDE I/O Slaves
    ii  kdelibs-bin              3.1.4-2                  KDE core binaries
    ii  kdelibs-data             3.1.4-2                  KDE core shared data
    ii  kdelibs4                 3.1.4-2                  KDE core libraries
    ii  kdepim-libs              3.1.4-1                  KDE PIM libraries
    ii  kdeprint                 3.1.3-1                  KDE Print
    ii  kdesktop                 3.1.3-1                  KDE Desktop
    ii  kdm                      3.1.3-1                  KDE Display Manager
    ii  kfind                    3.1.3-1                  KDE File Find Utility
    ii  kget                     3.1.4-1                  KDE Download Manager
    ii  kghostview               3.1.4-1                  PostScript viewer for KDE
    ii  khelpcenter              3.1.3-1                  KDE Help Center
    ii  kicker                   3.1.3-1                  KDE Desktop Panel
    ii  klipper                  3.1.3-1                  KDE Clipboard
    ii  kmail                    3.1.4-1                  KDE Email client
    ii  kmenuedit                3.1.3-1                  KDE Menu Editor
    ii  konqueror                3.1.3-1                  KDE's advanced File Manager, Web Browser and Document Viewer
    ii  konqueror-nsplugins      3.1.3-1                  Netscape plugin support for Konqueror
    ii  konsole                  3.1.3-1                  KDE X terminal emulator
    ii  kpager                   3.1.3-1                  KDE Desktop Pager
    ii  kpersonalizer            3.1.3-1                  KDE Personalizer
    ii  ksmserver                3.1.3-1                  KDE Session Manager
    ii  ksplash                  3.1.3-1                  KDE Splash Screen
    ii  ksysguard                3.1.3-1                  KDE System Guard
    ii  ksysguardd               3.1.3-1                  KDE System Guard Daemon
    ii  ktip                     3.1.3-1                  Kandalf's Useful Tips
    ii  kuickshow                3.1.4-1                  KDE image/slideshow viewer
    ii  kwin                     3.1.3-1                  KDE Window Manager
    ii  libkdenetwork2           3.1.4-1                  KDE Network (common libraries)
    ii  libkonq4                 3.1.3-1                  Core libraries for KDE's file manager
    ii  libmimelib1              3.1.4-1                  KDE network mime library
    ii  xfonts-konsole           3.1.3-1                  Fonts used by the KDE Konsole

  4. #4
    Junior Member
    Join Date
    Sep 2003
    Location
    the Netherlands
    Posts
    4

    plot thickens...

    Stephen, thx for your suggestion although I believe to have found an alternative way: creating an appropriate /etc/apt/preferences file.

    This allowed me to install kdelibs4 3.1.4 and deps, but not everyting was installed correctly, namely libxcursor-dev and kdelibs-data. These packages keep throwing errors at me when I run apt-get -f install and now I can't install other packages anymore until this is fixed (or so it seems).

    Code:
    $ apt-get -f install
    Reading Package Lists... Done
    Building Dependency Tree... Done
    Correcting dependencies... Done
    The following extra packages will be installed:
      kdelibs-data libxcursor-dev
    The following NEW packages will be installed:
      libxcursor-dev
    The following packages will be upgraded
      kdelibs-data
    1 upgraded, 1 newly installed, 0 to remove and 459 not upgraded.
    13 not fully installed or removed.
    Need to get 0B/5094kB of archives.
    After unpacking 713kB of additional disk space will be used.
    Do you want to continue? [Y/n]
    (Reading database ... 113345 files and directories currently installed.)
    Preparing to replace kdelibs-data 4:3.1.3-1 (using .../kdelibs-data_4%3a3.1.4-2_all.deb) ...
    Unpacking replacement kdelibs-data ...
    Id 'kde2.2/b1' was already in done-list!
    Id 'kde3.1/cvs' was already in done-list!
    Id 'kde3.0' was already in done-list!
    Id 'kde-3.1-toolbar' was already in done-list!
    Id 'kde2.2/r1' was already in done-list!
    Id 'kde2.2/r2' was already in done-list!
    Id 'kde2.2/r3' was already in done-list!
    QPixmap: Cannot create a QPixmap when no GUI is being used
    QPixmap: Cannot create a QPixmap when no GUI is being used
    kbuildsycoca running...
    dpkg: error processing /var/cache/apt/archives/kdelibs-data_4%3a3.1.4-2_all.deb (--unpack):
     trying to overwrite `/usr/share/mimelnk/application/x-cue.desktop', which is also in package k3b
    dpkg-deb: subprocess paste killed by signal (Broken pipe)
    Unpacking libxcursor-dev (from .../libxcursor-dev_1.0.2-2_i386.deb) ...
    dpkg: error processing /var/cache/apt/archives/libxcursor-dev_1.0.2-2_i386.deb (--unpack):
     trying to overwrite `/usr/X11R6/include/X11/Xcursor/Xcursor.h', which is also in package xlibs-dev
    Errors were encountered while processing:
     /var/cache/apt/archives/kdelibs-data_4%3a3.1.4-2_all.deb
     /var/cache/apt/archives/libxcursor-dev_1.0.2-2_i386.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    Id 'kde2.2/b1' was already in done-list!
    Id 'kde3.1/cvs' was already in done-list!
    Id 'kde3.0' was already in done-list!
    Id 'kde-3.1-toolbar' was already in done-list!
    Id 'kde2.2/r1' was already in done-list!
    Id 'kde2.2/r2' was already in done-list!
    Id 'kde2.2/r3' was already in done-list!
    QPixmap: Cannot create a QPixmap when no GUI is being used
    QPixmap: Cannot create a QPixmap when no GUI is being used
    kbuildsycoca running...
    trying to install something completely different yields:

    Code:
    $ apt-get install nano
    Reading Package Lists... Done
    Building Dependency Tree... Done
    You might want to run `apt-get -f install' to correct these:
    The following packages have unmet dependencies:
      kdelibs4: Depends: kdelibs-data (= 4:3.1.4-2) but 4:3.1.3-1 is to be installed
      libqt3-mt-dev: Depends: libxcursor-dev but it is not going to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    Removing the preferences file and commenting out all stable/testing mirrors from my sources.list (i.e. your suggestion Stephen) results in the same errors.

    KControl does, however, display the current KDE version as 3.1.4 and
    Code:
    dpkg -l | grep 3.1.4
    tells me that the following files are installed
    Code:
    iU  kdelibs-bin    3.1.4-2        KDE core binaries
    iU  kdelibs4       3.1.4-2        KDE core libraries
    iU  kdelibs4-dev   3.1.4-2        KDE core libraries (development files)
    a similar query reveals that libxcursor-dev is indeed not installed and that kdelibs-data is still at version 3.1.3

    I'm not giving up though so I'll keep on reading up on apt, etc and suggestions are still very welcome ;-)

  5. #5
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    You will need to the same I suggested in this thread and do the same for the kde files that will not you may have to have them all on the same command line for them to install if they will not install individually.

  6. #6
    Member registered user
    Join Date
    Sep 2003
    Location
    denver, co
    Posts
    72
    You can fix your libxcursor-dev problem with this:
    su
    cd /var/cache/apt/archives/
    dpkg --force-overwrite -i libxcursor-dev(your version here-just hit tab)

    That will overwrite the problemed file. I don't know the answer to your kdelib problem. You can try the same command as above but put the kdelib filename instead of libxcursor-dev, but I can't say whether it'll work because I don't have that problem. I upgraded my KDE by removing the line in /etc/apt/apt.conf that make your default distro "testing". Now I just run debian/unstable.

  7. #7
    Junior Member
    Join Date
    Sep 2003
    Location
    the Netherlands
    Posts
    4
    thx guys, --force-overwrite did the trick! in both cases.

    apt-get -f install configured the remaining unconfigured packages.

    thx!

  8. #8
    Junior Member
    Join Date
    Nov 2003
    Location
    The Netherlands
    Posts
    1
    I just had to register to also say thank you - had the same problem (kdelibs vs k3b fighting over x-cue.desktop), and the --force-overwrite was the solution. Happily updating my Libranet at the moment.

Similar Threads

  1. where are the nx packages?
    By dobell in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 05-18-2005, 02:32 PM
  2. Packages
    By boombastic in forum General Support
    Replies: 2
    Last Post: 07-14-2004, 09:02 AM
  3. Packages to remove.......
    By reub2000 in forum Customising & Remastering
    Replies: 3
    Last Post: 06-02-2003, 10:18 PM
  4. problem using apt-get with upgrade/dist-upgrade
    By vesselinpeev in forum General Support
    Replies: 0
    Last Post: 05-26-2003, 09:03 PM
  5. packages
    By mogz in forum General Support
    Replies: 1
    Last Post: 04-11-2003, 05:44 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Dell Poweredge R640 Server | 2x Silver 4114 20 Cores | 96GB | 8x 1.8TB Dell SAS picture

Dell Poweredge R640 Server | 2x Silver 4114 20 Cores | 96GB | 8x 1.8TB Dell SAS

$2749.99



DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45

$274.00



Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB picture

Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB

$510.00



Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD picture

Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD

$79.19



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD

$389.99



Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox picture

Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox

$340.00



Dell Emc R750  Computer Poweredge edge racked server. picture

Dell Emc R750 Computer Poweredge edge racked server.

$750.00



Dell PowerEdge R730, 2 sinks, SystemBoard, 8 trays,H330,Idrac 8 exp, 2x750w Psu picture

Dell PowerEdge R730, 2 sinks, SystemBoard, 8 trays,H330,Idrac 8 exp, 2x750w Psu

$135.00



Dell PowerEdge R720 Server | 2x E5-2660 2.2GHz | 128GB Ram | 1.2TB HDD | H710P picture

Dell PowerEdge R720 Server | 2x E5-2660 2.2GHz | 128GB Ram | 1.2TB HDD | H710P

$179.00



DELL PowerEdge R630 8SFF Server 2x E5-2680v3 2.5GHz =24 Cores 128GB H730 4xRJ45 picture

DELL PowerEdge R630 8SFF Server 2x E5-2680v3 2.5GHz =24 Cores 128GB H730 4xRJ45

$360.00