LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-29-2005, 05:46 AM   #1
rednuht
Member
 
Registered: Aug 2005
Posts: 239
Blog Entries: 1

Rep: Reputation: 31
can not apt-get upgrade


When running the usual apt-get update;apt-get upgrade I currently get
Code:
upgrading
Reading package lists...
Building dependency tree...
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
  kdelibs4-dev: Depends: libarts1-dev (> 1.3.0) but it is not installed
E: Unmet dependencies. Try using -f.
the minus -f option tells me it is going to remove ALL my KDE apps !
(so I say no, which results in nothing getting done).

I am running debian sid, and I had the KDE issues with KMAIL crashing, so I have been running
Code:
dpkg -i force-downgrade kdelibs_3.3.2-6.1_all.deb kdelibs-bin_3.3.2-6.1_i386.deb kdelibs4_3.3.2-6.1_i386.deb kdelibs4-dev_3.3.2-6.1_i386.deb
each time I did an apt-get upgrade , which keeps kmail working, but a few days ago I lost all my KDE menu items and now this.

what should I do to resolve this ?

[please list actual commands, I spent days trying to do the force downgrade listed above with the right syntax]
 
Old 08-29-2005, 06:17 AM   #2
Thoreau
Senior Member
 
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
apt-get install --fix-broken

Or run synaptic and choose fix broken. Or install libarts1-dev and do it manually.
 
Old 08-29-2005, 06:47 AM   #3
rednuht
Member
 
Registered: Aug 2005
Posts: 239

Original Poster
Blog Entries: 1

Rep: Reputation: 31
still wants to remove a large number of apps

apt-get install --fix-broken

still wants to remove lots
Code:
asarock:~# apt-get install --fix-broken
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
  ark arts dbus-qt-1c2 kappfinder kate kcalc kcharselect kcontrol kcron kdat kdeadmin kdeadmin-kfile-plugins
  kdebase-bin kdebase-data kdebase-kio-plugins kdelibs kdelibs-bin kdelibs-data kdelibs4-dev kdelibs4c2
  kdelirc kdepasswd kdeprint kdesktop kdessh kdf kdm kedit kfind kfloppy kgpg khelpcenter khexedit kicker
  kjots klaptopdaemon klipper kmenuedit kmilo konqueror konqueror-nsplugins konsole kpackage kpager
  kpersonalizer kregexpeditor ksim ksmserver ksplash ksysguard ksysguardd ksysv ktimer ktip kuser
  kwalletmanager kwin libarts1-dev libarts1c2 libartsc0 libartsc0-dev libglu1-xorg-dev libkonq4 libopenexr-dev
  libopenexr2c2 libqt3-mt libqt3-mt-dev libsasl2 libsasl2-dev libsasl2-modules libxcomposite1 libxdamage1
  libxfixes3 qt3-designer qt3-dev-tools secpolicy
Suggested packages:
  rar aspell konq-speaker kdeadmin-doc-html efax hylafax-client mgetty-fax libqt3-mt-psql libqt3-mt-mysql
  libqt3-mt-odbc libqt3-i18n qt3-doc qt3-assistant
Recommended packages:
  arj ncompress zoo lilo-config hal pmount xfonts-konsole libqt3-compat-headers
The following packages will be REMOVED:
  akode amor artsbuilder atlantik atlantikdesigner cervisia dbus-qt-1 dcoprss eyesapplet fifteenapplet
  filelight flashkard guarddog juk k3b k3blibs kaboodle kaddressbook kaddressbook-plugins kalarm kalzium
  kamera kandy karm kasteroids kate-plugins katomic kaudiocreator kbabel kbackgammon kbattleship kblackbox
  kbounce kbruch kbugbuster kcachegrind kcmlinuz kcoloredit kdbg kde kde-amusements kdeaddons
  kdeaddons-kfile-plugins kdeartwork kdeartwork-style kdeartwork-theme-window kdeedu kdegames kdegraphics
  kdegraphics-kfile-plugins kdelibs4 kdemultimedia kdemultimedia-kfile-plugins kdemultimedia-kio-plugins
  kdenetwork kdenetwork-filesharing kdepim kdepim-kfile-plugins kdepim-kio-plugins kdepim-wizards
  kdesdk-kfile-plugins kdesdk-misc kdetoys kdevelop3 kdevelop3-data kdevelop3-plugins kdewebdev kdict kdvi
  keduca kenolaba kfax kfilereplace kfouleggs kgamma kget kghostview kgoldrunner khangman kicker-applets
  kiconedit kig kimagemapeditor kitchensync kiten kjumpingcube klatin kleopatra klettres klickety klines
  klinkstatus kmahjongg kmail kmailcvt kmessedwords kmid kmines kmix kmoon kmplot kmrml kmtrace knewsticker
  knode knotes kodo kolf kolourpaint kommander kompare konq-plugins konquest konsolekalendar kontact kooka
  kopete korganizer korn kpaint kpat kpdf kpercentage kpf kpilot kpoker kpovmodeler kppp kprof krdc krec
  kreversi krfb kruler ksame kscd kscreensaver kscreensaver-xsavers kshisen ksig ksirc ksirtet ksmiletris
  ksnake ksnapshot ksokoban kspaceduel kstars ksvg ksync kteatime ktnef ktouch ktron ktuberling kturtle ktux
  kuickshow kuiviewer kverbos kview kviewshell kvoctrain kweather kwifimanager kwin4 kwordquiz kworldclock
  kxsldbg libarts1 libarts1-audiofile libarts1-mpeglib libarts1-xine libcvsservice0 libkcal2a libkcddb1
  libkdeedu1 libkdegames1 libkdegst0.6 libkdenetwork2 libkdepim1 libkgantt0 libkleopatra0a libkpimexchange1
  libkpimidentities1 libkscan1 libksieve0 libopenexr2 libqt3c102-mt librss1 lskat mpeglib noatun
  noatun-plugins okle pinentry-qt poxml python2.3-qt3 python2.3-sip4-qt3 quanta umbrello vimpart
The following NEW packages will be installed:
  dbus-qt-1c2 kdelibs4c2 libarts1-dev libarts1c2 libglu1-xorg-dev libopenexr-dev libopenexr2c2 libqt3-mt
  libqt3-mt-dev libsasl2-modules libxcomposite1 libxdamage1 libxfixes3
The following packages will be upgraded:
  ark arts kappfinder kate kcalc kcharselect kcontrol kcron kdat kdeadmin kdeadmin-kfile-plugins kdebase-bin
  kdebase-data kdebase-kio-plugins kdelibs kdelibs-bin kdelibs-data kdelibs4-dev kdelirc kdepasswd kdeprint
  kdesktop kdessh kdf kdm kedit kfind kfloppy kgpg khelpcenter khexedit kicker kjots klaptopdaemon klipper
  kmenuedit kmilo konqueror konqueror-nsplugins konsole kpackage kpager kpersonalizer kregexpeditor ksim
  ksmserver ksplash ksysguard ksysguardd ksysv ktimer ktip kuser kwalletmanager kwin libartsc0 libartsc0-dev
  libkonq4 libsasl2 libsasl2-dev qt3-designer qt3-dev-tools secpolicy
63 upgraded, 13 newly installed, 202 to remove and 38 not upgraded.
1 not fully installed or removed.
Need to get 66.4MB of archives.
After unpacking 277MB disk space will be freed.
Do you want to continue [Y/n]? n
which sounds bad I tried apt-get install libarts1-dev but get
Code:
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:
  libarts1-dev: Depends: libarts1c2 (= 1.4.2-4) but it is not going to be installed
                Depends: libartsc0-dev (= 1.4.2-4) but 1.4.2-3 is to be installed
                Depends: libqt3-mt-dev (>= 3:3.3.4-4) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
(i am guess that the "but it is not going to be installed" means I can not install manually ?)
any other ideas ?
does anyone understand why this is happening ?
 
Old 08-29-2005, 07:05 AM   #4
Thoreau
Senior Member
 
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
does anyone understand why this is happening ?

Yes, you downgraded and jacked up your dependencies. It wants you to use the latest version. You will have to download and install the dependencies by hand aka without apt.
 
Old 08-29-2005, 08:24 AM   #5
Xian
Member
 
Registered: Feb 2004
Location: 33.31N -111.97W
Distribution: SuSE
Posts: 919

Rep: Reputation: 32
Quote:
Originally posted by rednuht
what should I do to resolve this ?
1. Never, ever force install packages that break dependencies.
2. Re-install the packages that you downgraded.
3. apt-get -f install
 
Old 08-29-2005, 11:28 AM   #6
Tons of Fun
Member
 
Registered: Dec 2004
Location: Orlando, Florida
Distribution: Debian 10 | Kali Linux | Ubuntu 20.04 LTS
Posts: 382

Rep: Reputation: 37
It sounds like KDE was installed with aptitude. Apt doesn't follow what aptitude installs, and wants to remove all of the packages it didn't install. I use apt, and do not run aptitude because the same exact result happen.

 
Old 08-29-2005, 12:38 PM   #7
rbochan
Member
 
Registered: Dec 2004
Location: Central New York
Distribution: Debian
Posts: 218

Rep: Reputation: 30
clicky clicky

HTH
 
Old 08-30-2005, 02:07 AM   #8
rednuht
Member
 
Registered: Aug 2005
Posts: 239

Original Poster
Blog Entries: 1

Rep: Reputation: 31
why does apt want to remove so many packages and not upgrade them ?

why does apt want to remove so many packages and not upgrade them ?

sorry to be a pain on this, but I had to do the downgrade to get kmail to work and it really worries me that if I use apt-get -f then I will lose to much of the system.
From the list of packages the system wants to remove from --fix-broken am I actually running a risk or is losing all those packages safe ?

I have never used aptitude.

Quote:
2. Re-install the packages that you downgraded.
how can I do this, it seems to be dependancy hell ?

thanks for all your help so far I would really like to resolve this.
 
Old 08-30-2005, 06:09 AM   #9
Tons of Fun
Member
 
Registered: Dec 2004
Location: Orlando, Florida
Distribution: Debian 10 | Kali Linux | Ubuntu 20.04 LTS
Posts: 382

Rep: Reputation: 37
Are you running Sid? Also, read the apt howto: http://www.debian.org/doc/user-manuals#apt-howto

It will tell you how to reinstall applications, such as #apt-get --reinstall install package


Good Luck!

 
Old 08-30-2005, 03:44 PM   #10
rednuht
Member
 
Registered: Aug 2005
Posts: 239

Original Poster
Blog Entries: 1

Rep: Reputation: 31
background

I think I need some more background on what is happening here.

(I ran apt-get update before each use of apt-get)
1. had a happy SID based system (almost daily apt-get upgrade)
2. did a apt-get dist-upgrade (this was becuase of all the fuss about sarge being released and I had noticed the number of held back packages was growing).
3. found kde version now conflicted with some existing apps.
4. after each apt-get update manually forced a downgrade to an earlier version of KDE libraries that allowed KMail etc to work.

so why does the system when I run apt-get upgrade all of a sudden not just re-upgrade the KDE libs and continue as normal ?

I thought the constant downgrading would be resolved in a few weeks but from what I can see other users are seeing the same issues (I also notice that they all have done a recent apt-get dist-upgrade).
Unforttunately they either reinstall from scratch or do a downgrade without noting which packages they downgraded.

I tried --reinstall but am not sure what I am doing.
If I try and --reinstall kdelibs4-dev (which as far as I can see is the main package I have been degrading each time) I get dependacies a plenty
Code:
asarock:~# apt-get --reinstall install kdelibs4-dev
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-dev: Depends: kdelibs4c2 (= 4:3.4.2-2) but it is not going to be installed
                Depends: kdelibs-bin (= 4:3.4.2-2) but 4:3.3.2-6.1 is to be installed
                Depends: libarts1-dev (>= 1.4.2) but it is not going to be installed
                Depends: libopenexr-dev (>= 1.2.2-3) but it is not going to be installed
                Depends: libqt3-mt-dev (>= 3:3.3.4-4) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
asarock:~# apt-get --reinstall install kdelibs4-dev libqt3-mt-dev
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-dev: Depends: kdelibs4c2 (= 4:3.4.2-2) but it is not going to be installed
                Depends: kdelibs-bin (= 4:3.4.2-2) but 4:3.3.2-6.1 is to be installed
                Depends: libarts1-dev (>= 1.4.2) but it is not going to be installed
                Depends: libopenexr-dev (>= 1.2.2-3) but it is not going to be installed
  libqt3-mt-dev: Depends: libqt3-mt (= 3:3.3.4-7) but it is not going to be installed
                 Depends: qt3-dev-tools (= 3:3.3.4-7) but 3:3.3.4-3 is to be installed
                 Depends: libglu1-xorg-dev but it is not going to be installed or
                          libglu1-mesa-dev but it is not going to be installed or
                          libglu-dev
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
asarock:~# apt-get --reinstall install kdelibs4-dev libqt3-mt-dev kdelibs4c2 kdelibs-bin libarts1-dev libopenexr-dev
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:
  kdelibs-bin: Depends: libqt3-mt (>= 3:3.3.4) but it is not going to be installed
  kdelibs4: Depends: kdelibs-bin (= 4:3.3.2-6.1) but 4:3.4.2-2 is to be installed
  kdelibs4c2: Depends: libarts1c2 (>= 1.4.2-1) but it is not going to be installed
              Depends: libopenexr2c2 (>= 1.2.2) but it is not going to be installed
              Depends: libqt3-mt (>= 3:3.3.4) but it is not going to be installed
              Conflicts: kdelibs4 but 4:3.3.2-6.1 is to be installed
  libarts1-dev: Depends: libarts1c2 (= 1.4.2-4) but it is not going to be installed
                Depends: libartsc0-dev (= 1.4.2-4) but 1.4.2-3 is to be installed
  libopenexr-dev: Depends: libopenexr2c2 (= 1.2.2-4) but it is not going to be installed
                  Depends: xlibmesa-glu-dev or
                           libglu-dev
  libqt3-mt-dev: Depends: libqt3-mt (= 3:3.3.4-7) but it is not going to be installed
                 Depends: qt3-dev-tools (= 3:3.3.4-7) but 3:3.3.4-3 is to be installed
                 Depends: libglu1-xorg-dev but it is not going to be installed or
                          libglu1-mesa-dev but it is not going to be installed or
                          libglu-dev
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
but as the original reply suggested fixing the package that apt-get update was specifically complaining about I tried
Code:
asarock:~# apt-get --reinstall install libarts1-dev
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:
  libarts1-dev: Depends: libarts1c2 (= 1.4.2-4) but it is not going to be installed
                Depends: libartsc0-dev (= 1.4.2-4) but 1.4.2-3 is to be installed
                Depends: libqt3-mt-dev (>= 3:3.3.4-4) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
asarock:~# apt-get --reinstall install libarts1-dev libarts1c2 libartsc0-dev libqt3-mt-dev
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:
  libarts1c2: Depends: libqt3-mt (>= 3:3.3.4) but it is not going to be installed
              Conflicts: libarts1 but 1.3.2-4 is to be installed
  libartsc0-dev: Depends: libartsc0 (= 1.4.2-4) but 1.4.2-3 is to be installed
  libqt3-mt-dev: Depends: libqt3-mt (= 3:3.3.4-7) but it is not going to be installed
                 Depends: qt3-dev-tools (= 3:3.3.4-7) but 3:3.3.4-3 is to be installed
                 Depends: libglu1-xorg-dev but it is not going to be installed or
                          libglu1-mesa-dev but it is not going to be installed or
                          libglu-dev
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
asarock:~# apt-get --reinstall install libarts1-dev libarts1c2 libartsc0-dev libqt3-mt-dev libqt3-mt qt3-dev-tools libglu1-xorg-dev
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:
  libarts1c2: Conflicts: libarts1 but 1.3.2-4 is to be installed
  libartsc0-dev: Depends: libartsc0 (= 1.4.2-4) but 1.4.2-3 is to be installed
  libqt3-mt: Conflicts: libqt3c102-mt but 3:3.3.4-3 is to be installed
  libqt3c102-mt: Conflicts: libqt3-mt but 3:3.3.4-7 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
I am even more confused than before.
The result for each package says "is to be installed" yet apt-get actually did nothing.
 
Old 08-30-2005, 04:18 PM   #11
Xian
Member
 
Registered: Feb 2004
Location: 33.31N -111.97W
Distribution: SuSE
Posts: 919

Rep: Reputation: 32
Quote:
Originally posted by rednuht
how can I do this, it seems to be dependancy hell ?
Please do the following and then report back on results:

1. In your apt sources.list ONLY include the basic SID repos.
Remove ALL other entries or comment them out.

Something like:

deb ftp://mirror.mcs.anl.gov/pub/debian/ unstable main contrib
deb-src ftp://mirror.mcs.anl.gov/pub/debian/ unstable main contrib

2. Issue the commands below:

# apt-get update
# apt-get dist-upgrade
# apt-get -f install
 
Old 08-31-2005, 05:09 AM   #12
lethargic102
LQ Newbie
 
Registered: Aug 2005
Location: France
Distribution: Debian
Posts: 3

Rep: Reputation: 0
Here is the explanation :

http://lists.debian.org/debian-qt-kd.../msg00302.html
 
Old 08-31-2005, 08:28 AM   #13
Xian
Member
 
Registered: Feb 2004
Location: 33.31N -111.97W
Distribution: SuSE
Posts: 919

Rep: Reputation: 32
Quote:
Originally posted by lethargic102
Here is the explanation :

http://lists.debian.org/debian-qt-kd.../msg00302.html
Heh. Good ol' unstable. Living up to its name.
 
Old 08-31-2005, 03:46 PM   #14
rednuht
Member
 
Registered: Aug 2005
Posts: 239

Original Poster
Blog Entries: 1

Rep: Reputation: 31
result

Quote:
# apt-get update
# apt-get dist-upgrade
# apt-get -f install
[
Code:
asarock:~# apt-get update
Get:1 http://ftp.uk.debian.org unstable Release.gpg [189B]
Hit http://ftp.uk.debian.org unstable Release
Hit http://ftp.uk.debian.org unstable/contrib Packages
Hit http://ftp.uk.debian.org unstable/non-free Packages
Get:2 http://ftp.uk.debian.org unstable/contrib Sources [24.9kB]
Get:3 http://ftp.uk.debian.org unstable/non-free Sources [22.8kB]
Fetched 47.7kB in 1s (37.3kB/s)
Reading package lists... Done
asarock:~# apt-get dist-upgrade
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-dev: Depends: libarts1-dev (> 1.3.0) but it is not installable
E: Unmet dependencies. Try using -f.
asarock:~# apt-get -f install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  kdelibs4-dev
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 7119kB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 146599 files and directories currently installed.)
Removing kdelibs4-dev ...
asarock:~#
which looks good, I will check whether this affects KMail and the KDE menu and report back

erm, more confusion.
sources.list was
Code:
deb http://ftp.fi.debian.org/debian/ unstable main
deb http://ftp.fi.debian.org/debian/ unstable contrib non-free
deb-src http://ftp.fi.debian.org/debian/ unstable main
deb-src http://ftp.fi.debian.org/debian/ unstable contrib non-free
deb http://ftp.uk.debian.org/debian/ unstable main
deb http://ftp.uk.debian.org/debian/ unstable contrib non-free
I had the Finish servers in there becuase they seemed more reliable when the UK ones went bust.

Does this mean the sources.list was my problem all along?
 
Old 08-31-2005, 03:53 PM   #15
rednuht
Member
 
Registered: Aug 2005
Posts: 239

Original Poster
Blog Entries: 1

Rep: Reputation: 31
drat dart dart

Quote:
Originally posted by lethargic102
Here is the explanation :

http://lists.debian.org/debian-qt-kd.../msg00302.html
I chose a really bad time to do a dist-upgrade

but at least I understand why the problems are occuring.

Does this mean that if I wait long enough an apt-get update;apt-get upgrade will restore my system ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get question: dist-upgrade vs upgrade Arodef Fedora 9 06-15-2012 01:33 PM
apt-get upgrade lodder Debian 5 11-24-2005 09:06 PM
How to apt-get upgrade? lewkh Debian 3 11-10-2004 10:16 AM
apt-get upgrade? Lleb_KCir Linux - Software 1 11-09-2004 07:41 PM
What's the difference between apt-get upgrade and apt-get dist-upgrade? davidas Linux - Newbie 4 04-04-2004 08:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration